/* ==========================================
        ALM LUNCH - INDEX
        ESTILOS PRINCIPALES
========================================== */


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f7f9fc;
    color: #172033;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    width: 100%;
    height: 82px;
    background: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    border-bottom: 1px solid #e8ebf1;

    position: sticky;
    top: 0;
    z-index: 1000;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;

    background: #173f7a;
    color: white;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    font-size: 13px;
}

.logo h2 {
    font-size: 20px;
    color: #173f7a;
}

.logo span {
    font-size: 10px;
    color: #777;
}


/* ==========================================
   NAVEGACIÓN
========================================== */

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #4d5666;

    font-size: 13px;
    font-weight: 500;

    transition: 0.3s;
}

nav a:hover {
    color: #173f7a;
}


/* ==========================================
   BOTONES DEL NAVBAR
========================================== */

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons a {
    text-decoration: none;

    padding: 10px 18px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;
}


/* LOGIN */

.btn-login {
    color: #173f7a;
    border: 1px solid #173f7a;

    transition: 0.3s;
}

.btn-login:hover {
    background: #e8f0fc;
}


/* REGISTRO */

.btn-register {
    background: #173f7a;
    color: white;

    transition: 0.3s;
}

.btn-register:hover {
    background: #123463;
}


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 650px;

    padding: 80px 9%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    background: linear-gradient(
        135deg,
        #f7faff,
        #eef4fc
    );
}


/* TEXTO */

.hero-text {
    max-width: 650px;
}

.tag {
    display: inline-block;

    background: #e4edfa;
    color: #173f7a;

    padding: 8px 15px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 20px;
}


.hero h1 {
    font-size: 48px;
    line-height: 1.15;

    margin-bottom: 25px;

    color: #172033;
}


.hero h1 span {
    color: #173f7a;
    display: block;
}


.hero p {
    color: #687386;

    font-size: 15px;

    line-height: 1.8;

    max-width: 600px;
}


/* ==========================================
   BOTONES HERO
========================================== */

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 30px;
}

.hero-buttons a {
    text-decoration: none;

    padding: 14px 24px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}


/* PRINCIPAL */

.btn-primary {
    background: #173f7a;
    color: white;

    box-shadow:
        0 8px 20px rgba(23, 63, 122, 0.2);
}

.btn-primary:hover {
    background: #123463;
    transform: translateY(-2px);
}

.btn-primary span {
    margin-left: 12px;
}


/* SECUNDARIO */

.btn-secondary {
    background: white;

    color: #173f7a;

    border: 1px solid #d7deea;
}

.btn-secondary:hover {
    background: #eef4fc;

    transform: translateY(-2px);
}


/* ==========================================
   INFORMACIÓN HERO
========================================== */

.hero-info {
    display: flex;

    gap: 25px;

    margin-top: 30px;
}

.hero-info div {
    display: flex;

    align-items: center;

    gap: 7px;
}

.hero-info strong {
    color: #27885b;
}

.hero-info span {
    font-size: 11px;

    color: #687386;
}


/* ==========================================
   HERO CARD
========================================== */

.hero-card {
    width: 360px;

    background: white;

    padding: 28px;

    border-radius: 25px;

    box-shadow:
        0 25px 60px rgba(30, 50, 80, 0.12);

    border: 1px solid #e8edf4;
}


/* PARTE SUPERIOR */

.card-top {
    display: flex;

    justify-content: space-between;

    font-size: 12px;

    font-weight: 600;

    color: #526071;
}

.status {
    color: #2c9a65;
}


/* PLATO */

.plate {
    width: 150px;
    height: 150px;

    margin: 35px auto 20px;

    border-radius: 50%;

    background: #edf4fc;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 70px;
}


/* INFORMACIÓN */

.hero-card h3 {
    text-align: center;

    font-size: 21px;
}

.hero-card > p {
    text-align: center;

    font-size: 12px;

    line-height: 1.7;

    color: #788394;

    margin-top: 8px;
}


/* ==========================================
   MINI ESTADÍSTICAS
========================================== */

.mini-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    margin-top: 25px;
}

.mini-stats div {
    padding: 12px 5px;

    background: #f7f9fc;

    border-radius: 10px;

    text-align: center;
}

.mini-stats strong {
    display: block;

    color: #173f7a;
}

.mini-stats span {
    font-size: 9px;

    color: #687386;
}


/* ==========================================
   SECCIONES
========================================== */

.section {
    padding: 90px 9%;
}

.section-title {
    text-align: center;

    max-width: 700px;

    margin: auto;
}

.section-title span {
    color: #173f7a;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 34px;

    margin: 12px 0;
}

.section-title h2 b {
    color: #173f7a;
}

.section-title p {
    color: #778294;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================
   ABOUT
========================================== */

.about {
    background: white;
}

.about-content {
    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 70px;

    align-items: center;

    margin-top: 55px;
}

.about-text h3 {
    font-size: 25px;

    margin-bottom: 18px;
}

.about-text p {
    color: #6d7787;

    font-size: 13px;

    line-height: 1.9;

    margin-bottom: 15px;
}

.about-box {
    padding: 40px;

    background: #f2f6fc;

    border-radius: 20px;

    text-align: center;

    border: 1px solid #e3eaf4;
}

.about-icon {
    font-size: 50px;

    margin-bottom: 15px;
}

.about-box h3 {
    color: #173f7a;

    margin-bottom: 12px;
}

.about-box p {
    color: #697486;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================
   FUNCIONES
========================================== */

.functions {
    background: #f7f9fc;
}

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    margin-top: 55px;
}

.function-card {
    background: white;

    padding: 30px;

    border-radius: 17px;

    border: 1px solid #e8edf4;

    transition: 0.3s;
}

.function-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(30, 50, 80, 0.08);
}

