* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body, html {
  width: 100vw;
  min-width: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #3b3b41; /* texto principal en negro */
  padding-top: 90px; /* Ajusta este valor al alto de tu navbar para que no tape el contenido */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #090d0d;
  transition: background-color 1.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.6s cubic-bezier(0.4,0,0.2,1), padding 0.7s cubic-bezier(0.4,0,0.2,1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Cuando haces scroll */
.navbar.scrolled {
  background-color: rgba(9, 13, 13, 0.788); /* transparente */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: .5rem 2rem; /* más delgado */
  backdrop-filter: blur(8px); /* opcional, efecto frosted glass */
}

.cont-log {
  display: flex;
  align-items: center;
  width: 400px;
  height: 70px;
  color: #fff;
}

.navbar.scrolled .cont-log h2 {
  font-size: 1.4rem;
}

.navbar nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: end;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: #f58333;
  transition: width 0.4s ease;
  transform: translateX(-50%);
}

.nav-links a.activo {
  font-weight: bold;
  color: #f58333;
}

.nav-links a.activo::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Estilos responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 1rem;
    background-color: #000;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }
}
/* Oculta por defecto */
.solo-movil {
  display: none;
}

/* Solo visible en móviles */
@media (max-width: 768px) {
  .solo-movil {
    display: block;
  }
  .btn-movil {
    position: relative;
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s ease;
  }
}

/* Oculta el botón de idioma principal en móviles */
@media (max-width: 768px) {
  #lang-toggle-desktop {
    display: none;
  }
}

/* Oculta el de móvil en escritorio */
@media (min-width: 769px) {
  .solo-movil {
    display: none;
  }
}

.hero {
  height: 450px;
  background-color: #090d0d;
  color: #fff;
  padding: 0 20px; /* Solo padding lateral */
  text-align: center;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.377);
  z-index: 1;
  position: relative;
  background-image: url('../img/Ciudad 4.webp'); /* Cambia el nombre si tu imagen es otra */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .contenedor-hero {
  max-width: 1200px;
  width: 80%;
  margin: auto;
  position: relative;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 30, 0.50 ); /* Capa oscura, ajusta opacidad/color a gusto */
  z-index: 1;
}

