/* Fondo oscuro mejorado */
.popup-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Caja del popup - Versión Premium */
.popup {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    max-width: 950px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    text-align: left;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: popupAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    z-index: 10001; /* Popup por encima del overlay */
}

@keyframes popupAppear {
    0% { 
        transform: scale(0.8) translateY(20px); 
        opacity: 0; 
    }
    100% { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
    }
}

/* Encabezado del popup */
.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.popup-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.popup h2 {
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 28px;
}

.popup p {
    color: #6c757d;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Secciones del contenido */
.popup-section {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid;
    position: relative;
}

.popup-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.security-section {
    border-left-color: #007bff;
}

.management-section {
    border-left-color: #28a745;
}

.display-section {
    border-left-color: #ffc107;
}

.popup h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.popup h3 i {
    margin-right: 10px;
    font-size: 22px;
}

.popup ul {
    padding-left: 25px;
    margin: 0;
}

.popup ul li {
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 10px;
}

.popup ul li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.popup a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dashed transparent;
    padding-bottom: 1px;
    position: relative;
    cursor: pointer;
}

.popup a:hover {
    color: #0056b3;
    border-bottom: 1px dashed #0056b3;
}

/* Imagen de referencia - AHORA CON Z-INDEX MÁS ALTO */
.image-preview {
    position: fixed; /* Cambiado a fixed para que esté por encima de todo */
    z-index: 10002; /* Más alto que el popup */
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    padding: 12px;
    border: 3px solid #007bff;
    max-width: 320px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.image-preview.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.image-preview img {
    max-width: 100%;
    border-radius: 8px;
    display: block;
    height: auto;
}

.image-preview .image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #495057;
    text-align: center;
    font-weight: 600;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Botón de cerrar mejorado */
.popup-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #007bff;
    color: white;
    border: none;
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
    transition: background 0.3s;
    z-index: 10;
}

.popup-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004494);
}

.popup-close-btn:active {
    transform: translateY(1px);
}

.popup-close-btn i {
    margin-right: 8px;
    margin: 0;
    font-size: 22px;
}

/* Scrollbar personalizado */
.popup::-webkit-scrollbar {
    width: 8px;
    margin-top: 15px;    /* Espacio arriba */
    margin-bottom: 15px; /* Espacio abajo */
}

.popup::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.popup::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #007bff, #0056b3);
    border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #0056b3, #004494);
}

/* Responsive */
@media (max-width: 768px) {
    .popup {
        padding: 25px 20px;
        width: 95%;
    }
    
    .popup-header {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .popup h2 {
        font-size: 24px;
    }
    
    .popup-section {
        padding: 15px;
    }
    
    .image-preview {
        max-width: 250px;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) scale(0.95);
    }
    
    .image-preview.active {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* --- TODO ESTO ES EL HEADER PRINCIPAL --- */
/* --- BARRA SUPERIOR DE CONTACTO --- */
.top-bar {
  background-color: #eaeaea;
  font-size: 0.9rem;
  border-bottom: 1px solid #ccc;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar a {
  color: #333;
  text-decoration: none;
}

.top-bar span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  object-fit: contain;
}

/*Ocultar el top bar*/
@media (max-width: 768px) {
.top-bar {
  display: none;
}
}

/*ACA EMPIEZA LA LISTA DE RFID,NOSOTROS,CONTACTO ETC*/

.main-header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  top: 0;
  position: sticky;
  z-index: 999;
}

.logo img {
  height: 60px;
}

/* NAV */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0077cc;
}

/* DROPDOWN */
.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  min-width: 250px;
  z-index: 10;
}

.nav-menu .dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a:hover {
  background-color: #f2f2f2;
}

.arrow {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.9em;
  transition: transform 0.3s;
}
.dropdown.open > a .arrow {
  transform: rotate(180deg);
}
.dropdown > a .arrow::before {
  content: "\f078"; /* FontAwesome fa-chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
}
.dropdown-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s, transform 0.35s;
}
.dropdown.open > .dropdown-menu {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .arrow {
    display: none;
  }
}
:root {
  --primary: #0067b8;
  --secondary: #00a2ff;
  --dark: #2c3e50;
  --light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  
}

section {
  padding: 20px 0;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
}

h3 {
  font-size: 1.8rem;
  margin: 25px 0 15px;
  color: var(--primary);
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Evita el scroll en el body cuando el popup está activo */
.body-popup-open {
  overflow: hidden;
}
/*HASTA ACA ES TODO EL HEADER FIN DEL HEADER*/

/*-------------CARRUSEL-------------*/

.carrusel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.texto-slide {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 10px;
}

.texto-slide h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 800;
  color: white;
}

