/* ─────────────────────────────────────────────────────────────────────────────
   Centro de ayuda de Recipok · se apoya en public/guia/guia.css (tokens de marca,
   maquetas de pantalla .shot, pasos .gi-step, avisos .gi-note) y solo añade lo propio.
   ───────────────────────────────────────────────────────────────────────────── */
.hc .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc .gi-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-tx); margin-bottom: 8px; }
.hc .hc-lead { font-size: 18px; color: var(--body); max-width: 760px; margin-top: 10px; }

/* Portada */
.hc-hero { background: linear-gradient(180deg, #fff 0%, var(--ground) 100%); border-bottom: 1px solid var(--line); padding: 46px 0 40px; }
.hc-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.hc-hero-sm { padding: 28px 0 26px; }
.hc-hero-sm h1 { font-size: clamp(24px, 3.4vw, 34px); }
.hc-search { position: relative; margin-top: 24px; max-width: 680px; }
.hc-search input { width: 100%; font: inherit; font-size: 17px; padding: 15px 18px 15px 48px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%238992A0' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 17px center; box-shadow: var(--shadow); color: var(--ink); }
.hc-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-sf); }
.hc-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(36,48,59,.45); max-height: 420px; overflow: auto; }
.hc-results a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.hc-results a:hover, .hc-results a:focus { background: var(--teal-sf); text-decoration: none; }
.hc-results small { display: block; color: var(--mute); font-size: 13px; }
.hc-results .hc-empty { padding: 12px; color: var(--mute); font-size: 14px; }

.hc-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.gi a.hc-coll { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 18px; color: var(--body); box-shadow: var(--shadow); transition: transform .15s var(--ease); min-width: 0; }
.gi a.hc-coll:hover { transform: translateY(-2px); text-decoration: none; }
.hc-coll.hc-c-navy { border-top-color: var(--navy); } .hc-coll.hc-c-amber { border-top-color: var(--amber); } .hc-coll.hc-c-red { border-top-color: var(--red); }
.hc-coll-ico { font-size: 24px; }
.hc-coll-t { font-weight: 700; color: var(--ink); font-size: 17px; }
.hc-coll-d { font-size: 14.5px; line-height: 1.5; }
.hc-coll-n { margin-top: auto; font-size: 13px; color: var(--mute); padding-top: 6px; }

.hc-section { margin-top: 40px; }
.hc-section h2, .hc-related h2, .hc-faq h2 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }

/* Listas de artículos */
.hc-list { display: grid; gap: 10px; }
.gi a.hc-row { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; color: var(--body); }
.gi a.hc-row:hover { border-color: var(--teal); text-decoration: none; }
.hc-row-t { font-weight: 600; color: var(--ink); }
.hc-row-s { font-size: 14.5px; line-height: 1.5; }

/* Píldoras de plan */
.hc-pill { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--chipbox); color: var(--body); white-space: nowrap; }
.hc-pill-all { background: var(--teal-sf); color: var(--teal-tx); }
.hc-pill-integral, .hc-pill-advanced_up, .hc-pill-essential_up { background: var(--navy-sf); color: var(--navy); }
.hc-pill-ext_free, .hc-pill-ext_paid, .hc-pill-on_request { background: var(--amber-sf); color: var(--amber-tx); }
.hc-pill-beta { background: var(--red-sf); color: var(--red-tx); }

/* Artículo */
.hc-article-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding: 30px 0 10px; align-items: start; }
.hc-side { position: sticky; top: 84px; font-size: 14px; max-height: calc(100vh - 100px); overflow: auto; }
.gi a.hc-side-coll { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.hc-side ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.hc-side li a { display: block; padding: 5px 0 5px 12px; color: var(--body); margin-left: -2px; border-left: 2px solid transparent; line-height: 1.4; }
.hc-side li.is-current a { border-left-color: var(--teal); color: var(--teal-tx); font-weight: 600; }
.hc-article { min-width: 0; max-width: 820px; }
.hc-crumbs { font-size: 13.5px; color: var(--mute); margin-bottom: 10px; }
.hc-article h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.hc-pills { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.hc-intro { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; }
.hc-intro h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-tx); margin-bottom: 6px; }
.hc-intro p + p { margin-top: 8px; }
.hc-video { margin: 26px 0; }
.hc-video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.hc-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hc-body > h2 { font-size: 24px; color: var(--ink); margin: 38px 0 12px; scroll-margin-top: 84px; }
.hc-body > h3 { font-size: 18px; color: var(--ink); margin: 24px 0 8px; }
.hc-body > p, .hc-body > ul, .hc-body > ol { margin-top: 10px; }
.hc-body ul, .hc-body ol { padding-left: 22px; }
.hc-body li + li { margin-top: 4px; }
.hc-body .gi-steps { display: grid; gap: 12px; margin-top: 14px; }
.hc-body table.hc-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hc-table th, .hc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hc-table th { background: var(--navy-sf); color: var(--navy); font-size: 14px; }
.hc-faq { margin-top: 40px; }
.hc-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-top: 8px; }
.hc-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.hc-faq details > div { margin-top: 8px; font-size: 15.5px; }
.hc-related { margin-top: 40px; }

/* Integraciones a medida */
.hc-integration { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-top: 40px; background: linear-gradient(135deg, var(--navy-sf), #fff); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.hc-integration-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; font-size: 26px; }
.hc-integration h2 { font-size: 20px; color: var(--ink); }
.hc-integration p { margin-top: 6px; font-size: 15.5px; }
.hc-integration-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.hc-integration-tags span { font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; color: var(--navy); }

/* Llamada final */
.hc-cta { margin: 40px 0 10px; }
.hc-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hc button.gi-btn { font: inherit; font-size: 14px; font-weight: 600; }

/* Pie */
.hc-footer { margin-top: 60px; padding: 34px 0 24px; background: #fff; border-top: 1px solid var(--line); font-size: 14.5px; }
.hc-foot { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 28px; }
.hc-foot b { display: block; color: var(--ink); margin-bottom: 8px; }
.hc-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.hc-foot .gi-btn { margin-top: 12px; }
.hc-langs a[aria-current] { font-weight: 700; color: var(--ink); }
.hc-copy { margin-top: 24px; color: var(--mute); font-size: 13px; }

@media (max-width: 900px) {
  .hc-article-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hc-side { position: static; max-height: none; order: 2; margin-top: 40px; }
  .hc-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hc-hide-sm { display: none !important; }
  .hc .gi-top-actions .gi-btn .lbl { display: inline; }
  .hc .gi-top-actions .gi-btn { padding: 8px 12px; font-size: 13px; }
  .hc-hero { padding: 30px 0 26px; }
  .hc .hc-lead { font-size: 16.5px; }
  .hc-integration { grid-template-columns: 1fr; }
}
