/* ========== CONTENT PAGES (blog, services, legal) ========== */
/* Reuses the root layout: header.encabezado + main > .container (main.css). */
/* The business name in the header is NOT an <h1> here, so each page keeps */
/* its own <h1> (with its keyword) for SEO. */

.brand-link { display: flex; align-items: center; gap: var(--spacing-md); text-decoration: none; }
.brand-name { font-size: var(--font-size-2xl); font-weight: 600; color: var(--text-primary); display: block; }
.brand-tagline { font-size: var(--font-size-sm); color: var(--text-secondary); margin-top: var(--spacing-xs); display: block; }

/* Content inside the white card (.container.prose) */
.prose .back-link { display: inline-block; margin-bottom: 20px; color: var(--primary-color); text-decoration: none; font-size: 14px; }
.prose .back-link:hover { color: var(--primary-hover); }
.prose h1 { font-size: 28px; margin: 0 0 8px; color: var(--text-primary); line-height: 1.25; }
.prose .lead { color: var(--text-secondary); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.prose .date, .prose .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.prose h2 { font-size: 20px; margin-top: 30px; margin-bottom: 12px; color: var(--primary-color); }
.prose h3 { font-size: 16px; margin-top: 18px; margin-bottom: 8px; color: var(--text-primary); }
.prose p, .prose li { line-height: 1.7; color: var(--text-secondary); font-size: 15px; }
.prose ul { padding-left: 24px; }
.prose a { color: var(--primary-color); }
.prose a:hover { color: var(--primary-hover); }
.prose strong { color: var(--text-primary); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.prose th, .prose td { padding: 8px; border: 1px solid var(--border-color); text-align: left; }
.prose th { background: var(--bg-secondary); }

.prose .cta { background: var(--primary-color); color: #fff; text-decoration: none; display: inline-block; padding: 14px 36px; border-radius: var(--border-radius); font-weight: 600; font-size: 15px; transition: all 0.2s ease; }
.prose .cta:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.prose .cta-wrap { text-align: center; margin: 36px 0 4px; }

.prose .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 16px 0; }
.prose .step { background: var(--bg-secondary); border-radius: 10px; padding: 16px; }
.prose .step .num { display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; background: var(--primary-color); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.prose .step strong { display: block; margin-bottom: 4px; font-size: 14px; color: var(--text-primary); }
.prose .step .step-desc { font-size: 13px; color: var(--text-muted); }

.prose .post-card { display: block; background: var(--bg-secondary); border-radius: 12px; padding: 20px; margin-bottom: 16px; text-decoration: none; transition: transform 0.15s ease; }
.prose .post-card:hover { transform: translateY(-2px); }
.prose .post-card h2 { font-size: 18px; margin: 0 0 6px; }
.prose .post-card .date { margin-bottom: 8px; }
.prose .post-card p { margin: 0; font-size: 14px; }

.prose .faq-item { margin-bottom: 16px; }
.prose .faq-item h3 { margin-bottom: 4px; }
.prose .empty { color: var(--text-muted); font-size: 15px; }

@media (max-width: 600px) {
    .brand-name { font-size: var(--font-size-xl); }
    .prose h1 { font-size: 23px; }
    .prose h2 { font-size: 17px; margin-top: 24px; }
}
