body{
    margin: 0;
    box-sizing: border-box;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    background: linear-gradient(90deg,rgba(97, 69, 60, 1) 0%, rgba(143, 114, 114, 1) 22%, rgba(204, 169, 169, 1) 49%, rgba(227, 227, 227, 1) 76%, rgba(255, 255, 255, 1) 100%);
}
p,h1,h2,h3,h4{
    font-family:sans-serif;
    font-weight: 700;
}
a{
    text-decoration: none;
    font-family: roboto,sans-serif;
    font-weight: 300;
}

/*--------------------------HEADER---------------------------*/

.Main-header{
    width: 100vw;
    height: 80px;
    background-color: black;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999 !important;
}
.Main-header>a{
  width: 30%;
  margin-left: 3%;
}
.Main-header>a>img{
  width: 100%;
  max-width: 270px;
  height: auto; 
}
.Main-header>div{
    height: 40px; 
    width: 50%;
    max-width: 500px;
    display: flex;
    align-items: center;
}
.Main-header>div>span>a{
    color: #ffffff;
}
.navbar{
  width: 60%;
  display: flex;
  justify-content: space-evenly;
  margin-left: auto;
}
.navbar>a{
  font-size: 19px;
  font-family: roboto,sans-serif;
  font-weight: 300;
  color: white;
}