.contenedor-hero {
  max-width: 1200px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.btn-cta {
  display: inline-block;
  background-color: #f58333;
  color: white;
  padding: 14px 28px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background-color: #d94f06;
}

.seccion-beneficios {
  margin: auto;
  width: 90%;
  background-color: transparent;
  padding: 4rem 2rem 2rem 2rem;
}

.contenido-beneficios {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.texto-beneficios {
  flex: 1 1 350px;
  min-width: 0;
}

.etiqueta {
  text-transform: uppercase;
  color: #f58333;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.texto-beneficios span{
  font-weight: bold;
}

.texto-beneficios h2 {
  font-size: 2rem;
  color: #090d0d;
  margin-bottom: 1rem;
}

.texto-beneficios p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2rem;
}

.imagen-beneficios {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-beneficios img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.datos {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.dato {
  border-radius: 12px;
  padding: 16px 24px;
  text-align: start;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dato strong {
  display: block;
  font-size: 2rem;
  color: #f58333;
}

.dato span {
  display: block;
  font-size: 1rem;
  color: #333;
}

@media (max-width: 900px) {
  .contenido-beneficios {
    flex-direction: column-reverse;
    gap: 32px;
    padding: 0 24px;
  }
  .imagen-beneficios {
    width: 100%;
    margin-bottom: 0;
  }
  .texto-beneficios {
    width: 100%;
    text-align: center;
  }
  .datos {
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .seccion-beneficios {
    padding: 32px 0 24px 0;
  }
  .contenido-beneficios {
    gap: 20px;
    padding: 0 8px;
  }
  .texto-beneficios h2 {
    font-size: 1.3rem;
  }
  .dato {
    padding: 10px 12px;
    min-width: 80px;
  }
  .dato strong {
    font-size: 1.3rem;
  }
  .imagen-beneficios img {
    max-width: 220px;
  }
}

.soluciones-flex {
  padding: 2rem 2rem;
  text-align: center;
  width: auto;
  max-width: 1300px;
  margin: 0 auto;
}

.soluciones-flex h2 {
  font-size: 2rem;
  color: #f58333;
  margin-bottom: 2rem;
}

.contenedor-cajas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.caja {
  background-color: #090d0d;
  border: 1px solid #2d2d2d;
  border-radius: 12px;
  padding: 2rem;
  color: #dfe6e9;
  width: 300px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.377);
}

.caja:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
  color: #f58333;
}

.caja h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.caja p {
  font-size: 0.95rem;
  color: #b2bec3;
}


.contenedor-equipo {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.imagenes-equipo {
  display: grid;
  grid-template-areas:
    "grande vertical"
    "horizontal cuadrada";
  gap: 1rem;
  flex: 1 1 400px;
}

.foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.foto.grande     { grid-area: grande; height: 230px; }
.foto.vertical   { grid-area: vertical; height: 230px; }
.foto.horizontal { grid-area: horizontal; height: 120px; }
.foto.cuadrada   { grid-area: cuadrada; height: 120px; }

.info-equipo {
  flex: 1 1 500px;
  box-sizing: border-box;
  max-width: 100%;
}

.info-equipo h2 {
  font-size: 1.8rem;
  margin: 1rem 0;
}

.datos {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.dato strong {
  font-size: 1.5rem;
  color: #f58333;
  display: block;
}

.dato span {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .contenedor-equipo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .imagenes-equipo {
    grid-template-areas:
      "grande"
      "vertical"
      "horizontal"
      "cuadrada";
    width: 100%;
  }
  .info-equipo {
    padding: 2rem;
  }

  .info-equipo .etiqueta{
    font-size: 2rem;
  }

  .info-equipo h2 {
    font-size: 1.5rem;
  }

  .datos {
    justify-content: center;
  }

  .seccion-equipo {
    margin-top: 1rem;
    padding-bottom: 0rem !important;
    margin-bottom: 0 !important;
  }
  .contenedor-equipo {
    margin-top: 1rem;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  .seccion-equipo {
    margin-top: 1rem;
    padding-bottom: 0rem !important;
    margin-bottom: 0 !important;
  }
  .contenedor-equipo {
    margin-top: 1rem;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}


.carrusel-c {
  background-color: #fff;
  padding: .5rem 0;
  margin: 2rem 0 2rem;
  overflow: hidden;
}

.carrusel-c h2{
  color: #f58333;
  font-weight: 900;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.slider {
  height: 80px;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(250px * 18); /* 9 logos x2 */
  animation: scroll 40s linear infinite;
}

.slide {
  height: 80px;
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-height: 60px;
  max-width: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.slide img:hover {
  filter: none;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.quienes-somos {
  background-color: #090d0d;
  color: #fff;
  padding: 4rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.title-quienes-somos {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.title-quienes-somos h2 {
  font-size: 2rem;
  font-weight: bold;
}

.descripcion {
  margin-top: 1rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #fff;
}

/* Carrusel ahora como contenedor flexible */
.quienes-carrusel {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1rem 0 2rem;
  box-sizing: border-box;
}

.card-quienes-somos {
  background-color: #2a2a2e;
   margin: auto 20px;
  border-radius: 12px;
  padding: 2rem;
  flex: 1 1 calc(33.33% - 2rem);
  max-width: 100%;
  min-width: 280px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.title-card {
  color: #ff9529;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.card-quienes-somos p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.4;
}

/* Responsive: en tablet 2 por fila */
@media (max-width: 900px) {
  .card-quienes-somos {
     margin: auto 20px;
    flex: 1 1 calc(50% - 2rem);
  }
}

/* Responsive: en móvil 1 por fila */
@media (max-width: 600px) {
  .card-quienes-somos {
    flex: 1 1 100%;
    padding: 1rem;
    margin: auto 20px;
  }
  .title-quienes-somos h2 {
    font-size: 1.6rem;
  }
  .card-quienes-somos p {
    font-size: 0.9rem;
  }
}

.sectores {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.sectores-texto {
  flex: 1 1 300px;
  max-width: 400px;
}

.sectores-texto h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #2d2d2d;
}

.sectores-texto span {
  font-weight: 400;
}

.sectores-texto p {
  color: #666;
  margin-bottom: 1.5rem;
}

.paginacion {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.pagina-total {
  font-size: 1rem;
  color: #aaa;
  margin-left: 0.5rem;
}

.navegacion .btn {
  background: #f58333;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1.5rem;
  margin-right: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.navegacion .btn.next {
  background-color: #ffc398;
  color: white;
}

/* Carrusel */
.sectores-carrusel-wrapper {
  position: relative;
  flex: 2 1 600px;
  overflow: hidden;
}

.sectores-carrusel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 1rem 40px 1rem 0px;
  flex-direction: row;
  direction: ltr;
}

.sector-card {
  background: #090d0d;
  border-radius: 10px;
  padding: 1rem;
  width: 300px;
  min-width: 300px;
  color: #fff;
  flex-shrink: 0;
}

.sector-card .imagen {
  height: 200px;
  background: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* Degradado */
.sectores-carrusel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  right: 0;
  background: linear-gradient(to left, white, transparent);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .sectores {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 0 1rem;
    overflow-x: hidden;
  }

  .sectores-texto {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
  }

  .sectores-carrusel-wrapper {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .sectores-carrusel-wrapper::after{
    display: none;
  }

  .sectores-carrusel {
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 0;
  }
}

.contacto-seccion {
  background: #f1f1f1;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.contacto-contenedor {
  max-width: 1100px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* INFO IZQUIERDA */
.info-contacto {
  flex: 1 1 300px;
  background: #f58333;
  color: #fff;
  padding: 2rem;
}

.info-contacto h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-contacto p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.info-contacto ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-contacto li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.icono-contacto {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.icono-contacto img {
  width: 100%;
  height: auto;
  display: block;
}

.texto-contacto {
  display: inline-block;
  color: #fff;
  word-break: break-word;
}


/* FORMULARIO DERECHA */
.form-contacto {
  flex: 2 1 400px;
  padding: 2rem;
  background: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contacto-contenedor {
    flex-direction: column;
  }

}
.footer {
  background-color: #090d0d;
  color: #d1d5db;
  padding: 3rem 2rem;
  font-size: 0.95rem;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer p {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #9ca3af;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #f58333;
}

.footer hr {
  border: none;
  border-top: 1px solid #374151;
  margin: 2rem auto 1rem;
  max-width: 1200px;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}


.animar {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.animar.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.politicas-seccion {
  background-color: #f9fafb;
  padding: 3rem 2rem;
  text-align: center;
}

.contenedor-politicas {
  max-width: 900px;
  margin: 0 auto;
  color: #444;
}

.politicas-seccion h2 {
  font-size: 1.8rem;
  color: #f58333;
  margin-bottom: 1.5rem;
}

.politicas-seccion p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lang-toggle {
  margin-left: 1rem;
  background: #f58333;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  outline: none;
  height: 40px;
  align-self: center;
}
.lang-toggle:hover {
  background: #d94f06;
}
@media (max-width: 768px) {
  .lang-toggle {
    margin-left: 0.5rem;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    height: 36px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: auto;
    min-height: 320px;
    padding: 32px 8px 24px 8px;
    flex-direction: column;
    background-position: center top;
    background-size: cover;
  }
  .hero .contenedor-hero {
    width: 90%;
    padding: 0;
  }
  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .btn-cta {
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 8px;
  }
}



