/* =======================================================
   TeraXcel – Estilos globales
   ======================================================= */

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: #062241;

    /* Fondo único para index y staff */
    background-image: url("../img/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow-x: hidden;
    position: relative;
}

/* Capa difuminada para todo el sitio */
/*body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(6px);
    z-index: -1;
}*/

/* LOGO -------------------------------------------------- */
.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
}

.logo img {
    width: 180px;
    height: auto;
}


/* HERO PRINCIPAL ---------------------------------------- */

.hero {
    height: 100vh;
    width: 100%;
    
    /* El fondo lo maneja body ahora */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Contenido hero */
.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

.animated-word {
    font-size: 2rem;
    font-weight: 600;
    color: #13a1ae;
    height: 40px;
    margin-top: 10px;
    transition: opacity 0.3s ease-in-out;
}


/* BOTONES ------------------------------------------------ */

.btn-container {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: #0b75ff;
    color: #fff;
}

.btn-primary:hover {
    background: #095fcc;
}

.btn-secondary {
    background: #e7edf5;
    color: #062241;
    border: 1px solid #d2d9e4;
}

.btn-secondary:hover {
    background: #d9e2ee;
}


/* STAFF -------------------------------------------------- */

.container {
    margin: 160px auto 0;
    max-width: 480px;
    background: #ffffffdd;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    z-index: 2;
}

.container h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #062241;
    margin-bottom: 8px;
}

.container p {
    color: #425b70;
    margin-bottom: 25px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #cfd7e0;
    font-size: 1rem;
    font-family: inherit;
}

button {
    width: 100%;
    padding: 14px;
    background: #0b75ff;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #095fcc;
}


/* MENSAJES ---------------------------------------------- */

.mensaje {
    margin-top: 18px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.mensaje.ok {
    background: #e5f7ec;
    color: #0a7a3b;
    border-left: 4px solid #0a7a3b;
}

.mensaje.error {
    background: #fff0f0;
    color: #d64545;
    border-left: 4px solid #d64545;
}


/* RESPONSIVE -------------------------------------------- */

@media (max-width: 768px) {
    .logo img {
        width: 150px;
    }

    h1 {
        font-size: 2.4rem;
    }

    .animated-word {
        font-size: 1.6rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        margin-top: 120px;
    }
}
