:root {
    --bg: #F3F4FA; --surface: #FFFFFF; --surface-2: #E8EAF3;
    --text: #2B2E52; --text-muted: #62658A; --border: #D7DAEA;
    --primary: #3D4178; --primary-dark: #2B2E52; --primary-tint: #E8EAF3;
    --accent: #E2694F; --accent-dark: #C8543C; --accent-tint: #FBE7E1; --accent-text: #B3442A;
    --shadow: 0 1px 2px rgba(20, 30, 27, 0.06);
    --radius: 10px;
    --serif: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  }
html[data-theme="dark"] {
    --bg: #23253F; --surface: #2E3050; --surface-2: #383A5E;
    --text: #EDEEF9; --text-muted: #B3B6D6; --border: #454877;
    --primary: #A0A5DD; --primary-dark: #A6AAE0; --primary-tint: #282A4D;
    --accent: #F08468; --accent-dark: #F6A088; --accent-tint: #2E2036; --accent-text: #F08468;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.topbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--border); flex-wrap: wrap; row-gap: 8px; }
.brand-mark { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--primary); text-decoration: none; }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.nav-link { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; padding: 8px 13px; border-radius: 8px; text-decoration: none; color: var(--text-muted); border: 1px solid transparent; }
@media (hover: hover) and (pointer: fine) { .nav-link:hover { background: var(--surface-2); } }
.nav-link.is-active { color: var(--primary); background: var(--primary-tint); border-color: var(--border); }
.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.icon-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--surface-2); } }
.icon-btn:focus-visible, a:focus-visible, .nav-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--surface-2); } }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--primary-dark); } }
footer { border-top: 1px solid var(--border); padding: 22px 24px 40px; margin-top: 20px; }
footer p { font-size: 0.78rem; color: var(--text-muted); max-width: 780px; margin: 0 0 8px; }
@media (max-width: 760px) {
    .topbar > div:last-child { width: 100%; min-width: 0; }
    .nav-tools { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .nav-tools::-webkit-scrollbar { display: none; }
    .nav-link { white-space: nowrap; }
  }
html[data-theme="dark"] .btn-primary, html[data-theme="dark"] .btn-fill, html[data-theme="dark"] .annual-banner__cell,
  html[data-theme="dark"] .category-tab.is-active, html[data-theme="dark"] .skip-link, html[data-theme="dark"] .chip[aria-pressed="true"] { color: #14152A; }
.table-wrap { overflow-x: auto; margin: 0 0 14px; }
.table-wrap table { min-width: 560px; }
/* ===== Componentes de la guía ===== */
.gd-wrap { max-width: 1120px; margin: 0 auto; padding: 22px 20px 60px; }
.gd-kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 6px; }
.gd-h1 { font-family: var(--serif); font-size: clamp(1.7rem, 4.2vw, 2.45rem); line-height: 1.12; margin: 0 0 10px; text-wrap: balance; color: var(--text); }
.gd-h2 { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.2; margin: 0 0 6px; text-wrap: balance; }
.gd-lead { color: var(--text-muted); max-width: 64ch; margin: 0 0 4px; text-wrap: pretty; font-size: 1.02rem; }
.gd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.gd-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); flex: none; }
.gd-ico svg, .gd-ico .ico { width: 20px; height: 20px; }
.gd-ico.acc { background: var(--accent-tint); color: var(--accent-text); }
.gd-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.gd-chip { background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 4px 11px; font-size: 0.8rem; font-weight: 600; }
.gd-chip.t { background: var(--primary-tint); color: var(--primary); }
.gd-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.gd-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gd-steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.gd-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.88rem; display: grid; place-items: center; }
html[data-theme="dark"] .gd-steps li::before { color: #1b1d36; }
.gd-steps b { display: block; font-weight: 650; line-height: 1.35; }
.gd-steps span { display: block; color: var(--text-muted); font-size: 0.88rem; margin-top: 2px; }
.gd-tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.9rem; }
.gd-tips li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.gd-tips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 0.55em; justify-self: center; }
.gd-callout { border-radius: 10px; padding: 12px 14px; font-size: 0.88rem; line-height: 1.5; border: 1px solid var(--border); }
.gd-callout .t { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 4px; }
.gd-callout .t .ico { width: 16px; height: 16px; flex: none; }
.gd-callout p { margin: 0; }
.gd-callout p + p { margin-top: 4px; }
.gd-ojo { background: var(--accent-tint); }
.gd-ojo .t .ico { color: var(--accent-text); }
.gd-real { background: var(--surface); border-left: 4px solid var(--accent); }
.gd-real .tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-tint); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
.gd-real strong { display: block; }
.gd-time { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 700; color: var(--text-muted); }
.gd-time .ico { width: 13px; height: 13px; }
.gd-cta { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.gd-search { position: relative; }
.gd-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.gd-search input { width: 100%; min-height: 48px; padding: 0 14px 0 42px; font-size: 1rem; border-radius: 12px; }
.gd-vacio { text-align: center; color: var(--text-muted); padding: 28px 12px; }
.gd-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; align-items: center; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (pointer: coarse) { .btn, .pb-seg button { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Opción 1 ===== */
.gd-crumb { font-size: 0.84rem; color: var(--text-muted); margin: 0 0 14px; }
.gd-crumb a { color: var(--primary); }
.gd-hero { margin: 0 0 22px; }
.gd-sec { margin: 0 0 26px; }
.gd-quick { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gd-quick p { margin: 3px 0 0; color: var(--text-muted); font-size: 0.88rem; }
.gd-find { margin: 0 0 14px; }
.gd-find .gd-time { margin: 8px 0 0; min-height: 1.2em; }
.gd-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.gd-toc { position: sticky; top: calc(var(--hdrh, 58px) + 18px); }
.gd-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gd-toc a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; border-left: 3px solid transparent; }
.gd-toc a.on { color: var(--primary); background: var(--primary-tint); border-left-color: var(--accent); }
.gd-tocm { display: none; }
.gd-main { display: grid; gap: 16px; min-width: 0; }
.gd-tool { padding: 0; scroll-margin-top: calc(var(--hdrh, 58px) + 62px); }
.gd-tool > summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; cursor: pointer; border-radius: var(--radius); }
.gd-tool > summary::-webkit-details-marker { display: none; }
.gd-st strong { display: block; font-family: var(--serif); font-size: 1.12rem; }
.gd-st small { display: block; color: var(--text-muted); font-size: 0.88rem; margin-top: 2px; }
.gd-chev { width: 10px; height: 10px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform 180ms ease; margin-right: 4px; }
.gd-tool[open] > summary .gd-chev { transform: rotate(-135deg); }
.gd-body { padding: 4px 20px 20px; }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 26px; }
.gd-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.gd-cta { margin: 16px 0 0; }
.gd-tool-s { scroll-margin-top: calc(var(--hdrh, 58px) + 62px); }
.gd-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
.gd-dl div { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; }
.gd-dl dt { font-weight: 700; margin: 0 0 4px; font-size: 0.92rem; }
.gd-dl dd { margin: 0; color: var(--text-muted); font-size: 0.86rem; }
.gd-q { border-top: 1px solid var(--border); }
.gd-q summary { cursor: pointer; padding: 13px 4px; font-weight: 650; min-height: 46px; display: flex; align-items: center; }
.gd-q p { margin: 0 0 14px; color: var(--text-muted); padding: 0 4px; }
@media (max-width: 900px) {
  .gd-layout { grid-template-columns: minmax(0, 1fr); }
  .gd-toc { display: none; }
  .gd-tocm { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: var(--hdrh, 58px); z-index: 20; background: var(--bg); padding: 10px 0; margin: 0 0 10px; scrollbar-width: none; }
  .gd-tocm::-webkit-scrollbar { display: none; }
  .gd-tocm a { flex: none; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: 0.86rem; font-weight: 600; }
  .gd-tocm a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
  html[data-theme="dark"] .gd-tocm a.on { color: #1b1d36; }
  .gd-quick, .gd-perf { grid-template-columns: minmax(0, 1fr); }
  .gd-grid, .gd-extra, .gd-dl { grid-template-columns: minmax(0, 1fr); }
  .gd-banner { grid-template-columns: auto 1fr; } .gd-banner .btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 520px) { .gd-tool > summary { padding: 14px; gap: 10px; } .gd-body { padding: 2px 14px 16px; } .gd-st strong { font-size: 1.02rem; } }
/* ===== Combinación: tour guiado + página Guía ===== */
.gd-tours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.gd-tour { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1.5px solid var(--border); transition: border-color 150ms ease; min-height: 72px; }
.gd-tour small { display: block; color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }
.gd-tour .gd-play { background: var(--primary); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; }
html[data-theme="dark"] .gd-tour .gd-play { color: #1b1d36; }
.gd-tour:active { background: var(--primary-tint); }
@media (hover: hover) and (pointer: fine) { .gd-tour:hover { border-color: var(--primary); } }
@media (max-width: 1000px) { .gd-tours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gd-tours { grid-template-columns: minmax(0, 1fr); } .gd-cta .btn { flex: 1 1 100%; justify-content: center; } .gd-ban { grid-column: 1 / -1; } .gd-ban .btn { flex: 1 1 100%; justify-content: center; } }

.gd-wrap { max-width: 1120px; margin: 0 auto; padding: 22px 20px 60px; }
.gd-wrap p, .gd-wrap li, .gd-wrap dd { font-size: 0.93rem; }
.gd-ico svg, .gd-ic svg, .gd-sico svg { width: 20px; height: 20px; display: block; }
.gd-ic { display: inline-flex; width: 16px; height: 16px; } .gd-ic svg { width: 16px; height: 16px; }
.gd-sico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; } .gd-sico svg { width: 18px; height: 18px; }
.gd-search input { font-family: var(--sans); border: 1.5px solid var(--border); background: var(--surface); color: var(--text); }
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; padding: 10px 16px; min-height: 42px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; }
.gd-btn-pri { background: var(--primary); border-color: var(--primary); color: #fff; }
html[data-theme="dark"] .gd-btn-pri { color: #1b1d36; }
.gd-tool > summary { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ico t chev" "ico sub chev"; row-gap: 2px; }
.gd-tool > summary .gd-ico { grid-area: ico; } .gd-t { grid-area: t; font-family: var(--serif); font-size: 1.12rem; margin: 0; align-self: end; } .gd-sub { grid-area: sub; color: var(--text-muted); font-size: 0.88rem; align-self: start; } .gd-chev { grid-area: chev; }
.gd-t2 { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 4px; }
.gd-sec .gd-lead { margin-top: 0; }
.gd-quick .gd-card { box-shadow: var(--shadow); }
.gd-tool, .gd-tool-s { padding: 0; } .gd-tool-s { padding: 18px 20px; }
.gd-real strong { display: block; } .gd-real a { font-weight: 600; }
.gd-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-tint); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
.gd-tour, .gd-tour:hover { text-decoration: none; color: inherit; }
.gd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
@media (max-width: 520px) { .gd-cta .gd-btn { flex: 1 1 100%; } }
