/* ============================================================
   SECCIÓN PLAN MUNICIPAL
   ============================================================ */

section#plan-municipal {
    padding: 2rem 1rem;
    background-color: white;
    margin: 1rem auto;
    max-width: 1100px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* TÍTULO */
section#plan-municipal h1 {
    text-align: center;
    color: #001f3f;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
}

/* TEXTO INTRODUCTORIO */
section#plan-municipal .intro {
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.05rem;
    text-align: justify; 
    color: #333;
}

/* GRID DE EJES */
.ejes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.7rem;
}

/* TARJETA DE EJE */
.eje {
    background: white;
    border-left: 6px solid #001f3f;
    padding: 1.6rem 1.3rem;
    border-radius: 12px;
    text-align: justify;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* HOVER */
.eje:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.15);
}

/* TÍTULO DE EJE */
.eje h3 {
    color: #001f3f;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

/* TEXTO DE EJE */
.eje p {
    font-size: .95rem;
    font-weight: 600;
    color: #444;
    margin: 0;
}

/* BOTÓN PDF */
.descarga-pdf {
    margin-top: 3rem;
    text-align: center;
}

.descarga-pdf a {
    display: inline-block;
    background-color: #001f3f;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,0.20);
    transition: background-color .25s ease, transform .25s ease;
}

/* HOVER BOTÓN */
.descarga-pdf a:hover {
    background-color: #003366;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 600px) {

    section#plan-municipal h1 {
        font-size: 1.8rem;
    }

    section#plan-municipal .intro {
        font-size: 1rem;
    }
}

/* ============================================================
   GRID MEJORADO PARA EJES
============================================================ */
.ejes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* reparte tarjetas uniformemente */
    gap: 1.8rem;
}

/* TARJETA DE EJE */
.eje {
    flex: 1 1 calc(50% - 1.8rem); /* 2 tarjetas por fila en desktop */
    max-width: calc(50% - 1.8rem);
    background: white;
    border-left: 6px solid #001f3f;
    border-radius: 12px;
    padding: 1.8rem 1.4rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Ajuste para móviles */
@media (max-width: 900px) {
    .eje {
        flex: 1 1 100%; /* una tarjeta por fila */
        max-width: 100%;
    }
}
