/* 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;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link.activo,
.nav-link:hover {
  color: #ffc107;
}

/* HERO */
header.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
}
.hero {
  position: relative;
  height: 100vh;
  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 h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.hero p {
  font-size: 1.2rem;
}
.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
}

.separador-linea {
  width: 80px;
  height: 4px;
  background-color: #c49b0b;
  margin: 20px auto 40px;
  border-radius: 4px;
}
/* SECCIONES */
.nosotros-section {
  padding: 80px 20px;
}

.container-nosotros {
  max-width: 1200px;
  margin: 0 auto;
}

/* INTRODUCCIÓN */
.intro-nosotros {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.intro-nosotros img {
  flex: 1;
  max-width: none;
  width: 50%;
}
.intro-nosotros .texto {
  flex: 1;
  padding-left: 30px;
}


.intro-nosotros h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1c2a3c;
}

.intro-nosotros p {
  font-size: 1.1rem;
  color: #444;
}

/* BOTÓN */
.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;
}

/* VALORES */
.valores-lista {
  columns: 2;
  max-width: 800px;
  margin: 30px auto 0;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  list-style-type: disc;
  padding-left: 20px;
}
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal-fade.active {
  opacity: 1;
  transform: translateY(0);
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .intro-nosotros {
    flex-direction: column;
    text-align: center;
  }

  .intro-nosotros img {
    margin-bottom: 20px;
  }

  .boton-mision {
    margin: 20px auto 0;
  }

  .valores-lista {
    columns: 1;
    text-align: left;
  }
}
/* 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 img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}
.stats {
  position: relative;
  background-image: url('imagenes/fondo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.55);
  z-index: 0;
}

.stats-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f3c94e;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.stat p {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f5f5f5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.nosotros-section {
  background-color: #f9f9f9;
  padding: 100px 20px;
  text-align: center;
}

.nosotros-section h2 {
  font-size: 2.8rem;
  color: #0c1727;
  margin-bottom: 60px;
}

.container-nosotros {
  max-width: 1200px;
  margin: 0 auto;
}

.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;
  transition: transform 0.3s ease;
}

.nosotros-box:hover {
  transform: translateY(-8px);
}

.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;
}

@media (max-width: 768px) {
  .nosotros-grid {
    flex-direction: column;
    align-items: center;
  }
}
/* SECCIÓN MISIÓN Y VISIÓN */
.mision-vision {
  padding: 80px 20px;
  background-color: #fff;
}

.misionvision-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-mv {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-mv:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-mv h3 {
  font-size: 1.8rem;
  color: #1c2a3c;
  margin-bottom: 20px;
}

.card-mv p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}
/* VALORES DE LA COMPAÑÍA */
.valores-compania {
  padding: 100px 20px;
  background-color: #f9f9f9;
}

.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 ul li span:hover {
  color: #c49b0b;
  transition: color 0.3s ease;
}

.valores-texto blockquote {
  font-style: italic;
  color: #666;
  border-left: 4px solid #c49b0b;
  padding-left: 15px;
  margin: 0;
  font-size: 1rem;
}
/* SECCIÓN DE CONTACTO ¿NECESITAS APOYO? */
.contacto-apoyo {
  padding: 100px 20px;
  position: relative;
  color: #fff;
}

.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;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
  text-align: center;
}

.formulario-contenedor h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
}

.formulario-contenedor h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #f4a00d;
  display: block;
  margin: 10px auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1rem;
}

textarea {
  padding: 15px;
  border: none;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  resize: vertical;
  min-height: 120px;
  font-size: 1rem;
}

input::placeholder, textarea::placeholder {
  color: #ccc;
}

button {
  margin: 0 auto;
  background: #f4a00d;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

button i {
  margin-right: 8px;
}

button:hover {
  background: #cf8908;
}
/* VIDEO FORMULARIO*/
.formulario-seccion {
  position: relative;
  overflow: hidden;
  background-color: #555;
  color: white;
}

.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.formulario-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 44, 44, 0.7); /* Oscurece el video */
  z-index: 1;
}

.formulario-contenedor {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
  text-align: center;
}

/* BLOQUE DE SERVICIO EN FORMULARIO */
.form-servicio {
  text-align: left;
  color: #fff;
  margin-top: 20px;
}

.form-servicio label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-servicio-contenido {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.form-servicio select,
.form-servicio input[type="text"] {
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  flex: 1;
  min-width: 200px;
  font-size: 0.95rem;
}

.form-servicio button {
  background-color: #0b1f3a;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-servicio button:hover {
  background-color: #0e2c54;
}

.form-servicio button i {
  margin-right: 6px;
}
.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;
}
.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;
}

.diferencias {
  padding: 80px 20px;
  text-align: center;
  background-color: #f7f7f7;
}

.contenedor-diferencias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
/* BLOQUE DE SOMOS DIFERENTES */
.diferencia-box {
  background-color: white;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.diferencia-box:hover {
  transform: translateY(-8px);
}

.diferencia-box i {
  font-size: 2.5rem;
  color: #c49b0b;
  margin-bottom: 15px;
}

.diferencia-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0c1727;
}

.diferencia-box p {
  font-size: 1rem;
  color: #333;
}
.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;
}
.diferencia-box {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.diferencia-box:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25) !important;
  z-index: 10;
}
@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 */
  }
}