.function-icon {
    width: 50px;
    height: 50px;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;

    margin-bottom: 18px;
}


/* COLORES DE ICONOS */

.blue {
    background: #e8f0fc;
}

.green {
    background: #e8f7ef;
}

.orange {
    background: #fff1df;
}

.purple {
    background: #f0eaff;
}

.red {
    background: #ffebeb;
}

.cyan {
    background: #e5f8fa;
}


.function-card h3 {
    font-size: 17px;

    margin-bottom: 10px;
}

.function-card p {
    color: #748092;

    font-size: 12px;

    line-height: 1.7;
}


/* ==========================================
   BENEFICIOS
========================================== */

.benefits {
    background: white;
}

.benefit-container {
    max-width: 900px;

    margin: 50px auto 0;
}

.benefit {
    display: flex;

    gap: 25px;

    padding: 25px 0;

    border-bottom: 1px solid #e8ebf1;
}

.number {
    font-size: 25px;

    font-weight: 700;

    color: #d7dfeb;
}

.benefit h3 {
    font-size: 17px;

    margin-bottom: 7px;
}

.benefit p {
    color: #758092;

    font-size: 12px;

    line-height: 1.7;
}


/* ==========================================
   MISIÓN Y VISIÓN
========================================== */

.mission {
    background: #f2f6fc;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 25px;
}

.mission-card {
    background: white;

    padding: 40px;

    border-radius: 20px;

    text-align: center;

    border: 1px solid #e1e8f1;
}

.mission-icon {
    font-size: 40px;

    margin-bottom: 15px;
}

.mission-card h2 {
    color: #173f7a;

    margin-bottom: 12px;
}

.mission-card p {
    color: #707c8d;

    font-size: 13px;

    line-height: 1.8;
}


/* ==========================================
   CTA
========================================== */

.cta {
    margin: 70px 9%;

    padding: 50px 60px;

    border-radius: 22px;

    background: #173f7a;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.cta span {
    font-size: 10px;

    letter-spacing: 2px;

    opacity: 0.7;
}

.cta h2 {
    font-size: 30px;

    margin: 7px 0;
}

.cta p {
    font-size: 12px;

    opacity: 0.8;
}


/* BOTONES CTA */

.cta-buttons {
    display: flex;

    gap: 10px;
}

.cta-buttons a {
    text-decoration: none;

    padding: 13px 20px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 600;
}

.btn-cta {
    background: white;

    color: #173f7a;
}

.btn-cta-outline {
    border: 1px solid rgba(255,255,255,0.5);

    color: white;
}


/* ==========================================
   FOOTER
========================================== */

footer {
    background: #111c2e;

    color: white;

    padding: 50px 9% 25px;
}

.footer-logo {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-logo h3 {
    font-size: 18px;
}

.footer-logo span {
    color: #8895a9;

    font-size: 10px;
}

footer > p {
    color: #8895a9;

    font-size: 12px;

    margin-top: 20px;
}

.footer-line {
    height: 1px;

    background: #263348;

    margin: 30px 0 20px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    color: #718096;

    font-size: 10px;
}


/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 1000px) {

    nav {
        display: none;
    }

    .hero {
        flex-direction: column;

        text-align: center;
    }

    .hero-info,
    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .mission {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;

        text-align: center;
    }
}


/* ==========================================
   RESPONSIVE - CELULAR
========================================== */

@media (max-width: 650px) {

    .navbar {
        height: auto;

        min-height: 70px;

        padding: 12px 5%;
    }


    .logo {
        gap: 8px;
    }


    .logo-icon {
        width: 40px;
        height: 40px;

        border-radius: 10px;
    }


    .logo h2 {
        font-size: 18px;
    }


    .logo span {
        font-size: 9px;
    }


    .nav-buttons {
        display: none;
    }


    .hero {
        padding: 60px 6%;

        min-height: auto;

        gap: 45px;
    }


    .hero h1 {
        font-size: 35px;
    }


    .hero p {
        font-size: 14px;
    }


    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }


    .hero-buttons a {
        width: 100%;

        text-align: center;
    }


    .hero-info {
        flex-direction: column;

        align-items: center;

        gap: 12px;
    }


    .hero-card {
        width: 100%;

        max-width: 360px;
    }


    .section {
        padding: 65px 6%;
    }


    .section-title h2 {
        font-size: 28px;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .about-content {
        gap: 35px;
    }


    .mission {
        grid-template-columns: 1fr;
    }


    .mission-card {
        padding: 30px 20px;
    }


    .cta {
        margin: 40px 6%;

        padding: 35px 25px;
    }


    .cta h2 {
        font-size: 25px;
    }


    .cta-buttons {
        flex-direction: column;

        width: 100%;
    }


    .cta-buttons a {
        text-align: center;

        width: 100%;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }
}


/* ==========================================
   CELULARES MUY PEQUEÑOS
========================================== */

@media (max-width: 400px) {

    .hero {
        padding: 45px 5%;
    }


    .hero h1 {
        font-size: 30px;
    }


    .hero-card {
        padding: 22px;
    }


    .plate {
        width: 125px;
        height: 125px;

        font-size: 55px;
    }


    .section-title h2 {
        font-size: 25px;
    }
}