.texto-slide .nuevo {
  color: orange;
  font-weight: 800;
}

.boton-slide {
  margin-top: 20px;
  display: inline-block;
  background-color: #ffa500;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s;
}

.boton-slide:hover {
  background-color: #ff8c00;
}

.prev, .next {
  position: absolute;
  top: 50%;  
  transform: translateY(-50%);  
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 20px;
  cursor: pointer;
  padding: 12px;
  z-index: 3;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
  }

.prev:hover, .next:hover { 
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}
/*Para ocultarlo en pantallas pequeñas*/
@media (max-width: 768px) {
  .prev, .next {
    display: none;
  }
}
.prev { 
left: 15px; 
background-color: #7084b6;
}
.next { 
right: 15px;
background-color: #7084b6;
}

.dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #9f9f9f;
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
  background-color: #7084b6;
}

/*-------------FIN CARRUSEL-------------*/

.separador {
  border-top: 2px solid #ddd;
  margin: 40px auto;
  width: 90%;
}

/*-------------PRODUCTOS DESTACADOS-------------*/

.productos-destacados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.producto-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
   display: flex;
  flex-direction: column;
  height: 100%;
}

.producto-card:hover {
  transform: translateY(-5px);
}

.producto-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.contenido {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.contenido h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #000;
}

.contenido p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.btn-azul {
  display: inline-block;
  background-color: #7484b4;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease;
  margin-top: auto; /* Empuja el botón hacia abajo */
  align-self: flex-start; /* Opcional: para que quede a la izquierda, usa center para centrar */
   margin-bottom: 20px; /* Opcional: espacio abajo */
   margin-left: 20px; /* Opcional: espacio a la izquierda */

}

.btn-azul:hover {
  transform: scale(1.05);
}

.producto-card img {
  width: 100%;
  height: 200px; /* mismo alto que la imagen real */
  object-fit: contain; /* <-- Esto hace que no se recorte y se vea entera */
  background-color: #fff; /* o poné el color que combine mejor si queda espacio */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/*-------------FIN DEL PRODUCTOS DESTACADOS-------------*/

/*-------------NUESTROS CLIENTES-------------*/
.clientes-section {
  padding: 60px 0;
  background: #f9f9f9;
  overflow: hidden;
  position: relative;
}

.clientes-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.clientes-carousel {
  display: flex;
  width: max-content; /* Ancho total de todos los logos */
  animation: scroll 30s linear infinite;
}

.cliente-logo {
  width: 200px;
  height: 100px;
  margin: 0 25px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.cliente-logo:hover {
  filter: grayscale(0%);
}

/* Animación */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Mueve medio carrusel */
}

/* Efecto overlay */
.clientes-container {
  position: relative;
}

.clientes-container::before,
.clientes-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.clientes-container::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9, transparent);
}

.clientes-container::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9, transparent);
}

/*-------------FIN DE NUESTROS CLIENTES-------------*/

/*------------------------NUESTRAS INDUSTRIAS----------------------*/

/* Sección principal */

.sectores-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sectores-wrapper {
    background: #f8f9fa;
    color: #333;
    padding: 40px 20px;
}
.sectores-wrapper i {
    font-family: 'Font Awesome 5 Free'; /* o la versión que estés usando */
    font-weight: 900; /* necesario para los íconos sólidos (fas) */
}


