/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --whatsapp-color: #25D366;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --black: #000;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

.cta-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-btn:hover {
    background: #c0392b;
    color: var(--white);
}

.cta-whatsapp {
    background: var(--whatsapp-color);
}

.cta-whatsapp:hover {
    background: #128c7e;
    color: var(--white);
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Header */
/* Header - Versión Modificada */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    /* Added back for clarity, as it was implicitly removed by the edit */
    z-index: 1000;
}

/* Header - Versión Desktop Ajustada */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    /* Wider container for desktop */
    padding: 0 40px;
    /* More padding to breathe */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 1001;
    margin-right: auto;
    /* Push navbar to the right */
    white-space: nowrap;
}

.logo span {
    color: var(--secondary-color);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Consistent spacing between menu items */
}

.navbar a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    /*    padding: 5px 0;*/
}

.navbar a:hover {
    color: var(--secondary-color);
}

/* Desktop Specific Adjustments */
@media (min-width: 769px) {
    .logo span {
        display: inline;
    }

    .navbar {
        flex: 1;
        justify-content: flex-end;
    }
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar a:hover::after {
    width: 100%;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.social-header a {
    color: var(--dark-color);
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-header a:hover {
    color: var(--secondary-color);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 10px 17px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

/* Botón de pago en el header */
.payment-btn {
    background: var(--secondary-color);
    color: #ffffff !important;
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    text-decoration: none;
    white-space: nowrap;
}

.payment-btn:hover {
    background: transparent;
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
}

.payment-btn:hover i {
    color: var(--secondary-color) !important;
}

.payment-btn i {
    font-size: 0.9rem;
    color: #ffffff !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section - B2B Refined */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
    padding-top: 80px;
    /* Space for fixed header */
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    background: rgba(44, 62, 80, 0.95);
    padding: 50px;
    border-left: 8px solid var(--secondary-color);
    color: #fff;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ecf0f1;
}

.hero .cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Efecto overlay alternativo (opcional) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    /* Capa blanca semitransparente */
    z-index: 1;
}

/* Benefits */
.benefits {
    background: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    /*background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);*/
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    /* Convierte el product-card en un contenedor flex */
    flex-direction: column;
    /* Organiza los elementos hijos en columna */
    justify-content: space-between;
    /* Empuja el botón al final y distribuye el espacio */
    align-items: center;
    /* Centra horizontalmente el contenido, incluido el botón */
    text-align: center;
    /* Centra el texto */
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-card h3 {
    /*padding: 20px;
    font-size: 1.3rem;
    color: var(--primary-color);*/
    margin-top: 0;
    margin-bottom: 15px;
    /* Espacio debajo del título */
    color: #333;
    /* Color de tu texto principal */
}

.product-card p {
    /*padding: 0 20px 20px;
    color: var(--text-light);*/
    margin-bottom: 20px;
    /* Espacio debajo del párrafo antes del botón */
    color: #555;
    /* Color de tu texto secundario */
    flex-grow: 1;
    /* Permite que el párrafo ocupe el espacio extra, empujando el botón hacia abajo */
}

.product-card .cta-btn {
    /* Los estilos del cta-btn ya deberías tenerlos definidos globalmente. */
    /* Si necesitas ajustarlos específicamente aquí, puedes hacerlo. */
    margin-top: auto;
    /* Esto es clave para empujar el botón al final del flex container */
    display: inline-block;
    /* Asegura que el botón se ajuste a su contenido y se pueda centrar con text-align en el padre */
    padding: 12px 25px;
    /* Ajusta el padding si el botón global es muy grande */
    font-size: 16px;
    /* Ajusta el tamaño de la fuente si es necesario */
}


.product-card i {
    font-size: 3rem;
    /* Tamaño del icono */
    color: var(--secondary-color);
    /* Color del icono, usando tu variable */
    margin-bottom: 20px;
    /* Espacio debajo del icono y antes del párrafo */
    margin-top: 10px;
    /* Espacio encima del icono y debajo del título */
    /* Aseguramos que el icono no se estire dentro del flex container */
    flex-shrink: 0;
}

/* Puedes ajustar el margin-bottom de h3 y margin-top de p para que se vea más fluido */
.product-card h3 {
    margin-bottom: 10px;
    /* Ajuste para dar espacio al icono */
}

.product-card p {
    margin-bottom: 15px;
    /* Ajuste para dar espacio al botón */
}

/* Gallery */
.gallery {
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    background: var(--light-color);
}

.testimonials-slider {
    margin-top: 50px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
}

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.testimonial-content i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact */
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2,
.contact-info p {
    color: var(--white);
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Enlaces visibles en contacto */
.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: var(--secondary-color);
    outline: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--light-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding: 20px 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Enlace de pago en el footer */
.footer-payment-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    position: relative;
}

.footer-payment-link:hover {
    color: var(--white) !important;
    background: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
    transition: var(--transition);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.slideInUp {
    animation-name: slideInUp;
}

/* Efecto hover para botones */
.cta-btn:not(.whatsapp-btn):hover {
    background: #c0392b;
    border-color: #c0392b;
    color: white;
}

/* Preloader eliminado */

/* Efecto para elementos cuando son visibles en el viewport */
.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}


.contact-form {
    background-color: #fff;
    /* Fondo blanco para el formulario, como en la imagen */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
    max-width: 600px;
    /* Ancho máximo para que no se extienda demasiado */
    margin: 40px auto;
    /* Centrar el formulario y dar espacio */
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Espacio entre los elementos del formulario */
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Dos columnas para los inputs */
    gap: 20px;
    /* Espacio entre las celdas de la cuadrícula */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    /* Ocupar todo el ancho de su celda */
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    /* Eliminar el contorno al enfocar */
    transition: border-color 0.3s ease;
    /* Transición suave para el borde */
    box-sizing: border-box;
    /* Incluir padding y borde en el ancho total */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: #f75d31;
    /* Color del borde al enfocar, similar al botón */
}

.contact-form textarea {
    grid-column: 1 / -1;
    /* Que el textarea ocupe ambas columnas */
    min-height: 120px;
    /* Altura mínima para el área de texto */
    resize: vertical;
    /* Permitir redimensionar solo verticalmente */
}

.contact-form button.cta-btn {
    grid-column: 1 / -1;
    /* Que el botón ocupe ambas columnas */
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    background-color: #f75d31;
    /* Color de fondo del botón */
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    /* Asegurar que el botón se alinee al inicio de su fila */
}

.contact-form button.cta-btn:hover {
    background-color: #e04a20;
    /* Tono más oscuro al pasar el mouse */
}

/* Ajustes para pantallas más pequeñas (opcional, pero recomendado) */
@media (max-width: 768px) {
    .contact-form form {
        grid-template-columns: 1fr;
        /* Una sola columna en pantallas pequeñas */
    }
}

/* Estilos generales para la sección hero */
.hero {
    min-height: 500px;
    /* Altura mínima de la sección */
    display: flex;
    align-items: center;
    /* Centra verticalmente el contenido */
    color: #fff;
    /* Color del texto para contraste */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Sombra para el texto para mejor legibilidad */
    position: relative;
    /* Muy importante para que los elementos hijos posicionados se ubiquen dentro de este */
    overflow: hidden;
    /* Asegura que la imagen no se desborde */
    background: none;
    /* Anula fondo con URL inexistente; la imagen viene de .hero-background-img */
}

/* Estilos para la imagen de fondo (la nueva etiqueta <img>) */
.hero-background-img {
    position: absolute;
    /* Posiciona la imagen de forma absoluta */
    top: 0;
    left: 0;
    width: 100%;
    /* La imagen ocupará el 100% del ancho del .hero */
    height: 100%;
    /* La imagen ocupará el 100% de la altura del .hero */
    object-fit: cover;
    /* Recorta la imagen para que cubra todo el espacio sin distorsionarse */
    z-index: 0;
    /* Asegura que la imagen esté en la capa más baja */
    font-family: 'object-fit: cover;';
    /* Fallback para IE, ignora si no necesitas compatibilidad */
}

/* Ajustes para la superposición (overlay) para oscurecer la imagen y mejorar la legibilidad del texto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Capa oscura semitransparente (40% de opacidad) */
    z-index: 1;
    /* Asegura que la capa esté sobre la imagen pero debajo del contenido */
}

/* Asegura que el contenido (texto y botón) esté sobre la superposición */
.hero .container {
    position: relative;
    z-index: 2;
    /* Asegura que el contenido esté sobre la capa oscura */
    width: 100%;
    /* Asegura que el contenedor ocupe el ancho completo */
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        /* Una altura un poco menor para móviles */
    }

    /* Removido cambio de imagen por CSS para usar siempre la <img> del HTML */
    /* .hero-background-img {
        content: url('images/tu-imagen-hero-mobile.jpg');
    } */

    /* Puedes ajustar el tamaño del texto para móviles si es necesario */
    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .process {
        display: none;
    }

    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: var(--transition);
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        margin: 10px 0;
    }

    .navbar .payment-btn {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }

    .social-header {
        margin-left: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .benefits-grid,
    .products-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    .testimonial-card {
        min-width: 280px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-form {
    display: flex;
    flex-direction: column;
}

.modal-form .form-group {
    margin-bottom: 15px;
}

.modal-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.modal-form input,
.modal-form textarea {
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Efectos slider  */
.fade-text {
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Estilos para campos con error */
input.error,
textarea.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

/* Mensajes de error de campo */
.field-error {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

/* Contenedor de mensajes del formulario */
.form-messages {
    margin-top: 15px;
    display: none;
}

.form-messages .message {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-messages .message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-messages .message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos para botón deshabilitado */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animación para mensajes */
.form-messages .message {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Proveedores - logos en fila */
.proveedores {
    background: #fafafa;
}

.proveedores .slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    /* permite adaptarse en móviles */
}

/* En desktop: 3 en una sola línea */
@media (min-width: 769px) {
    .proveedores .slider {
        flex-wrap: nowrap;
    }
}

.proveedores .slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 33.333%;
}

/* En móviles: 2 por fila, y en extra pequeños: 1 */
@media (max-width: 768px) {
    .proveedores .slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 480px) {
    .proveedores .slide {
        flex: 0 0 100%;
    }
}

.proveedores .slide img {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: var(--transition);
}

.proveedores .slide img:hover {
    filter: none;
    opacity: 1;
}