@media (max-width: 768px) {
    .privacy-box {
        width: 300px;
        height: auto; /* ✅ Permite que se ajuste según el contenido */
        padding: 12px;
        border-radius: 10px;
        max-height: 65vh; /* ✅ Mayor altura para mostrar más texto */
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: start; /* ✅ Asegura que el contenido se alinee arriba */
        align-items: center;
    }

    /* Ajuste de fuentes */
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    .privacy-content h4 {
        font-size: 14px;
    }

    .privacy-content p {
        font-size: 13px;
    }

    .volver-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .privacy-box {
        width: 90%;
        padding: 10px;
        border-radius: 8px;
        max-height: 60vh; /* ✅ Más altura para evitar cortes */
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 15px;
    }

    .privacy-content h4 {
        font-size: 13px;
    }

    .privacy-content p {
        font-size: 12px;
    }

    .volver-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}
@media (max-width: 375px) {
    .privacy-box {
        width: 85%; /* ✅ Más compacto */
        padding: 8px;
        border-radius: 6px;
        max-height: 55vh; /* ✅ Mayor altura para mostrar más texto */
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: start; /* ✅ Asegura que el contenido se alinee arriba */
        align-items: center;
    }

    /* Ajuste de fuentes */
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 15px;
    }

    .privacy-content h4 {
        font-size: 13px;
    }

    .privacy-content p {
        font-size: 12px;
    }

    .volver-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}
