/* ===== BARRA SUPERIOR ===== */
/* ===== BARRA SUPERIOR ===== */
/* ===== BARRA SUPERIOR ===== */
.top-bar {
    background: 
        radial-gradient(circle at 10% 20%, rgba(232, 166, 57, 0.9) 0%, rgba(232, 166, 57, 0.7) 30%, rgba(232, 166, 57, 0.4) 70%, transparent 100%),
        radial-gradient(circle at bottom right, rgba(232, 166, 57, 0.8) 0%, rgba(232, 166, 57, 0.6) 40%, rgba(232, 166, 57, 0.3) 80%, transparent 100%),
        radial-gradient(circle at center, rgba(232, 166, 57, 0.3) 0%, transparent 50%),
        white !important; /* ← MISMO FONDO EXACTO QUE EL FOOTER */
    color: white; /* ← MANTENER TEXTO BLANCO */
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.header {
   position: fixed;
    top: 46px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 20px rgba(232, 166, 57, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateY(0);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.header.hidden {
    transform: translateY(-100%); /* Se oculta hacia arriba */
}

.top-bar .container {
    display: flex !important;
    justify-content: flex-start;  /* ← CAMBIADO: space-between → flex-start */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 3rem;  /* ← Añade espacio entre redes sociales y contacto */
}

/* Redes Sociales */
.social-links-top {
    display: flex !important;
    gap: 15px;
    margin-right: auto !important;  /* ← AÑADE ESTA LÍNEA */
    margin-left: -140px !important;     /* ← AÑADE ESTA LÍNEA */

}

.social-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: white;
    color: #e8a639;
    transform: translateY(-2px);
}

/* Información de Contacto */
.contact-info-top {
      display: flex !important;
    gap: 25px;
    align-items: center;
    margin-left: auto !important;
    margin-right: -135px  !important;  /* ← AÑADE ESTA LÍNEA */
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 550 !important;  /* ← AÑADE ESTA LÍNEA */
	 font-family: 'Segoe UI', sans-serif !important;  /* ← AÑADE ESTA LÍNEA */
}

.contact-link:hover {
    color: #f8f9fa;
    transform: translateY(-1px);
}

.contact-link i {
    font-size: 0.8rem;
}

.phone-link {
    cursor: pointer;
    position: relative;
}

/* Tooltip para teléfono */
.phone-link::after {
    content: "Haz clic para copiar";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.phone-link:hover::after {
    opacity: 1;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */

/* ===== BARRA SUPERIOR ===== */
.top-bar {
    background: #e8a639 !important;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid #d35400;
    position: fixed; /* Siempre fija */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Alto z-index */
    /* ELIMINAR cualquier transform o hidden */
}

.top-bar .container {
    display: flex !important;
    justify-content: flex-start !important;  /* ← CAMBIA space-between por flex-start */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 3rem !important;  /* ← AÑADE ESTA LÍNEA */
}



/* Ajuste para más redes sociales */
.social-links-top {
    display: flex !important;
    gap: 12px;
    flex-wrap: wrap;
}

/* Efectos específicos para cada red social */
.social-link:nth-child(1):hover { background: #1877f2; } /* Facebook */
.social-link:nth-child(2):hover { background: #e4405f; } /* Instagram */
.social-link:nth-child(3):hover { background: #000000; } /* TikTok */
.social-link:nth-child(4):hover { background: #25d366; } /* WhatsApp */
.social-link:nth-child(5):hover { background: #ff0000; } /* YouTube */
.social-link:nth-child(6):hover { background: #0077b5; } /* LinkedIn */
.social-link:nth-child(7):hover { background: #1da1f2; } /* Twitter */
.social-link:nth-child(8):hover { background: #0088cc; } /* Telegram */

/* Para móviles - mostrar menos iconos */
@media (max-width: 768px) {
    .social-links-top {
        gap: 8px;
    }
    
    .social-link:nth-child(n+5) { /* Oculta redes a partir de la 5ta en móvil */
        display: none;
    }
    
    .contact-info-top {
        gap: 15px;
    }
    
    
}

/* === FIN DE LOS NUEVOS ESTILOS - CONTINÚA CON EL RESTO DE TU CSS === */

/* Redes Sociales */
.social-links-top {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #000; /* ← ICONO NEGRO */
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent; /* ← FONDO BLANCO */
    border: 2px solid white;
}

/* Colores originales SOLO al hover */
.social-link:nth-child(1):hover { /* Facebook */
    background: #1877f2 !important;
    color: white !important;
    border-color: #1877f2;
}

.social-link:nth-child(2):hover { /* WhatsApp - CORREGIDO */
    background: #25d366 !important; /* ← VERDE WhatsApp */
    color: white !important;
    border-color: #25d366;
}


.social-link:nth-child(3):hover { /* TikTok */
    background: #000000 !important;
    color: white !important;
    border-color: #000000;
}


.social-link:nth-child(5):hover { /* YouTube */
    background: #ff0000 !important;
    color: white !important;
    border-color: #ff0000;
}

.social-link:nth-child(6):hover { /* LinkedIn */
    background: #0077b5 !important;
    color: white !important;
    border-color: #0077b5;
}

.social-link:nth-child(7):hover { /* Twitter */
    background: #1da1f2 !important;
    color: white !important;
    border-color: #1da1f2;
}

.social-link:nth-child(8):hover { /* Telegram */
    background: #0088cc !important;
    color: white !important;
    border-color: #0088cc;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Información de Contacto */
.contact-info-top {
    display: flex !important;
    gap: 25px;
    align-items: center;
    margin-left: auto !important;  /* ← AÑADE ESTA LÍNEA */
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.contact-link:hover {
    color: #f8f9fa;
    transform: translateY(-1px);
}

.contact-link i {
    font-size: 0.8rem;
}

.phone-link {
    cursor: pointer;
    position: relative;
}


/* ===== HEADER PRINCIPAL ===== */
.header {
    position: fixed;
    top: 46px !important; /* DEBE estar a 46px DEBAJO de la top-bar */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 20px rgba(232, 166, 57, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%); /* Se oculta hacia arriba */
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important; /* Clave: 100% en lugar de 1200px */
    margin: 0 !important; /* Clave: Sin margen automático */
    padding: 0 20px !important;
    height: 70px !important;
    box-sizing: border-box !important;

}

/* Logo y Nombre */
.nav-brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    max-width: 250px !important;
    margin-left: 10px !important; /* ← AGREGAR ESTA LÍNEA */
}
/* MENÚ A LA DERECHA */
.nav {
    display: flex !important;
    flex-grow: 1 !important;
    justify-content: flex-end !important;  /* ← CAMBIA: flex-start → flex-end */
    min-width: 0 !important;
    margin-left: 0 !important;  /* ← ELIMINA el margen izquierdo */
    margin-right: 20px !important;  /* ← AÑADE margen derecho */
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo-container:hover {
    transform: scale(1.05);
}
.nav-logo {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e8a639; /* Cambié a tu color */
    white-space: nowrap;
}

/* Menú Principal */
.nav-menu {
    display: flex !important;
    list-style: none !important;
    gap: 0.1rem !important;  /* ← MENOS ESPACIO para que quepan los 8 elementos */
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;  /* ← CAMBIA: flex-start → flex-end */
    min-width: 0 !important;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 550 !important;
    padding: 0.5rem 0.8rem;  /* ← CAMBIA: más padding para el rectángulo */
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-family: 'Segoe UI', sans-serif !important;
    border-radius: 4px;    /* ← AÑADE: esquinas redondeadas */

}


.nav-link:hover {
     color: white !important;    /* ← CAMBIA: texto blanco en hover */
    background-color: #e8a639;  /* ← AÑADE: fondo naranja en hover */
}


.nav-link:hover::after {
    width: 100%;
}

/* Selector de Idiomas */
.language-selector {
    margin-left: 2rem;
    margin-right: 1rem;  /* ← Añade esta línea */
}

.language-dropdown {
   padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 2px solid #e8a639;
    border-radius: 25px;
    background: white;
    color: #2c3e50;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8a639'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
    transition: all 0.3s ease;
    min-width: 140px;
    font-family: 'Segoe UI', sans-serif !important;  /* ← AÑADE ESTA LÍNEA */
	font-weight: 550 !important;  /* ← MÁS NEGRITA */
	
}

.language-dropdown:hover {
    background-color: #fef6e8;
    border-color: #d35400;
}
.language-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 166, 57, 0.2); /* Cambié a tu color */
}

/* Menú Hamburguesa */
.hamburger {
     display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e8a639;
    transition: 0.3s;
    border-radius: 2px;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3498db;
}

/* Selector de idioma mejorado */
.language-selector select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.language-selector select:hover {
    border-color: #3498db;
}

.language-selector select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0 50px;
    background: 
        /* Overlay con colores empresa */
        linear-gradient(135deg, rgba(232, 166, 57, 0.7) 0%, rgba(255, 255, 255, 0.85) 100%),
        /* Imagen agrícola */
        url('../assets/images/hero/agricultura-ajo.jpg') center/cover;
	color: #2c3e50;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: visible;
    gap: 8rem !important;
    padding-left: 20px !important; /* ← REDUCIR padding izquierdo del hero */
    justify-content: flex-start !important; /* ← ALINEAR todo a la izquierda */
}


/* Efecto de desenfoque sutil en la imagen de fondo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(2px);
    z-index: -1;
}



.hero-content {
     flex: 1;
    padding: 0 2rem 0 6rem !important; /* ← AUMENTAR padding izquierdo */
    margin-right: 170px !important;
    min-width: 45% !important;
    z-index: 10 !important;
    position: relative;
    margin-left: -50px !important; /* ← AÑADIR margen izquierdo negativo */
}

.hero-title {
     font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    max-width: 90%;
    text-align: justify !important; /* ← AÑADIR ESTA LÍNEA */
}

.hero-description {
   font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #000;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    max-width: 85%;
    line-height: 1.6;
    text-align: justify !important; /* ← AÑADIR ESTA LÍNEA */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e8a639; /* Color principal de la empresa */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #e8a639;
    box-shadow: 0 4px 15px rgba(232, 166, 57, 0.3);
}

.cta-button:hover {
    background: white;
    color: #e8a639;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 166, 57, 0.6);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Ajuste del contenido principal - SOLO cuando top-bar está visible */
main, .hero, .products-section, .about-section, .video-section, .contact-section {
    margin-top: 116px; /* top-bar (46px) + header (70px) + espacio extra */
}

/* Cuando top-bar está oculta, reducir margen */
.top-bar.hidden ~ main,
.top-bar.hidden ~ .hero,
.top-bar.hidden ~ .products-section,
.top-bar.hidden ~ .about-section,
.top-bar.hidden ~ .video-section,
.top-bar.hidden ~ .contact-section {
    margin-top: 80px; /* Solo header (70px) + espacio mínimo */
}

/* ===== CARRUSEL DE PRODUCTOS MEJORADO ===== ************************************************************/
/* ===== CARRUSEL DE PRODUCTOS CORREGIDO Y CENTRADO ===== */
.products-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60x; /* ← VOLVER al padding original */
}

.products-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* SLIDE CON ESPACIO ENTRE ELLOS */
.carousel-slide {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    max-width: 33.333%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    
}

/* TARJETA DE PRODUCTO - TAMAÑO OPTIMIZADO */
.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    width: 90%;
    max-width: 320px; /* Tamaño balanceado */
    display: flex;
    flex-direction: column;
    margin: 0 auto; /* ← CENTRAR la tarjeta dentro del slide */
	
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(232, 166, 57, 0.25); /* ← SOMBRA MÁS FUERTE EN HOVER */
    border-color: #e8a639; /* ← BORDE NARANJA EN HOVER */
}

/* CONTENEDOR DE IMAGEN - SIN CORTES */
.product-image {
     width: 100%;
    height: 280px; /* Altura balanceada */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 0;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
}

.product-image::before {
   content: '';
    position: absolute;
    top: 8px;    /* ← REDUCIDO de 10px a 8px */
    left: 8px;   /* ← REDUCIDO de 10px a 8px */
    right: 8px;  /* ← REDUCIDO de 10px a 8px */
    bottom: 8px; /* ← REDUCIDO de 10px a 8px */
    border: 4px solid rgba(232, 166, 57, 0.4); /* ← AUMENTADO de 2px a 4px */
    border-radius: 12px; /* ← AJUSTADO de 15px a 12px */
    pointer-events: none;
}

/* IMAGEN QUE NUNCA SE CORTA */
.product-image img {
     width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 18px 18px 0 0;
}

.product-card:hover .product-image img {
        transform: scale(1.08);

}

/* Botón Ver Detalles */
.view-details-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 1rem 2rem;
    background: rgba(232, 166, 57, 0.95);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    backdrop-filter: blur(10px);
}

.product-card:hover .view-details-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.view-details-btn:hover {
    background: #18B800;
    transform: translate(-50%, -50%) scale(1.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', sans-serif;
}

.product-description {
    color: #000;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* BOTONES DE NAVEGACIÓN - POSICIÓN CORRECTA */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0; /* ← OCULTOS por defecto */
    visibility: hidden; /* ← OCULTOS por defecto */
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MOSTRAR BOTONES AL HOVER DEL CARRUSEL */
.carousel-container:hover .carousel-btn {
    opacity: 1; /* ← VISIBLES al hover */
    visibility: visible; /* ← VISIBLES al hover */
}


.carousel-btn:hover {
    background: #e8a639;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(232, 166, 57, 0.4);
}

.carousel-prev {
    left: 20px; /* ← Ajustar posición */
}

.carousel-next {
    right: 20px; /* ← Ajustar posición */
}

/* ANIMACIÓN SUAVE AL APARECER */
.carousel-container .carousel-prev {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.carousel-container .carousel-next {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 50%;
        min-width: 50%;
        max-width: 50%;
    }
    
    .carousel-container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        opacity: 1; /* ← VISIBLES siempre en móvil */
        visibility: visible; /* ← VISIBLES siempre en móvil */
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 20px;
    }
    
    .product-image {
        height: 220px;
    }
}
/*******************************************************************************************************/
/* Sección Nosotros */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature i {
    color: #e8a639;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Sección Video */
.video-section {
    padding: 80px 0;
    background: white;
}

.video-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.video-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Sección Contacto */
/* ===== ESTILOS PARA LA SECCIÓN DE CONTACTO ===== */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title h2 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
}

.orange-line {
    width: 80px;
    height: 4px;
    background-color: #e8a639;
    margin: 0 auto;
    border-radius: 2px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #fef6e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #e8a639;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000;
    font-weight: bold;
}

.contact-text p {
    color: #000;
    line-height: 1.5;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 500px;
    background-color: #f5f5f5;
    border-radius: 1width: 100%;
    
    background-color: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.form-control:focus {
    border-color: #e8a639;
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 166, 57, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.captcha-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e8a639;
}

.captcha-question {
    margin-bottom: 15px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

.btn-send {
    background-color: #e8a639;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-send:hover {
    background-color: #18B800;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 166, 57, 0.3);
}

.btn-send:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .contact-title h2 {
        font-size: 2.2rem;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background-color: #333;
  color: white;
  padding: 40px 0 20px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: #e8a639;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header Mobile */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .language-selector select {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Hero Mobile */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    /* CARRUSEL RESPONSIVE */
    .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 0 10px;
    }
    
    .product-card {
        max-width: 100%;
        margin: 0 5px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-name {
        font-size: 1.3rem;
    }
    
    /* Botones más pequeños en móvil */
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-container {
        padding: 0 50px;
    }
    
    /* About Mobile */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact Mobile */
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 50%;
        min-width: 50%;
    }
    
    .carousel-container {
        padding: 0 60px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 30px;
    }
    
    .carousel-slide {
        padding: 0 5px;
    }
    
    .product-card {
        margin: 0 2px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Estados del carrusel */
.carousel-slide {
    transition: opacity 0.3s ease;
}

/* Mejoras de accesibilidad */
.carousel-btn:focus,
.indicator:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Animación suave para cambios de slide */
.products-carousel {
    scroll-behavior: smooth;
}

/* Loading state */
.carousel-loading .products-carousel {
    opacity: 0.7;
}

/* RTL Support para idiomas que lo requieran */
[dir="rtl"] .carousel-prev {
    left: auto;
    right: 10px;
}

[dir="rtl"] .carousel-next {
    right: auto;
    left: 10px;
}
/* =========================================
   MEDIA QUERIES - RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    /* Top Bar móvil */
    .top-bar {
        padding: 6px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-info {
        gap: 10px;
    }
    
    
    
    main {
        margin-top: 70px; /* Solo el header en móvil */
    }
    
    /* Navegación móvil */
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav a {
        display: block;
        padding: 10px 0;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    /* Footer móvil */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .top-bar {
        position: fixed;
        padding: 6px 0;
    }
    
    .header {
        top: 38px; /* Ajustado para móvil */
    }
    
    main, .hero, .products-section, .about-section, .video-section, .contact-section {
        margin-top: 100px; /* Menor margen en móvil */
    }
    
    /* Ocultar algunas redes sociales en móvil */
    .social-links-top a:nth-child(n+5) {
        display: none;
    }
    
    .contact-info-top {
        gap: 10px;
    }
    
    .contact-link {
        font-size: 0.8rem;
    }
}

/* Para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .social-links-top a:nth-child(n+7) {
        display: none;
    }
}
/* ===== ELIMINAR LÍNEA ROJA DEFINITIVAMENTE ===== */
.top-bar {
    border-bottom: none !important;
    border: none !important;
}
/* Responsive para móviles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link:hover {
        background-color: #fef6e8;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .language-dropdown {
        width: 100%;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
}
/* =========================================
   RESPONSIVE PARA MÓVILES
   ========================================= */

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between; /* En móvil mantener espacio entre */
        gap: 1rem;
    }
    
    .nav-menu {
        margin-left: 0; /* Reset en móvil */
        width: 100%;
    }
    
    .nav-brand {
        margin-right: 0; /* Reset en móvil */
    }
    
    /* Asegurar que el menú hamburguesa funcione */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .language-dropdown {
        width: 100%;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
}

/* ===== SELECTOR DE IDIOMAS INDEPENDIENTE ===== */
.language-selector {
    margin-left: auto;          /* ← Empuja a la derecha */
    margin-right: 1rem;         /* ← Espacio del borde derecho */
    flex-shrink: 0;             /* ← Evita que se reduzca */
    position: relative;
    z-index: 10;
}

/* Dropdown más ancho para los 4 idiomas */
.language-dropdown {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 2px solid #e8a639;
    border-radius: 25px;
    background: white;
    color: #2c3e50;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8a639'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
    transition: all 0.3s ease;
    min-width: 140px;           /* ← Ancho mínimo para los textos */
}

.language-dropdown:hover {
    background-color: #fef6e8;
    border-color: #d35400;
}

.language-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 166, 57, 0.2);
}

/* Asegurar que el contenedor principal use flex */
.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 2rem;
}


/* Selector de idiomas personalizado con banderas */
.custom-language-selector {
    position: relative;
    min-width: 120px;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.8rem;
    border: 2px solid #e8a639;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #2c3e50;
}

.selected-language:hover {
    background-color: #fef6e8;
    border-color: #d35400;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    margin-top: 5px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.1rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* Mostrar opciones al hacer hover */
.custom-language-selector.active .language-options {
    display: block;
}

/* Ocultar el select original */
.language-dropdown {
    display: none;
}

/* ===== CARRUSEL CON ANIMACIÓN ZOOM + FADE ===== */
.hero-image-carousel {
	 flex: 0 0 auto !important; /* ← EVITA que crezca/contraiga */
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    margin-left: -250px !important; /* ← CONTROL IZQUIERDA/DERECHA */
    margin-right: -50px !important;
    margin-top: -50px !important;     /* ← CONTROL ARRIBA/ABAJO */
    height: 600px !important;       /* ← REDUCIR altura */
    width: 900px !important;        /* ← REDUCIR ancho */
    transform: perspective(1000px) rotateY(-5deg) scale(0.8) !important; /* ← REDUCIR escala */
    transition: all 0.3s ease;
    left: -50px !important;         /* ← CONTROL POSICIÓN HORIZONTAL */
	
}

.hero-image-carousel:hover {
  transform: perspective(1000px) rotateY(0deg) scale(0.85) !important;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1) translateX(20px); /* ← Efecto entrada */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0); /* ← Posición final */
    z-index: 2;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 1.2s ease; /* ← Transición suave para imagen */
}

/* Efecto de parallax sutil en hover */
.image-slide.active:hover img {
    transform: scale(1.05);
}

/* Botones de navegación mejorados */
.image-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #e8a639, #d35400);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(232, 166, 57, 0.4);
}

.hero-image-carousel:hover .image-carousel-btn {
    opacity: 1;
    visibility: visible;
}

.image-carousel-btn:hover {
    background: linear-gradient(135deg, #d35400, #e8a639);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 30px rgba(232, 166, 57, 0.6);
}

.image-prev {
    left: 25px;
    transform: translateY(-50%) translateX(-10px);
}

.image-prev:hover {
    transform: translateY(-50%) translateX(-5px) scale(1.15);
}

.image-next {
    right: 25px;
    transform: translateY(-50%) translateX(10px);
}

.image-next:hover {
    transform: translateY(-50%) translateX(5px) scale(1.15);
}

/* Indicadores circulares mejorados */
.image-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.image-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.image-indicator.active {
    background: #e8a639;
    border-color: #e8a639;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(232, 166, 57, 0.6);
}

.image-indicator:hover {
    background: rgba(232, 166, 57, 0.7);
    transform: scale(1.2);
}


/* ===== SECCIÓN QUÉ HACEMOS ===== */
.que-hacemos-section {
    padding: -50px 0 80px !important;
    background: #f8f9fa;
    margin-top: 116px; /* Mismo margen que otras secciones */
}

.que-hacemos-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.que-hacemos-title {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: bold !important;
    font-size: 3rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.title-line {
    width: 200px;
    height: 4px;
    background: #e8a639;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.que-hacemos-description {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: normal !important;
    text-align: justify;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #000;
    text-justify: inter-word;
}

/* ===== GRID DE SERVICIOS ===== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(232, 166, 57, 0.15);
    border-color: #e8a639;
}

.servicio-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #e8a639 !important; /* ← COLOR CORPORATIVO */
    transition: all 0.3s ease; /* ← Para efecto hover */
}

/* Efecto hover opcional */
.servicio-card:hover .servicio-icon {
    color: #18B800 !important; /* ← Color más oscuro al hover - color verde*/
    transform: scale(1.1); /* ← Efecto de agrandamiento */
}

.servicio-title {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: bold !important;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.servicio-description {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: normal !important;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    text-justify: inter-word;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .que-hacemos-section {
        padding: 60px 0 40px;
        margin-top: 80px;
    }
    
    .que-hacemos-title {
        font-size: 2.2rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .servicio-card {
        padding: 2rem 1.5rem;
    }
    
    .que-hacemos-description {
        font-size: 1.1rem;
        text-align: left;
    }
}

/* ===== SECCIÓN QUIÉNES SOMOS ===== */
.quienes-somos-section {
    padding: 100px 0 80px;
    background: white;
}

.quienes-somos-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.quienes-somos-title {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: bold !important;
    font-size: 3rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.quienes-somos-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quienes-somos-text {
    flex: 1;
}

.quienes-somos-description {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: normal !important;
    text-align: justify;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #000;
    text-justify: inter-word;
    margin-bottom: 1.5rem;
}

.quienes-somos-image {
    flex: 1;
    text-align: center;
}

.quienes-somos-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.quienes-somos-image img:hover {
    transform: scale(1.02);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .quienes-somos-section {
        padding: 60px 0 40px;
    }
    
    .quienes-somos-title {
        font-size: 2.2rem;
    }
    
    .quienes-somos-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .quienes-somos-description {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .quienes-somos-image {
        order: -1; /* Imagen arriba en móvil */
    }
}

/* ===== SECCIÓN MISIÓN Y VISIÓN ===== */
.mision-vision-section {
    padding: 160px 0 120px; /* ← Aumentar padding-top de 100px a 120px */
    background: #f8f9fa;
    scroll-margin-top: 100px; /* ← Espacio para scroll suave */
}

.mision-vision-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.mision-vision-title {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: bold !important;
    font-size: 3rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mision-vision-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mision-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #18B800, #18B800);
    transition: left 0.4s ease;
}

.mision-vision-card:hover::before {
    left: 0;
}

.mision-vision-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(232, 166, 57, 0.15);
    border-color: #e8a639;
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
    color: #e8a639 !important;
    transition: all 0.4s ease;
}

.mision-vision-card:hover .mv-icon {
    color: #18B800 !important;
    transform: scale(1.15);
}

.mv-title {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: bold !important;
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.mv-description {
    font-family: 'Segoe UI', sans-serif !important;
    font-weight: normal !important;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000;
    text-justify: inter-word;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mision-vision-section {
        padding: 60px 0 40px;
    }
    
    .mision-vision-title {
        font-size: 2.2rem;
    }
    
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mision-vision-card {
        padding: 2rem 1.5rem;
    }
    
    .mv-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .mv-title {
        font-size: 1.6rem;
    }
    
    .mv-description {
        font-size: 1rem;
        text-align: left;
    }
}

/* ===== MODAL DE DETALLES ===== */
.product-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: -5px;
    top: -5px;
    font-size: 4rem;
    color: #000;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e8a639;
}

.modal-body {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.modal-image-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.modal-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-image-slide.active {
    opacity: 1;
}

.modal-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
}

.modal-image-carousel:hover .modal-carousel-btn {
    opacity: 1;
}

.modal-carousel-btn:hover {
    background: #e8a639;
    color: white;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-product-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-product-name {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

.modal-product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e8a639;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

.modal-characteristics {
    list-style: none;
    padding: 0;
}

.modal-characteristics li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.modal-specs {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.spec-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    flex: 1;
}

.spec-label {
    font-weight: bold;
    color: #2c3e50;
    display: block;
}

.spec-value {
    color: #e8a639;
    font-weight: bold;
}

.modal-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #e8a639;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Segoe UI', sans-serif;
}

.modal-pdf-btn:hover {
    background: #18B800;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-product-info {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-specs {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== SECCIONES PRODUCCIÓN Y EMPAQUETADO ===== */
.production-section, .packaging-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.production-section:nth-child(even), .packaging-section:nth-child(even) {
    background: white;
}

/* TARJETAS DE PRODUCCIÓN Y EMPAQUETADO */
.production-card, .packaging-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.production-card:hover, .packaging-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(232, 166, 57, 0.2);
}

/* IMAGEN CON BORDE ESTILIZADO (igual que productos) */
.production-image, .packaging-image {
    width: 100%;
    height: 220px; /* Un poco menos de altura */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
   
}

.production-image::before, .packaging-image::before {
     content: '';
    position: absolute;
    top: 8px;    /* ← REDUCIDO de 10px a 8px */
    left: 8px;   /* ← REDUCIDO de 10px a 8px */
    right: 8px;  /* ← REDUCIDO de 10px a 8px */
    bottom: 8px; /* ← REDUCIDO de 10px a 8px */
    border: 4px solid rgba(232, 166, 57, 0.4); /* ← AUMENTADO de 2px a 4px */
    border-radius: 12px; /* ← AJUSTADO de 15px a 12px */
    pointer-events: none;
}

.production-image img, .packaging-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 18px 18px 0 0;
}

.production-card:hover .production-image img,
.packaging-card:hover .packaging-image img {
    transform: scale(1.08);
}

/* INFORMACIÓN DE LA TARJETA */
.production-info, .packaging-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.production-name, .packaging-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

/* LISTA DE CARACTERÍSTICAS CON CHECK */
.production-features, .packaging-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.production-features li, .packaging-features li {
    padding: 0.5rem 0;
    color: #000;
    line-height: 1.4;
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.9rem;
}

.production-features li::before, .packaging-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #e8a639;
    font-weight: bold;
    font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .production-image, .packaging-image {
        height: 200px;
    }
    
    .production-info, .packaging-info {
        padding: 1rem;
    }
    
    .production-name, .packaging-name {
        font-size: 1.2rem;
    }
    
    .production-features li, .packaging-features li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }
}

/* ===== SECCIÓN VIDEO CARRUSEL ===== */
.video-carousel-section {
    padding: 80px 0;
    background: white;
}

.video-carousel-container {
     position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white; /* Fondo blanco general */
    overflow: hidden; /* Puedes volver a ponerlo aquí */
}

.video-carousel {
    position: relative;
    width: 100%;
    background: transparent; /* ← TRANSPARENTE */
    border-radius: 15px 15px 0 0;
}

.video-slide {
        display: none;

}

.video-slide.active {
display: block;
    background: transparent; /* ← ASEGURA que sea transparente */
}

/* Contenedor del reproductor */
.video-player-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff; /* ← SOLO aquí mantén negro */
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

/* Estilos para videos locales */
.custom-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
	 border-radius: 15px 15px 0 0; /* ← MISMO RADIO que el contenedor */
}

/* Ocultar controles nativos temporalmente */
.custom-video-player::-webkit-media-controls {
    display: none !important;
}

/* Contenedor para YouTube */
.youtube-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.youtube-video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Overlay y botón play */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 15px 15px 0 0; /* ← MISMO RADIO */
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(232, 166, 57, 0.9);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn:hover {
    background: #e8a639;
    transform: scale(1.1);
}

/* Botones de navegación del carrusel */
.video-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-carousel-container:hover .video-carousel-btn {
    opacity: 1;
    visibility: visible;
}

.video-carousel-btn:hover {
    background: #e8a639;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.video-prev {
    left: 20px;
}

.video-next {
    right: 20px;
}

/* Indicadores */
.video-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-indicator.active {
    background: #e8a639;
    border-color: #e8a639;
    transform: scale(1.2);
}

.video-indicator:hover {
    background: rgba(232, 166, 57, 0.7);
}

/* Controles personalizados del video */
.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    border-radius: 0 0 15px 0; /* ← ESQUINA INFERIOR IZQUIERDA REDONDEADA */
}

.video-player-container:hover .custom-controls {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.control-btn:hover {
    color: #e8a639;
    background: rgba(255,255,255,0.1);
}

/* Barra de progreso */
.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.progress-container:hover {
    height: 8px;
}

.progress-bar {
    height: 100%;
    background: #e8a639;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #e8a639;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

/* Tiempo */
.time-display {
    color: white;
    font-size: 0.85rem;
    min-width: 80px;
    text-align: center;
    font-family: 'Segoe UI', monospace;
    font-weight: 500;
}

/* Control de volumen */
.volume-container {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider {
    width: 0;
    height: 80px;
    background: rgba(0,0,0,0.8);
    border-radius: 3px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 10px 0;
}

.volume-container:hover .volume-slider {
    width: 8px;
}

.volume-level {
    width: 100%;
    background: #e8a639;
    border-radius: 3px;
    transition: height 0.1s ease;
    min-height: 20%;
}

/* Pantalla completa */
.video-player-container:fullscreen {
    width: 100vw;
    height: 100vh;
}

.video-player-container:fullscreen .custom-video-player {
    object-fit: contain;
}

/* Estados de los botones */
.control-btn.active {
    color: #e8a639;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-controls {
        padding: 12px 8px 6px;
        gap: 8px;
    }
    
    .control-btn {
        font-size: 1rem;
        width: 25px;
        height: 25px;
    }
    
    .time-display {
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .progress-container {
        height: 5px;
    }
}

/* ===== OCULTAR INDICADORES DEL CARRUSEL DE VIDEOS ===== */
.video-indicators {
    display: none !important;
}

/* ===== ESTILOS PARA DESCRIPCIONES DE VIDEO ===== */
.video-info {
    background: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.video-title {
    color: #000;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Segoe UI', sans-serif;
}

.video-description {
    color: #000;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}


/* ELIMINA CUALQUIER FONDO NEGRO RESIDUAL */
.video-slide:not(.active) {
    background: transparent !important;
}

.video-carousel > * {
    background: transparent !important;
}

/* ===== MENSAJES DEL FORMULARIO ===== */
.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== BOTÓN ACTUALIZAR CAPTCHA ===== */
.captcha-refresh {
    background: #e8a639;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.captcha-refresh:hover {
    background: #d35400;
    transform: scale(1.05);
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* ===== CORRECCIÓN PARA ALINEACIÓN VERTICAL DEL MAPA ===== */
.contact-main-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* ← CAMBIA stretch por flex-start */
    width: 100%;
}

.contact-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%; /* Añade esto para que ocupe toda la altura */
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
}

.map-container-wrapper {
    width: 100%;
    flex-grow: 1; /* Hace que el mapa ocupe el espacio restante */
    display: flex;
}

/* Asegurar que el mapa tenga altura específica */
.map-container {
    width: 100%;
    height: 300px;
    background-color: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Alinear verticalmente los detalles de contacto con el formulario */
.contact-details {
        flex-shrink: 0; /* Evita que se reduzca */
 /* Elimina el margen inferior que separaba del mapa */
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    min-height: 500px; /* Misma altura que el mapa */
    display: flex;
    flex-direction: column;
}

/* ===== MAPA MÁS ALTO - ESTILOS ESPECÍFICOS ===== */
.larger-map {
    height: 450px !important;
    min-height: 450px !important;
	    margin-top: -10px !important; /* Lo sube */

}

.map-container.larger-map {
height: 400px !important;
    min-height: 400px !important;
}

/* Forzar la altura del mapa */
.contact-section .map-container {
    height: 400px !important;
}

/* ===== SUBIR EL MAPA ===== */
.map-container.larger-map {
    margin-top: -10px !important; /* Lo sube 30px */
}

/* O si prefieres mover todo el contenedor */
.contact-info-wrapper {
    margin-top: 0px !important;
}

/* ===== PEGAR MAPA AL HORARIO ===== */
.contact-details {
    margin-bottom: 0 !important; /* Elimina espacio inferior */
    padding-bottom: 0 !important;
}

.contact-item:last-child {
    margin-bottom: 0 !important; /* Elimina margen del último item */
    padding-bottom: 0 !important;
}

.map-container-wrapper {
    margin-top: 0 !important; /* Elimina espacio superior del mapa */
    padding-top: 0 !important;
}

/* Asegurar que no haya gap entre los elementos */
.contact-info-wrapper {
    gap: 0 !important; /* Elimina completamente el espacio entre elementos */
}

/* ===== BAJAR EL MAPA - CREAR ESPACIO ===== */
.map-container-wrapper {
    margin-top: 11px !important; /* Espacio de 20px */
}

/* O también puedes usar: */
.contact-info-wrapper {
    gap: 20px !important; /* Espacio entre elementos */
}

/* ===== ALARGAR SOLO EL MAPA, NO EL FORMULARIO ===== */
.contact-info-wrapper {
    align-self: stretch; /* Permite que crezca verticalmente */
}

.map-container.larger-map {
    height: 515px !important;     /* Solo el mapa será más alto */
    min-height:515!important;
    flex-shrink: 0; /* Evita que se reduzca */
}

.contact-form-wrapper {
    align-self: flex-start; /* El formulario mantiene su altura natural */
    height: auto !important;
    min-height: auto !important;
}

.contact-form {
    height: auto !important; /* El formulario no se estira */
    min-height: auto !important;
}



/* ===== NUEVO FOOTER - INDEPENDIENTE ===== */
.new-footer {
    background: white !important;
    color: #2c3e50;
    padding: 50px 0 20px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    box-shadow: 0 -5px 25px rgba(232, 166, 57, 0.1);
}

/* Barra superior naranja */
.new-footer {
    background: 
        radial-gradient(circle at 10% 20%, rgba(232, 166, 57, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(232, 166, 57, 0.1) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #fefaf0 100%) !important;
    color: #2c3e50;
    padding: 50px 0 20px;
    border-top: 3px solid #e8a639;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
}

/* Patrón de hojas sutil */

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

/* COLUMNA IZQUIERDA */
.footer-left {
    flex: 0 0 300px;
}

.footer-logo-link {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.company-info h3 {
    color: #e8a639;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.ruc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.description {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* COLUMNA CENTRO */
.footer-center {
    flex: 1;
    display: flex;
    gap: 60px;
    max-width: 500px;
}

.company-info h3,
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: white !important;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.links-columns {
    display: flex;
    gap: 40px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-column a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.link-column a:hover {
    color: #e8a639;
}

.schedule p,
.address p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.schedule strong {
    color: #2c3e50;
}

/* COLUMNA DERECHA */
.footer-right {
    flex: 0 0 150px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #2c3e50; /* ← CAMBIA white por #2c3e50 (negro) */
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid white; /* ← CAMBIA white por #2c3e50 (negro) */
}

/* Colores originales SOLO al hover */
.social-icon:nth-child(1):hover { /* Facebook */
    background: #1877f2 !important;
    color: white !important;
    border-color: #1877f2;
}

.social-icon:nth-child(2):hover { /* WhatsApp */
    background: #25d366 !important;
    color: white !important;
    border-color: #25d366;
}

.social-icon:nth-child(3):hover { /* Facebook */
    background: #1877f2 !important;
    color: white !important;
    border-color: #1877f2;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* LÍNEA SEPARADORA */
.footer-divider {
    height: 1px;
    background: #e8a639;
    margin: 30px 0;
    opacity: 0.3;
}

/* FOOTER INFERIOR */
.footer-bottom {
    text-align: center !important;
    display: flex;
    justify-content: center !important;
    width: 100%;
}

.footer-copyright {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center !important;
}

.footer-copyright strong {
    color: #e8a639;
}

.social-mini {
    margin: 0 1px !important;
}



/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-main {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-left {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer-center {
        flex: 1;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .footer-center {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .links-columns {
        justify-content: space-between;
    }
    
    .footer-right {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* ===== FOOTER MINIMALISTA ===== */
.minimal-footer {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 40px 0 20px;
    border-top: 3px solid #e8a639;
    font-family: 'Segoe UI', sans-serif;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.tagline {
    color: #666;
    font-style: italic;
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.contact-mini {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
}

.social-mini {
    display: flex;
    gap: 15px;
}

.social-mini a {
    color: inherit !important; /* ← PERMITE colores originales */
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-mini a:hover {
    color: #d35400;
}

.footer-divider {
    height: 1px;
    background: #e8a639;
    opacity: 0.3;
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
}

.legal {
    display: flex;
    gap: 20px;
}

.design strong {
    color: #e8a639;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .legal {
        flex-direction: column;
        gap: 5px;
    }
}


/* ===== FOOTER NARANJA - PREDOMINIO #E8A639 ===== */
/* ===== FOOTER TAOZ - ESTRUCTURA 3 COLUMNAS ===== */
.taoz-footer {
     background: 
        radial-gradient(ellipse at top left, rgba(232, 166, 57, 0.9) 0%, rgba(232, 166, 57, 0.7) 30%, rgba(232, 166, 57, 0.4) 70%, transparent 100%),
        radial-gradient(ellipse at bottom right, rgba(232, 166, 57, 0.8) 0%, rgba(232, 166, 57, 0.6) 40%, rgba(232, 166, 57, 0.3) 80%, transparent 100%),
        radial-gradient(ellipse at center, rgba(232, 166, 57, 0.3) 0%, transparent 50%),
        white !important;
    color: #2c3e50 !important;
    padding: 50px 0 20px;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    border-top: none !important;
    box-shadow: none !important;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ESTRUCTURA PRINCIPAL - 3 COLUMNAS */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
    align-items: flex-start;
}



/* COLUMNA IZQUIERDA - LOGO E INFORMACIÓN */
.footer-left {
    flex: 0 0 300px;
}

.footer-logo-link {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo {
   height: 55px !important;
    width: auto;
    filter: 
        drop-shadow(2px 2px 2px rgba(0,0,0,0.25)) 
        brightness(1)
        contrast(1.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border-radius: 10px !important;
    padding: 8px !important; /* ← AUMENTADO el padding */
    background: white !important; /* ← CAMBIADO a blanco sólido */
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important; /* ← SOMBRA AÑADIDA */
}

.footer-logo:hover {
     filter: 
        drop-shadow(0 8px 20px rgba(232, 166, 57, 0.5))
        brightness(1)
        contrast(1) !important;
    transform: translateY(-3px) scale(1.05) !important;
    background: white !important; /* ← MANTENER blanco en hover */
    box-shadow: 0 8px 25px rgba(232, 166, 57, 0.3) !important; /* ← SOMBRA NARANJA EN HOVER */
}

.company-info h3 {
    color: #e8a639;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.ruc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: bold !important; /* ← CAMBIA a negrita completa */
}

.company-info p {
    color: #000;
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
}

/* COLUMNA CENTRO - ENLACES Y CONTACTO */
.footer-center {
    flex: 1;
    display: flex;
    gap: 60px;
    max-width: 500px;
}

.footer-links h4,
.footer-contact h4 {
    color: #e8a639;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Enlaces en 2 columnas */
.links-columns {
    display: flex;
    gap: 40px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.link-column a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 2px 0;
}

.link-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* Información de contacto */
.schedule p,
.address p {
    margin-bottom: 50px;
    font-size: 0.9rem;
    color: #000;
    line-height: 1.4;
}

.schedule strong {
    color: #2c3e50;
}

.address {
    margin-top: 15px;
}

/* COLUMNA DERECHA - REDES SOCIALES */
.footer-right {
    flex: 0 0 150px;
}

.footer-social h4 {
    color: #e8a639;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 10px;
}




/* LÍNEA SEPARADORA */
.footer-divider {
    height: 1.5px;
    background: #FFFFFF;
    margin: -40px -55px 20px auto !important; /* ← MUEVE A LA DERECHA */
    opacity: 0.75;
    width: 80% !important; /* ← CONTROL DE ANCHO */
    max-width: 1000px !important;
    display: block !important;
}

/* FOOTER INFERIOR */
/* ===== FOOTER INFERIOR ALINEADO A LA DERECHA ===== */
.footer-bottom {
    display: flex !important;
    justify-content: flex-end !important; /* ← ALINEA A LA DERECHA */
    align-items: center !important;
    width: 100% !important;
    margin: 20px 0 0 auto !important; /* ← MARGEN DERECHO AUTOMÁTICO */
    padding: 0 !important;
    text-align: right !important; /* ← TEXTO A LA DERECHA */
}

.footer-copyright {
    color: #000 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    text-align: right !important; /* ← TEXTO A LA DERECHA */
    margin: 0 !important;
    padding: 0 20px 0 0 !important; /* ← PADDING DERECHO */
    width: auto !important;
    display: block !important;
}

.footer-copyright strong a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-copyright strong a:hover {
    color: #1877F2 !important;
    text-decoration: underline !important;
}

.footer-copyright strong {
    color: #e8a639;
}

/* ===== ICONOS SOCIALES ALINEADOS A LA DERECHA ===== */
.social-mini {
    display: inline-flex !important;
    justify-content: flex-end !important; /* ← ALINEA A LA DERECHA */
    align-items: center !important;
    margin: 0 0 0 0px !important; /* ← MARGEN IZQUIERDO */
    padding: 0 !important;
    gap: 12px !important;
}

.social-mini a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    color: #2c3e50 !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid #fff !important;
    font-size: 0.9rem !important;
}

/* Colores al hover */
.social-mini a:nth-child(1):hover {
    background: #1877f2 !important;
    color: white !important;
    border-color: #1877f2 !important;
}

.social-mini a:nth-child(2):hover {
    background: #25d366 !important;
    color: white !important;
    border-color: #25d366 !important;
}

.social-mini a:nth-child(3):hover {
    background: #0088cc !important;
    color: white !important;
    border-color: #0088cc !important;
}

.social-mini a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.social-mini i {
    font-size: 1.1rem;
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .footer-main {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-left {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer-center {
        flex: 1;
        justify-content: space-around;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .taoz-footer {
        padding: 40px 0 20px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-center {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .links-columns {
        justify-content: space-between;
        gap: 30px;
    }
    
    .footer-right {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .links-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .link-column {
        text-align: center;
    }
}

/* JavaScript para año automático */
document.addEventListener('DOMContentLoaded', function() {
    const yearElement = document.getElementById('current-year');
    if (yearElement) {
        yearElement.textContent = new Date().getFullYear();
    }
});


.footer-copyright {
    white-space: nowrap;
    display: block;
    text-align: center;
}

.social-mini {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
    gap: 8px;
}



/* ===== SOLUCIÓN NUCLEAR - MOVER TODO EL FOOTER LEFT ===== */
.footer-left {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}



/* ===== AJUSTAR TEXTO TAOZ EN UNA LÍNEA Y JUSTIFICAR ===== */
.company-info h3 {
    white-space: nowrap !important;
    text-align: left !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.company-info .ruc {
    text-align: left !important;
    margin-bottom: 12px !important;
    font-weight: bold !important;
	 margin-top: 32px !important; /* ← RUC más abajo */
}

.company-info .description {
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    hyphens: auto !important;
    width: 100% !important;
	    margin-top: 100px !important; /* ← Ajusta este valor */

}

/* ===== SOLUCIÓN DEFINITIVA - MOVER A LA IZQUIERDA ===== */
.footer-main {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.footer-left {
   margin-left: 5% !important;
    padding-left: 0 !important;
    max-width: 90% !important;
}

.footer-container {
    padding-left: 0 !important;
    margin-left: 0 !important;
}


/* ===== JUSTIFICAR TEXTO DESCRIPTIVO - SOLUCIÓN DEFINITIVA ===== */
.taoz-footer .footer-left .company-info p {
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.6 !important;
    /*margin: 10px 0 0 0 !important;*/
    hyphens: auto !important;
    width: 100% !important;
    display: block !important;
}

/* Si el texto específico tiene clase description */
.taoz-footer .footer-left .company-info .description {
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.6 !important;
    margin: 10px 0 0 0 !important;
    hyphens: auto !important;
    width: 100% !important;
    display: block !important;
}

/* ===== QUITAR GUIONES DE SEPARACIÓN ===== */
.taoz-footer .footer-left .company-info p {
    hyphens: none !important;
}

.taoz-footer .footer-left .company-info .description {
    hyphens: none !important;
}

/* O esta versión más general */
.footer-left p {
    hyphens: none !important;
}

/* ===== SOLUCIÓN ESPECÍFICA PARA REORGANIZAR ENLACES ===== */
.taoz-footer .footer-center {
    margin-left: auto !important;
    padding-right: 20px !important;
}

.taoz-footer .links-columns {
    gap: 20px !important; /* Más espacio entre las dos columnas */
}

.taoz-footer .link-column a {
    white-space: nowrap !important;
    min-width: 120px !important; /* Ancho mínimo para alinear */
    display: block !important;
    line-height: 1.8 !important;
}

/* Para emparejar visualmente las dos columnas */
.taoz-footer .link-column:first-child {
    text-align: left !important;
}

.taoz-footer .link-column:last-child {
    text-align: left !important;
}


/* ===== SOLUCIÓN CON TRANSFORM - seccion siguemos===== */
.footer-right {
    margin-left: auto !important;
    transform: translateX(100px) !important; /* ← Ajusta este valor */
}

/* O más extremo */
.taoz-footer .footer-right {
    margin-left: auto !important;
    transform: translateX(200px) !important; /* ← Más a la derecha */
}

/* ===== AJUSTAR ESPACIADO ===== */
.footer-center {
    gap: 200px !important; /* ← Aumenta este valor para separar más */
}

.footer-contact {
    margin-left: auto !important;
}

/* ===== CONTROL INDEPENDIENTE DE CADA BLOQUE ===== */

/* BLOQUE IZQUIERDO - TAOZ E.I.R.L. */
.footer-left {
    margin-left: 75px !important; /* ← Ajusta para mover izquierda/derecha */
}

/* O más específico TRADING AND SERVICE TAOZ E.I.R.L. */
.taoz-footer .footer-left {
    margin-top: -48px !important; /* ← Ajusta este valor */
    padding-top: 50px !important; /* ← Alternativa */
}

/* BLOQUE CENTRO - ENLACES RÁPIDOS */
.footer-links {
    margin-left: 100px !important; /* ← Ajusta para mover izquierda/derecha */
}

/* BLOQUE CENTRO - CONTACTO */
.footer-contact {
    margin-left: -100px !important; /* ← Ajusta para mover izquierda/derecha */
}


/* ===== BAJAR ENLACES INDIVIDUALMENTE ===== */

/* Primera columna */
.link-column:first-child a:nth-child(1) { /* Inicio */
    margin-top: 8px !important;
}

.link-column:first-child a:nth-child(2) { /* Qué Hacemos */
    margin-top: 5px !important;
}

.link-column:first-child a:nth-child(3) { /* Quiénes Somos */
    margin-top: 5px !important;
}

.link-column:first-child a:nth-child(4) { /* Misión y Visión */
    margin-top: 5px !important;
}

/* Segunda columna */
.link-column:last-child a:nth-child(1) { /* Productos */
    margin-top: 8px !important;
}

.link-column:last-child a:nth-child(2) { /* Producción */
    margin-top: 5px !important;
}

.link-column:last-child a:nth-child(3) { /* Empaquetado */
    margin-top: 5px !important;
}

.link-column:last-child a:nth-child(4) { /* Contacto */
    margin-top: 5px !important;
}

/* ===== BAJAR CONTENIDO DE CONTACTO INDIVIDUALMENTE ===== */

/* Horario Lun-Vie */
.schedule p:nth-child(1) {
    margin-top: -5px !important;
}

/* Horario Sáb */
.schedule p:nth-child(2) {
    margin-top: -45px !important;
	 margin-left: 50px !important; /* ← MUEVE a la derecha para alinear con el texto */
}

/* Dirección */
.address p:nth-child(1) {
    margin-top: -40px !important;
}


/* ===== ESTILOS MEJORADOS PARA ICONOS DE CONTACTO ===== */
.footer-contact .contact-info p {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important; /* ← MÁS SEPARACIÓN entre icono y texto */
    margin-bottom: 15px !important;
    color: #000 !important;
    line-height: 3.5 !important;
    font-size: 0.9rem !important;
    padding: 2px 0 !important;
}

.footer-contact .contact-info i {
    color: #000 !important; /* ← COLOR NARANJA para contraste */
    background: #ffffff00 !important; /* ← FONDO BLANCO */
    width: 28px !important; /* ← MÁS ANCHO para el fondo */
    height: 28px !important; /* ← ALTO para círculo */
    text-align: center !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important; /* ← FORMA CIRCULAR */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; /* ← SOMBRA SUAVE */
    transition: all 0.3s ease !important;
	border: 2px solid white;
}

/* ===== BAJAR TELÉFONO Y CORREO EN FOOTER ===== */

/* Para el teléfono (+51 914 116 606) */
.footer-contact .address p:nth-child(2) {
    margin-top: -39px !important;
}

/* Para el correo (ventas@agroindustrialtaoz.com) */
.footer-contact .address p:nth-child(3) {
    margin-top: -39px !important;
}

/* ===== BAJAR ICONOS DE SÍGUENOS ===== */
.footer-social .social-icons {
    margin-top: 35px !important;
}


/* Ocultar el hash en la URL cuando se hace scroll */
html {
    scroll-behavior: smooth;
}

/* Opcional: Estilo adicional para el enlace del logo */
.footer-logo-link {
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.footer-logo-link:hover {
    transform: scale(1.02) !important;
}

/********************************************************************************************/

/* Estilos para la funcionalidad del teléfono en el footer */
.phone-link-footer {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.phone-link-footer:hover {
    color: #e8a639;
    transform: translateY(-1px);
}

/* Tooltip para teléfono del footer */
footer .phone-link-footer::after,
.taoz-footer .phone-link-footer::after {
    content: "Haz clic para copiar";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-88%);
    background: #333;
    color: white;
    padding: 6px 11px !important;
    border-radius: 3px;
    font-size: 0.75rem;
    line-height: 1.1;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1000;
}

/* Mostrar tooltip solo en desktop */
@media (min-width: 769px) {
    .phone-link-footer:hover::after {
        opacity: 1;
    }
}

/* En móvil, ocultar completamente el tooltip */
@media (max-width: 768px) {
    .phone-link-footer::after {
        display: none !important;
    }
}

.phone-link-footer:hover::after {
    opacity: 1;
}



/**********************************************************************/
/* ===== BARRA DE COOKIES ===== */
/* COOKIE BANNER - SOLUCIÓN DEFINITIVA */
#cookie-banner {
    position: fixed !important;
    bottom: 0px !important; /* SIEMPRE 0px */
    left: 0 !important;
    right: 0 !important;
    background: #2c3e50 !important;
    color: white !important;
    padding: 20px !important;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5) !important;
    border-top: 3px solid #e8a639 !important;
    z-index: 999999 !important;
    
    /* Control de visibilidad con transform */
    transform: translateY(100%); /* Oculto por defecto */
    transition: transform 0.5s ease-in-out !important;
}

#cookie-banner.show {
    transform: translateY(0); /* Visible */
}

/* ===== PREVENCIÓN FUTURA ===== */
/* Anular cualquier valor negativo en bottom */
#cookie-banner {
    bottom: 0px !important;
}

#cookie-banner[style*="bottom"] {
    bottom: 0px !important;
}

.cookie-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.cookie-content p {
    margin: 0 !important;
    flex: 1 !important;
    font-size: 16px !important;
}

.cookie-content a {
    color: #e8a639 !important;
    text-decoration: underline !important;
}

#accept-cookies {
    background: #e8a639 !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

#accept-cookies:hover {
    background: #d1942a !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
}
/***********************************************************************************/

/* ===== BOTONES FLOTANTES (Estilo Header) ===== */
.floating-buttons {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e8a639;
    background: white;
    color: #2c3e50;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Efectos hover iguales a los iconos del header */
.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Botón de subir - efecto naranja */
#scroll-to-top:hover {
    background: #e8a639 !important;
    color: white !important;
    border-color: #e8a639;
}

/* Botón de WhatsApp - efecto verde */
.whatsapp-btn:hover {
    background: #25d366 !important;
    color: white !important;
    border-color: #25d366;
}

/* Ocultar botón de scroll al inicio */
#scroll-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

#header {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
}

#header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-bar {
    transition: all 0.3s ease-in-out;
}

/* ===== MODAL DE POLÍTICA DE COOKIES ===== */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000000;
    overflow-y: auto;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    background: #2c3e50;
    color: white;
    padding: 20px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #e8a639;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.cookie-category {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.cookie-category.essential {
    background: #f8f9fa;
    border-color: #6c757d;
}

.cookie-category:hover {
    border-color: #007bff;
    box-shadow: 0 2px 10px rgba(0,123,255,0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #2c3e50;
}

.category-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #495057;
}

.cookie-details li:before {
    content: "•";
    color: #e8a639;
    position: absolute;
    left: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #28a745;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Cookie Info */
.cookie-info {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.cookie-info details {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.cookie-info summary {
    cursor: pointer;
    font-weight: bold;
    color: #2c3e50;
    list-style: none;
    padding: 10px;
    margin: -15px;
}

.cookie-info summary::-webkit-details-marker {
    display: none;
}

.cookie-info summary:before {
    content: "▶";
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.cookie-info details[open] summary:before {
    transform: rotate(90deg);
}

.cookie-details-content {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.cookie-details-content h4 {
    color: #2c3e50;
    margin-top: 15px;
}

.cookie-details-content ul {
    padding-left: 20px;
}

/* Footer del Modal */
.cookie-modal-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    border-radius: 0 0 12px 12px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-cookie-primary {
    background: #e8a639;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-cookie-primary:hover {
    background: #d1942a;
}

.btn-cookie-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cookie-secondary:hover {
    background: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-body {
        padding: 20px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-switch {
        align-self: flex-end;
    }
}

/* ===== ESPACIADO PARA BOTÓN ENVIAR CON ICONO ===== */
.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espacio uniforme entre icono y texto */
}

/* O si prefieres control específico del icono: */
.btn-send i {
    margin-right: 15px;
}

/* ===== CONTROL INDIVIDUAL DE ELEMENTOS "QUIÉNES SOMOS" ===== */

/* Contenedor principal - mantener flex para alineación */
.about-features {
    display: flex;
    gap: 2rem;
    position: relative;
}

/* Elemento ORGÁNICO - Mover a la DERECHA */
.organic-feature {
    margin-left: -5px !important; /* ← Ajusta este valor para mover más/menos */
}

/* Elemento ENVÍO - Mover a la IZQUIERDA */
.shipping-feature {
    margin-right: 30px !important; /* ← Ajusta este valor para mover más/menos */
    margin-left: 30px !important; /* ← Opcional: compensación extra */
}

/* Elemento CALIDAD - Posición original o ajuste fino */
.quality-feature {
    /* Mantener posición original o ajustar ligeramente */
    margin-left: 10px !important; /* ← Ajuste opcional */
}

/* Versión alternativa con transform para más control */
/*
.organic-feature {
    transform: translateX(60px) !important;
}

.shipping-feature {
    transform: translateX(-60px) !important;
}

.quality-feature {
    transform: translateX(20px) !important;
}
*/

/* ===== MOVER TÍTULOS Y PÁRRAFOS INDIVIDUALMENTE ===== */

/* DIRECCIÓN */
.address-text h3 {
    transform: translateY(2px) !important;
}

.address-text p {
    transform: translateY(-3px) !important;
}

/* TELÉFONO */
.phone-text h3 {
    transform: translateY(2px) !important;
}

.phone-text p {
    transform: translateY(-3px) !important;
}

/* CORREO ELECTRÓNICO */
.email-text h3 {
    transform: translateY(2px) !important;
}

.email-text p {
    transform: translateY(-3px) !important;
}

/* HORARIO - SOLUCIÓN CORREGIDA */
.schedule-text h3 {
    transform: translateY(-6px) !important;
}

/* Para el horario, mover AMBOS párrafos */
.schedule-text p:nth-of-type(1) {
    transform: translateY(-12px) !important;  /* "Lunes a Viernes..." */
}

.schedule-text p:nth-of-type(2) {
    transform: translateY(-10px) !important;  /* "Sábados..." */
}

/* ===== FUNCIONALIDAD TELÉFONO EN CONTACTO ===== */

.phone-link-contact {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding: 2px 0;
    display: inline-block;
}

.phone-link-contact:hover {
    color: #e8a639;
    transform: translateY(-1px);
}

/* Tooltip para teléfono del contacto */
.phone-tooltip-contact {
    position: absolute;
    bottom: -25px;
    left: 0;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1000;
}

/* Mostrar tooltip solo en desktop */
@media (min-width: 769px) {
    .phone-link-contact:hover .phone-tooltip-contact {
        opacity: 1;
    }
}

/* En móvil, ocultar completamente el tooltip */
@media (max-width: 768px) {
    .phone-tooltip-contact {
        display: none !important;
    }
    
    .phone-link-contact {
        color: #e8a639 !important; /* Resaltar en móvil para indicar que es clickeable */
        font-weight: 600;
    }
}


/* ===== MENSAJE DE NÚMERO COPIADO CENTRADO ===== */
.copy-message-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 3px solid #18B800;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    min-width: 250px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.copy-message-center.show {
    display: flex;
    animation: fadeInOut 3s ease-in-out;
}

.copy-message-center .check-icon {
    font-size: 2rem;
    color: #18B800;
    margin-bottom: 10px;
}

.copy-message-center .message-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.copy-message-center .phone-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #18B800;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}