/* Estilos de las páginas de Guías (solo los cargan las guías; no afecta al resto del sitio) */
.page_head .page-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 860px;
    margin: 4px 0 14px 0;
    line-height: 1.6;
}
.seo-section { margin: 0 0 36px 0; }
.seo-section h2 {
    font-size: 1.55rem;
    color: #0c4a6e;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.3;
}
.seo-section h3 {
    font-size: 1.12rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 18px 0 8px 0;
}
.seo-section p {
    margin: 0 0 12px 0;
    line-height: 1.7;
    color: var(--text-main);
}
.seo-section ul, .seo-section ol { line-height: 1.7; color: var(--text-main); }
.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.steps-list li {
    counter-increment: step;
    position: relative;
    padding: 4px 0 16px 48px;
    line-height: 1.6;
    color: var(--text-main);
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0c4a6e;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-faq .faq-item:first-of-type { margin-top: 0; }
.page-faq h3.faq-question { margin: 0; }
.cta-band {
    background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 100%);
    border-radius: 12px;
    padding: 32px 24px;
    margin: 10px 0 40px 0;
    text-align: center;
}
.cta-band h2 {
    color: #ffffff !important;
    font-size: 1.55rem;
    margin: 0 0 10px 0;
}
.cta-band p {
    color: #cbd5e1;
    margin: 0 0 20px 0;
}
.guide-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: -4px 0 20px 0;
}
.guide-toc {
    background: #f8fafc;
    border: 1px solid #dbe6ee;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 0 30px 0;
}
.guide-toc h2 { font-size: 1.05rem; margin: 0 0 10px 0; }
.guide-toc ol { margin: 0; padding-left: 20px; }
.guide-toc li { margin: 4px 0; }
.table-wrap { overflow-x: auto; margin: 10px 0 22px 0; }
.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.guide-table th, .guide-table td {
    border: 1px solid #dbe6ee;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.guide-table th { background: #f0f7fc; color: #0c4a6e; }
.checklist { list-style: none; padding-left: 0; margin: 8px 0 20px 0; }
.checklist li {
    position: relative;
    padding: 6px 0 6px 34px;
    border-bottom: 1px dashed #e2e8f0;
    line-height: 1.55;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 18px;
    height: 18px;
    border: 2px solid #0c4a6e;
    border-radius: 3px;
    background: #ffffff;
}
.guide-callout {
    background: #f0f7fc;
    border-left: 4px solid #0284c7;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 22px 0;
}
.guide-callout p:last-child { margin-bottom: 0; }
.print-btn { margin: 4px 0 18px 0; }
.printable {
    border: 2px solid #0c4a6e;
    border-radius: 8px;
    padding: 22px;
    background: #ffffff;
    margin: 10px 0 24px 0;
}
.printable h3 { margin-top: 0; color: #0c4a6e; }
.sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #94a3b8;
}
.sheet-grid > div {
    border: 1px solid #94a3b8;
    padding: 8px 10px 26px 10px;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 600;
}
.sheet-grid > .wide { grid-column: 1 / -1; padding-bottom: 60px; }
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 10px 0 30px 0;
}
.guide-card {
    border: 1px solid #dbe6ee;
    border-radius: 10px;
    padding: 22px;
    background: #ffffff;
}
.guide-card h2, .guide-card h3 { font-size: 1.15rem; margin: 0 0 8px 0; }
.guide-card p { margin: 0 0 10px 0; }
.sidebar li.current > a { color: #0c4a6e !important; font-weight: 700; }
@media (max-width: 600px) {
    .sheet-grid { grid-template-columns: 1fr; }
}
@media print {
    .main-header, .main-footer, .sidebar, .cta-band,
    a[href*="wa.me"], .print-btn, #breadcrumbs { display: none !important; }
    .wrapper { padding-top: 0 !important; }
    body:has(.printable) * { visibility: hidden; }
    body:has(.printable) .printable, body:has(.printable) .printable * { visibility: visible; }
    body:has(.printable) .printable { position: absolute; left: 0; top: 0; width: 100%; border: 0; }
    .checklist li { break-inside: avoid; }
}
