@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@100;200;300;400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');



* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: 'Rubik', sans-serif;
    background-color: #fff;
    /* Opcional */
    color: #000;
    /* Opcional */
}

.content {
    width: 100%;
    max-width: 1140px;
    margin: 0px auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0px;
}

p {
    margin: 0px;
}

/* Estilo para navbar */

/* Estilos para el menú hamburguesa */
.hamburger-btn {
    display: none;
    /* Oculto por defecto en todas las pantallas */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-icon {
    width: 30px;
    height: 30px;
}



nav {
    padding-bottom: 30px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.logo {
    height: 70px;
    width: auto;
}

.search-container {
    position: absolute;
    top: 10px;
    right: 70px;
    display: none;
    /* Oculto por defecto la lupa*/
    flex-direction: row-reverse;
    align-items: center;
}


.search-button {
    width: 26px;
    height: 26px;
    background: url('/img/lupa.png') no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    outline: none;
    /* Elimina el borde al hacer focus */
}

.search-input {
    width: 0;
    padding: 0;
    border: none;
    /* Elimina todos los bordes por defecto */
    border-bottom: 2px solid #9F824B;
    /* Solo borde inferior verde */
    margin-right: -20px;
    transition: all 0.3s ease;
    opacity: 0;
    background: transparent;
    height: 40px;
    transform-origin: right center;
    outline: none;
    /* Elimina el borde al hacer focus */
    box-shadow: none;
    /* Elimina sombras no deseadas */
}

.search-input.active {
    width: 400px;
    opacity: 1;
    padding: 5px 15px 5px 30px;
    border-radius: 20px 0 0 20px;
    margin-right: -40px;
    background-color: #f5f5f5;
    border: 2px solid #9F824B;
    /* Borde completo verde cuando está activo */
    transform: scaleX(1);
}


.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li:not(:last-child) {
    margin-right: 101px;
    /* 100px entre cada elemento */
}

.menu li a {
    text-decoration: none;
    color: #313759;
    font-size: 16px;
    font-weight: 800;
    display: inline-block;
    padding-top: 3px;
    border-top: 1px solid #313759;
    transition: all 0.3s ease;
}

.menu li a:hover {
    color: #9F824B;
    border-top-color: #9F824B;
}

.botones-fijos {
    position: fixed;
    top: 550px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    /* separación entre los dos botones */
}

.botonws {
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.botonws img {
    width: 100%;
    height: 100%;
}

#btn-subir {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.btn-subir {
    width: 42px;
    height: 20px;
}





/*estilos para el banner*/
#banner {
    width: 100%;
    position: relative;
    display: block;
}

#banner .swiper {
    width: 100%;
    height: 550px;
}

#banner .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.textos-banner {
    position: absolute;
    right: 70px;
    top: 100px;
    text-align: right;
    font-family: 'Bebas Neue', sans-serif;
}

.textos-banner h3 {
    font-size: 90px;
    font-weight: lighter;
    margin: 0;
    line-height: 0.94;
    letter-spacing: 1px;
}

/*SECCION NOSOTROS*/

#productos {
    padding-top: 160px;
}

.contenedor-nosotros-principal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 100px 0 0;
    margin: 0px auto;
    text-align: center;
    position: relative;
}

.texto-izquierdo {
    font-size: 29px;
    color: #313759;
    text-align: right;
}

.texto-rectangulo {
    display: flex;
    align-items: center;
}

.rectangulo {
    margin-left: 30px;
    height: 122px;
    width: 50px;
    background-color: #9F824B;
}

.texto-derecho {
    max-width: 340px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    color: #9F824B;
    margin-left: 140px;
}

.texto-derecho button {
    margin-top: 20px;
    padding: 10px 70px;
    background-color: #fff;
    color: #9F824B;
    border: 1px solid #9F824B;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.texto-derecho button:hover {
    transform: scale(1.05);
}

.contenedor-textos-nosotros {
    padding-top: 100px;
    margin: auto;
    max-width: 944px;
    width: 100%;
    /* Ocupa todo el ancho disponible */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrado horizontal para elementos flex */
    justify-content: center;
    /* Centrado vertical para elementos flex */
}

/* Estilo para el texto */
.texto-nosotros {
    font-size: 18px;
    margin: 0 auto;
    /* Centrado horizontal */
    text-align: center;
    /* Aseguramos que el texto esté centrado */
    color: #313759;
    font-weight: 500;
}

.texto-filamentos-bold {
    display: block;
    font-weight: bold;
    margin-bottom: 40px;
    /* Ajusta el espacio según lo que necesites */
}

.contenedor-img-nosotros {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 240px;
    /* Espacio entre cada bloque img + texto */
    padding-top: 90px;
    margin: auto;
    flex-wrap: wrap;
    /* Por si lo ves en móvil */
    text-align: center;
}

.item-nosotros img {
    width: 92px;

}

.item-nosotros p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #9F824B;
}

