/* Estilo claro para artículos técnicos y calculadora · se usa junto con blog.css */
.container { max-width: 860px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.hero { padding: 8.5rem 0 2.5rem; }
.badge, .tag, .solution-tag { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border); color: var(--accent-2); padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge { margin-bottom: 1.3rem; box-shadow: 0 6px 18px rgba(91,61,245,0.08); }
.solution-tag { padding: 0.25rem 0.7rem; font-size: 0.68rem; background: #f0ecff; border-color: transparent; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 1rem; }
h1 em { font-style: normal; color: var(--accent-2); background: linear-gradient(transparent 72%, rgba(109,74,255,0.2) 72%); }
.subtitle { color: var(--muted); max-width: 660px; margin-bottom: 2.5rem; font-size: 1.1rem; line-height: 1.7; }

.solution { background: #fff; border-radius: 22px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 14px 40px rgba(91,61,245,0.08); }
.solution-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.solution h2 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.3; }
.solution p { color: #43456c; font-size: 0.95rem; margin: 0.75rem 0; }
pre { background: #17153d; border-radius: 14px; padding: 1.25rem; overflow-x: auto; margin: 1rem 0; font-size: 0.82rem; line-height: 1.65; box-shadow: 0 12px 30px rgba(23,21,61,0.25); }
code { font-family: 'Courier New', Consolas, monospace; color: #d8d4ff; }
.inline-code { background: #f0ecff; border-radius: 6px; padding: 0.1rem 0.4rem; font-family: 'Courier New', Consolas, monospace; font-size: 0.84rem; color: var(--accent-2); }
.highlight, .str { color: #86efac; }
.comment, .cm { color: #9a96c8; font-style: italic; }
.kw { color: #fdba74; }
.solution-result { background: #eafbf0; border: 1px solid #bbf0cf; border-radius: 12px; padding: 1rem 1.25rem; margin-top: 1rem; font-size: 0.9rem; color: #2e5a40; }
.solution-result strong { color: #15803d; }

article { padding: 8.5rem 0 3rem; }
.meta { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 1.4rem; flex-wrap: wrap; }
.date { font-size: 0.85rem; color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--text); margin-bottom: 2.5rem; border-left: 4px solid var(--accent); padding-left: 1.25rem; }
article h2 { font-size: 1.65rem; letter-spacing: -0.03em; line-height: 1.2; margin: 2.6rem 0 0.9rem; }
article h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 1.8rem 0 0.5rem; color: var(--accent-2); }
article p { color: #33345f; margin-bottom: 1.1rem; }
.schema-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.88rem; }
.schema-table th { background: #f0ecff; padding: 0.7rem 1rem; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.schema-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: #43456c; background: #fff; }
.schema-table td:first-child { color: var(--accent-2); font-family: 'Courier New', Consolas, monospace; font-size: 0.84rem; }

.cta-box { background: linear-gradient(135deg, #7c5cff, #5b3df5); color: #fff; border-radius: 24px; padding: 2.4rem clamp(1.5rem, 4vw, 2.6rem); text-align: center; margin: 3rem 0 2rem; box-shadow: 0 20px 50px rgba(91,61,245,0.28); }
.cta-box h2, .cta-box h3 { color: #fff; margin: 0 0 0.6rem; font-size: 1.5rem; }
.cta-box p { color: #e4dcff; margin-bottom: 1.5rem; }
.cta-box .btn { background: #fff; color: var(--accent-2); box-shadow: none; }

.related { max-width: none; margin: 2rem 0 3rem; padding: 1.6rem; background: #fff; border-radius: 20px; box-shadow: 0 12px 34px rgba(91,61,245,0.07); }
.related h3, .related h4 { font-size: 0.8rem; font-weight: 700; margin: 0 0 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related-links a { font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--accent-2); background: #f7f5ff; border: 1px solid var(--border); padding: 0.45rem 0.95rem; border-radius: 999px; transition: border-color 0.2s; }
.related-links a:hover { border-color: var(--accent); }

/* calculadora */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-bottom: 1.75rem; }
@media (max-width: 700px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-card { background: #fff; border-radius: 22px; padding: 2rem; box-shadow: 0 14px 40px rgba(91,61,245,0.08); }
.calc-card h2 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 1.5rem; color: var(--accent-2); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-bottom: 0.45rem; text-transform: uppercase; letter-spacing: 0.06em; }
.field input[type=range] { width: 100%; accent-color: var(--accent); margin-bottom: 0.3rem; }
.field .val { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text); }
.field .val span { color: var(--accent-2); }
.result-card { background: linear-gradient(135deg, #f3efff, #ffffff); border: 2px solid rgba(109,74,255,0.25); border-radius: 26px; padding: 2rem; text-align: center; margin-bottom: 2rem; box-shadow: 0 20px 50px rgba(91,61,245,0.12); }
.result-card h2 { font-size: 1rem; color: var(--muted); margin-bottom: 1.2rem; font-weight: 600; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .result-grid { grid-template-columns: 1fr; } }
.result-item { background: #fff; border-radius: 16px; padding: 1.1rem; box-shadow: 0 8px 22px rgba(91,61,245,0.08); }
.result-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; line-height: 1; }
.result-num.red { color: #dc2626; }
.result-num.green { color: #16a34a; }
.result-num.blue { color: var(--accent-2); }
.result-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }
.result-note { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.disclaimer { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 1rem; line-height: 1.6; }
