
* { scroll-behavior: smooth; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #0A2342;
  color: #ffffff;
}

/* Animations */
.fade-in { animation: fadein 1s ease forwards; opacity: 0; }
.fade-in-delayed { animation: fadein 1.4s ease forwards; opacity: 0; }
.slide-up { animation: slideup 1s ease forwards; opacity: 0; transform: translateY(20px); }
.pop { animation: popin 0.8s ease forwards; opacity: 0; transform: scale(0.9); }
.pulse { animation: pulse 1.5s infinite; }

@keyframes fadein { to { opacity: 1; } }
@keyframes slideup { to { opacity: 1; transform: translateY(0); } }
@keyframes popin { to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Header */
.main-header {
  position: sticky;
  top: 0;
  background-color: #0A2342;
  padding: 8px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-header {
  width: 60px;
  height: auto;
}

.company-name {
  font-size: 1rem;
  color: #E0E6ED;
  font-weight: 600;
}

.nav a {
  margin: 0 10px;
  color: #E0E6ED;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: #00AEEF; }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 20px;
  scroll-margin-top: 140px;
}

.alt {
  background-color: #132E4C;
}

/* Hero */
.hero {
  text-align: center;
  padding: 60px 20px 50px;
}

.hero h2 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.hero h3 {
  color: #00AEEF;
  font-weight: 500;
  margin-top: 0;
}

.hero p {
  max-width: 720px;
  margin: 15px auto 25px;
  color: #D0D8E5;
}

.btn.contact-btn {
  border: 2px solid #00AEEF;
  padding: 10px 24px;
  border-radius: 25px;
  background: transparent;
  color: #00AEEF;
  font-weight: 600;
  text-decoration: none;
}
.btn.contact-btn:hover {
  background: #00AEEF;
  color: #0A2342;
}

/* Enfoque */
.section-with-image {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 25px;
}

.section-image img {
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.step {
  background-color: #1B3B63;
  padding: 15px;
  border-radius: 12px;
}

.step h3 {
  color: #00AEEF;
  margin-top: 0;
}

/* Servicios */
.service-block {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 30px 0;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-text h3 {
  color: #00AEEF;
  margin-top: 0;
}

.service-image img {
  max-width: 330px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

/* Beneficios */
.beneficios-grid {
  display: flex;
  gap: 30px;
  align-items: center;
}

.benefits-image img {
  
  object-fit: cover;
}
.benefits-image img {
  max-width: 360px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

.benefits-text h2 {
  margin-top: 0;
}

.benefits {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.benefits li {
  margin-bottom: 10px;
  color: #D0D8E5;
}

.benefits strong {
  color: #ffffff;
}

/* Equipo */
.team-block {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  align-items: flex-start;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00AEEF;
}

.team-info h3 {
  margin-top: 0;
  color: #00AEEF;
}

/* Contacto & Footer */
.footer {
  background-color: #000;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .section-with-image,
  .service-block,
  .beneficios-grid,
  .team-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-image img,
  .service-image img,
  .benefits-image img {
    max-width: 100%;
  }

  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
}

/* --- MOBILE MENU --- */
.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 65%;
  height: 100vh;
  background: #001A33;
  padding: 30px;
  flex-direction: column;
  z-index: 2000;
}

.mobile-menu a {
  color: white;
  padding: 18px 0;
  display: block;
  font-size: 20px;
}

.mobile-menu.open {
  display: flex;
}

@media(max-width: 900px){
  .nav-links { display: none !important; }
  .hamburger { display: block; }
}

@media(max-width:900px){
  .service-block, .service-block.reverse {
    flex-direction: column !important;
    text-align: center;
  }
  .service-image img {
    max-width: 90% !important;
    margin: 0 auto;
  }
  .main-header {
    padding: 10px 16px;
  }
}

.hero{background:url("bg.jpg") center/cover no-repeat; position:relative;}
.hero::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,0.6);} .hero .container{position:relative; z-index:2;}


/* HEADER NAV LINKS FIX */
.main-header .nav-links a,
.main-header .nav-links a:visited {
  color: #ffffff !important;
  text-decoration: none !important;
  margin-left: 40px;
  font-weight: 500;
  font-size: 0.95rem;
}


/* Nuestros Clientes - Carrusel */
.clients-slider {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.clients-viewport {
  overflow: hidden;
  max-width: 420px;
}

.clients-track {
  display: flex;
  transition: transform 0.5s ease;
}

.client-slide {
  min-width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.client-slide.active {
  display: flex;
}

.client-slide img {
  max-width: 260px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.client-nav {
  background: none;
  border: 2px solid #00AEEF;
  color: #00AEEF;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.client-nav:hover {
  background: #00AEEF;
  color: #0A2342;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .clients-slider {
    gap: 10px;
  }

  .clients-viewport {
    max-width: 260px;
  }

  .client-slide img {
    max-width: 200px;
    max-height: 100px;
  }
}
