* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* web */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #000000, #0f206c); /* Degradado azul */
    padding: 15px 25px; /* Aumenta un poco el tamaño */
    position: relative; /* Mantiene la estructura */
    height: 70px; /* Aumenta la altura */
}


.logo {
    position: absolute;
    left: 0px; /* Mantiene el logo pegado a la izquierda */
    
}

.logo img {
    height: 72px;
    width: auto;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Centra los elementos de navegación */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #c23625;
}

.home_image {
    width: 100%; /* Hace que la imagen abarque todo el ancho */
    display: flex;
    justify-content: center;
}

.home_image img {
    width: 100%; /* Hace que la imagen se expanda de lado a lado */
    height: 450px; /* Mantiene la proporción original */
    display: block; /* Elimina cualquier espacio adicional alrededor de la imagen */
}


.home_columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    border: none;
}
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

.separador {
    border: none;
    padding: 0.2rem 0;
    border-bottom: 5px solid #c23625;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 500px;
    border-radius: 10px;
}

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Puntos indicadores */
.dots-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Animación de desvanecimiento */
.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}



.columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px; /* Aumentamos el espacio entre columnas */
}

.left_column, .right_column {
    width: 48%; /* Mantiene las columnas en la misma línea */
    text-align: justify;
}

.left_column p, .right_column p
{
    font-size: 1.2rem;
}

.left_column, .right_column, .columns {
    border: none;
    background: none;
    padding: 0;
}

.left_column img, .right_column img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.contact_columns {
    width: 48%; /* Cada artículo ocupa la mitad del ancho */
    padding: 10px;
}

.contact_left, .contact_right {
    font-size: 18px;
    font-weight: bold;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Estilo del formulario */
#contact-form {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilo de etiquetas */
#contact-form label {
    font-weight: bold;
    color: #0f206c;
    display: block;
    margin-top: 10px;
}

/* Estilo de campos de entrada */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #0f206c;
    border-radius: 5px;
    font-size: 16px;
}

/* Efecto de focus */
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #c23625;
    outline: none;
    box-shadow: 0 0 5px rgba(194, 54, 37, 0.5);
}

/* Botón de envío */
#contact-form button {
    background: #c23625;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

/* Hover en el botón */
#contact-form button:hover {
    background: #0f206c;
}

/* Mensaje de éxito */
#form-message {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* Contenedor principal */
.contacto-container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #f4f4f4);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-in-out;
}