.contenedor-btn-asesorias {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

.contenedor-btn-asesorias button {
    width: 300px;
    font-size: 20px;
    font-weight: 500;
    color: #313759;
    border: 3px solid #313759;
    border-radius: 30px;
    padding: 10px 20px;
    background-color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contenedor-btn-asesorias button:hover {
    transform: scale(1.05);
}

/*SECCION PRODUCTOS*/
.contenedor-principal-productos {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: #f1ede5;
    margin: 0 auto;
    /* Ajusta el espacio de abajo */
}

.rectangulo-productos {
    height: 53px;
    background-color: #9F824B;

}

.swiper-container {
    margin: 0 auto;
}
.swiper-slide{
    text-decoration: none;
}
.titulo-productos {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 23px bold;
    color: #313759;
}

.contenedor-carrusel {
    padding: 40px 0;
    max-width: 1066px;
    margin: 0 auto;
    position: relative;
}

.imagen {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

}
.swiper-slide h4 {
    margin: 0 0 15px 0;
    color: #9F824B;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.swiper-slide img {
    height: 100%;
    object-fit: cover;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    margin: auto;
}

/* Flechas de navegación */
.swiper-button-next {
    color: #9F824B;
    /* Color dorado de tu marca */
    position: absolute;
    width: 10px;
    height: 53px;
    top: 55%;
    right: -25px;

    z-index: 1000;
}


/*MARCAS*/
/* MARCAS */
.contenedor-principal-marcas {
    margin: 160px auto 0 auto;
    /* margen superior de 160px y centrado horizontal */
    padding: 0 70px 100px 70px;
    width: 100%;
    /* o un valor fijo como 1200px */
    box-sizing: border-box;
    box-shadow: 0 15px 20px -15px rgba(0, 0, 0, 0.776);
    /* Sombra inferior */
    position: relative;
    z-index: 1;
}

.titulo-marcas {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #9F824B;
    padding-bottom: 80px;
    text-transform: uppercase;
    /* Opcional: para consistencia con títulos */
}

.item-marcas {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 63px;
    /* Altura fija para cada item */
}

.item-marcas img {
    width: auto;
    height: 63px;
    object-fit: contain;
}


/*contacto*/


/* Contenedor principal que centra todo */
.contenedor-contacto {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;
    padding-top: 165px;
    padding-bottom: 50px;
}

/* Contenedor flex para los tres elementos */
.contenedor-redes-sociales {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Alinea los items al inicio por si hay textos de diferente altura */
    gap: 300px;
    /* Espacio entre elementos */
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilo para cada item */
.item-redes {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    /* Hace que todos ocupen el mismo espacio */
    min-width: 0;
    /* Permite que el texto se ajuste */
}

/* Estilo para las imágenes */
.item-redes img {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* Estilo para el texto */
.item-redes p {
    margin: 0;
    font-size: 18px;
    color: #9F824B;
    line-height: 1.4;
    word-break: break-word;
    /* Evita que el texto se salga del contenedor */
}

/* Ajuste específico para el correo (opcional) */
.item-redes:nth-child(3) p {
    word-break: break-all;
    /* Para emails largos */
}

.contenedor-formulario-contacto {
    border-radius: 30px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    background-color: #313759;
}

.titulo-formulario {
    margin-bottom: 30px;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.fila-superior {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}



.fila-superior input {
    border-radius: 30px;
    flex: 1;
    color: #313759;
    background-color: #999bad;
    padding: 12px;
    border: none;
    /* Elimina el borde negro */
    outline: none;
    /* Opcional: elimina el contorno al enfocar */
    margin-bottom: 10px;
    height: 50px;
}

.fila-inferior {
    color: #313759;
    display: flex;
    gap: 15px;
}

.input-mensaje {
    flex: 1;
    max-width: 723px;
    /* Reduce el ancho al 80% del contenedor */
    padding: 12px;
    border-radius: 30px;
    height: 100px;
    outline: none;
    background-color: #999bad;
    border: none;
    margin: 0 0;
    /* Centra el elemento */
    margin-right: 150px;
}

.btn-enviar {
    padding: 12px 30px;
    background-color: #9F824B;
    color: #313759;
    margin-top: 30px;

    height: 50px;
    border: none;
    border-radius: 30px;
    /* Añadido para consistencia con tu diseño */
    cursor: pointer;
    align-self: flex-start;
}

.fila-superior input::placeholder,
.input-mensaje::placeholder {
    color: #313759;
    /* Gris claro */
}

.developed {
    margin: 10px auto;
    /* Centrado horizontal con margen vertical */
    font-size: 10px;
    color: #B7B7B7;
    text-align: center;
    /* Asegura que el texto también esté centrado */
    width: fit-content;
    /* Ajusta el ancho al contenido */
    display: block;
    /* Necesario para que funcione margin-auto */
}

.developed a {
    color: #B7B7B7;
    text-decoration: none;
    /* Elimina el subrayado */
}

.footer-estilo {
    margin: auto;
}

/*galerias*/
#galeria .menu{
    display: none;
}
.rectangulo-azul {
    height: 53px;
    background-color: #313759;
    margin-left: 70px;
    margin-right: 70px;
}

.titulo-galeria {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #313759;
    margin-top: 10px;
    padding-bottom: 87px;
}


/* ESTILOS PARA LA GALERÍA CON GRID */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 370px);
    grid-gap: 20px;
    margin-top: 0px;
    justify-content: center;
}

.item-galeria {
    width: 370px;
    height: 351px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.item-galeria:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.item-galeria img {
    width: 100%;
    height: 351px;
    object-fit: cover;
    display: block;
}


.contenedor-btn-catalogo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

.contenedor-btn-catalogo button {
    width: 300px;
    font-size: 20px;
    font-weight: 500;
    color: #9F824B;
    border: 3px solid #9F824B;
    border-radius: 30px;
    padding: 10px 20px;
    background-color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}