

/* Hero ocupa toda la pantalla */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Video adaptado */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena toda la pantalla */
  z-index: 1;
}

/* Botón flotante */
.video-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: background 0.3s;
}

.video-toggle:hover {
  background: rgba(0,0,0,0.8);
}

/* Overlay hero */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 31, 84, 0.5);
  z-index: 1;
}
.hero-content {
  z-index: 2;
}

/* Servicios */
.service-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; /* 👈 ahora se comporta como botón */
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.icon-circle {
  width: 60px; height: 60px;
  background: #001f54;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}

/* Nosotros */
.highlight {
  color: #001f54;
  font-weight: 700;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #001f54, #003366);
}
.btn-cta {
  transition: all 0.3s ease;
}
.btn-cta:hover {
  background: #f1c40f;
  color: #001f54;
}

@media (max-width: 576px) {
  .icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  .service-card h5 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.9rem;
  }
}

/* Botón CTA más elegante y sobrio */
.btn-cta-pro {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(45deg, #004e92, #000428);
  background-size: 200% 200%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.btn-cta-pro:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(0,78,146,0.6);
  transform: translateY(-3px);
}

/* Gradiente animado */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Efecto pulso suave */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 35px rgba(255,255,255,0.9); }
  100% { box-shadow: 0 0 15px rgba(255,255,255,0.4); }
}

/* CTA con fondo animado */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #001f54, #003366, #005f73, #0a9396);
  background-size: 400% 400%;
  animation: ctaGradient 15s ease infinite;
}

/* Animación del gradiente */
@keyframes ctaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Oscurecer ligeramente el texto para mejor legibilidad */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* capa sutil encima */
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}




/* Fondo de la sección tech */
.tech-section {
  background: #f8f9fa; /* gris claro corporativo */
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
}

/* Slider tecnologías */
.tech-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 30px;
}

.tech-item {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.tech-item img {
  max-height: 50px;
  filter: grayscale(40%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-item i {
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover */
.tech-item:hover {
  opacity: 1;
}
.tech-item:hover img {
  transform: scale(1.15);
  filter: grayscale(0%);
}
.tech-item:hover i {
  transform: scale(1.2);
  color: #f1c40f;
}

.tech-slide-track {
  display: flex;
  animation: scroll 45s linear infinite;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* siempre recorre la mitad */
}



/* ===== SECCIÓN NOSOTROS ===== */
.about-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
}

.about-section h2 {
  font-weight: 700;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

/* Subrayado degradado */
.about-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #001f54, #0a9396, #f1c40f);
}

/* Imagen con efecto card glass */
.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Texto */
.about-section p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-section .highlight {
  color: #001f54;
  font-weight: 700;
}

/* Lista de checks */
.about-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.about-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 500;
}
.about-list i {
  background: #001f54;
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .about-section h2 {
    font-size: 1.6rem;
  }
  .about-list li {
    font-size: 0.95rem;
  }
}




/* ===== PILARES ===== */
.pilar-card {
  border-radius: 12px;
  padding: 30px 20px;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.pilar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Letra inicial con degradado animado sincronizado */
.pilar-icon {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(270deg, #004e92, #000428, #005f73, #004e92);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: gradientMove 5s linear infinite; /* 👈 animación global */
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* Hover extra */
.pilar-card:hover .pilar-icon {
  transform: scale(1.2);
  text-shadow: 0 0 12px rgba(0,78,146,0.6);
}

/* Animación degradada */
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Títulos */
.pilar-card h6 {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .pilar-icon {
    font-size: 2rem;
  }
}

/* Ajuste fino para el texto después de la C */
.pilar-text {
  position: relative;
  top: -1px;
  font-weight: 600;
  color: #333;
}
