html {
    background-color: #ffffff; 
    height: 100%;
    overflow: hidden; 
}

body {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(255,255,255,0)) ,linear-gradient(rgba(255,255,255,0), rgba(0,0,0,0.8)), 
                url('/img/hero\ \(1\).png') 
                no-repeat center top/cover; 
    margin: 0px;   
    border-radius: 0px;  
    /* height: calc(100% - 40px); */
    /* height: calc(100% - 40px); */
    height: 100%;
    overflow: hidden; 
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    display: flex;
    flex-direction: column;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    padding: 25px 60px;
    width: 100%;
    box-sizing: border-box; 
}

#logo {
    justify-self: start; 
    text-decoration: none;
    height: auto;
    width: 200px;
    padding: 0;
}

#nav-bar {
    /* background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px; */
    padding: 12px 25px;
    display: flex;         
    align-items: center;
}

#item-list {
    display: flex;         
    list-style: none;      
    gap: 30px;             
    margin: 0;             
    padding: 0 20px;            
}

.items a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 20px;
}

.items a:hover {
    color:black;
    background-color: #fff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);         
}

#contact {
    grid-column: 3;
    justify-self: end;
    background: #fff;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap; 
    transition: all 0.3s;
}

#contact:hover {
    background: orangered;
    color:#fff;
    scale: 1.05;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#contact:active {
    scale: 0.95;
}

#hero {
    position: relative;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero h1 {
    margin-bottom: 10px;
    margin-top: -100px; 
}

h1 {
    font-size: 70px;
    color: #fff;
    font-family: 'league spartan', sans-serif;
    font-weight: 400;
}
span {
    font-family: 'fraunces';
    font-style: italic;
    font-weight: 400;
    color: #fff;
    text-decoration: 2.5px underline orangered;
    text-underline-offset: 10px;
}

p {
    font-size: 17.5px;
    color: #fff;
    font-family: 'inter';, sans-serif;
}

.btn {
    display:flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:#000;
    background-color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

#btn:hover {
    color:#fff;
    background-color: #000;
}

.container-btns {
    position: absolute;
    bottom:30px;
    right:60px;
    display: flex;
    gap: 15px;
}

.btn:hover{
    color:#fff;
    background-color: orangered;
    scale: 1.10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.btn:active{
    scale: 0.95;
}

.hero-cta{
    display:flex;
    align-items: center;
    gap: 17.5px;
    margin-top: 20px;
}

#hero-btn-contact {
    color:#000;
    text-decoration: none;
    background: #fff;
    border-radius: 20px;
    padding: 12.5px 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#hero-btn-contact:hover{
    color:#fff;
    background-color: orangered;
    scale: 1.10;
}

#hero-btn-contact:active{
    scale:0.95;
}

.glass-card {
    position: absolute;
    justify-content: center;
    align-items:flex-start;
    left:60px;
    bottom: 30px;
    display:flex;
    flex-direction: column;
    border: 1.5px solid transparent;
    background-clip: padding-box, border-box;
    padding: 20px 25px;
    border-radius: 25px;
    background: linear-gradient(rgba(255, 255, 255, 0.05),rgba(255, 255, 255, 0.05)), linear-gradient(135deg, rgba(255, 255, 255, 0.125) 0%,rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s;
}

.hl-card {
    font-family: 'inter', sans-serif;
    font-weight: 400;
    font-size: 30px;
    margin-top: 10px;
}

.description {
    font-family: 'inter', sans-serif;
    font-weight:300;
    font-size: small;
    margin-bottom: 10px;
    text-decoration: none;
}

.glass-card:hover {
    scale:1.1;
}

.toggle-btn {
    display:none;
}

.movile {
    display:none;
}

/* ... (Todo tu CSS de escritorio se queda igual) ... */

@media (max-width: 768px) {
    header {
        grid-template-columns: 1fr auto; 
        padding: 20px;
        margin: 20px 0px;
        position: relative;
        z-index: 1001;
    }

    #logo {
        height: auto;
        width: 150px;
    }

    /* Estilo inicial del menú móvil (oculto a la derecha) */
    #nav-bar {
        position: fixed;
        height: 100vh;
        width: 150px;
        top: 0;
        right: -250px; /* Escondido */
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        padding: 100px 30px;
        transition: all 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        visibility: hidden; 
        opacity: 0;
    }

    /* Clase que inyectará el JS para mostrar el menú */
    #nav-bar.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    #item-list {
        flex-direction: column;
        align-items: flex-end;
        gap: 30px;
        width: 100%;
    }

    .toggle-btn {
        display: flex;
        font-size: 1.8rem;
        cursor: pointer;
        color: #fff;
        z-index: 1100;
        margin-right: 20px;
        font-size: 20px;
    }

    #contact, .glass-card {
        display: none; /* Quitamos la tarjeta y el contacto arriba */
    }

    /* --- AJUSTES DEL HERO: H1, P y CTA ALINEADOS A LA IZQUIERDA --- */
    
    #hero {
        align-items: flex-start; /* Empuja el contenido a la izquierda si usa flexbox */
        text-align: left;
        padding: 0 20px; /* Añade margen lateral para que respire en el móvil */
    }

    #hero h1 {
        text-align: left;
        margin-top: 0;
        font-size: 40px; 
        line-height: 1.1;
        margin-left: 0;
        margin-right: 0;
        width: 100%; /* Obliga a usar todo el ancho para respetar la izquierda */
    }

    #hero p {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        margin-top: 15px; /* Separación con el h1 */
        width: 100%;
    }

    h1 span {
        text-underline-offset: 5px; /* Menos offset en móvil */
    }

    .hero-cta {
        display: flex;
        flex-direction: row; 
        justify-content: flex-start; /* Pega los botones a la izquierda */
        gap: 15px;
        width: 100%;
        margin-top: 25px; /* Espacio para separar los botones del párrafo */
    }

    /* --- ICONOS DE REDES INFERIORES (Se mantienen centrados) --- */
    
    .container-btns {
        position: relative;
        bottom: -95px;
        right: auto;
        margin-top: 50px;
        justify-content: center;
        width: 100%;
    }
    
    .btn {
        width: 40px;
        height: 40px;
    }

    .desktop {
        display:none;
    }

}