/*--------------------------------------------------*/
.class-button-transport{
  font-size: 19px;
  font-family: roboto,sans-serif;
  font-weight: 300;
  color: white;
  background-color: transparent;
  border: none;
}
.class-button-transport:hover{
  cursor: pointer;
}
.list-transport-links{
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-150);
}
.list-transport-links-Show{
  display: flex;
  flex-direction: column;
  background-color: rgb(0, 0, 0);
  width: 130px;
  border-radius: 5px;
  top: 65px;
  letter-spacing: 0.7px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.list-transport-links-Show>a{
  font-family: roboto, sans-serif;
  padding: 14px;
  color: white;
  transition: background-color 0.20s ease;
  border-radius: 5px;
}
.list-transport-links-Show>a:hover{
  background-color: #332b23;
}
/*------------------------------------------------*/

.menu-desplegable{
  display: flex;
  flex-direction: column;
  
}
.container-transport-2{
  width: 100%;
  display: flex;
  flex-direction: column;
}
.class-button-transport-2{
  font-size: 19px;
  font-family: roboto,sans-serif;
  font-weight: 300;
  color: white;
  border: none;
  height: 60px;
  background-color: transparent;
  transition: background-color 0.25s ease;
}
.class-button-transport-2:hover{
  cursor: pointer;
  background-color: rgb(45, 34, 28);
}
.list-transport-links-2{
  opacity: 0;
  visibility: hidden;
  transform: translateY(-150);
}
.list-transport-links-Show-2{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.list-transport-links-Show-2>a{
  font-family: roboto,sans-serif;;
  font-size: 18px;
  color: #b6b6b6;
  margin-bottom: 25px;
}
.list-transport-links-Show-2>a:first-child{
  margin-top: 20px;
}






/*------------------------------------------------*/
.contenedor-nav{
  display: none;
}




/*------------------------------Main Content-----------------------------------*/

.MainContainerVideoText{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 40px;
    justify-content: center;
    gap: 1%;
}
.Video-MainContainerVideoText{
    width: 55%;
    min-width: 400px;
    z-index: 1;
}
.video-control-off{
  z-index: -1;
}
.Video-MainContainerVideoText>video{
    max-width: 100%;
    border-radius: 6px;
    z-index: 1;
}


.MainContainerVideoText>h1{
    width: 40%;
    color: #3a3129;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    font-size: clamp(32px, 5vw, 60px);
    font-family: roboto,sans-serif;
    font-weight: 300;
}
.MainContainerVideoText>h1>span{
    color: rgb(97, 50, 50);
    font-family: roboto,sans-serif;
    font-weight: 900;
}



.MainContainer-2{
    margin-top: 100px;
    width:100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: rgb(39, 32, 28);
    line-height: 42px;
}
.MainContainer-2>p{
    width: 80%;
    font-size: clamp(16px, 5vw, 30px);
    font-family: roboto, sans-serif;
    color: white;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 120px;
}



.stats-container {
  display: grid;
  /* Crea columnas automáticas de mínimo 200px */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 40px;
  text-align: center;
}

.stat-card h2 {
  /* Clamp para que el número sea responsive (min 40px, max 80px) */
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: #ffffff; /* Azul oscuro similar a la imagen */
  margin-bottom: 0.5rem;
  font-family: roboto, sans-serif;
  font-weight: 900;
}

.stat-card p {
  /* Clamp para el texto (min 16px, max 20px) */
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #ddb798;
  font-family:roboto ,sans-serif;
  font-weight: 300;
}








.feature-row {
  display: flex;
  flex-direction: row; /* En PC uno al lado del otro */
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 80px 10%;
  flex-wrap: wrap; /* Permite que baje en pantallas pequeñas */
}

.feature-image {
  flex: 1;
  min-width: 300px;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0px 20px 80px rgba(0, 0, 0, 0.979);
}

.feature-text {
  flex: 1;
  min-width: 300px;
}

.feature-text, .eyebrow {
  color: #ddb798; /* Azul brillante tech */
  font-weight: bold;
  letter-spacing: 2px;
  border-bottom: 1px #ddb798 solid;
  display: block;
  font-family: roboto,sans-serif;
  font-weight: 300;
}

.feature-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Título fluido */
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: roboto,sans-serif;
  font-weight: 300;
}

.feature-text p {
  font-size: clamp(1rem, 1.5vw, 1.3rem); /* Párrafo fluido */
  color: #ddc9bb;
  line-height: 1.6;
  font-family: roboto,sans-serif;
  font-weight: 300;
}





.AI-background{
  background-color: rgb(238, 255, 255);
}
.features-grid-container {
  /* 1. Centrado absoluto y ancho controlado */
  width: 90;/* No deja que pegue a los bordes en pantallas medianas */
  max-width: 1100px;     /* Ancho máximo ideal para lectura y grid de 3 columnas */
  margin: 80px auto;     /* Centra el bloque horizontalmente y da aire arriba/abajo */
  /* 2. Colchón interno de seguridad */
  padding: 0 40px;       
  box-sizing: border-box;
}

.grid-header{
  text-align: center;
}
.grid-header>.eyebrow{
  color: rgb(97, 50, 50);
  border-bottom: 2px rgb(97, 50, 50) solid;
}
.grid-header>h2{
  font-family: roboto,sans-serif;
  color: rgb(97, 50, 50);
}
.grid-header>p{
  font-family: roboto,sans-serif;
  color: rgb(97, 50, 50);
}



.features-grid {
  display: grid;
  /* 3. Grid inteligente: se adapta sin romper los bordes */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  
  /* 4. Espaciado interno entre las tarjetas */
  gap: 60px 50px; 
  width: 100%;
}


.feature-card {
  /* Alineación limpia a la izquierda como en tu imagen */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-card>div>img{
  width: 90px;
  height: 90px;
}
.feature-card>h3{
  font-family: roboto,sans-serif;
  font-weight: 600;
  color: rgb(61, 49, 25);
  margin-bottom: 0px;
}
.feature-card>p{
  margin-top: 0;
  font-family: roboto,sans-serif;
  font-weight: 300;
  color: rgb(0, 0, 0);
}

/*--------------------------------FOOTER---------------------------------*/
/* --- Estilos base del Footer (Ancho Completo) --- */
.custom-footer {
  box-sizing: border-box;
  background-color: #272a2f; /* Color de fondo oscuro */
  color: #ffffff;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  width: 100%;
  padding: 60px 0;
}

/* Contenedor interno para centrar el contenido */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  gap: 80px;
}

.footer-col {
  flex: 1;
  max-width: 450px;
}

/* --- Títulos y Líneas separadoras --- */
.footer-heading {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #3a3d42;
  font-family: roboto,sans-serif;
  letter-spacing: 0.4px;
}
.footer-heading>a{
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: white;
}

/* --- Columna About Us & Logo --- */
.footer-text {
  color: #b0b3b8;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 45px; /* Espacio entre el texto y la imagen del logo */
}

/* Estilos para la imagen del logo */
.footer-logo-img {
  display: block; /* Elimina espacios inline indeseados */
  max-width: 250px; /* Ajusta este valor según el tamaño real que quieras para tu logo */
  height: auto; /* Mantiene la proporción de la imagen */
}

/* --- Columna Contact Info --- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: #b0b3b8;
  font-size: 0.95rem;
}

.contact-list i {
  color: #ffffff; /* Iconos blancos */
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* --- Diseño Responsivo (Móviles y Tablets) --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Apila las columnas verticalmente */
    gap: 50px;
  }
  
  .footer-col {
    max-width: 100%; /* En móvil, las columnas ocupan todo el ancho disponible */
  }
  
  /* Opcional: Centrar el contenido en móviles si lo prefieres */
  /*
  .footer-container {
      text-align: center;
  }
  .footer-heading {
      border-bottom: none; 
      text-decoration: underline;
      text-underline-offset: 10px;
      text-decoration-color: #3a3d42;
  }
  .contact-list li, .footer-logo-img {
      justify-content: center;
      margin-left: auto;
      margin-right: auto;
  }
  */
}




