/* Estilos compartidos de los artículos de SmartCRM+ (misma estructura que los demás artículos del blog, en violeta). */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Hanken Grotesk', system-ui, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
nav { background: #051C48; padding: 1.2rem 2rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(0,198,211,0.08); }
.nav-logo { display: flex; align-items: center; text-decoration: none; height: 34px; }
.nav-logo img { height: 100%; width: 34px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #8792A5; text-decoration: none; font-size: 0.87rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #00C6D3; }
.nav-links .btn { background: linear-gradient(90deg,#00C6D3,#00098B); color: #fff; padding: 0.5rem 1.3rem; border-radius: 100px; font-weight: 600; font-size: 0.85rem; }
.nav-links .btn:hover { color: #fff; box-shadow: 0 12px 26px rgba(0,9,139,.28); }
.article-hero { background: linear-gradient(135deg, #051C48 0%, #1e0b4b 60%, #0b0620 100%); padding: 70px 24px 60px; text-align: center; border-bottom: 1px solid rgba(124,58,237,0.2); }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: #8792A5; margin-bottom: 1.5rem; }
.breadcrumb a { color: #8792A5; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #a78bfa; }
.article-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(124,58,237,0.14); color: #c4b5fd; padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: 1px solid rgba(167,139,250,0.3); margin-bottom: 1.2rem; }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #f1f5ff; line-height: 1.2; margin: 0 auto 1.2rem; letter-spacing: -1px; max-width: 780px; }
.article-hero .lead { font-size: 1.1rem; color: #a3adc2; max-width: 640px; margin: 0 auto 2rem; line-height: 1.8; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; color: #8792A5; font-size: 0.82rem; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }
.article-layout { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.article-body h2 { font-size: 1.6rem; font-weight: 800; color: #051C48; margin: 2.5rem 0 1rem; letter-spacing: -0.5px; line-height: 1.3; padding-top: 1rem; border-top: 2px solid #e2e8f0; }
.article-body h2:first-child { border-top: none; margin-top: 0; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: #5b21b6; margin: 2rem 0 0.8rem; }
.article-body h3 i { color: #7c3aed; margin-right: 8px; }
.article-body p { margin-bottom: 1.2rem; color: #374151; font-size: 0.97rem; }
.article-body ul, .article-body ol { margin: 0.8rem 0 1.2rem 1.5rem; color: #374151; }
.article-body li { margin-bottom: 0.5rem; font-size: 0.97rem; }
.article-body strong { color: #051C48; font-weight: 700; }
.article-body a { color: #00098B; }
.shot { display: block; width: 100%; height: auto; border-radius: 14px; margin: 0 0 1.8rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 34px rgba(5,28,72,.14); }
.shot-caption { font-size: 0.8rem; color: #6B7280; margin: -1.2rem 0 1.8rem; text-align: center; }
.highlight-box { background: #f5f3ff; border-left: 4px solid #7c3aed; border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { margin: 0; color: #4c1d95; font-size: 0.95rem; }
.highlight-box strong { color: #2e1065; }
.warning-box { background: #fef2f2; border-left: 4px solid #ef4444; border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 1.5rem 0; }
.warning-box p { margin: 0; color: #991b1b; font-size: 0.95rem; }
.stat-box { background: linear-gradient(135deg, #1e0b4b, #051C48); border-radius: 12px; padding: 2rem; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat-item .number { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 800; color: #c4b5fd; line-height: 1; }
.stat-item .label { font-size: 0.8rem; color: #a3adc2; margin-top: 0.4rem; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.module-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.2rem; transition: all 0.25s; }
.module-card:hover { border-color: #c4b5fd; box-shadow: 0 4px 16px rgba(124,58,237,0.1); }
.module-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg,#00C6D3,#00098B); color: #fff; box-shadow: 0 8px 18px rgba(0,9,139,.22); font-size: 1.15rem; margin-bottom: 0.6rem; }
.module-card h4 { font-size: 0.95rem; font-weight: 700; color: #051C48; margin-bottom: 0.4rem; }
.module-card p { font-size: 0.83rem; color: #6B7280; line-height: 1.5; margin: 0; }
.process-steps { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.2rem; }
.step-number { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#00C6D3,#00098B); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content h4 { font-size: 0.95rem; font-weight: 700; color: #051C48; margin-bottom: 0.3rem; }
.step-content p { font-size: 0.85rem; color: #6B7280; margin: 0; line-height: 1.5; }
.product-box { margin: 2rem 0; padding: 1rem 1.25rem; border-left: 4px solid #00098B; background: #F3F5FB; border-radius: 8px; line-height: 1.7; }
.product-box a { font-weight: 700; }
.article-cta { background: linear-gradient(135deg, #5b21b6, #00098B); border-radius: 16px; padding: 40px 32px; text-align: center; margin: 3rem 0; }
.article-cta h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 0.8rem; }
.article-cta p { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; }
.article-cta .btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: #00098B; padding: 0.85rem 2rem; border-radius: 100px; font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: all 0.2s; }
.article-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.related-section { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid #e2e8f0; }
.related-section h3 { font-size: 1.1rem; font-weight: 700; color: #051C48; margin-bottom: 1.2rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.related-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.2rem; text-decoration: none; color: inherit; transition: all 0.2s; }
.related-card:hover { border-color: #c4b5fd; transform: translateY(-2px); }
.related-card .badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; display: block; color: #7c3aed; }
.related-card h4 { font-size: 0.9rem; font-weight: 700; color: #051C48; line-height: 1.4; }
footer { background: #051C48; color: #8792A5; text-align: center; padding: 2rem; font-size: 0.82rem; }
footer a { color: #8792A5; text-decoration: none; }
footer a:hover { color: #00C6D3; }
@media (max-width: 640px) {
    .module-grid, .related-grid, .stat-box { grid-template-columns: 1fr; }
    nav { padding: 1rem; }
}
