/* =========================
   DOCUMENTO OFICIAL (LIMPIO)
========================= */

.documentos {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1,
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #555;
}

/* CONTENEDOR */
.doc-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* PREVIEW */
.doc-preview {
    flex: 1;
    display: flex;
    justify-content: center;
}

.doc-preview img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    transform: rotate(-5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.doc-preview img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* INFO */
.doc-info {
    flex: 1;
    text-align: center;
}

.doc-info h3 {
    font-size: 1.8rem;
    color: #009fe3;
    margin-bottom: 10px;
}

.doc-info p {
    margin-bottom: 25px;
    color: #555;
}

/* BOTÓN */
.btn-descarga {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #009fe3, #00d4ff);
    color: white;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-descarga:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,159,227,0.6);
}

/* =========================
   BANNER CERTIFICACIÓN (LIMPIO)
========================= */

.cert-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;

    background: #ffffff;
    padding: 15px 20px;
    border-top: 6px solid rgba(0,159,227,0.6);
    border-bottom: 6px solid rgba(0,159,227,0.6);
}

.cert-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #444;
    line-height: 1.4;
}

.cert-text span {
    color: #009fe3;
    font-weight: 800;
}

.cert-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cert-logo img {
    width: 140px;
    height: auto;
}

/* =========================
   RESPONSIVE REAL
========================= */

@media (max-width: 768px) {

    .doc-preview-container {
        flex-direction: column;
        text-align: center;
    }

    .doc-preview img {
        width: 80%;
        max-width: 220px;
    }

    .doc-info h3 {
        font-size: 1.4rem;
    }

    .btn-descarga {
        width: 100%;
        max-width: 250px;
    }

    .cert-text {
        font-size: 1rem;
    }

    .cert-logo img {
        width: 90px;
    }
}