/* css/public-content.css */

/* Encabezados de Página */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 0 60px;
    margin-bottom: 60px;
}
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* Contenido General */
.content-section { padding: 0 0 80px; }
.text-block { margin-bottom: 40px; line-height: 1.8; color: var(--text-color); font-size: 1.05rem; }
.text-block h2 { color: var(--primary-color); margin-bottom: 20px; font-size: 1.8rem; }
.text-block h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 1.4rem; }

/* Grid de Tarjetas (Servicios/Recursos) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eef2f7;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.info-card i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; display: block; }
.info-card h3 { color: var(--primary-color); margin-bottom: 15px; }
.info-card p { color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }

/* Listas personalizadas */
.check-list { list-style: none; margin: 20px 0; }
.check-list li { padding: 8px 0 8px 30px; position: relative; color: var(--text-color); }
.check-list li::before {
    content: "✓"; color: var(--accent-color); font-weight: bold;
    position: absolute; left: 0; top: 8px;
}

/* Acordeón (Planificación) */
.accordion { margin-top: 30px; }
.accordion-item { border: 1px solid #e9ecef; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.accordion-header {
    background: white; padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: var(--primary-color); transition: background 0.2s;
}
.accordion-header:hover { background: #f8f9fa; }
.accordion-body {
    display: none; padding: 20px; background: #fff; border-top: 1px solid #e9ecef; color: var(--text-light); line-height: 1.6;
}
.accordion-item.active .accordion-body { display: block; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

/* Call to Action */
.cta-box {
    background: var(--bg-light); border-radius: var(--border-radius); padding: 40px; text-align: center; margin-top: 60px;
}
.cta-box h2 { color: var(--primary-color); margin-bottom: 15px; }
.cta-box p { margin-bottom: 25px; color: var(--text-light); }

@media (max-width: 768px) {
    .page-header h1 { font-size: 2.2rem; }
    .cards-grid { grid-template-columns: 1fr; }
}