/* Root variables */
:root {
  --naranjo: #dce3ea;
  --naranjo-hover: #041655;
  --blanco: #ffffff;
  --sombra-fuerte: rgba(0, 0, 0, 0.25);
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: var(--naranjo-hover);
  line-height: 1.5;
}


/* =========================== */
/*         HEADER             */
/* =========================== */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: var(--naranjo);
  box-shadow: 0 3px 6px var(--sombra-fuerte);
  /* flex-wrap: wrap; */
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.logo img {
  height: 50px;
  max-width: 100%;
}

.navbar-slogan {
  font-style: italic;
  color: #5a6e7f;
  font-size: 0.9rem;
  text-align: center;
  max-width: 600px;
  user-select: none;
  line-height: 1.4;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--naranjo-hover);
}

.nav-menu {
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}

.nav-menu a {
  color: var(--naranjo-hover);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background-color: var(--naranjo-hover);
  color: var(--blanco);
  outline: none;
}





/* Bloque contacto extendido */
.bloque-contacto {
  display: flex;
  flex-direction: column;   /* uno arriba del otro */
  gap: 6px;
  align-items: stretch;
  justify-content: center;
  margin-left: 1rem;       /* un poco de aire respecto al menú */
}

.btn-whatsapp-nav,
.btn-contactanos-nav {
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

/* WhatsApp */
.btn-whatsapp-nav {
  background-color: #25D366;
  color: #fff;
  border-color: #1ebe5d;
}

.btn-whatsapp-nav:hover {
  background-color: #1ebe5d;
}

/* Contáctanos */
.btn-contactanos-nav {
  background-color: var(--naranjo-hover); /* azul corporativo */
  color: #fff;
  border-color: #002a80;
}

.btn-contactanos-nav:hover {
  background-color: #002a80;
}



/* =========================== */
/*         RESPONSIVE         */
/* =========================== */
@media (max-width: 768px) {

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
    background-color: var(--naranjo);
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    order: 2;
    display: block;
    margin-bottom: 10px;
  }
  
  .header-right {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

   .header-container {
    flex-direction: column;
    align-items: center;
  }

  .header-left {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .bloque-contacto {
    display: none !important;
  }
}




/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  user-select: none;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  color: var(--naranjo-hover);
  text-align: left;
  padding: 1rem 2rem;
  max-width: 700px;
  z-index: 3;
  user-select: text;
  background: rgba(255 255 255 / 0.85);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.slide-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.slide-text p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--naranjo-hover);
  color: var(--blanco);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px #f4f4f4;
  transition: background-color 0.3s ease;
  user-select: none;
  cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--blanco);
  color: var(--naranjo-hover);
  outline: none;
  box-shadow: 0 6px 16px var(--naranjo-hover);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-size: 3rem;
  border: none;
  padding: 0.2rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  user-select: none;
  transition: background 0.3s ease;
}

.slider-btn:hover {
   

  }

.slider-btn:hover,
.slider-btn:focus {
  outline: none;
   background-color: #002a80;
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

/* SECTIONS */
.section {
  max-width: 100%;  
  padding: 0 1rem;
  text-align: center;
  
}

  

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--naranjo);
  font-weight: 700;
  font-family: Montserrat;
}

/* GRID GENERAL */
.grid {
  display: grid;
  gap: 1.5rem;
}

@media(min-width: 600px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 900px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* CARDS */
.card {
  background: #fefefe;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
  user-select: none;
}

/* STATISTICS */
.stats {
  background: #fafafa;
  padding: 3rem 1rem;
}

.stats .grid > div {
  background: var(--naranjo);
  color: var(--blanco);
  font-weight: 700;
  font-size: 1.8rem;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  user-select: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.stats .grid > div span {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}



/* === SECCIÓN POR QUÉ ELEGIRNOS CON BURBUJAS === */
.elegirnos-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 3rem 1rem; /* menos alto que antes */
  background: linear-gradient(to right, #ffffff, #f4f4f4);
}

.elegirnos-section .contenido {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem; /* un poco más pequeño */
  font-weight: bold;
  margin-bottom: 2rem;
  color: #222;
}

.elegirnos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* cuadros más pequeños */
  gap: 1.5rem; /* menos espacio entre ellos */
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1rem; /* menos padding = menos alto */
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
  min-height: 180px; /* menos alto */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.icon {
  font-size: 2.2rem; /* iconos más pequeños */
  margin-bottom: 1rem;
  user-select: none;
}

.card h3 {
  font-size: 1.1rem; /* texto título más pequeño */
  margin-bottom: 0.4rem;
  color: #333;
}

.card p {
  font-size: 0.9rem; /* texto más pequeño */
  color: #555;
  margin: 0;
  line-height: 1.3;
}

/* Burbujas animadas, si las tienes */
.burbuja {
  position: absolute;
  border-radius: 50%;
  background: rgba(247, 148, 29, 0.1);
  animation: flotando 20s infinite ease-in-out;
  z-index: 1;
}

.burbuja:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.burbuja:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 10%;
  animation-delay: 3s;
}

.burbuja:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
}

