.caja-cuadro{
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 40px auto;
}


.cuadro{
    width: 320px;
    color: antiquewhite;
    background: transparent;
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}


.cuadro:hover{
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 20px rgb(255, 255, 255);
}

.cuadro img{
     width: 100%;
    padding: 10px;
    margin: 0 auto;
}

.cuadro-texto{
    text-align: center;
    color: antiquewhite;
}

.cuadro-texto p{
    padding: 20px;
}


/*para los terminos y condiciones*/
.footer-moderno {
    width: 100%;
    background: rgba(2, 16, 36, 0.9); /* Azul muy oscuro profundo */
    backdrop-filter: blur(10px);
    color: white;
    padding: 60px 0 20px 0;
    margin-top: 150px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
    gap: 40px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-section h3 {
    color: whitesmoke;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 2px;
  }
  
  .footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid goldenrod;
    display: inline-block;
  }
  
  .footer-section p {
    line-height: 1.6;
    color: whitesmoke;
  }
  
  .footer-section ul {
    list-style: none;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section ul li a {
    color: whitesmoke;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .footer-section ul li a:hover {
    color: goldenrod;
    padding-left: 5px;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
  }
  
  .social-icon:hover {
    background: rgb(197, 162, 55);
    transform: translateY(-5px);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: whitesmoke;
  }

/* Estilo 3D (Cristal Flotante) */
#texto, #conta, .form {
    background: rgba(255, 255, 255, 0.05); /* Más transparente para realismo */
    backdrop-filter: blur(15px); /* Más borroso */
    border-radius: 20px;
    
    /* EL EFECTO 3D */
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    
    /* Sombra profunda para simular altura */
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3), /* Sombra lejana */
        0 0 0 1px rgba(255, 255, 255, 0.1) inset; /* Brillo interno */
    
    /* Preparación para animación */
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
}

/* Efecto al pasar el mouse sobre el texto */
#texto:hover, #conta:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2) inset; /* Resplandor interno */
    background: rgba(255, 255, 255, 0.1);
}




/*para celular*/
@media (max-width: 768px){
  .footer-moderno {
    padding: 40px 0 20px 0; /* Un poco menos de espacio arriba */
}

.footer-content {
    flex-direction: column; /* Una columna debajo de la otra */
    text-align: center;      /* Centramos el texto para móvil */
    gap: 40px;
}

.footer-section {
    min-width: 100%;
}

.footer-section h4 {
    display: block; /* La línea decorativa ocupará más espacio visual */
    margin: 0 auto 15px auto;
    width: fit-content;
}

.social-links {
    justify-content: center; /* Centra los iconos de redes sociales */
}

.footer-bottom {
    margin-top: 30px;
    font-size: 12px; /* Texto un poco más pequeño para pantallas pequeñas */
}

    .video-servicios {
        bottom: 20px;
    }

    .video-servicios a {
        font-size: 16px;
        padding: 12px 28px;
    }

    .container{
        padding-top: -50px;
    }

    #logo{
        margin-top: -190px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #logo img{
        width: 95vw;
        max-width: 600px;
        object-fit: contain;
        filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
        border-radius: 10px;
        margin: 0 auto;
    }

    #menu{
        margin-top: -50px;
    }

    #menu ul{
        gap:15px;
        padding:  6px 12px;
    }

    #menu ul li a{
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    #texto{
        width: 90%;
        margin-top: 20px;
    }

    #texto h1{
        font-size: 28px;
    }

    #texto p{
        font-size: 15px;
        line-height: 1.6;
    }

    #video video{
        border-radius:15px;
        height: 220px;
    }

    .caja-cuadro{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 40px;
    }

    .cuadro{
        width: fit-content;
        max-width: 85%;
        margin-top: 30px;
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }

    .cuadro img{
        width: 100%;
        height: auto;          /* elimina la altura forzada */
        max-height: 350px;     /* límite visual correcto */
        object-fit: contain;
        padding: 10px;
    }

    .cuadro-texto h3{
        font-size: 20px;
    }

    .cuadro-texto p{
        font-size: 15px;
        line-height: 1.6;
    }

    .cuadros{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .servicio-card img{
        height: 20px;
    }

    .container .from{
        width: 90%;
        max-width: 320px;
        margin-top: 40px;
    }

    .card{
        gap: 12px;
        padding: 15px;
    }

    .socialContainer{
        width: 45px;
        height: 45px;
    }
}