@media (max-width: 767px) {
  .MainContainerVideoText>h1 {
    display: none !important;
  }
  .Main-header>div{
    display: none;
  }
  .Main-header>a>img{
    height: 40px;
    width: 210px;
  }
  .navbar{
    display: none;
  }


  .contenedor-nav{
    display: flex;
    justify-content: center;
    width: 20%;
    margin-left: auto;
    height: 38px;
    background-color: transparent;
  }
  .contenedor-nav>button{
    border: 0;
    cursor: pointer;
    background: transparent;
    transition: transform 0.3s ease-in-out;
  }
  .contenedor-nav>button:hover{
    transform: scale(1.1);
  }
  .menu-desplegable{
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-150);
  }
  .menu-desplegable.abierto{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 0;
    gap: 5px;
    background-color: rgb(54, 40, 33);
  }
 .menu-desplegable.abierto>a{
  font-size: 20px;
  font-family: roboto,sans-serif;
  font-weight: 300;
  color: white;
  padding: 20px;
  letter-spacing: 0.8px;
  width: 100%;
  text-align: center;
  transition: background-color 0.25s ease;
 }
  .menu-desplegable.abierto>a:hover{
    background-color: rgb(45, 34, 28);
  }
}
@media (max-width: 320px){
  .Main-header>a>img{
  width: 200px;
  height: auto;
  }
}



@media (max-width: 320px) {
  .feature-image, .feature-text {
    min-width: 100%; /* Que se adapte al ancho pequeño */
  }
  .feature-row {
    padding: 40px 5%; /* Menos padding lateral en pantallas mini */
  }
  .Video-MainContainerVideoText {
      width: 95%; /* Cambia el 55% por algo más ancho en móvil */
      min-width: 0; /* ELIMINA el 400px o cámbialo a 0 */
  }
  .features-grid-container {
    width: 100%;             /* Corregido: añadido el % */
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;         /* Reducido de 40px a 20px para ganar espacio en móvil */
    box-sizing: border-box;
}

.features-grid {
    display: grid;
    /* CAMBIO CLAVE: minmax ahora permite que la tarjeta baje hasta 100% si es necesario */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 40px 20px;          /* Reducido un poco el gap para pantallas pequeñas */
    width: 100%;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;      /* Asegura que el texto esté centrado si la tarjeta se estira */
    width: 100%;
}
.contact-list>li>span{
  font-size: 13px;
}
}