@import url("https://fonts.googleapis.com/css?family=Merriweather|Montserrat|Shadows+Into+Light");


:root {
  --white-100: hsl(206, 5%, 100%);
  --white-200: hsl(206, 5%, 90%);
  --white-300: hsl(206, 5%, 80%);
  --white-400: hsl(206, 5%, 65%);
  --white-500: hsl(206, 5%, 45%);

  --black-100: hsl(210, 20%, 10%);
  --black-200: hsl(210, 20%, 8%);
  --black-300: hsl(210, 20%, 6%);
  --black-400: hsl(210, 20%, 4%);
  --black-500: hsl(210, 20%, 1%);
}




body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #191c32;
}

.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
  overflow: hidden;
  display: flex;

}

.video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  filter: blur(8px) brightness(0.7);
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: transparent; 
}

#overlay video {
  max-width: 70vh;
  max-height: 70vh;
  width: auto;
  height: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
#main-content.visible {
  display: block;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#main-content.hidden {
  display: none;
  opacity: 0;
}

/* Contenedor principal del hero - versión móvil primero */
#hero-hidrosup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

/* Logo styles - versión móvil */
.logo-container {
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

#static-logo {
  max-width: 80vw;
  max-height: 50vh;
  width: auto;
  height: auto;
}

/* Leyenda - versión móvil */
.leyenda-empresa {
  width: 100%;
  opacity: 1;
  transform: none;
  position: static;
  padding: 0 1rem;
}


.divisor {
  width: 120px;
  height: 4px;
  background: #3182ce;
  margin: 1.5rem auto;
}

.eslogan {
  font-size: 1.8rem;
  font-weight: 300;
  color: #4a5568;
  margin-bottom: 2.5rem;
}

/* Versión desktop - solo se aplica en pantallas grandes */
@media (min-width: 992px) {
  #hero-hidrosup {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  
  .logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 1s ease;
    z-index: 10;
    margin-bottom: 0;
    width: auto;
  }
  
  .leyenda-empresa {
    position: absolute;
    right: 5%;
    width: 40%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
    z-index: 5;
    padding: 0;
  }
  
  .leyenda-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  
  .logo-shake-move {
    animation: shake-and-move-left 3s ease-in-out forwards;
  }
  
  #static-logo {
    max-width: 70vh;
    max-height: 70vh;
  }
}

/* Ajustes para pantallas medianas */
@media (max-width: 991px) {
  .nombre-empresa {
    font-size: 3rem;
  }
  
  .eslogan {
    font-size: 1.4rem;
  }
}



.btn-cta {
  background: #3182ce;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3);
}

/* Asegúrate de que la animación esté definida */
@keyframes shake-and-move-left {
  0%   { transform: translate(-50%, -50%); }
  10%  { transform: translate(-54%, -50%); }
  20%  { transform: translate(-46%, -50%); }
  30%  { transform: translate(-52%, -50%); }
  40%  { transform: translate(-48%, -50%); }
  50%  { transform: translate(-51%, -50%); }
  60%  { transform: translate(-60%, -50%); }
  70%  { transform: translate(-70%, -50%); }
  80%  { transform: translate(-85%, -50%); }
  90%  { transform: translate(-100%, -50%); }
  100% { transform: translate(-100%, -50%); }
}

/* Fuerza la visibilidad inicial en desktop */
@media (min-width: 992px) {
  #main-content {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Sección Especialización */
#especializacion {
  background: #f7fafc;
  padding: 5rem 0;
}

.tarjeta-especializacion {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
}

.tarjeta-especializacion h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #2d3748;
}

.resaltar {
  color: #3182ce;
  font-weight: 700;
}

.iconos-especializacion {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.icono-item {
  flex: 0 1 200px;
  margin: 1rem;
}

.icono-item img {
  height: 60px;
  margin-bottom: 1rem;
}

.icono-item p {
  font-weight: 600;
  color: #4a5568;
}

.descripcion-corta {
  font-size: 1.1rem;
  color: #718096;
  max-width: 700px;
  margin: 2rem auto 0;
  line-height: 1.6;
}




/* Sección Productos - Versión mejorada */
#productos {
  background: #ffffff;
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}


