@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Nunito',sans-serif;
}

body{
    background:linear-gradient(135deg,#FFF8FC,#F4F0FF,#EAF8FF);
    color:#5E5673;
    min-height:100vh;
}

/*==============================
            HEADER
================================*/

header{
    width:100%;
    min-height:90px;
    background:#FFFFFFEE;
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:65px;
    height:65px;
    border-radius:50%;
    object-fit:cover;
}

.logo h2{
    color:#9B7DFF;
    font-size:32px;
    font-weight:800;
}

.logo p{
    color:#9A92B3;
    font-size:15px;
}

nav{
    display:flex;
    gap:28px;
}

nav a{
    text-decoration:none;
    color:#7A7196;
    font-weight:700;
    transition:.3s;
}

nav a:hover,
nav a.activo{
    color:#9B7DFF;
}

/*==============================
          ENCABEZADO
================================*/

.encabezado{
    text-align:center;
    padding:65px 20px 45px;
}

.encabezado h1{
    color:#6E5FA6;
    font-size:50px;
    margin-bottom:15px;
}

.encabezado p{
    color:#80789B;
    font-size:20px;
    max-width:750px;
    margin:auto;
    line-height:32px;
}

/*==============================
       CONSEJO PRINCIPAL
================================*/

.consejo-principal{
    width:92%;
    max-width:1200px;
    margin:0 auto 45px;
    padding:35px 40px;
    border-radius:32px;
    background:linear-gradient(135deg,#F3ECFF,#FFF0FA);
    box-shadow:0 15px 35px rgba(165,150,220,.16);
    display:flex;
    align-items:center;
    gap:25px;
}

.icono-principal{
    width:75px;
    height:75px;
    min-width:75px;
    border-radius:50%;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:38px;
}

.consejo-principal h2{
    color:#8068C7;
    font-size:27px;
    margin-bottom:8px;
}

.consejo-principal p{
    color:#77718C;
    font-size:17px;
    line-height:28px;
}

/*==============================
            SECCIONES
================================*/

.seccion{
    width:92%;
    max-width:1200px;
    margin:0 auto 50px;
    background:white;
    border-radius:35px;
    padding:45px;
    box-shadow:0 15px 40px rgba(165,150,220,.18);
}

.titulo-seccion{
    text-align:center;
    margin-bottom:35px;
}

.titulo-seccion h2{
    color:#6E5FA6;
    font-size:32px;
    margin-bottom:10px;
}

.titulo-seccion p{
    color:#8D87A6;
    font-size:17px;
}

/*==============================
       CONSEJOS GENERALES
================================*/

.consejos-generales{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.consejo{
    background:#FAF8FF;
    border-radius:25px;
    padding:30px 25px;
    text-align:center;
    box-shadow:0 7px 18px rgba(0,0,0,.05);
    transition:.3s;
}

.consejo:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 25px rgba(165,150,220,.16);
}

.consejo-icono{
    width:65px;
    height:65px;
    margin:0 auto 15px;
    border-radius:20px;
    background:#F0E9FF;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
}

.consejo h3{
    color:#7565A0;
    font-size:21px;
    margin-bottom:10px;
}

.consejo p{
    color:#7E7896;
    font-size:16px;
    line-height:26px;
}

/*==============================
       EMOCIONES
================================*/

.emociones-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.emocion-card{
    border-radius:28px;
    padding:30px 25px;
    text-align:center;
    min-height:330px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    box-shadow:0 7px 18px rgba(0,0,0,.05);
    transition:.3s;
}

.emocion-card:hover{
    transform:translateY(-7px);
    box-shadow:0 15px 30px rgba(0,0,0,.10);
}

.emoji{
    font-size:58px;
    margin-bottom:12px;
}

.emocion-card h3{
    font-size:25px;
    margin-bottom:10px;
    color:#675A96;
}

.emocion-card p{
    font-size:16px;
    line-height:26px;
    color:#6F6983;
    margin-bottom:20px;
}

/*==============================
          BOTONES
================================*/

.emocion-card button{
    border:none;
    border-radius:30px;
    padding:12px 25px;
    background:white;
    color:#6E5FA6;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    transition:.3s;
}

.emocion-card button:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}

/*==============================
       COLORES EMOCIONES
================================*/

/* Ansiedad - azul */

.ansiedad{
    background:#E9F3FF;
}

.ansiedad button{
    color:#568AC4;
}

/* Culpa - lila */

.culpa{
    background:#F5EDFF;
}

.culpa button{
    color:#8068C7;
}

/* Enojo - rojo */

.enojo{
    background:#FFE8E5;
}

.enojo button{
    color:#D34A3A;
}

/* Envidia - aguamarina */

.envidia{
    background:#DDF7F1;
}

.envidia button{
    color:#3C9F8B;
}

/* Estrés - rosado */

.estres{
    background:#FFE8EF;
}

.estres button{
    color:#D66D8C;
}

/* Frustración - gris */

.frustracion{
    background:#EEEEEE;
}

.frustracion button{
    color:#777777;
}

/* Miedo - verde */

.miedo{
    background:#E8FAF4;
}

.miedo button{
    color:#4D9B7D;
}

/* Tristeza - morado */

.tristeza{
    background:#EDE5FF;
}

.tristeza button{
    color:#7554B8;
}

/* Vergüenza - fucsia */

.verguenza{
    background:#FFE1F0;
}

.verguenza button{
    color:#D41472;
}

/*==============================
       RESPUESTA CONSEJO
================================*/

.respuesta-consejo{
    width:92%;
    max-width:1200px;
    margin:0 auto 45px;
    padding:30px 35px;
    border-radius:30px;
    background:#FFFFFF;
    border-left:8px solid #B89CFF;
    box-shadow:0 12px 30px rgba(165,150,220,.16);
    display:flex;
    align-items:center;
    gap:25px;
}

.respuesta-icono{
    width:70px;
    height:70px;
    min-width:70px;
    border-radius:50%;
    background:#F2EBFF;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:35px;
}

.respuesta-consejo h2{
    color:#8068C7;
    font-size:25px;
    margin-bottom:8px;
}

.respuesta-consejo p{
    color:#77718C;
    font-size:17px;
    line-height:28px;
}

/*==============================
          RECORDATORIO
================================*/

.recordatorio{
    width:92%;
    max-width:1000px;
    margin:0 auto 60px;
    padding:40px;
    text-align:center;
    border-radius:35px;
    background:linear-gradient(135deg,#FFF0F7,#F2ECFF);
    box-shadow:0 12px 30px rgba(165,150,220,.15);
}

.recordatorio-icono{
    font-size:50px;
    margin-bottom:12px;
}

.recordatorio h2{
    color:#8068C7;
    font-size:28px;
    margin-bottom:12px;
}

.recordatorio p{
    color:#77718C;
    max-width:750px;
    margin:auto;
    font-size:17px;
    line-height:29px;
}

/*==============================
            FOOTER
================================*/

footer{
    margin-top:60px;
    padding:35px;
    text-align:center;
    background:#F6F0FF;
}

footer h3{
    color:#8B72D8;
    font-size:28px;
    margin-bottom:10px;
}

footer p{
    color:#8E88A5;
    font-size:16px;
    max-width:700px;
    margin:auto;
    line-height:28px;
}

/*==============================
          RESPONSIVE
================================*/

@media(max-width:1000px){

    header{
        flex-direction:column;
        text-align:center;
        padding:25px;
    }

    nav{
        margin-top:20px;
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .consejos-generales,
    .emociones-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){

    .encabezado{
        padding:45px 20px 30px;
    }

    .encabezado h1{
        font-size:38px;
    }

    .encabezado p{
        font-size:18px;
        line-height:29px;
    }

    .seccion{
        width:95%;
        padding:25px;
        border-radius:28px;
    }

    .consejo-principal{
        width:95%;
        padding:28px;
        flex-direction:column;
        text-align:center;
    }

    .consejos-generales,
    .emociones-grid{
        grid-template-columns:1fr;
    }

    .titulo-seccion h2{
        font-size:27px;
    }

    .respuesta-consejo{
        width:95%;
        flex-direction:column;
        text-align:center;
        padding:28px;
    }

    .recordatorio{
        width:95%;
        padding:30px 22px;
    }
}

@media(max-width:500px){

    .logo img{
        width:55px;
        height:55px;
    }

    .logo h2{
        font-size:25px;
    }

    .logo p{
        font-size:13px;
    }

    .emocion-card{
        min-height:300px;
    }

    .emoji{
        font-size:52px;
    }
}