.burbuja:nth-child(4) {
  width: 70px;
  height: 70px;
  bottom: 10%;
  right: 15%;
  animation-delay: 9s;
}

.burbuja:nth-child(5) {
  width: 50px;
  height: 50px;
  top: 50%;
  left: 45%;
  animation-delay: 12s;
}

@keyframes flotando {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--naranjo);
  padding: 3rem 1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  user-select: none;
  box-sizing: border-box;
}

.footer-container {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo,
.footer-menu,
.footer-map {
  flex: 1 1 300px;
  min-width: 260px;
  color: var(--naranjo-hover);
  margin-left: 4%;
}

.footer-menu ul li a {
  color: #041656;
  text-decoration: none;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 110px; /* ajustado para mejor visibilidad */
  max-width: 100%;
  display: block;
}



.footer-menu h3,
.footer-map h3
.footer-contact h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.6rem;
}

.footer-menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
}



/* Color al pasar el mouse */
.footer-menu a:hover {
  color: #f4f3f1; /* amarillo o el color que prefieras para el hover */
}

.footer-map iframe {
  border-radius: 8px;
  width: 100%;
  height: 150px;
}

.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f4f4f4;
  user-select: none;
}

/* Enlaces de contacto */
.footer-contact p a {
  color: inherit;
  text-decoration: none;
}

.footer-contact p a:hover {
  text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo,
  .footer-menu,
  .footer-map {
    text-align: center;
    min-width: 100%;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .navbar-slogan {
    text-align: center;
  }
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo img {
  max-width: 212px;
  height: auto;
  margin-bottom: 0.8rem;
}



/* Estilo para el botón flotante de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  white-space: nowrap;
}


/* Responsive */

@media (max-width: 768px) {
  .slide-text {
    left: 5%;
    padding: 0.8rem 1rem;
    background: rgba(255 255 255 / 0.9);
  }
  .slide-text h2 {
    font-size: 2rem;
  }
  .slide-text p {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  .slider-btn {
  font-size: 1.6rem;            /* Tamaño más amigable para móvil */
      top: 40px;                    /* Cerca de la parte superior */
      bottom: auto;                /* Anula cualquier "bottom" */
      transform: none;             /* Quita el centrado vertical */
      background-color: rgba(255, 255, 255, 0.9); /* Fondo para que no se pierdan */
      padding: 0.3rem 0.6rem;
      z-index: 20;
  }
  .slider-btn.prev {
    left: 10%;
  }

  .slider-btn.next {
    right: 10%;
  }
  .grid {
    grid-template-columns: 1fr !important;
  }


  .footer-container {
display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  }

  

  .footer-contact,
  .footer-newsletter {
    min-width: 100%;
  }
}

/* NUEVO DISEÑO DE NOSOTROS */
.nosotros-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 4rem 1rem;
  max-width: 100%;
  margin-right: 10%;

  flex-direction: row; /* Imágenes a la izquierda */
}

.images {
  flex: 1 1 400px;
  display: flex;
  flex-direction: row;
  gap: 15rem;
  justify-content: center;
  align-items: center;
  margin-top: 3%;
}

.images img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.images img:hover {
  transform: scale(1.03);
}

.content {
  flex: 1 1 600px;
  margin-left: 10%;
  margin-right: 2%;

}

.content h2 {
  font-size: 1rem;
  text-transform: uppercase;
  color: unset;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
    font-family: 'Montserrat';
}

.content h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #001947;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: 'Orbitron';
}

.highlight {
}

.content p {
  /* font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 2rem; */
  text-align: justify;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #333;
}

/* Nueva sección experiencia + bullets */
.experiencia-bullets {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.experiencia {
  background-color: var(--naranjo);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.experiencia .years {
  font-size: 3rem;
  font-weight: 900;
}

.bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem 1.5rem;
  flex: 1;
}

.bullets div {
  font-weight: 600;
  color: #333;
  padding-left: 1.6rem;
  position: relative;
  text-align: justify;
}

.bullets div::before {
  content: "";
  display: inline-block;
  width: 18px; /* tamaño del ícono */
  height: 18px;
  margin-right: 8px;
  background-image: url("../img/comprobado.svg"); /* 👈 revisa esta ruta */
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

/* Contacto */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1rem;
}

.contacto-info a {
  color: var(--naranjo);
  text-decoration: none;
  transition: color 0.3s;
}

.contacto-info a:hover {
  color: var(--naranjo-hover);
}

/* Responsive */
@media (max-width: 768px) {
  .nosotros-modern {
    flex-direction: column;
  }


  /* Oculta la segunda imagen en responsive */
  .images img:nth-child(2) {
    display: none;
  }

  .experiencia-bullets {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- SECCIÓN SERVICIOS --- */
.servicios-modern {
  width: 100%;
  padding: 4rem 1rem;
  background: #fefefe;
  box-sizing: border-box;
}

.servicios-modern .contenido {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #003366;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Orbitron';
}

.servicios-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-content: center;
}

.servicio-card {
  background: white;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 51, 102, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  user-select: none;
  outline-offset: 4px;
}

.servicio-card:focus,
.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 51, 102, 0.25);
  outline: none;
}

.icon-box svg {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}

.servicio-card:hover .icon-box svg {
  transform: scale(1.1);
}

.servicio-card h3 {
  font-size: 1.4rem;
  color: #003366;
  font-weight: 700;
  margin: 0;
}

.servicio-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
  margin: 0;
  max-width: 320px;
}

