*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Inter', sans-serif;
    color: #111;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

/* --- Degradado animado desde abajo --- */
body::before{
    content: "";
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 30%, #000000 100%);
    z-index: -1;
    transition: height 1.8s ease;
}

body.gradient-on::before{
    height: 60vh;
}

/* ----------------------------------- */

.hero{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5em;
    padding-top: 2em;
}

.Logo{
    display: flex;
    justify-content: center;
    padding: 1em;
}

.logo{
    width: 17em;
    height:auto;
    display:block;
    will-change:transform;
    animation:floatY 4s ease-in-out infinite;
}

@keyframes floatY{
  0%{transform:translateY(-14px)}
  50%{transform:translateY(14px)}
  100%{transform:translateY(-14px)}
}

.pt{
    text-align:center;
    font-size: 1.4em;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pt p{
    width: 60%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 1.3em 1.6em;
    border-radius: 20px;
    font-family: 'gliker';
    font-size: 1.25em;
    border: 1px solid #00000026;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: 0.9s ease;
}

.pt p.text-show{
    opacity: 1;
    transform: translateY(0);
}

.boxes{
    width: 100%;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
}

.line1,.line2{
    display: grid;
    gap: 1.5em;
    width: 85%;
}

.line1{
    grid-template-columns: repeat(3, 1fr);
}
.line2{
    grid-template-columns: repeat(2, 1fr);
}

.box{
    background: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    padding: 2em;
    border-radius: 16px;
    text-align: center;
    color: white;
    transition: 0.35s ease;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(50px);
}

.box-show{
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.box:hover{
    background: #ffffff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.6);
}

.box a{
    color: inherit;
    text-decoration: none;
    font-family: 'gliker';
    font-size: 1.2em;
}


/* --------------------------------------------------- */
/* -------------    MEDIA QUERIES RESPONSIVE ---------- */
/* --------------------------------------------------- */


/* Tablets horizontal y vertical */
@media (max-width: 992px){

    .logo{
        width: 14em;
    }

    .pt p{
        width: 75%;
        font-size: 1.1em;
    }

    .line1{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles grandes (600px a 768px) */
@media (max-width: 768px){

    .logo{
        width: 12em;
    }

    .pt{
        font-size: 1.1em;
    }

    .pt p{
        width: 85%;
        font-size: 1em;
        padding: 1.1em 1.3em;
    }

    .line1{
        grid-template-columns: repeat(2, 1fr);
    }

    .line2{
        grid-template-columns: repeat(2, 1fr);
    }

    .box{
        padding: 1.6em;
    }
}

/* Móviles – forzar 1 sola columna y centrar todo */
@media (max-width: 600px){

    .line1,
    .line2{
        grid-template-columns: 1fr !important;
        width: 92% !important;
        gap: 1.2em !important;
    }

    .box{
        width: 100% !important;
        padding: 1.4em !important;
        font-size: 1.05em !important;
    }

    .pt p{
        width: 90% !important;
        font-size: 1em !important;
    }

    .logo{
        width: 10em !important;
    }

    .hero{
        gap: 2em !important;
    }
}
