/* Páginas de servicios y sectores · se apoya en styles.css */
.page-hero { padding: 130px 0 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; }
.hero-facts li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .9rem; color: var(--muted); }
.hero-facts b { color: var(--text); }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-bottom: 40px; }
.prose { font-size: 1.04rem; color: #cfcce2; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 14px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--text); }
.prose p { margin-bottom: 14px; max-width: 72ch; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 14px 0 20px; }
.prose ul li { position: relative; padding-left: 28px; max-width: 70ch; }
.prose ul li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 227, 155, .15); color: #22e39b; font-size: .72rem; font-weight: 800; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .note-box { border-left: 3px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; font-size: .96rem; }

.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.aside-card.featured { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.aside-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.aside-card .price { font-size: 2.4rem; margin: 10px 0 4px; }
.aside-card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.aside-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; font-size: .92rem; }
.aside-card ul li::before { content: "✓ "; color: #22e39b; font-weight: 800; }
.aside-card .btn + .btn { margin-top: 8px; }
.demo-link { display: grid; gap: 10px; }
.demo-link img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--border); }

.steps-mini { list-style: none; counter-reset: s; display: grid; gap: 12px; margin: 14px 0 20px; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps-mini li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px rgba(124, 92, 255, .5); }

.related { padding: 40px 0 20px; }
.related h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.related-grid a { padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.related-grid a:hover { border-color: rgba(124, 92, 255, .6); transform: translateY(-3px); }
.related-grid b { display: block; margin-bottom: 4px; }
.related-grid span { color: var(--muted); font-size: .9rem; }

.cta-band { margin: 40px 0 70px; padding: clamp(28px, 5vw, 52px); border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 0% 0%, rgba(124, 92, 255, .28), transparent 55%), radial-gradient(circle at 100% 100%, rgba(0, 212, 255, .2), transparent 55%), var(--bg-2); border: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.cta-band .row-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; padding: 34px 0 10px; border-top: 1px solid var(--border); }
.footer-links h2 { font-size: .95rem; margin-bottom: 10px; letter-spacing: 0; }
.footer-links ul { list-style: none; display: grid; gap: 6px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 980px) {
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
}
@media (max-width: 600px) {
  .page-hero { padding-top: 110px; }
  .page-hero .btn { flex: 1 1 100%; }
}