/* Sección principal */
.sectores-section {
    background: linear-gradient(185deg, #7084b6 0%, #c3c4de 100%);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
.sectores-title {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Grid principal */
.sectores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    height: 600px;
}

.sectores-card.marcas-empresas {
    grid-column: span 4;
    background: linear-gradient(342deg, #8393bf, #3c97d866);
}

.sectores-card.retails {
    grid-column: span 4;
    grid-row-start: 2;
    background: linear-gradient(342deg, #8393bf, #3c97d866);
}

.sectores-card.supermercados {
    grid-row-start: 3;
    background: linear-gradient(342deg, #8393bf, #3c97d866);
}

.sectores-card.telefonia {
    grid-row-start: 3;
    background: linear-gradient(342deg, #8393bf, #3c97d866);
}

.sectores-card.bancos {
    grid-row-start: 3;
    background: linear-gradient(342deg, #8393bf, #3c97d866);
}

.sectores-card.gastronomia {
    grid-row-start: 3;
    background: linear-gradient(342deg, #8393bf, #3c97d866);
}

/* Tarjetas */
.sectores-card {
    border-radius: 16px;
    padding: 40px 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sectores-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sectores-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.sectores-card:hover::before {
    opacity: 1;
}

/* Contenido inicial */
.sectores-card-initial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.sectores-card:hover .sectores-card-initial {
    opacity: 0;
    transform: translateY(-20px);
}

/* Detalles */
.sectores-card-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.sectores-card:hover .sectores-card-details {
    opacity: 1;
    transform: translateY(0);
}

/* Iconos */
.sectores-icono {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.sectores-card.marcas-empresas .sectores-icono,
.sectores-card.retails .sectores-icono {
    width: 100px;
    height: 100px;
    font-size: 2.8rem;
}

.sectores-card:hover .sectores-icono {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Textos */
.sectores-card-initial h3,
.sectores-card-details h3 {
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color:white;
}

.sectores-card.marcas-empresas h3,
.sectores-card.retails h3 {
    font-size: 2rem;
    color:white;
}

.sectores-card-details p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin-bottom: 0;
}

.sectores-card.supermercados p,
.sectores-card.telefonia p,
.sectores-card.bancos p,
.sectores-card.gastronomia p {
    font-size: 0.95rem;
    max-width: 280px;
}


/* CARRUSEL HORIZONTAL PARA MÓVILES */
@media (max-width: 480px) {
    .sectores-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .sectores-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        height: auto;
        padding: 10px 5px 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #8393bf transparent;
    }
    
    /* Ocultar scrollbar en algunos navegadores */
    .sectores-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .sectores-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }
    
    .sectores-grid::-webkit-scrollbar-thumb {
        background: #8393bf;
        border-radius: 10px;
    }
    
    .sectores-card {
        flex: 0 0 85%;
        min-height: 300px;
        scroll-snap-align: start;
        padding: 25px 20px;
        margin: 0;
    }
    
    /* Todas las tarjetas del mismo tamaño en móvil */
    .sectores-card.marcas-empresas,
    .sectores-card.retails,
    .sectores-card.supermercados,
    .sectores-card.telefonia,
    .sectores-card.bancos,
    .sectores-card.gastronomia {
        min-height: 300px;
    }
    
    .sectores-card.marcas-empresas .sectores-icono,
    .sectores-card.retails .sectores-icono {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .sectores-card-initial h3,
    .sectores-card-details h3 {
        font-size: 1.3rem;
    }
    
    .sectores-card-details p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    /* Indicador visual de que es scrollable */
    .sectores-grid::after {
        content: '';
        flex: 0 0 20px;
    }
}

/* Mejoras para tablets pequeñas */
@media (max-width: 600px) and (min-width: 481px) {
    .sectores-grid {
        flex-direction: row;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 5px 25px;
    }
    
    .sectores-card {
        flex: 0 0 75%;
        min-height: 280px;
    }
}

/* Efecto de sombra para indicar más contenido */
.sectores-section {
    position: relative;
}

.sectores-section::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@media (max-width: 480px) {
    .sectores-section::after {
        display: block;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .sectores-grid {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 15px;
    }

    .sectores-card {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
    }

    .sectores-card.marcas-empresas .sectores-icono,
    .sectores-card.retails .sectores-icono {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .sectores-card-initial h3,
    .sectores-card-details h3 {
        font-size: 1.4rem;
    }

    .sectores-card.marcas-empresas h3,
    .sectores-card.retails h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .sectores-section {
        padding: 60px 20px;
    }

    .sectores-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .sectores-card {
        padding: 30px 20px;
    }

    .sectores-card-details {
        padding: 30px 20px;
    }

    .sectores-icono {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .sectores-title {
        font-size: 1.8rem;
    }

    .sectores-card {
        padding: 25px 15px;
    }

    .sectores-card-details {
        padding: 25px 15px;
    }

    .sectores-card-initial h3,
    .sectores-card-details h3 {
        font-size: 1.3rem;
    }

    .sectores-card-details p {
        font-size: 0.9rem;
    }
}






/*------------------------FIN DE NUESTRAS INDUSTRIAS----------------------*/

/*FOOTER*/

.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 0;
    font-size: 0.95rem;
}

.footer-contact h3,
.footer-links h3,
.footer-social h3 {
  color: #ffffff;  
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.5;
}

.footer-contact ul, 
.footer-links ul {
  
    list-style: none;
    margin-top: 15px;
}

.footer-contact li, 
.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.footer-contact a {
    color: white !important; /* Fuerza color blanco */
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: #3498db !important; /* Azul corporativo al hacer hover */
    text-decoration: underline;
}

.footer-contact i {
    margin-right: 10px;
    color: #3498db;
    width: 20px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-social h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.contact-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
    text-decoration: none; /*para sacarle el subrayado*/
}

.contact-btn:hover {
    background: #2980b9;
}

.footer-bottom {
    background: #1a252f;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: #7f8c8d;
    margin: 0 10px;
    text-decoration: none;
}

.legal-links a:hover {
    color: #3498db;
}
/* ESTILO DE LAS COOKIES */
  #cookie-banner {
    position: fixed;
    bottom: -200px; /* oculto inicialmente */
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
    font-size: 15px;
  }

  #cookie-banner.show {
    bottom: 0; /* aparece */
  }

  #cookie-banner.hide {
    bottom: -200px; /* se esconde */
  }

  #cookie-banner a {
    color: #4da6ff;
    text-decoration: underline;
  }

  #cookie-banner .buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  #cookie-banner button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
  }

  #cookie-banner button:hover {
    transform: scale(1.05);
  }

  #accept-cookies {
    background: #4caf50;
    color: white;
  }

  #reject-cookies {
    background: #f44336;
    color: white;
  }

/* --- MENÚ HAMBURGUESA RESPONSIVE --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  margin-left: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto hover y rotación al click */
.menu-toggle:hover {
  color: #007bff;
}
.menu-toggle.active {
  transform: rotate(180deg);
}

/* --- Menú principal --- */
@media (max-width: 900px) {
  .main-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    width: 100%;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    z-index: 1000;

    /* Estado inicial oculto (animable) */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Cuando el menú se abre */
  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px; /* ajustá según tu contenido */
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin: 0;
  }

  /* Animación al aparecer los <li> */
  .nav-menu ul li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-menu.open ul li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Efecto hover en los ítems */
  .nav-menu ul li a {
    display: block;
    width: 100%;
    padding: 5px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav-menu ul li a:hover {
    background: #f1f1f1;
    color: #007bff;
  }

  /* Dropdowns */
  .nav-menu .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
  }

  .dropdown-menu.show {
    display: flex;
    flex-direction: column;
  }
  
  /* Texto slide */
  .texto-slide {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 95vw;
    text-align: center;
    padding: 20px 10px;
  }
}
/*Agregar a todas las pestañas desde aca*/
/* --- Dropdown animado --- */
@media (max-width: 900px) {
  .dropdown-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fafafa;
    border-left: 3px solid #007bff;
    margin-top: 5px;
    
    /* Oculto por defecto con animación lista */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.35s ease;
  }

  /* Cuando se abre */
  .dropdown.open > .dropdown-menu {
    max-height: 600px; /* ajustá según cantidad de ítems */
    opacity: 1;
    transform: translateY(0);
  }

  /* Ítems internos animados */
  .dropdown-menu li {
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
  }

  .dropdown.open > .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hover de los submenús */
  .dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .dropdown-menu li a:hover {
    background: #f0f4ff;
    color: #007bff;
  }

  /* Flecha indicadora opcional */
  .dropdown > a::after {
    content: " ▾";
    font-size: 0.8em;
    transition: transform 0.3s ease;
  }

  .dropdown.open > a::after {
    transform: rotate(180deg);
  }
}

/* Hasta aca --------------------------*/
/* Responsive FOTTER*/
@media (max-width: 768px) {
  .main-footer {
    padding: 18px 0 0; /* antes 40px 0 0 */
    font-size: 0.85rem;
  }
  .footer-container {
    padding: 0 8px; /* antes 0 20px */
    gap: 16px;      /* antes 30px */
  }
  .footer-brand img {
    width: 140px;   /* más chico */
    margin-bottom: 8px;
  }
  .footer-bottom {
    padding: 10px 0; /* antes 20px 0 */
    margin-top: 16px; /* antes 40px */
    font-size: 0.8rem;
  }
}

  /* --- Responsive Cookie --- */
  @media (max-width: 600px) {
    #cookie-banner {
      font-size: 14px;
      padding: 12px;
    }
    #cookie-banner .buttons {
      flex-direction: column; /* botones uno debajo del otro */
      gap: 8px;
    }
    #cookie-banner button {
      width: 100%;
    }
  }

