/**
 * Schaller & Ponce — Estilos de contenido modal
 * Paleta nueva: crema / rojo / texto oscuro
 * Aplica a: servicios.html, noticias, quienes-somos, etc.
 */

/* =====================================================
   TIPOGRAFÍA GENERAL DEL MODAL BODY
===================================================== */

.modal-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #c62828;
    margin: 32px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body h3 i {
    color: #c62828;
    font-size: 1.2rem;
}

.modal-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c62828;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body h4 i { color: #c62828; }

.modal-body p {
    color: #5a5248;
    line-height: 1.75;
    margin-bottom: 12px;
}

.modal-body strong { color: #2c2820; }

.modal-body em { color: #5a5248; }

/* =====================================================
   BLOCKQUOTE
===================================================== */

.modal-body blockquote {
    border-left: 4px solid #c62828;
    padding: 14px 20px;
    margin: 20px 0;
    background: rgba(198,40,40,0.05);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.modal-body blockquote p {
    margin: 0;
    color: #5a5248;
}

/* =====================================================
   TARJETAS DE CONCEPTO
===================================================== */

.concept-card {
    background: #ffffff;
    border: 1px solid #e4ddd3;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 18px 0;
    transition: all 0.25s ease;
}

.concept-card:hover {
    border-color: rgba(198,40,40,0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,40,32,0.10);
}

.concept-card h4 {
    color: #c62828;
    margin-top: 0;
    font-size: 1.05rem;
}

.concept-card h4 i { color: #c62828; }

.concept-card .icon {
    font-size: 2.2rem;
    color: #c62828;
    margin-bottom: 12px;
    display: block;
}

.concept-card p { margin-bottom: 8px; }

/* =====================================================
   GRID DE TARJETAS
===================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

/* =====================================================
   LISTAS CON ÍCONO (icon-list)
===================================================== */

.icon-list {
    list-style: none;
    margin: 10px 0 0;
    padding-left: 0;
}

.icon-list li {
    padding: 5px 0 5px 28px;
    position: relative;
    color: #5a5248;
    font-size: 0.95rem;
    line-height: 1.65;
}

.icon-list li::before {
    content: "▸";
    position: absolute;
    left: 8px;
    color: #c62828;
    font-size: 1em;
    font-weight: 700;
    top: 5px;
}

.icon-list li strong { color: #2c2820; }

/* =====================================================
   SEPARADORES
===================================================== */

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #c62828, transparent);
    margin: 32px 0;
    border: none;
}

/* =====================================================
   CAJAS DESTACADAS
===================================================== */

.highlight-box {
    background: rgba(198,40,40,0.05);
    border-left: 4px solid #c62828;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h4 {
    color: #c62828;
    margin-top: 0;
    border: none;
    padding: 0;
}

.info-box {
    background: rgba(44,40,32,0.04);
    border-left: 4px solid #9b9188;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 10px 10px 0;
}

.info-box h4 {
    color: #5a5248;
    margin-top: 0;
    border: none;
    padding: 0;
    font-size: 1rem;
}

.info-box ul {
    color: #5a5248;
    padding-left: 20px;
    margin: 8px 0 0;
}

/* =====================================================
   BADGES
===================================================== */

.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 5px 5px 0;
}

.badge-primary { background: #c62828; color: white; }
.badge-info    { background: #1565c0; color: white; }
.badge-success { background: #2e7d32; color: white; }

/* =====================================================
   NOTICIAS
===================================================== */

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e4ddd3;
    border-radius: 12px;
    padding: 20px 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44,40,32,0.10);
    border-color: rgba(198,40,40,0.35);
}

.news-header { margin-bottom: 10px; }

.news-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c62828;
    background: rgba(198,40,40,0.07);
    border: 1px solid rgba(198,40,40,0.25);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.news-title {
    margin: 0 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: #2c2820;
}

.news-date {
    color: #9b9188;
    font-size: 0.82rem;
    font-style: italic;
}

.news-date i { color: #c62828; margin-right: 4px; }

.news-description {
    color: #5a5248;
    line-height: 1.7;
    margin: 10px 0 14px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 14px;
}

.news-tag {
    background: rgba(198,40,40,0.07);
    color: #c62828;
    padding: 3px 11px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(198,40,40,0.25);
    transition: all 0.2s ease;
    cursor: default;
}

.news-tag:hover {
    background: #c62828;
    color: white;
    border-color: #c62828;
}

.news-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e4ddd3;
}

.news-read-more {
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.news-read-more:hover { color: #e53935; text-decoration: underline; }

.news-loading,
.news-empty {
    text-align: center;
    padding: 48px 20px;
    color: #9b9188;
}

.news-loading i,
.news-empty i { color: #c62828; margin-bottom: 16px; }

.news-loading p,
.news-empty p { color: #9b9188; margin-top: 10px; }

.news-empty h3 { color: #5a5248; margin: 12px 0 8px; font-size: 1.1rem; }

/* Disclaimer link */
.disclaimer-link {
    font-size: 0.82rem;
    color: #9b9188;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.disclaimer-link:hover { color: #c62828; }

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =====================================================
   PERFIL / QUIÉNES SOMOS
===================================================== */

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.profile-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e4ddd3;
}

.profile-card h4 { color: #c62828; }

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

@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
    .two-column-layout { grid-template-columns: 1fr; }
    .modal-body h3 { font-size: 1.2rem; }
}
