/* ==========================================
   HERO
========================================== */

.page-hero{

    position: relative;

    padding: 4rem 0;;

    background:
        linear-gradient(
            rgba(255,255,255,.92),
            rgba(255,255,255,.92)
        ),
        url("../img/hero1.jpg");

    background-size: cover;
    background-position: center;

    border-bottom: 1px solid rgba(0,0,0,.05);
}

.page-hero .container{

    max-width: 900px;

    text-align: center;
}

/* Badge */

.hero-badge{

    display: inline-flex;

    align-items: center;

    padding: .7rem 1.3rem;

    border-radius: 999px;

    background: rgba(52,126,191,.08);

    color: var(--secondary-color);

    font-size: .9rem;

    font-weight: 600;

    margin-bottom: 1.5rem;
}

/* Título */

.page-title{

    font-size: clamp(3rem,5vw,4.8rem);

    font-weight: 700;

    line-height: 1.1;

    color: var(--primary-color);

    margin-bottom: 1.5rem;

    letter-spacing: -1px;
}

/* Descripción */

.page-description{

    max-width: 700px;

    margin: auto;

    font-size: 1.1rem;

    line-height: 1.8;

    color: var(--text-light);
}

/* Línea elegante */

.page-title::after{

    content: "";

    display: block;

    width: 90px;

    height: 4px;

    background: var(--secondary-color);

    border-radius: 20px;

    margin: 1.5rem auto 0;
}

/* Responsive */

@media(max-width:768px){

    .page-hero{
        padding: 5rem 0;
    }

    .page-title{
        font-size: 2.4rem;
    }

    .page-description{
        font-size: 1rem;
    }
}

    /* ==========================================
    SECCIÓN DOCUMENTOS
    ========================================== */

    .documents {
        padding: 7rem 0 8rem;
        background: var(--white);
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* Encabezado de sección */
    .section-header {
        margin-bottom: 3.5rem;
        display: flex;
        align-items: flex-end;
        gap: 2rem;
        justify-content: space-between;
    }

    .section-tag {
        display: inline-block;
        font-size: .72rem;
        font-weight: 500;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--accent);
        padding-bottom: .4rem;
        border-bottom: 1px solid var(--accent);
    }

    .section-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 3.5vw, 3rem);
        font-weight: 600;
        color: var(--primary);
        line-height: 1.1;
        letter-spacing: -.02em;
        margin: .5rem 0 0;
    }

    .section-count {
        font-size: .85rem;
        color: var(--text-muted);
        white-space: nowrap;
        padding-bottom: .4rem;
    }

    /* ==========================================
    GRID DE DOCUMENTOS
    ========================================== */

    .documents-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

/* ==========================================
   CONTACTO
========================================== */

.contact-section{

    padding: 6rem 0;

    background: #f8fafb;
}

.contact-grid{

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 2rem;
}

.contact-card{

    background: #ffffff;

    padding: 2.5rem;

    border-radius: 20px;

    border: 1px solid rgba(16,53,94,.08);

    transition: .3s ease;

    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.contact-card:hover{

    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(16,53,94,.10);
}

.contact-card h3{

    color: #10355E;

    font-size: 1.3rem;

    font-weight: 700;

    margin-bottom: 1rem;
}

.contact-card p{

    color: #5f6b77;

    line-height: 1.8;

    margin-bottom: .4rem;
}

.contact-card .btn{

    margin-top: 1rem;
}

/* ==========================================
   BOTÓN WHATSAPP
========================================== */

.contact-card .btn-primary{

    background: #10355E;

    border: none;

    padding: .9rem 1.5rem;

    border-radius: 50px;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: .3s ease;
}

.contact-card .btn-primary:hover{

    background: #0d2b4b;

    transform: translateY(-2px);
}

/* ==========================================
   DESTACAR WHATSAPP
========================================== */

.contact-card:last-child{

    background: linear-gradient(
        135deg,
        #10355E,
        #1b5fa5
    );

    color: white;
}

.contact-card:last-child h3{

    color: white;
}

.contact-card:last-child p{

    color: rgba(255,255,255,.85);
}

.contact-card:last-child .btn-primary{

    background: white;

    color: #10355E;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:768px){

    .page-hero{

        padding: 4rem 0;
    }

    .page-title{

        font-size: 2.4rem;
    }

    .page-description{

        font-size: 1rem;
    }

    .contact-grid{

        grid-template-columns: 1fr;
    }

    .contact-card{

        padding: 2rem;
    }

}