/* Estilo de las páginas de rubro y de zona (las arma sitios/herramientas/armar-seo-accesorios.py). */
:root { --bg: #f5f7fb; --surface: #fff; --fg: #0a0f1c; --muted: #5a6478; --line: #e2e7f0; --accent: #2563eb; --soft: #e8f0ff; --night: #05070d; --night-fg: #eef3ff; --night-muted: #9aa6bf; --grad: linear-gradient(100deg, #2563eb 0%, #06b6d4 100%); }
@media (prefers-color-scheme: dark) { :root { --bg: #070a12; --surface: #0f1524; --fg: #e8eefb; --muted: #94a0b8; --line: #1f2a40; --accent: #4f8bff; --soft: #14213d; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); }
h1, h2 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); margin-bottom: 12px; }
p { margin: 0 0 10px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
section { padding: 40px 0; }
.gris { background: var(--surface); border-block: 1px solid var(--line); }
.muted, .nota { color: var(--muted); }
.nota { font-size: 0.86rem; margin-top: 10px; }
.centro { text-align: center; margin-top: 22px; }
.top { background: var(--night); position: sticky; top: 0; z-index: 5; }
.top .fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.marca { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.marca b { font-size: 1.25rem; } .marca b span { color: #22d3ee; }
.marca small { color: var(--night-muted); font-size: 0.8rem; }
@media (max-width: 560px) { .marca small { display: none; } }
.top nav { display: flex; gap: 14px; align-items: center; }
.top nav a { color: var(--night-fg); text-decoration: none; font-size: 0.93rem; }
.top nav a.wa { background: #fff; color: #0a0f1c; border-radius: 10px; padding: 6px 12px; font-weight: 600; }
.portada { background: var(--night); color: var(--night-fg); position: relative; overflow: hidden; }
.portada::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 55% at 85% 20%, rgba(6,182,212,0.5), transparent 70%), radial-gradient(45% 60% at 10% 95%, rgba(37,99,235,0.6), transparent 72%); filter: blur(40px); pointer-events: none; }
.portada .wrap { position: relative; }
.migas { font-size: 0.85rem; color: var(--night-muted); }
.migas a { color: #7dd3fc; }
.bajada { color: var(--night-muted); font-size: 1.08rem; max-width: 62ch; margin-top: 12px; }
.datos { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.datos li { border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); border-radius: 999px; padding: 6px 12px; font-size: 0.9rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.btn.grad { background: var(--grad); color: #fff; }
.btn.blanco { background: #fff; color: #0a0f1c; }
.dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
@media (max-width: 820px) { .dos { grid-template-columns: minmax(0, 1fr); } }
.destacado { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.pasos { padding-left: 20px; margin: 0; } .pasos li { margin-bottom: 10px; }
.grilla { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.grilla li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; line-height: 1.3; }
.grilla img, .sin-foto { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; height: auto; }
.grilla b { font-size: 1.1rem; margin-top: auto; }
.tabla { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.tabla th, .tabla td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabla td:not(:first-child), .tabla th:not(:first-child) { white-space: nowrap; text-align: right; }
.zonas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.zonas a { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--fg); }
.zonas span { color: var(--muted); font-size: 0.9rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-top: 8px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
footer { background: var(--night); color: var(--night-muted); padding: 32px 0 40px; font-size: 0.9rem; }
footer b { color: #fff; }
.titulo-links { color: #fff; font-weight: 600; margin: 18px 0 6px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.links a { color: var(--night-muted); }
