html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    
}

.form {
    color: #ffffff;
    font-size: 7rem;
    text-align: center;
    position: absolute;
    top: 30%;           /* Ajusta la distancia desde arriba */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;          /* FORM delante de la imagen */
    width: 100%;
    pointer-events: none; /* Opcional: evita que el texto bloquee la imagen al hacer clic */
    margin: 0; /* Quita los márgenes */
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);

}

.logo2 {
    font-size: 4rem;    /* Más pequeño */
    height: 5.0rem;       /* Ajusta el alto de la imagen */
    vertical-align: middle; /* Alinea verticalmente el texto con la imagen */
    margin-top: 0; /* Quita los márgenes */
    margin-bottom: 30px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}


.container1 {
    position: relative;
    width: 100%;
    height: 95vh; /* Ajusta la altura según sea necesario */
    overflow: hidden; /* Evita barras de desplazamiento */
}



.img1 {
    width: 100vw;      /* Ocupa todo el ancho de la ventana */
    height: 70rem;
    display: block;
    margin: 0;
    position: relative;
    z-index: 0;

}


.frase-overlay {
  position: absolute;
  bottom: 30%;       /* lo sube un poco de abajo */
  left: 50%;
  transform: translateX(-50%); /* centrado horizontal */
  width: 40%;
  
  background: rgba(128,128,128,0.2); /* gris suave */
  padding: 1.0rem 0rem;
  border-radius: 60px; /* bordes marcados pero suaves */
  box-shadow: 0 4px 10px rgba(0,0,0,1.0); /* un poco de relieve */
  
  color: white;       /* texto blanco */
  font-size: 1.4rem;
  text-align: center;
  max-width: 90%;
}

@media only screen and (max-width: 900px) {
    .frase-overlay {
        width: 80%;       /* más ancho en pantallas pequeñas */
        font-size: 1.4rem; /* texto un poco más pequeño */
    }
}

.ventajas-form {
  padding: 40px 0rem;
  padding-bottom: 7rem;
  text-align: center;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;

  /* Fondo principal en negro */
  background: #000000;
}

/* Degradado elegante en diagonal */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #064765 60%, #000000 100%);
  opacity: 0.95;
  z-index: -2;
}

/* Líneas blancas muy finas en movimiento */
body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 60px
  );
  animation: moveLines 25s linear infinite;
  z-index: -1;
}

/* Animación sutil */
@keyframes moveLines {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

section .ventajas-form {
  padding: 10px 5rem;
  padding-bottom: 1rem;
  text-align: center;
  max-width: 100%;
}

.ventajas-form h2 {
  font-size: 3.0rem;
  margin-bottom: 50px;
  color: #ffffff;
}

.ventajas-form .subtitulo {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 50px;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); 
  gap: 2rem; /* espacio entre columnas */
  justify-content: center; 
  margin: 0 auto;
  max-width: 80rem; /* opcional, evita que se estiren demasiado en pantallas grandes */
}


.card {
  background: rgba(255, 255, 255, 0.3); /* fondo semi-transparente blanco */
  border-radius: 60px;
  box-shadow: 0 8px 20px #064765, 0 3px 6px rgba(20, 3, 132, 0.1); /* sombra más suave y difusa */
  padding: 1rem 2rem;
  flex: 1;
  min-width: 19rem;
  max-width: 25%;
  height: 15rem;
  display: flex;
  align-items: center;
  justify-content: center;  
  flex-direction: column;
  transition: transform 0.5s, box-shadow 0.5s, background 0.5s;
  
  /* Efecto glassmorphism */
  backdrop-filter: blur(12px); /* desenfoque del fondo */
  border: 1px solid rgba(255, 255, 255, 0.25); /* borde delicado semi-transparente */
}


.card:hover {
  transform: translateY(-10px);
  box-shadow: 10 8px 20px rgba(0,0,0,1);
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 20px;

}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.card p {
  font-size: 1rem;
  color: #000000;
}

.btn-informate {
  margin-top: 6rem;
  background: linear-gradient(135deg, #839f0a, #b4d10c); /* azul oscuro con degradado */
  color: #fafffa;  /* texto oscuro para mejor legibilidad */
  padding: 20px 100px;
  border: none;
  border-radius: 30px; /* más redondeado, estilo moderno */
  cursor: pointer;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase; /* para que destaque más */
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); /* sombra */
}

.btn-informate:hover {
  background: linear-gradient(135deg, #1b1f1b, #333); /* efecto oscuro al pasar */
  color: #ffffff; /* texto blanco en hover */
  transform: translateY(-5px) scale(1.05); /* efecto flotante */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.btn-informate:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}


.encontraras {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 70%, #eaf3f8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Toques elegantes en azul muy suave */
.encontraras::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at top right, rgba(113, 136, 147, 0.06), transparent 70%),
  radial-gradient(circle at bottom left, rgba(6, 71, 101, 0.05), transparent 70%);
  z-index: 0;
}

.encontraras * {
  position: relative;
  z-index: 100;
}

.encontraras h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #1b1f1b;
  position: relative;
}

.encontraras h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #4a60e8;
  margin: 12px auto 0;
  border-radius: 2px;
}

