/* --- CONFIGURACIÓN GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}
#og-image{display: none;}
#contacto {
    background-color: #1f202013;
    display: flex;
    flex-flow: column;
    align-items: center;
}
form{
    display: flex;
    flex-flow: column;
    align-items: center;
    background-color: #a09fa328;
    padding: 1rem;
    margin: 1rem;
    min-width: 350px;
    border-radius: 5px;
    box-shadow: 3px 3px 3px #080808b7;
}
input, textarea {
    min-width: 280px;
}
#videomovil{
    display:none;
   }
footer nav a {
    text-decoration: none;
    color: #a3e1f0;
}
#f, #w, #logo {width: 70px;height: 70px; border-radius: 50%;margin: 10px; }
.grid-caracteristicas ul{
    margin: 1rem; padding: 1.5rem;
}
#ventajas ul {
    margin: 1rem; padding: 1.5rem;
}
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 100;
    line-height: 1.6;
    color: #a3e1f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
}

/* --- HEADER Y NAV (FLEXBOX) --- */
header {
    height: 600px;
    width: 100%;
    display: flex;
    flex-flow: row wrap;   
    justify-items: center;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.0);
       
}
header .menu {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.986);
    position: fixed;
    top: 0px;
    z-index: 5;
}
header .efectoParalax video {
    display: block;    
    width: 100%; min-width: 100%;
    height: 400;
    min-height: 500px;
   transform: translateY(50px);
    /* Crea un degradado elíptico suave */
    }

header .efectoParalax {
    display: flex;
    flex-flow: row wrap;   
    justify-items: center;       
    width: 100%; min-width: 100%;
    height: auto;
    min-height: 400px;    
    background-image: url(../img/html/fondo.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    position: fixed;
    perspective: 2px;
    z-index: -1;
    overflow: hidden;
}
nav {
    width: 100%;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
 flex-flow: row nowrap;
  padding: 10px;
  border-radius: 5px;
  backdrop-filter: blur(10px); /* Efecto de desenfoque moderno */
}

nav ul li a {
  text-decoration: none;
  color: #1d89f5ef; /* O blanco si tu fondo es oscuro */
  padding: 10px 20px;
  display: block;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Efecto Hover Moderno */
nav ul li a:hover {
  /* Gradiente muy suave para no cansar la vista */
  background: linear-gradient(135deg, rgba(3, 60, 247, 0.1), rgba(115, 3, 252, 0.3));
  color: #f9f9fc;
  transform: translateY(-6px);
}

/* Indicador de línea inferior con gradiente */
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #022494, #7404fdfa);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

nav ul li a:hover::after {
  width: 80%; /* La línea crece al hacer hover */
}
/* --- CONTENEDOR PRINCIPAL (GRID) --- */
/* En móvil: Todo en una sola columna */
.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    flex: 1;
    /* Empuja el footer hacia abajo */
}

body .contenerdor {
    background-color:#0d0552 ;
    display: flex;
    flex-flow: row-reverse nowrap;
}
body .contenerdor .ventajas{
    display: flex;
    flex-flow: row nowrap;
}
main {
    width: 70%;    
    display: flex;
    flex-flow: column;
    justify-content: center;
    
    /* Espacio entre las <section> */
}

section {
    
    background-color:#0d0552 ;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 1rem;
}

aside {
    display: flex;
    flex-flow: column;
    justify-items: center;
    align-items: center;
    min-height: 450px;
    width: 30%;
    background: #063f73;
    padding: 20px;
    text-shadow: 3px 3px 3px black;
}

aside .navAside {
    display: flex;
    flex-flow: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: left;
    justify-items: center;
}


aside .navAside ul{
    display: flex;
    flex-flow: column;
}

aside .promo-blog {
    text-shadow: 3px 3px 3px black;
}

aside .promo-blog ul {
    margin: 0.5rem;
    padding-left: 1rem;
    transition-duration: 0.5s;
}
aside .promo-blog ul li a:hover{
    color: #d0daf8;
    
}
aside .promo-blog a {
    text-decoration: none;
    color: #1d89f5ef; /* O blanco si tu fondo es oscuro */
  
}

/* --- FOOTER --- */
footer {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    min-height: 250px;
}
#btn-moderno {
  /* Estilos base */
  text-decoration: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 50px; /* Bordes muy redondeados para el look actual */
  cursor: pointer;
   max-width: 300px;
   
  
  /* Gradiente inicial */
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  
  /* Sombra suave y transiciones */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto Hover */
#btn-moderno:hover {
  /* Cambiamos el gradiente ligeramente o lo iluminamos */
  background: linear-gradient(135deg, #a777e3, #6e8efb);
 
  /* Elevamos el botón y aumentamos la sombra */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110, 142, 251, 0.4);
}

/* Efecto Click (Active) */
#btn-moderno:active {
  transform: translateY(3px);
}

/* --- RESPONSIVE (TABLETS Y PC) --- */
/* Se activa cuando la pantalla mide más de 768px */
@media only screen and (max-width:908px) {

    header{
       height: 500px;
       min-height: 500px; 
    }
  
}

@media only screen and (max-width:768px) {
    body .contenerdor {
        flex-flow: column;
    }
    header{
       height: 400px; 
       
    }
   
    main {
        width: 100%;
    }
    aside {
        width: 100%;
    }
    body .contenerdor .ventajas{
    display: flex;
    flex-flow: column;

}


}
@media only screen and (max-width:506px){
    #video{
    display: none;
   }
   #videomovil{
    display: block;
    height: auto;
    transform: scale(1);
   }
   nav  {
    transform: scale(0.8);
}
 nav ul {
    transform: translateX(-10%);
 }   
}

@media (max-widht:768px) and (orientation: landscape){
    #video{
    display: block;
    transform: scale(0.9);
   }
}