
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #1a1a1a;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #1c2a3c;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-header {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link.activo,
.nav-link:hover {
  color: #ffc107;
}

/* HERO */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
}

/* SECCIÓN SERVICIOS DETALLADOS */
.nosotros-section {
  background-color: #f9f9f9;
  padding: 140px 20px;
}

.container-nosotros {
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-detallado {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 200px;
  align-items: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 80px;
  justify-content: center;
}


.servicio-detallado:nth-child(even) {
  flex-direction: row-reverse;
}

.servicio-detallado img {
  flex: 1 1 400px;
  border-radius: 10px;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}


.servicio-detallado div {
  flex: 1 1 400px;
  max-width: 600px;
}

.servicio-detallado h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #1c2a3c;
}

.servicio-detallado p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
}

.servicio-detallado ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.servicio-detallado li {
  list-style: none;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.servicio-detallado li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #cda400;
  font-weight: bold;
}
.servicio-detallado .boton-cotizar {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #cda400;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.servicio-detallado .boton-cotizar:hover {
  background-color: #b89500;
}
.servicio-detallado ul li {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #333;
}

.servicio-detallado ul li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #333;
}

/* CTA FINAL */
.contacto-apoyo {
  padding: 100px 20px;
  position: relative;
  color: #fff;
  text-align: center;
}

.contacto-apoyo::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.formulario-contenedor {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}
.cta-video {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.video-fondo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay-oscuro {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-contenido {
  position: relative;
  z-index: 2;
  color: #fff;
}

.cta-contenido h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.boton-mision {
  background-color: #f4a00d;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.boton-mision:hover {
  background-color: #cf8908;
}
/* FOOTER */
.footer {
  background-color: #1c2a3c;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  margin-bottom: 15px;
  color: #ffc107;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #ffc107;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  background-color: #f4a00d;
  padding: 10px;
  margin: 5px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 40px;
  height: 40px;
  transition: background 0.3s;
}

.social-icons a:hover {
  background-color: #fff;
  color: #0b1f3a;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

/* BOTÓN ARRIBA */
.ir-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #c49b0b;
  color: white;
  padding: 12px 14px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.ir-arriba:hover {
  background-color: #0c1727;
  color: #c49b0b;
  transform: scale(1.1);
}

.ir-arriba.mostrar {
  opacity: 1;
  visibility: visible;
}

/* ANIMACIONES */
.reveal-fade, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .servicio-detallado {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .servicio-detallado img,
  .servicio-detallado div {
    flex: 1 1 100%;
  }

  .servicio-detallado h2 {
    font-size: 2rem;
  }

  .servicio-detallado p,
  .servicio-detallado ul li {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo-header {
    max-width: 160px;
    height: auto;
    margin-bottom: 10px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  /* ESPACIADO GENERAL */
  .hero-content,
  .texto,
  .formulario-contenedor,
  .valores-texto,
  .contenedor-servicio,
  .footer-content {
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
  }

  .contenedor-servicio {
    flex-direction: column !important;
    text-align: center;
  }

  .contenedor-servicio img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  /* FOOTER y OTROS */
  .footer-content,
  .stats-container,
  .contenedor-diferencias {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }
}
