/* CS DESIGN — Páginas de servicio. Reutiliza los tokens y componentes de styles.css. */
.nav.page { background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav.page .nav-links a.on { color: var(--fg); }
.s-hero { padding: calc(80px + clamp(48px, 8vw, 110px)) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); background:
  radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--ink); }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--fg); }
.s-hero h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 800; line-height: 1.02; max-width: 16ch; margin: 18px 0 22px; }
.s-hero .lead { max-width: 58ch; }
.s-hero .row-btns { margin-top: 32px; }
.s-sec { padding-block: clamp(56px, 8vw, 110px); }
.s-sec + .s-sec { border-top: 1px solid var(--line); }
.s-alt { background: var(--ink-2); }
.s-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.s-grid.rev > :first-child { order: 2; }
.s-copy h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; margin: 14px 0 18px; }
.s-copy p { color: var(--fg-3); max-width: 60ch; }
.s-copy p + p { margin-top: 14px; }
.s-copy ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.s-copy li { position: relative; padding-left: 26px; color: var(--fg-2); }
.s-copy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.s-media { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.s-media img, .s-media video { width: 100%; height: auto; object-fit: cover; }
.s-media.tall { max-width: 420px; justify-self: center; }
.s-media figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: var(--panel); }
.s-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.s-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.s-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.s-card p { color: var(--fg-3); font-size: 16px; }
.s-card a.more { display: inline-block; margin-top: 14px; color: var(--accent-text); font-weight: 700; font-size: 15px; }
.s-title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; margin-top: 14px; max-width: 22ch; }
.s-proj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.s-proj article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.s-proj article img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.s-proj .pbody { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.s-proj h3 { font-size: 21px; }
.s-proj p { color: var(--fg-3); font-size: 16px; }
.s-proj .pbody .row-btns { margin-top: auto; padding-top: 10px; }
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; color: var(--accent-text); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-3); padding-bottom: 20px; }
.s-cta { text-align: center; }
.s-cta .s-title { margin-inline: auto; }
.s-cta .lead { margin: 16px auto 0; }
.s-cta .row-btns { justify-content: center; margin-top: 30px; }
.s-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.s-related a { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--fg-2); transition: border-color .3s, color .3s; }
.s-related a:hover { border-color: var(--fg); color: var(--fg); }
@media (max-width: 900px) {
  .s-grid { grid-template-columns: minmax(0, 1fr); }
  .s-grid.rev > :first-child { order: 0; }
  .s-cards { grid-template-columns: minmax(0, 1fr); }
  .s-proj { grid-template-columns: minmax(0, 1fr); }
}
