/* ============================================================
   Documentos del Centro — EAVicar
   ============================================================ */

#doc-page {
    font-family: 'Open Sans', sans-serif;
}

/* ---- HERO ---- */
.doc-hero {
    position: relative;
    min-height: 62vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.doc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,46,62,0.90) 0%, rgba(46,163,242,0.48) 100%);
}
.doc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    width: 100%;
}
.doc-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.doc-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.1;
    color: #fff;
}
.doc-hero p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
    margin: 0;
    max-width: 580px;
}
@media (max-width: 768px) {
    .doc-hero { min-height: 50vh; background-attachment: scroll; }
    .doc-hero-inner { padding: 100px 24px 60px; }
}

/* ---- SECCIÓN DOCUMENTOS ---- */
.doc-section {
    background: #f0f6fc;
    padding: 72px 20px 80px;
    min-height: 50vh;
}
.doc-section-inner {
    max-width: 960px;
    margin: 0 auto;
}
.doc-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.doc-section-tag {
    display: inline-block;
    background: #daeefa;
    color: #2ea3f2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.doc-section-header h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #1a2e3e;
    margin: 0 0 10px;
}
.doc-section-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ---- TARJETAS DE DOCUMENTO ---- */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.doc-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
    color: inherit;
}
.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(46,163,242,0.16);
    text-decoration: none;
    color: inherit;
}
.doc-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f4fc, #cde5f7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.doc-card-icon svg {
    width: 26px;
    height: 26px;
    fill: #2ea3f2;
}
.doc-card-body {
    flex: 1;
    min-width: 0;
}
.doc-card-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2ea3f2;
    margin: 0 0 4px;
}
.doc-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a2e3e;
    margin: 0 0 6px;
    line-height: 1.3;
}
.doc-card-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.doc-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.doc-card-size {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}
.doc-card-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #2ea3f2;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s;
    text-decoration: none;
}
.doc-card-btn:hover {
    background: #1a8fd9;
    color: #fff;
    text-decoration: none;
}
.doc-card-btn svg {
    width: 15px;
    height: 15px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* ---- AVISO LEGAL ---- */
.doc-notice {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    border-left: 4px solid #2ea3f2;
}
.doc-notice svg {
    width: 20px;
    height: 20px;
    stroke: #2ea3f2;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 1px;
}
.doc-notice p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .doc-card {
        flex-wrap: wrap;
        padding: 22px 20px;
    }
    .doc-card-meta {
        width: 100%;
        justify-content: flex-end;
    }
    .doc-section { padding: 48px 16px 56px; }
}