.listado {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  border-left: 6px solid #064765;
}

.item:hover {
  background: #f5f8ff;
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.icon-encontraras {
  font-size: 2rem;
  background: #eef3ff;
  color: #4a60e8;
  padding: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(74,96,232,0.25);
  transition: transform 0.3s ease;
}

.item:hover .icon-encontraras {
  transform: scale(1.15) rotate(8deg);
}

.texto h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  position: relative;
}

.texto h3::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: #4a60e8;
  margin-top: 6px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.item:hover .texto h3::after {
  width: 70px;
}

.texto p {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
}




/* Responsive */
@media (max-width: 1500px) {
    .cards {
    flex-wrap: wrap; /* Permite que las tarjetas se envuelvan */
    gap: 2rem; /* Espacio entre filas y columnas */
    }
  .card {
    max-width: 25%; /* Dos columnas en pantallas medianas */
    margin-bottom: 20px;
  }

}

.ventajas-form .cards,
.porque-form .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6.5rem;
    max-width: 90%;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
    margin-right: 5.2rem;
}

.card {
    min-width: 350px;       /* Más grandes */
    max-width: 600px;       /* Opcional: limita el ancho máximo */
    width: 100%;
    margin: 0 auto;
    height: 10rem;          /* Más alto */
    padding: 2.5rem 2rem;   /* Más espacio interno */
    font-size: 1.2rem;      /* Texto más grande */
}

.porque-form .card {
    min-width: 350px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    height: 10rem;
    padding: 2.5rem 2rem;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    box-shadow: 0 8px 20px #064765, 0 3px 6px rgba(20, 3, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.5s, box-shadow 0.5s, background 0.5s;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.porque-form .card:hover {
    transform: translateY(-10px);
    box-shadow: 10 8px 20px rgba(0,0,0,1);
}

@media (max-width: 1100px) {
    .ventajas-form .cards,
    .porque-form .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    html, body {
        font-size: 13px;
    }

.titulo {
  position: absolute;
  bottom: 40%;
  left: 50%;                 /* centrado exacto en su contenedor */
  transform: translateX(-50%);
  padding: 1rem 0;
  color: white;
  text-align: center;
  font-size: 2rem;
  display: inline-block;
  line-height: 2.2rem;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;

}


    .form {
        font-size: 4.2rem;
        top: 20%;
        align-items: left;
        text-align: left;
        padding-left: 5rem;
        background-color: #221f1f;
    }
    .logo2 {
        font-size: 2.2rem;
        height: 4.0rem;
        margin-top: 15px;
    }
    .container1 {
          position: relative;
          background: radial-gradient(1200px 300px at 80% -10%, #064765 0%, transparent 90%),
              radial-gradient(1000px 600px at 0% 0%, #064765 0%, transparent 80%),
              #000; /* o el color que quieras */
    z-index: 1;
    height: 60vh; /* Ajusta la altura según sea necesario */
    }
    .img1 {
        height: 60rem;
        margin-top: 0px;
        display: none
        /* Mantiene la foto igual de grande */
    }
    .frase-overlay {
        font-size: 0.8rem;
        padding: 0.4rem 0.1rem;
        border-radius: 16px;
        width: 95%;
        bottom: 55%;
        display: none;
    }
    .ventajas-form {
        padding: 10px 0;
        padding-bottom: 2rem;
        background-color: transparent;
        background-image: url(../img/opcion1pqform.png);
    z-index: 1;
    }
    .ventajas-form h2 {
        font-size: 1.9rem;
        margin-bottom: 12px;
        color: black;
    }
    .ventajas-form .subtitulo {
        font-size: 1rem;
        margin-bottom: 10px;
        color: black;
    }
    .cards,
    .ventajas-form .cards,
    .porque-form .cards {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        max-width: 70vw;
        width: 99vw;
        margin-right: 2rem;
    }
    .card,
    .porque-form .card {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        padding: 0.7rem 0.3rem;
        font-size: 0.95rem;
        border-radius: 16px;
        height: auto;
        margin: 0 auto;
    }
    .card .icon {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    .card h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
        color: #000000;
    }
    .card p {
        font-size: 0.8rem;
    }
    .btn-informate {
        font-size: 1.5rem;
        padding: 8px 18px;
        border-radius: 12px;
        margin-top: 95%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        background: linear-gradient(135deg, #064765, #064765); /* azul oscuro con degradado */

    }
    .encontraras {
        padding: 18px 4px;
    }
    .encontraras h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .encontraras h2::after {
        width: 18px;
        height: 1px;
        margin: 4px auto 0;
    }
    .listado {
        gap: 8px;
    }
    .item {
        padding: 6px;
        border-radius: 7px;
        border-left: 2px solid #064765;
    }
    .icon-encontraras {
        font-size: 0.8rem;
        padding: 4px;
    }
    .texto h3 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    .texto h3::after {
        width: 16px;
        height: 1px;
        margin-top: 2px;
    }
    .texto p {
        font-size: 0.7rem;
    }
}

/* Cuando la pantalla sea menor a 1500px */
@media (max-width: 850px) {
  .img1 {
    content: url("../img/foto-index2.png");
  }

  
}