.producto-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
  border: 1px solid #e2e8f0;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}



.producto-icono {
  text-align: left;
  margin-bottom: 1.5rem;
}

.producto-icono img {
  height: 60px;
  width: auto;
}

.producto-card h3 {
  color: #2d3748;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  text-align: left;
  flex-grow: 0;
}

.producto-lista {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  flex-grow: 1;
}

.producto-lista li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #4a5568;
}

.producto-lista li:before {
  content: "•";
  color: #3182ce;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
  .producto-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  #productos {
    padding: 3rem 0;
  }
  
  .producto-icono img {
    height: 50px;
  }
  
  .producto-card h3 {
    font-size: 1.2rem;
  }
}









/* Sección Trabajos - Versión mejorada */
#trabajos {
  background: #f7fafc;
  padding: 5rem 0;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-intro p {
  color: #4a5568;
  line-height: 1.6;
  margin: 1.5rem 0;
}

.trabajo-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  aspect-ratio: 1/1;
  margin-bottom: 0; /* Elimina cualquier margen inferior */
}

.trabajo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trabajo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.trabajo-card:hover img {
  transform: scale(1.05);
}

.trabajo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.trabajo-card:hover .trabajo-info {
  transform: translateY(0);
}

.trabajo-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  #trabajos {
    padding: 3rem 0;
  }
  
  .trabajo-info h4 {
    font-size: 1rem;
    padding: 0.75rem;
  }
}
@media (max-width: 576px) {
  .section-intro h2 {
    font-size: 1.8rem;
  }
  
  .section-intro p {
    font-size: 0.95rem;
  }
}


/* Animación para el engranaje */
.engranaje-giratorio {
  animation: girar 4s linear infinite;
  transform-origin: center center;
  will-change: transform; /* Optimización para animaciones */
}

@keyframes girar {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}





/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
}


/* Hacer el botón más grande en celulares */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 80px;
    height: 80px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 48px;
    height: 48px;
  }
}

.firma{
  color: #ffffff;
}


