/* === ESTILO GENERAL (MISMO MODELO INSTITUCIONAL) === */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(180deg, #f0f6ff, #ffffff);
    color: #333;
}

/* === HERO PRINCIPAL === */
.hero {
    background: linear-gradient(135deg, #0074E4, #00a8e8);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
    animation: spin 10s infinite linear;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1.1rem;
    color: #eaf4ff;
    max-width: 700px;
    margin: auto;
}

/* === CONTENEDOR PRINCIPAL === */
main {
    padding: 60px 20px;
    background: #f3f6fb;
    min-height: 100vh;
}
.container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    animation: fadeIn 1s ease;
}

/* === TÍTULO DE SECCIÓN === */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    color: #0074E4;
    font-size: 2.1em;
    margin-bottom: 10px;
    font-weight: 600;
}
.section-title p {
    color: #555;
    font-size: 1.05em;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

/* === TARJETAS DE DOCUMENTOS === */
.doc-card {
    margin-bottom: 50px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}
.doc-card h3 {
    color: #0074E4;
    margin-bottom: 12px;
    font-weight: 600;
}
.doc-card iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    transition: height 0.2s;
}
.doc-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* === BOTONES === */
.doc-actions {
    text-align: right;
    margin-bottom: 10px;
}
.doc-actions a,
.doc-actions button {
    margin-right: 8px;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.doc-actions a:hover,
.doc-actions button:hover {
    transform: scale(1.05);
}
.btn-open {
    background: #e9f2ff;
    color: #0074E4;
    text-decoration: none;
    border: none;
}
/*n.btn-download {
    background: #0074E4;
    color: white;
    text-decoration: none;
    border: none;
}
*/
.btn-zoom-in {
    background: #28a745;
    color: white;
    border: none;
}
.btn-zoom-out {
    background: #dc3545;
    color: white;
    border: none;
}

/* === ANIMACIONES === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
}