*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    overflow-x:hidden;
}

body{
    background:#f3f3f3;
    font-family:Arial, Helvetica, sans-serif;
    margin:0;
}

/* CONTENEDOR PRINCIPAL */
.plan-container{
    max-width:1500px;
    margin:30px auto;
    background:white;
    display:flex;
    overflow:hidden;
    border-radius:10px;
    box-shadow:0 5px 25px rgba(0,0,0,0.15);
    width:100%;
}

/* BARRA LATERAL */
.sidebar {
    width: 100px;
    background: #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family:'Montserrat', sans-serif;
}

.sidebar h1 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: white;
    font-size: 40px;
    letter-spacing: 3px;
    font-weight: bold;
    text-align: center;
} 

/* CONTENIDO PRINCIPAL */
.content {
    flex: 1;
    padding: 40px;
}

/* TITULOS */
.main-title {
    font-size: 50px;
    color: #dc3545;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family:'Montserrat', sans-serif;
}

/* VISIÓN */
.vision-box {
    margin-bottom: 40px;
    border-bottom: 2px dashed #cfcfcf;
    padding-bottom: 25px;
}

.vision-box h2 {
    font-size: 40px;
    color: #444;
    margin-bottom: 15px;
}

.vision-box p {
    font-size: 23px;
    line-height: 1.8;
    color: #555;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* SECCIONES */
.section {
    border-bottom: 2px dashed #d0d0d0;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.section-number {
    font-size: 50px;
    color: #777;
    font-weight: bold;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    color: #444;
    text-transform: uppercase;
    font-family:'Montserrat', sans-serif;
}

.section-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.section-content ul {
    flex: 1;
    padding-left: 25px;
}

.section-content li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 19px;
    color: #444;
}

/* IMÁGENES */
.images {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.images img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

/* LADO DERECHO */
.side-info {
    border-left: 3px solid #ccc;
    padding-left: 30px;
}

.side-title {
    font-size: 40px;
    font-weight: bold;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
    font-family:'Montserrat', sans-serif;
}

.policy {
    margin-bottom: 45px;
    text-align: center;
}

.policy img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.policy h3 {
    font-size: 25px;
    color: #444;
    margin-bottom: 12px;
    font-family:'Montserrat', sans-serif;
}

.policy p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* FINAL POLÍTICO */
.final-politico {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.precandidatos-img img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.logos-img img {
    width: 300px;
    height: auto;
    object-fit: contain;
}

/* RESPONSIVE GENERAL */
@media (max-width: 1200px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .side-info {
        border-left: none;
        border-top: 3px solid #ccc;
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    .plan-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .sidebar h1 {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 20px;
    }

    .content {
        padding: 20px;
    }

    .main-title {
        font-size: 30px;
    }

    .vision-box h2 {
        font-size: 30px;
        font-weight: bold;
    }

    .vision-box p {
        font-size: 18px;
    }

    .section-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 23px;
    }

    .images img {
        width: 75px;
        height: 75px;
    }

    .final-politico {
        flex-direction: column;
        text-align: center;
    }

    .logos-img img {
        width: 140px;
    }
}

.plan-box{
    width: 100%;
    margin-top: 30px;
}

@media (max-width: 768px) {

    body {
        padding: 0;
    }

    .plan-container {
        margin: 0;
        border-radius: 0;
        width: 100%;
    }
}


.policy2 {
    margin-bottom: 45px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy2 img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
    max-width: 100%;
}

@media (max-width: 600px) {
    .policy2 img {
        width: 150px;
        height: 150px;
    }
}

.policy3 {
    text-align: center;
    margin-top: 40px; /* margen arriba */
}

.policy3 img {
    width: 230px;
    height: 230px;
    object-fit: cover;

    border-radius: 50%;


    display: block;
    margin: 0 auto 15px;

    max-width: 100%;

    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    
    padding: 5px;
}

/* Celular */
@media (max-width: 600px) {
    .policy3 img {
        width: 150px;
        height: 150px;
    }

    .policy3 {
        margin-top: 50px;
    }
}