:root {
    --azul-principal: #0078d7;
    --gris-texto: #666;
    --gris-suave: #f3f3f3;
    --gris-medio: #dddddd;
    --transicion: 0.6s ease;
    font-family: "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-padding-top: 120px; /* header + margen extra */
}

body {
    margin: 0;
    color: #313131;
    line-height: 1.4;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Smooth scroll global */
}

#intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    transition: opacity var(--transicion);
    
    position: relative; 
    z-index: 1;
}

#intro .intro-name {
    height: 30px;
    margin-bottom: 20px;
    opacity: 0.95;
}

#intro .intro-logo {
    width: 120px;
    margin-bottom: 20px;
    opacity: 0.95;
}

#intro p {
    color: var(--gris-texto);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.buttons {
    display: flex;
    gap: 20px;
}

.boton {
    background-color: var(--azul-principal);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.boton:hover {
    background-color: #005fa3;
}


@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
    }
    .boton {
        width: 100%;
    }
    #intro {
        padding-left: 40px;
        padding-right: 40px;
    }
}

#hero-background {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
