@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}
a{
    text-decoration: none;
    color: inherit;
}

/* HEADER FIJO */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(16, 18, 20, 1) 0%, rgba(32, 34, 38, 1) 100%);
    padding: 10px 0;
    color: #fff;
    z-index: 1000;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
}

/* Estilo del header cuando se hace scroll */
header.scrolled {
    background: linear-gradient(90deg, rgba(247, 249, 245, 1) 0%, rgba(247, 249, 245, 1) 100%);
    color: #383c41;
}

/* LOGO */
.logo img {
    transition: opacity 0.3s ease-in-out;
    width: 185px;
    max-width: 90%;
}

.container {
    max-width: 1024px;
    width: 90%;
    margin: auto;
    padding: 10px;
}

.flexer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 90%;
    margin: auto;
}

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

.menu a,
.menu-mobile a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.menu a img {
    margin-left: 5px;
}

.contact-icon {
    display: block;
}

.menu-toggle {
    display: none;
}

.emergente {
    display: none;
}

/* BOTÓN DE WHATSAPP FIJO */
.whatsapp-icon {
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 1000;
    transition: top 0.3s ease-in-out;
    /* Hace el movimiento más suave */
}

.whatsapp-icon img {
    width: 70px;
}

footer {
    background-color: #2d3238;
    color: white;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img {
    max-width: 150px;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 1.2em;
}
.footer-info p{
    margin: 0.5em;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    color: #ffffff;
    font-style: normal;
}

.footer-item img {
    width: 20px;
    height: auto;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social img {
    width: 30px;
    height: auto;
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

.privacy-policy {
    font-family: "Roboto", sans-serif;
    font-weight: 200;
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}
footer hr {
    width: 80%;
    margin: 15px auto;
  }
/* Móviles */
@media only screen and (max-width: 800px) {

    .menu,
    .contact-icon {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .emergente {
        display: none;
        position: absolute;
        top: 95px;
        left: 0;
        width: 100%;
        background: rgba(32, 34, 38, 0.9);
        padding: 10px;
    }

    .scrolled .emergente {
        background: rgba(255, 255, 255, 0.9);
    }

    .menu-mobile {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-icon {
        position: fixed;
        top: 100px;
        right: 5px;
    }

    .whatsapp-icon img {
        width: 40px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-info {
        align-items: center;
    }
    .footer-bottom {
        justify-content: center;
    }
    .footer-item {
        text-align: left;
    }
    .footer-social {
        flex-direction: row;
        gap: 10px;
    }
}

/* Mostrar menú en móviles */
.show {
    display: block;
}