.inputs:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #242325 inset !important;
  box-shadow: 0 0 0 1000px #242325 inset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  background-color: #242325 !important;
  transition: background-color 5000s ease-in-out 0s;
}

body::-webkit-scrollbar {
  width: 10px;
  background: #030537; 
}

body::-webkit-scrollbar-track {
  background: #030537;
}

body::-webkit-scrollbar-thumb {
  background: #E55739;
  border-radius: 8px;
}

body.no-scroll {
  overflow: hidden;
  height: 100%;
}

video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

/* ==========================
   responsive styles
   ========================== */

/* Utilidades generales */
.hero img, .clientes-logos-box img, .contacto-section img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .nav-links { gap: 16px; margin-right: 40px; }
  .hero img { max-width: 85%; margin: 0 auto; }
  .about-foto img { width: 300px; height: 300px; margin-right: 90px; }
  .about-section h1 { font-size: 48px; width: 90%; }
  .about-section p { font-size: 24px; width: 90%; }
  .offering-section h1 { font-size: 64px; width: 85%; }
  .offering-container { gap: 30px; }
  .clientes-container h1 { font-size: 42px; }
  .carousel { width: 420px; height: 640px; }
}

@media (max-width: 900px) {

  .pilares-section h1 { font-size: 24px; margin: 1.5rem auto; }

  .nav-links { display: none; }

  .navbar { padding: 10px 20px; height: auto; }

  .hero { padding-top: 100px; justify-content: center; min-height: 80vh; }
  .hero > div { display: flex; flex-direction: column; align-items: center; }
  .hero img { max-width: 360px; width: 80%; margin: 0 auto; }

  .pilares-logos { grid-template-columns: repeat(2, 1fr); gap: 18px; width: 90%; }
  .pilares-box { width: 200px; height: 200px; }
  .pilares-box p { font-size: 18px; padding: 12px; }
  .pilares-section { padding-bottom: 50px; }

  .about-foto { margin-left: 0; margin-top: 25px; margin-bottom: 10px; }
  .about-foto img { width: 260px; height: 260px; }
  .about-section { padding-bottom: 80px; }

  .offering-section { padding: 40px 0; }
  .offering-container { grid-template-columns: 1fr; width: 100%; margin: 0; gap: 20px; padding: 0 24px; box-sizing: border-box; }
  .offering-box { width: 100%; max-width: 100%; margin: 0; padding: 4px 10px; }
  .offering-box-aparte { width: 89%; max-width: 100%; margin: 18px auto !important; padding: 4px 10px; }

  .clientes-section { flex-direction: column; }
  .clientes-container, .clientes-videos { width: 100%; padding: 20px; box-sizing: border-box; }
  .clientes-container h1 { text-align: center; }
  .clientes-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; padding: 0 8px; box-sizing: border-box; }
  .clientes-logos-box { max-width: 160px; margin: 0 auto; }
  .clientes-logos-box img { max-width: 100%; }

  .clientes-videos { display: flex; align-items: center; justify-content: center; width: 100%; }
  .carousel { position: relative; width: 100%; max-width: 100%; height: auto; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
  .video-slide { position: relative; display: none; width: 100%; margin: 0; padding: 0; }
  .video-slide.active { display: block; }
  .video-slide video, .cliente-video { width: 100%; height: 480px; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; display: block; }
  .expand-btn { display: none;}

  .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 50px; border-radius: 6px; font-size: 24px; background: rgba(0, 0, 0, 0.5); border: none; color: white; cursor: pointer; z-index: 10; }
  .carousel-btn.prev { left: -14px; }
  .carousel-btn.next { right: -14px; }

  .contacto-section { padding-bottom: 30px; } 
  .contacto-section p { width: 80%; margin: 30px auto; }

  .left-form { max-width: 80%; }
  .message-button { width: 130px; font-size: 16px; line-height: 38px; }

}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .about-foto img { width: 200px; height: 200px; margin: auto; margin-top: 20px; }
  .caption-foto { font-size: 12px; margin-bottom: 60px; }
  .about-section h1 { font-size: 34px; padding-top: 90px; }
  .about-section p { font-size: 18px; }
  .pilares-box { width: 150px; height: 150px; margin: 0 auto; }
  .pilares-box p { font-size: 16px; }
  .pilares-logos { grid-template-columns: repeat(2, 1fr); }
  .offering-section h1 { font-size: 36px; width: 95%; margin-bottom: 40px; }
  .offering-info h3 { font-size: 18px; margin-bottom: 15px;}
  .offering-info p { font-size: 13px; }
  .clientes-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contacto-section h1 { font-size: 36px; }
  .iconos-contacto a { width: 44px; height: 44px; margin: 0 8px; }
  .video-modal video { max-width: 98%; max-height: 80%; }
  .left-form { max-width: 95%; }

  .inputs { font-size: 15px; padding: 10px 12px; }

  .message-button { width: 120px; font-size: 15px; line-height: 36px; }
}