/* Animación de pulso */
@keyframes pulse-whatsapp {
  0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
      box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Versión para móviles */
@media (max-width: 768px) {
  .whatsapp-float {
      width: 50px;
      height: 50px;
      bottom: 20px;
      right: 20px;
  }
  .whatsapp-float img {
      width: 30px;
      height: 30px;
  }
}


/* Sección Contacto - Minimalista */
#contacto {
  background: #ffffff;
  padding: 5rem 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contacto-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.contacto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.contacto-icono {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3182ce;
  border-radius: 50%;
  color: white;
}

.contacto-icono svg {
  width: 24px;
  height: 24px;
}

.contacto-contenido h3 {
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contacto-link {
  color: #3182ce;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contacto-link:hover {
  color: #2c5282;
  text-decoration: underline;
}

.contacto-texto {
  color: #4a5568;
  margin: 0;
}

/* Estilos para el efecto de aparición */
.hidden-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.show-card {
  opacity: 1;
  transform: translateY(0);
}

/* Opcional: Añadir un pequeño retraso entre cards */
.producto-card:nth-child(1) { transition-delay: 0.1s; }
.producto-card:nth-child(2) { transition-delay: 0.2s; }
.producto-card:nth-child(3) { transition-delay: 0.3s; }

.trabajo-card:nth-child(1) { transition-delay: 0.1s; }
.trabajo-card:nth-child(2) { transition-delay: 0.2s; }
.trabajo-card:nth-child(3) { transition-delay: 0.3s; }
.trabajo-card:nth-child(4) { transition-delay: 0.4s; }
.trabajo-card:nth-child(5) { transition-delay: 0.5s; }
.trabajo-card:nth-child(6) { transition-delay: 0.6s; }



/* Footer Dark */
.footer-dark {
  background-color: #121212;
  color: #ffffff;
  padding: 4rem 0 0;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-slogan {
  color: #a0a0a0;
  font-size: 1rem;
  margin: 0;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #3182ce;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3182ce;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.copyright {
  color: #777;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.ig {
  width: 20px; 
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Responsive */
@media (min-width: 768px) {
  .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
  }
  
  .copyright {
      margin-bottom: 0;
  }
}











a,
button {
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
  background: none;
}

img.swiper-slide {
  width: 100%;
  height: 300px; /* puedes ajustar esta altura como prefieras */
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  border-radius: 10px; /* opcional: un pequeño borde redondeado si quieres */
}

/* Asegúrate que cada slide tenga el mismo tamaño */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px; /* igual que el height de la imagen */
  overflow: hidden; /* para recortar el exceso de imagen */
}


/* Elements */
.section .slider-section {
  margin: 0 auto;
  padding-block: 5rem;
}

.container .slider-column {
  max-width: 75rem;
  height: auto;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 1rem;
  width: 2rem;
  height: 2rem;
  opacity: 0.75;
  border-radius: 50%;
  color: var(--white-100);
  background: var(--black-300);
}


/* Lightbox base */
.lightbox {
  display: none; /* escondido por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* fondo oscuro */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Imagen ampliada */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Botón de cerrar */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}



/* BRANDS MARCAS */

        .container-brands {
            max-width: 1700px;
            margin: 0 auto;
            padding: 20px;
        }

        /* ===== HEADER ===== */
        .header {
            text-align: center;
            margin-bottom: 50px;
            color: #333;
        }

        .header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            color: #667eea;
        }

        .header p {
            font-size: 1.2rem;
            opacity: 0.8;
        }

        /* ===== COMPONENTE 0: MARQUESINA DE MARCAS EN MOVIMIENTO ===== */
        .brands-marquee {
            padding: 40px 0;
            margin-bottom: 40px;
            overflow: hidden;
            position: relative;
        }

        .brands-marquee::before,
        .brands-marquee::after {
            content: '';
            position: absolute;
            top: 0;
            width: 100px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .brands-marquee::before {
            left: 0;
            background: linear-gradient(to right, rgb(255, 255, 255), rgba(102, 126, 234, 0));
        }

        .brands-marquee::after {
            right: 0;
            background: linear-gradient(to left, rgb(255, 255, 255), rgba(118, 75, 162, 0));
        }

        .marquee-track {
            display: flex;
            animation: scroll 30s linear infinite;
            gap: 100px;
            align-items: center;
        }

        .marquee-item {
            flex-shrink: 0;
            background: rgba(255, 255, 255, 0.95);
            padding: 25px 35px;
            border-radius: 10px;
            transition: transform 0.3s ease;
            min-width: 220px;
            text-align: center;
        }

        .marquee-item:hover {
            transform: scale(1.05);
            animation-play-state: paused;
        }

        .marquee-item img {
            max-width: 180px;
            max-height: 80px;
            object-fit: contain;
            filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-100%);
            }
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }



        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
              .container-brands {
                padding: 10px;
            }

            .brands-grid,
            .brands-carousel,
            .brands-cards,
            .brands-hexagon,
            .brands-filter {
                padding: 20px;
            }

  
        }

#marcas {
    background: #f8fafc;
    padding: 5rem 0;
    overflow: hidden;
}

.marcas-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marcas-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: scroll 50s linear infinite;
}

.marca-item {
    flex: 0 0 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.marca-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.marca-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.marca-backup {
    display: none;
    font-weight: bold;
    color: #3182ce;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Efectos para pantalla completa */
.marcas-container::before,
.marcas-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.marcas-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.marcas-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

/* Responsive */
@media (max-width: 768px) {
    .marcas-track {
        gap: 1.5rem;
    }
    
    .marca-item {
        flex: 0 0 150px;
        height: 80px;
    }
    
    .marcas-container::before,
    .marcas-container::after {
        width: 50px;
    }

        }