/* Guías: una columna de lectura con el vidrio oscuro de la landing, calculadoras y un llamado a Synergia al final */
:root {
  --bg: #07090b; --panel: rgba(255,255,255,.035); --panel-2: rgba(255,255,255,.06); --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --fg: #e8ece9; --muted: #9aa49e; --dim: #7b847f; --accent: #3ddc97; --accent-ink: #04281a;
  --h2: #f59e5b; --h3: #8aa2ff; --h5: #e3cf5a; --h6: #5ccbe8;
  --glass: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 60%);
  --sans: "Geist", "Segoe UI", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; position: relative; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vmax 60vmax at 90% -10%, color-mix(in srgb, var(--c, #3ddc97) 18%, transparent), transparent 60%), radial-gradient(50vmax 50vmax at -10% 60%, rgba(92,203,232,.1), transparent 60%); }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding-inline: 20px; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(7,9,11,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; max-width: 1120px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #3ddc97, #5ccbe8); box-shadow: 0 0 14px -3px rgba(61,220,151,.6); }
.top nav { display: flex; align-items: center; gap: 16px; font-size: 14.5px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 11px; font-weight: 600; text-decoration: none; color: var(--accent-ink) !important;
  background: linear-gradient(135deg, #3ddc97, #4fd6c4); box-shadow: 0 10px 26px -10px rgba(61,220,151,.75), inset 0 1px 0 rgba(255,255,255,.35); border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.top nav .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.doc { padding-block: 44px 64px; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--dim); text-decoration: none; } .crumbs a:hover { color: var(--fg); }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--accent)); }
h1 { margin: 10px 0 14px; font-size: clamp(32px, 6vw, 48px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.lead { margin: 0; font-size: 19px; color: var(--muted); }
.meta { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; color: var(--dim); }
h2 { margin: 40px 0 10px; font-size: 25px; letter-spacing: -.02em; line-height: 1.2; }
h3 { margin: 22px 0 6px; font-size: 18px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; } li { margin-bottom: 7px; }
strong { color: #fff; }
.card { margin: 22px 0; padding: 20px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px -32px rgba(0,0,0,.85); }
.card h2, .card h3 { margin-top: 0; }
.note { font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--c, var(--accent)); padding: 4px 0 4px 14px; margin: 18px 0; }
/* calculadoras */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.calc input, .calc select { width: 100%; padding: 12px 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--fg); font: inherit; font-size: 16px; }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--c, var(--accent)); }
.result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.result div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.result small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.result b { display: block; font-size: 24px; letter-spacing: -.02em; margin-top: 4px; color: var(--c, var(--accent)); font-variant-numeric: tabular-nums; }
.result span { font-size: 13px; color: var(--muted); }
/* tablas */
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: var(--muted); font-weight: 600; background: rgba(255,255,255,.03); }
tr:last-child td { border-bottom: 0; }
/* preguntas */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--muted); }
/* llamado a Synergia */
.cta { margin: 44px 0 0; padding: 26px; border-radius: 20px; text-align: center; border: 1px solid color-mix(in srgb, var(--c, #3ddc97) 40%, transparent);
  background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--c, #3ddc97) 16%, transparent), transparent 70%), var(--glass); }
.cta h2 { margin: 0 0 8px; }
.cta p { color: var(--muted); max-width: 46ch; margin: 0 auto 18px; }
/* listado de guías */
.guides { display: grid; gap: 12px; margin-top: 26px; }
.guide { display: block; padding: 20px; border-radius: 16px; text-decoration: none; color: var(--fg); background: var(--glass); border: 1px solid var(--line-2); transition: transform .2s, border-color .2s; }
.guide:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.guide b { display: block; font-size: 19px; letter-spacing: -.01em; margin: 6px 0 4px; }
.guide span { color: var(--muted); font-size: 15px; }
.more { display: grid; gap: 8px; margin-top: 12px; }
.more a { text-decoration: none; }
footer { border-top: 1px solid var(--line); padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-family: var(--mono); font-size: 12px; color: var(--dim); }
footer .wrap { max-width: 1120px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: var(--muted); }
@media (max-width: 560px) { .top nav a:not(.btn) { display: none; } body { font-size: 16.5px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .guide { transition: none; } }