/* Título principal */
.contacto-title {
    color: #0f206c;
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Texto de introducción */
.contacto-text {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

/* Estilo del formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

/* Estilo de etiquetas */
.contact-form label {
    font-weight: bold;
    color: #0f206c;
    font-size: 1.1em;
}

/* Estilo de campos de entrada */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #0f206c;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

/* Efecto de focus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c23625;
    outline: none;
    box-shadow: 0 0 5px rgba(194, 54, 37, 0.5);
}

/* Botón de envío */
.btn-enviar {
    background: #c23625;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

/* Hover en el botón */
.btn-enviar:hover {
    background: #0f206c;
    transform: scale(1.05);
}

/* Mensaje de éxito */
.mensaje-enviado {
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: green;
    text-align: center;
    margin-top: 20px;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-container {
        width: 90%;
        padding: 20px;
    }
}

/* Contenedor principal */
.nosotros-container {
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}

/* Título principal */
.nosotros-title {
    color: #0f206c;
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Texto descriptivo */
.nosotros-text {
    font-size: 1.3em;
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Contenedor de misión y visión */
.mision-vision-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Tarjetas de misión y visión */
.mision, .vision {
    width: 45%;
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.mision {
    background-color: #0f206c; /* Azul */
}

.vision {
    background-color: #c23625; /* Rojo */
}

.mision p, .vision p 
{
    font-size: 1.2rem;
}

/* Efecto hover */
.mision:hover, .vision:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .mision-vision-container {
        flex-direction: column;
        align-items: center;
    }
    .mision, .vision {
        width: 90%;
        margin-bottom: 20px;
    }
}
/* Contenedor de clientes */
.clientes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    justify-items: center;
    align-items: center;
    margin-top: 20px;
}

/* Imágenes de clientes con tamaño uniforme */
.clientes-container img {
    width: 400px;  /* Todas tendrán el mismo ancho */
    height: 200px; /* Todas tendrán la misma altura */
    object-fit: contain; /* Asegura que la imagen no se deforme */
    border-radius: 10px;
    background-color: #fff; /* Fondo blanco para mantener uniformidad */
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
.clientes-container img:hover {
    transform: scale(1.1);
}

/* Estilos para los títulos */
.clientes-title {
    font-size: 1.8em;
    color: #0f206c;
    text-align: center;
    margin-top: 40px;
}

.clientes-text {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .clientes-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Estilos para la pantalla de carga */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f206c, #c23625);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

h1 {
    font-size: 2.5rem;
    color: #c23625;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Contenedor de servicios */
.servicios-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.titulo {
    font-size: 2.5rem;
    color: #d32f2f; /* Rojo principal */
    text-align: center;
    margin-bottom: 20px;
}

/* Diseño de la lista de servicios */
.servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Elemento de cada servicio */
.servicio {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Estilo para imágenes */
.servicio img {
    width: 180px;  /* Tamaño uniforme */
    height: 180px;
    object-fit: cover; /* Recorta la imagen sin distorsionarla */
    border-radius: 5px;
}

/* Estilo para títulos */
.servicio h2 {
    color: #1976d2; /* Azul secundario */
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.servicio p
{
    font-size: 1.2rem;
}

.servicio img:hover{
    transform: scale(1.05);
    font-weight: bold;
}

/* Secciones de otros servicios y beneficios */
.servicios-listado, .servicios-info {
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Fondo rojo para "Otros Servicios" */
.servicios-listado {
    background: #d32f2f; /* Rojo */
    color: #fff;
}

/* Fondo azul para "Beneficios" */
.servicios-info {
    background: #1976d2; /* Azul */
    color: #fff;
}

/* Títulos dentro de los recuadros */
.servicios-listado h2, .servicios-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Listado dentro de los recuadros */
.servicios-listado ul, .servicios-info ul {
    list-style: none;
    padding: 0;
}

.servicios-listado li, .servicios-info li {
    font-size: 1.2rem;
    padding: 8px 0;
    transition: transform 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
.servicios-listado li:hover, .servicios-info li:hover {
    transform: scale(1.05);
    font-weight: bold;
}
/* Separador */
.separador {
    border: none;
    height: 3px;
    background: linear-gradient(to right, #d32f2f, #1976d2);
    margin: 30px 0;
}

/* Barra de venta al mayoreo */
.barra-mayoreo {
    background-color: #d32f2f; /* Rojo intenso */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Ícono de teléfono */
.icono-telefono {
    font-size: 1.5rem;
}

/* Formulario de catálogo */
.formulario-catalogo {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #f8f8f8;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.formulario-catalogo h2 {
    color: #d32f2f;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.formulario-catalogo p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.formulario-catalogo form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.formulario-catalogo label {
    font-weight: bold;
    color: #333;
}

.formulario-catalogo input,
.formulario-catalogo select {
    width: 55%;
    padding: 8px;
    border: 2px solid #d32f2f;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

.formulario-catalogo button {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.formulario-catalogo button:hover {
    background: #b71c1c;
}

.venta_embrague, .venta_filtros, .ventas_horquillas, .venta_mazas {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.venta_embrague p,
.venta_filtros p,
.ventas_horquillas p,
.venta_mazas p
{
    font-size: 1.2rem;
}

/* ajuste listas */
.ventas_horquillas h2
{
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 5%;
}

.ventas_horquillas ul, .lista_filtros, .venta_mazas ul
{
    font-size: 1.2rem;
}

.ventas_horquillas .left_column
{
    padding-left: 10%;
    text-align: left;
}

.ventas_horquillas .right_column
{
    padding-left: 10%;
    text-align: left;
}

/* small phones */
@media (max-width: 376px)
{
    /* top bar */
    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #000000, #0f206c); /* Degradado azul */
        padding: 10px 25px; /* Aumenta un poco el tamaño */
        position: relative; /* Mantiene la estructura */
        height: 45px; /* Aumenta la altura */
    }

    .logo {
        position: absolute;
        left: 0px; /* Mantiene el logo pegado a la izquierda */
    }

    .logo a img {
        height: 40px;
        width: auto;
    }

    nav {
        padding-left: 2.5rem;
        flex-grow: 1;
        display: flex;
        justify-content: center; /* Centra los elementos de navegación */
    }

    nav ul {
        list-style: none;
        display: flex;
        gap: 10px;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        display: inline-block;
    }
    
    .nav-link {
        text-decoration: none;
        color: white;
        font-size: 0.7rem;
        transition: color 0.3s;
    }

    /* Barra de venta al mayoreo */
    .barra-mayoreo {
        background-color: #d32f2f; /* Rojo intenso */
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 40px;
    }

    /* Texto mayoreo */
    .texto-mayoreo {
        font-size: 1rem;
    }

    /* index slide-show */
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: 0; 
        padding: 0 2px;  
        height: 30vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .slide {
        display: none;
        flex-shrink: 0;
        width: 100%; 
        height: 100%; 
    }
    
    .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        border-radius: 10px; 
    }

    /* home settings */
    .home_image {
        width: 100%; /* Hace que la imagen abarque todo el ancho */
        display: flex;
        justify-content: center;
    }
    
    .home_image img {
        width: 100%; /* Hace que la imagen se expanda de lado a lado */
        height: 450px; /* Mantiene la proporción original */
        display: block; /* Elimina cualquier espacio adicional alrededor de la imagen */
    }
    
    
    .home_columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        border: none;
    }
    
    .left_column p, .right_column p
    {
        text-align: center;
    }
    
    .left_column, .right_column, .columns {
        border: none;
        background: none;
        padding: 0;
    }
    
    .left_column img, .right_column img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .contact-section {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding-bottom: 10px;
        width: 100vw;
        height: 85vh;
    }

    .contact_columns {
        width: 48%; /* Cada artículo ocupa la mitad del ancho */
        padding: 10px;
    }
    
    .contact_left, .contact_right {
        font-size: 18px;
        font-weight: bold;
        background-color: #f4f4f4;
        padding: 0;
        border-radius: 5px;
        text-align: center;
    }

    /* pantalla nosotros */
    /* Contenedor principal */
    .nosotros-container {
        max-width: 100vw;
        margin: 50px auto;
        text-align: center;
        padding: 0;
        margin: 20px;
    }

    /* Título principal */
    .nosotros-title {
        color: #0f206c;
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    /* Texto descriptivo */
    .nosotros-text {
        font-size: 1.3em;
        text-align: justify;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    /* Contenedor de clientes */
    .clientes-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        justify-items: center;
        align-items: center;
        margin-top: 20px;
    }

    /* Imágenes de clientes con tamaño uniforme */
    .clientes-container img {
        width: 100%;  /* Todas tendrán el mismo ancho */
        height: 180px; /* Todas tendrán la misma altura */
        object-fit: contain; /* Asegura que la imagen no se deforme */
        border-radius: 10px;
        background-color: #fff; /* Fondo blanco para mantener uniformidad */
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
    }

    /* pantalla de ventas */
    h1 {
        font-size: 1.8em;
        color: #c23625;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
    }
    
    .ventas_horquillas .left_column
    {
        padding-left: 0;
        text-align: left;
    }

    .ventas_horquillas .right_column
    {
        padding-left: 13%;
        padding-right: 0;
        text-align: left;
    }

    /* pantalla servicios */
    .titulo {
        font-size: 1.8em;
        color: #d32f2f; /* Rojo principal */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Elemento de cada servicio */
    .servicio {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        padding-bottom: 10px;
    }

    /* Estilo para imágenes */
    .servicio img {
        width: 100px;  /* Tamaño uniforme */
        height: 100px;
        object-fit: cover; /* Recorta la imagen sin distorsionarla */
        border-radius: 5px;
    }

    /* Estilo para títulos */
    .servicio h2 {
        color: #1976d2; /* Azul secundario */
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .servicio p
    {
        font-size: 1.2rem;
    }

    /* Secciones de otros servicios y beneficios */
    .servicios-listado, .servicios-info {
        display: flex;
        justify-content: center;
        text-align: center;
        padding: 20px;
        margin: 20px auto;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Títulos dentro de los recuadros */
    .servicios-listado h2, .servicios-info h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
        font-weight: bold;
        text-align: center;
    }

    /* pantalla contacto */
    /* Título principal */
    .contacto-title {
        font-size: 1.8em;
    }
}

/* small phones */
@media (max-width: 375px)
{
    /* top bar */
    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #000000, #0f206c); /* Degradado azul */
        padding: 10px 25px; /* Aumenta un poco el tamaño */
        position: relative; /* Mantiene la estructura */
        height: 45px; /* Aumenta la altura */
    }

    .logo {
        position: absolute;
        left: 0px; /* Mantiene el logo pegado a la izquierda */
    }

    .logo a img {
        height: 40px;
        width: auto;
    }

    nav {
        padding-left: 2.5rem;
        flex-grow: 1;
        display: flex;
        justify-content: center; /* Centra los elementos de navegación */
    }

    nav ul {
        list-style: none;
        display: flex;
        gap: 10px;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        display: inline-block;
    }
    
    .nav-link {
        text-decoration: none;
        color: white;
        font-size: 0.7rem;
        transition: color 0.3s;
    }

    /* Barra de venta al mayoreo */
    .barra-mayoreo {
        background-color: #d32f2f; /* Rojo intenso */
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 40px;
    }

    /* Texto mayoreo */
    .texto-mayoreo {
        font-size: 1rem;
    }

    /* index slide-show */
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: 0; 
        padding: 0 2px;  
        height: 30vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .slide {
        display: none;
        flex-shrink: 0;
        width: 100%; 
        height: 100%; 
    }
    
    .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        border-radius: 10px; 
    }

    /* home settings */
    .home_image {
        width: 100%; /* Hace que la imagen abarque todo el ancho */
        display: flex;
        justify-content: center;
    }
    
    .home_image img {
        width: 100%; /* Hace que la imagen se expanda de lado a lado */
        height: 450px; /* Mantiene la proporción original */
        display: block; /* Elimina cualquier espacio adicional alrededor de la imagen */
    }
    
    
    .home_columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        border: none;
    }
    
    .left_column p, .right_column p
    {
        text-align: center;
    }
    
    .left_column, .right_column, .columns {
        border: none;
        background: none;
        padding: 0;
    }
    
    .left_column img, .right_column img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .contact-section {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding-bottom: 10px;
        width: 100vw;
        height: 85vh;
    }

    .contact_columns {
        width: 48%; /* Cada artículo ocupa la mitad del ancho */
        padding: 10px;
    }
    
    .contact_left, .contact_right {
        font-size: 18px;
        font-weight: bold;
        background-color: #f4f4f4;
        padding: 0;
        border-radius: 5px;
        text-align: center;
    }

    /* pantalla nosotros */
    /* Contenedor principal */
    .nosotros-container {
        max-width: 100vw;
        margin: 50px auto;
        text-align: center;
        padding: 0;
        margin: 20px;
    }

    /* Título principal */
    .nosotros-title {
        color: #0f206c;
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    /* Texto descriptivo */
    .nosotros-text {
        font-size: 1.3em;
        text-align: justify;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    /* Contenedor de clientes */
    .clientes-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        justify-items: center;
        align-items: center;
        margin-top: 20px;
    }

    /* Imágenes de clientes con tamaño uniforme */
    .clientes-container img {
        width: 100%;  /* Todas tendrán el mismo ancho */
        height: 180px; /* Todas tendrán la misma altura */
        object-fit: contain; /* Asegura que la imagen no se deforme */
        border-radius: 10px;
        background-color: #fff; /* Fondo blanco para mantener uniformidad */
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
    }

    /* pantalla de ventas */
    h1 {
        font-size: 1.8em;
        color: #c23625;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
    }
    
    .ventas_horquillas .left_column
    {
        padding-left: 0;
        text-align: left;
    }

    .ventas_horquillas .right_column
    {
        padding-left: 13%;
        padding-right: 0;
        text-align: left;
    }

    /* pantalla servicios */
    .titulo {
        font-size: 1.8em;
        color: #d32f2f; /* Rojo principal */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Elemento de cada servicio */
    .servicio {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        padding-bottom: 10px;
    }

    /* Estilo para imágenes */
    .servicio img {
        width: 100px;  /* Tamaño uniforme */
        height: 100px;
        object-fit: cover; /* Recorta la imagen sin distorsionarla */
        border-radius: 5px;
    }

    /* Estilo para títulos */
    .servicio h2 {
        color: #1976d2; /* Azul secundario */
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .servicio p
    {
        font-size: 1.2rem;
    }

    /* Secciones de otros servicios y beneficios */
    .servicios-listado, .servicios-info {
        display: flex;
        justify-content: center;
        text-align: center;
        padding: 20px;
        margin: 20px auto;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Títulos dentro de los recuadros */
    .servicios-listado h2, .servicios-info h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
        font-weight: bold;
        text-align: center;
    }

    /* pantalla contacto */
    /* Título principal */
    .contacto-title {
        font-size: 1.8em;
    }
}

/* medium phones */
@media (min-width: 376px) and (max-width: 414px)
{
    /* top bar */
    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #000000, #0f206c); /* Degradado azul */
        padding: 10px 25px; /* Aumenta un poco el tamaño */
        position: relative; /* Mantiene la estructura */
        height: 60px; /* Aumenta la altura */
    }

    .logo {
        position: absolute;
        left: 0px; /* Mantiene el logo pegado a la izquierda */
    }

    .logo a img {
        height: 55px;
        width: auto;
    }

    nav {
        padding-left: 4rem;
        flex-grow: 1;
        display: flex;
        justify-content: center; /* Centra los elementos de navegación */
        align-items: center;
    }

    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
        margin: 0;
        justify-content: center;
    }
    
    nav ul li {
        display: inline-block;
    }
    
    .nav-link {
        text-decoration: none;
        color: white;
        font-size: 0.8rem;
        transition: color 0.3s;
    }

    /* Barra de venta al mayoreo */
    .barra-mayoreo {
        background-color: #d32f2f; /* Rojo intenso */
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 50px;
    }

    /* Texto mayoreo */
    .texto-mayoreo {
        font-size: 1.3rem;
    }

    /* index slide-show */
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: 2px; 
        padding: 0;  
        height: 42vw;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 10px;
    }
    
    .slide {
        display: none;
        flex-shrink: 0;
        width: 100%; 
        height: 100%; 
        border-radius: 10px;
    }
    
    .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 10px; 
    }

    /* home settings */
    .home_image {
        width: 100%; /* Hace que la imagen abarque todo el ancho */
        display: flex;
        justify-content: center;
    }
    
    .home_columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin: 20px auto;
        padding: 20px;
        border: none;
    }
    
    .left_column p, .right_column p
    {
        text-align: center;
    }
    
    .contact-section {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding-bottom: 10px;
        width: 100vw;
        height: 85vh;
    }

    .contact_columns {
        width: 48%; /* Cada artículo ocupa la mitad del ancho */
        padding: 10px;
    }
    
    .contact_left, .contact_right {
        font-size: 18px;
        font-weight: bold;
        background-color: #f4f4f4;
        padding: 0;
        border-radius: 5px;
        text-align: center;
    }

    /* pantalla nosotros */
    /* Contenedor principal */
    .nosotros-container {
        max-width: 100vw;
        margin: 50px auto;
        text-align: center;
        padding: 0;
        margin: 20px;
    }

    /* Título principal */
    .nosotros-title {
        color: #0f206c;
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    /* Texto descriptivo */
    .nosotros-text {
        font-size: 1.3em;
        text-align: justify;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    /* Contenedor de clientes */
    .clientes-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        justify-items: center;
        align-items: center;
        margin-top: 20px;
    }

    /* Imágenes de clientes con tamaño uniforme */
    .clientes-container img {
        width: 100%;  /* Todas tendrán el mismo ancho */
        height: 180px; /* Todas tendrán la misma altura */
        object-fit: contain; /* Asegura que la imagen no se deforme */
        border-radius: 10px;
        background-color: #fff; /* Fondo blanco para mantener uniformidad */
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
    }

    /* pantalla de ventas */
    h1 {
        font-size: 1.8em;
        color: #c23625;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
    }
    
    .ventas_horquillas .left_column
    {
        padding-left: 0;
        text-align: left;
    }

    .ventas_horquillas .right_column
    {
        padding-left: 13%;
        padding-right: 0;
        text-align: left;
    }

    /* pantalla servicios */
    .titulo {
        font-size: 2em;
        color: #d32f2f; /* Rojo principal */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Elemento de cada servicio */
    .servicio {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        padding-bottom: 10px;
    }

    /* Estilo para imágenes */
    .servicio img {
        width: 130px;  /* Tamaño uniforme */
        height: 130px;
        object-fit: cover; /* Recorta la imagen sin distorsionarla */
        border-radius: 5px;
    }

    /* Estilo para títulos */
    .servicio h2 {
        color: #1976d2; /* Azul secundario */
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .servicio p
    {
        font-size: 1.4rem;
    }

    /* Secciones de otros servicios y beneficios */
    .servicios-listado, .servicios-info {
        display: flex;
        justify-content: center;
        text-align: center;
        padding: 20px;
        margin: 20px auto;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Títulos dentro de los recuadros */
    .servicios-listado h2, .servicios-info h2 {
        font-size: 2em;
        margin-bottom: 10px;
        font-weight: bold;
        text-align: center;
    }

    /* pantalla contacto */
    /* Título principal */
    .contacto-title {
        font-size: 2.5em;
    }
}

/* big phones */
@media (min-width: 415px) and (max-width: 500px)
{
    /* top bar */
    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #000000, #0f206c); /* Degradado azul */
        padding: 10px 25px; /* Aumenta un poco el tamaño */
        position: relative; /* Mantiene la estructura */
        height: 66px; /* Aumenta la altura */
    }

    .logo {
        position: absolute;
        left: 0px; /* Mantiene el logo pegado a la izquierda */
    }

    .logo a img {
        height: 66px;
        width: auto;
    }

    nav {
        padding-left: 5rem;
        flex-grow: 1;
        display: flex;
        justify-content: center; /* Centra los elementos de navegación */
        align-items: center;
    }

    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        padding: 0;
        margin: 0;
        justify-content: center;
    }
    
    nav ul li {
        display: inline-block;
    }
    
    .nav-link {
        text-decoration: none;
        color: white;
        font-size: 1.2rem;
        transition: color 0.3s;
    }

    /* Barra de venta al mayoreo */
    .barra-mayoreo {
        background-color: #d32f2f; /* Rojo intenso */
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 55px;
    }

    /* Texto mayoreo */
    .texto-mayoreo {
        font-size: 1.4rem;
    }

    /* index slide-show */
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: 2px; 
        padding: 0;  
        height: 42vw;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 10px;
    }
    
    .slide {
        display: none;
        flex-shrink: 0;
        width: 100%; 
        height: 100%; 
        border-radius: 10px;
    }
    
    .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 10px; 
    }

    /* home settings */
    .home_image {
        width: 100%; /* Hace que la imagen abarque todo el ancho */
        display: flex;
        justify-content: center;
    }
    
    .home_columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin: 20px auto;
        padding: 20px;
        border: none;
    }

    .left_column, .right_column {
        width: 48%; /* Mantiene las columnas en la misma línea */
        text-align: justify;
    }

    .contact-section {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding-bottom: 10px;
        width: 100vw;
        height: 85vh;
    }

    .contact_columns {
        width: 48%; /* Cada artículo ocupa la mitad del ancho */
        padding: 10px;
    }
    
    .contact_left, .contact_right {
        font-size: 18px;
        font-weight: bold;
        background-color: #f4f4f4;
        padding: 0;
        border-radius: 5px;
        text-align: center;
    }

    /* pantalla nosotros */
    /* Contenedor principal */
    .nosotros-container {
        max-width: 100vw;
        margin: 50px auto;
        text-align: center;
        padding: 0;
        margin: 20px;
    }

    /* Título principal */
    .nosotros-title {
        color: #0f206c;
        font-size: 2.4em;
        margin-bottom: 20px;
    }

    /* Texto descriptivo */
    .nosotros-text {
        font-size: 1.6em;
        text-align: justify;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    /* Contenedor de clientes */
    .clientes-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        justify-items: center;
        align-items: center;
        margin-top: 20px;
    }

    /* Imágenes de clientes con tamaño uniforme */
    .clientes-container img {
        width: 100%;  /* Todas tendrán el mismo ancho */
        height: 180px; /* Todas tendrán la misma altura */
        object-fit: contain; /* Asegura que la imagen no se deforme */
        border-radius: 10px;
        background-color: #fff; /* Fondo blanco para mantener uniformidad */
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
    }

    /* pantalla de ventas */
    h1 {
        font-size: 2.4em;
        color: #c23625;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
    }
    
    /* pantalla servicios */
    .titulo {
        font-size: 2.4em;
        color: #d32f2f; /* Rojo principal */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Elemento de cada servicio */
    .servicio {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        padding-bottom: 10px;
    }

    /* Estilo para imágenes */
    .servicio img {
        width: 150px;  /* Tamaño uniforme */
        height: 150px;
        object-fit: cover; /* Recorta la imagen sin distorsionarla */
        border-radius: 5px;
    }

    /* Estilo para títulos */
    .servicio h2 {
        color: #1976d2; /* Azul secundario */
        font-size: 2em;
        margin-bottom: 5px;
    }

    .servicio p
    {
        font-size: 1.7rem;
    }

    /* Secciones de otros servicios y beneficios */
    .servicios-listado, .servicios-info {
        display: flex;
        justify-content: center;
        text-align: center;
        padding: 20px;
        margin: 20px auto;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Títulos dentro de los recuadros */
    .servicios-listado h2, .servicios-info h2 {
        font-size: 2.3em;
        margin-bottom: 10px;
        font-weight: bold;
        text-align: center;
    }

    /* pantalla contacto */
    /* Título principal */
    .contacto-title {
        font-size: 2.8em;
    }
}

/* media para agregar un espacio en celulares medianos */
@media (min-width: 390px) and (max-width: 500px)
    {
        .contact_columns:last-child::after {
            content: "";
            display: block;
            height: 35vh;
        }
    }