/* Pop up */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.popup-content.horizontal {
  background: white;
  display: flex;
  flex-direction: row;
  border-radius: 12px;
  overflow: hidden;
  max-width: 850px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.popup-image-container {
  flex: 1;
  min-width: 40%;
  background-color: #f4f4f4;
}

.popup-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-form-container {
  flex: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-form-container h2 {
  margin-bottom: 0.3rem;
  color: #003366;
}

.popup-form-container p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.popup-form-container input,
.popup-form-container textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Orbitron';
  font-size: 1rem;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.popup-buttons button {
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.popup-buttons .whatsapp-button {
  background-color: #25D366;
  color: white;
}

.popup-buttons button:hover {
  opacity: 0.9;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .popup-content.horizontal {
    flex-direction: column;
  }

  .popup-image-container {
    height: 180px;
    min-width: 100%;
  }

  .popup-form-container {
    padding: 1.5rem;
  }
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.popup-overlay.active {
  display: flex;
}

.popup-content.horizontal {
  background: white;
  display: flex;
  flex-direction: row;
  border-radius: 12px;
  overflow: hidden;
  max-width: 850px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.popup-image-container {
  flex: 1;
  min-width: 40%;
  background-color: #f4f4f4;
}

.popup-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-form-container {
  flex: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-form-container input,
.popup-form-container textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.popup-buttons button {
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.popup-buttons .whatsapp-button {
  background-color: #25D366;
  color: white;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}

@media (max-width: 768px) {
  .popup-content.horizontal {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }

  .popup-image-container {
    width: 100%;
    height: auto;
  }

  .popup-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .popup-form-container {
    padding: 1.5rem;
    background-color: #fff; /* Asegura fondo blanco */
  }
}

.productos-fila {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 20px;
}

.producto-horizontal {
  flex: 1 1 0;
  display: flex;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  align-items: center;
  padding: 20px 24px;
  min-width: 0;
  transition: transform 0.3s ease;
  
}

.producto-horizontal:hover {
  transform: translateY(-6px);
}

.producto-horizontal img {
  width: 150px;  /* Imagen más grande */
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  margin-right: 20px;
}

.producto-info {
  flex: 1;
}

.producto-info h3 {
  font-size: 1.3rem;
  color: #5a6e7f;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.producto-info p {
  font-size: 1rem;
  color: #444;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.btn-cotizar {
  background-color: #f7941d;
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.2s;
  width: fit-content;
  white-space: nowrap;
}

.btn-cotizar:hover {
  background-color: #cf711f;
}

/* Responsivo */
@media (max-width: 900px) {
  .productos-fila {
    flex-direction: column;
    gap: 30px;
  }

  .producto-horizontal {
    flex-direction: column; /* <-- ESTA LÍNEA ES CLAVE */
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .producto-horizontal img {
    width: 100%;
    height: auto;
    margin: 0 0 14px 0;
    border-radius: 12px;
  }

  .producto-info {
    text-align: center;
  }
}


  /* loader animación ejemplo */
  .loader-logo {
    width: 50px;
    animation: girar 1.5s linear infinite;
  }
  @keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }


  .about-empresa {
  background-color: #f4f7fa;
}

.contenido-about {
  max-width: 1100px;
  margin: 0 auto;
}

.mision-vision-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.mision-box,
.vision-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.mision-box h3,
.vision-box h3 {
  color: #041655;
  margin-bottom: 15px;
}

.grafico-about {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.grafico-img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.eslogan-about {
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: #34495e;
}



.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}


.menu-toggle {
  margin-top: 10px;
}

.nav-menu {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.nav-contact {
  margin-top: 8px;
}

.nav-contact .whatsapp-btn-nav {
  margin-left: 12px;
}


  @media (max-width: 768px) {
    .experiencia-bullets {
      flex-direction: column;
      gap: 20px;
    }

    .bullets-text {
      width: 100%;
    }

    .bullets {
      column-count: 1;
      -webkit-column-count: 1;
    }

    .experiencia-bullets video {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 auto;
    }


  }


  /* Ajustes generales para la sección nosotros */
.nosotros-modern .experiencia-bullets {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap; /* cambiar a wrap para que no se desborde */
}

/* Para móviles (pantallas menores a 768px) */
@media screen and (max-width: 768px) {
  .nosotros-modern .experiencia-bullets {
display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  }

  .nosotros-modern .bullets-text {
    flex: 1; /* Quitar flex para que se ajuste al ancho del contenedor */
  }

  .nosotros-modern video {
 max-width: 50%;
  border-radius: 8px;
  height: auto;
  }

  /* Ajustar márgenes de texto para que se vea mejor */
  .nosotros-modern .bullets-text p {
    font-size: 1rem; /* ajustar tamaño texto */
  }
}


/* Ajustes para pantallas móviles */
@media screen and (max-width: 768px) {
  .nosotros-modern .experiencia-bullets {
    flex-direction: column;
    gap: 20px;
  }

  .nosotros-modern .bullets-text {
    flex: none;
    width: 100%;
  }

  .nosotros-modern video {
    max-width: 100% !important;
    width: 100%;
    border-radius: 8px;
    height: auto;
  }

  /* Opcional: reducir el tamaño de texto si quieres */
  .nosotros-modern .bullets-text p {
    font-size: 1rem;
  }
}

/* conten
/* Contenedor general para limitar ancho y centrar */
.contenedor {
  max-width: 1200px; /* o el ancho máximo deseado */
  margin: 0 auto; /* centrado horizontal */
  padding: 0 15px; /* espacio lateral para no pegar en bordes */
  box-sizing: border-box;
}

/* Ajustes para textos y párrafos */
p {
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 1em;
}

/* Títulos para que se adapten */
h1, h2, h3 {
  margin-bottom: 0.5em;
  line-height: 1.2;
}



.footer-logo .navbar-slogan {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0077b6; /* azul corporativo, cámbialo si deseas */
  text-transform: uppercase;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.productos-contenedor {
  display: flex;
  justify-content: center;   /* Centrado horizontal */
  padding: 10px;
}

.productos-linea {
  display: flex;
  flex-wrap: wrap;           /* Permite que los cuadros bajen si no caben */
  justify-content: center;   /* Centra los productos */
  gap: 10px;
  max-width: 100%;         /* límite del ancho */
  width: 100%;
  margin: 0 auto;            /* margenes iguales a cada lado */
}

.producto-card {



    display: flex;
  flex-direction: column;
  justify-content: space-between; /* fuerza el botón al final */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px;
  flex: 0 0 250px; /* ancho fijo de la tarjeta */
}

.producto-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border-radius: 12px;
}

.producto-card:hover {
  transform: translateY(-5px);
}


.cta-button {
  margin-top: auto; /* asegura que quede al fondo */
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.producto-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* ocupa todo el espacio disponible */
}

.producto-info p {
  flex-grow: 1; /* empuja el botón hacia abajo */
}

/* Responsivo: máximo 2 cuadros por fila */
@media (max-width: 900px) {
  .producto-card {
    flex: 1 1 calc(50% - 20px); /* 2 por fila */
  }
}

/* En celulares → solo 1 cuadro por fila */
@media (max-width: 600px) {
  .producto-card {
    flex: 1 1 100%; /* ocupa toda la fila */
  }
}

/* Forzar cursor en elementos clickeables */
a[href],
button,
input[type="button"],
input[type="submit"],
.cta-button,
.btn-cotizar,
.btn-whatsapp-nav,
.btn-contactanos-nav,
.servicio-card,
.producto-card,
.popup-buttons button {
  cursor: pointer;
}

/* --- SECCIÓN CLIENTES --- **/
.clientes-carousel {
  padding: 3rem 1rem;
  background-color: #f4f7fa;
  text-align: center;
}

.clientes-carousel h2 {
  font-size: 2rem;
  color: var(--naranjo-hover);
  margin-bottom: 0.5rem;
}

.clientes-carousel p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  min-width: max-content;
}

.cliente-item {
  flex: 0 0 auto;
  width: 150px;
  text-align: center;
}

.cliente-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.cliente-item span {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.auto-scroll {
  animation: scroll-horizontal 30s linear infinite;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.li-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}
li {
  list-style: none;
  display: flex;
  align-items: center;
}


.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #0077b6;
  font-size: 28px;
  margin-right: 15px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #023e8a;
}
