/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  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 {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}


.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Puedes subir hasta 0.6 o 0.7 si quieres más oscuro */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  font-size: 4.2rem;
  margin-bottom: 1rem;
  text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.8); /* más fuerte */
}

.hero-content p {
  font-size: 1.5rem;
  color: #fff; /* cambia de #ddd a blanco para más contraste */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
  z-index: 1;
}

.boton-mision {
  display: inline-block;
  margin-top: 20px;
  background-color: #f5a100;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.boton-mision:hover {
  background-color: #e69200;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.activo {
  opacity: 1;
  z-index: 1;
}
/* RESUMEN SERVICIOS */
.nosotros-section {
  background-color: #f9f9f9;
  padding: 100px 20px;
  text-align: center;
}

.nosotros-section h2 {
  font-size: 2.5rem;
  color: #0c1727;
  margin-bottom: 60px;
}

.nosotros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.nosotros-box {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  flex: 1 1 300px;
  max-width: 360px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.nosotros-box.visible:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.nosotros-box i {
  font-size: 2.5rem;
  color: #c49b0b;
  margin-bottom: 20px;
}

.nosotros-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0c1727;
}

.nosotros-box p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
/* BOTON SERVICIOS */
.boton-servicios-container {
  margin-top: 40px;
  text-align: center;
}

.boton-mision {
  background-color: #f4a00d;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.boton-mision:hover {
  background-color: #c07e00;
}

/* VALORES - TESTIMONIOS */
.valores-compania {
  background-color: #fff;
  padding: 100px 20px;
}

.valores-contenido {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.valores-imagen {
  flex: 1;
  min-width: 300px;
}

.valores-imagen img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.valores-texto {
  flex: 1;
  min-width: 300px;
}

.valores-texto h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #1c2a3c;
}

.valores-texto ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.valores-texto ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
}

.valores-texto ul li::before {
  content: "✔";
  color: #c49b0b;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.valores-texto blockquote {
  font-style: italic;
  color: #666;
  border-left: 4px solid #c49b0b;
  padding-left: 15px;
  margin: 0;
  font-size: 1rem;
}

/* COMO TRABAJAMOS */
.proceso-section {
  background-color: #f9f9f9;
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(180deg, #f9f9f9 0%, #eeeeee 100%);
}

.proceso-section h2 {
  font-size: 2.5rem;
  color: #0c1727;
  margin-bottom: 60px;
}

.proceso-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.paso {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 260px;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}
.paso.visible {
  opacity: 1;
  transform: translateY(0);
}
.paso:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.paso i {
  font-size: 2.5rem;
  color: #c49b0b;
  margin-bottom: 20px;
}

.paso h3 {
  font-size: 1.5rem;
  color: #0c1727;
  margin-bottom: 15px;
}

.paso p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
.separador-linea {
  width: 80px;
  height: 4px;
  background-color: #c49b0b;
  margin: 20px auto 40px;
  border-radius: 4px;
}
.frases-destacadas {
  background: linear-gradient(to right, #0c1727, #1a1a1a);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  font-family: inherit;
}
.frase-carousel {
  position: relative;
  height: 50px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.frase-carousel p {
  opacity: 0;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
  width: 100%;
}
.frase-carousel p.frase-activa {
  opacity: 1;
  transform: translateY(0);
}
.frase-carousel i {
  font-size: 1.2em;
  color: #c49b0b;
}
/* 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;
}
/* 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;
  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;
}

/* 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;
}
/* FLECHA IR ARRIBA */
.ir-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #c49b0b;
  color: #fff;
  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;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
.hero-content p {
  font-size: 1rem;
}

.boton-mision {
  padding: 10px 20px;
  font-size: 0.9rem;
}
  .nosotros-grid,
  .valores-contenido,
  .stats-container,
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu {
    flex-direction: column;
  }
}
.nosotros-box {
  text-decoration: none;
  color: inherit;
}

.nosotros-box h3,
.nosotros-box p {
  text-decoration: none;
}

.nosotros-box:hover h3,
.nosotros-box:hover p {
  text-decoration: none;
}
.nosotros-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.boton {
  display: inline-block;
  background-color: #d4af37; /* dorado elegante */
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.boton:hover {
  background-color: #b38e2e;
  transform: scale(1.05);
}
@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;
  }
}
@media screen and (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    background-color: #1b2735; /* o el mismo fondo que usas */
  }

  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-header {
    max-width: 160px;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .nav-menu li {
    list-style: none;
  }

  .nav-link {
    font-size: 1.2rem;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 0.5rem;
  }

  .nav-link.activo {
    color: #f5c518; /* tu color dorado */
  }
}
