/* ═══════════════════════════════════════════════════════════
   GUÍA "INFLUENCER DIGITAL" — sistema visual tipo deck
   Carbón #2A2A2A · Blanco roto #EFEFEF · Display condensado
   ═══════════════════════════════════════════════════════════ */
.guia {
  --gd-ink: #1c1c1c;          /* texto sobre claro */
  --gd-char: #2a2a2a;         /* carbón */
  --gd-char2: #333333;
  --gd-paper: #efefef;        /* fondo claro */
  --gd-white: #ffffff;
  --gd-mut: #5c5c5c;
  --gd-mutd: rgba(255,255,255,.72);
  --gd-acc: #3DDC84;          /* nuestro verde para acentos */
  --gd-warn: #f5a623;         /* caps de aviso (naranja) */
  --gd-disp: 'Anton', 'Gabarito', sans-serif;
  background: var(--gd-paper); color: var(--gd-ink);
  font-family: 'Inter', sans-serif;
}
.guia ::selection { background: var(--gd-acc); color: #0C1A12; }

/* ── Barra superior (como la referencia) ── */
.gd-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--gd-char); color: #fff;
  padding: .6rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.gd-top b { font-family: var(--gd-disp); font-weight: 400; letter-spacing: .08em; font-size: .82rem; }
.gd-top nav { display: flex; gap: 1.1rem; overflow-x: auto; scrollbar-width: none; }
.gd-top nav::-webkit-scrollbar { display: none; }
.gd-top a { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.gd-top a.on, .gd-top a:hover { color: #fff; }

/* ── Hero full-bleed con tarjeta a la derecha ── */
.gd-hero { position: relative; min-height: 100vh; display: flex; align-items: stretch; overflow: hidden; background: var(--gd-char); }
.gd-hero__media { position: absolute; inset: 0; }
.gd-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.gd-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(20,20,20,.25), rgba(20,20,20,.05) 45%, rgba(20,20,20,.55)); }
.gd-hero__card {
  position: relative; z-index: 2; margin-left: auto;
  width: min(480px, 92vw); background: rgba(34,34,34,.82); backdrop-filter: blur(4px);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.4rem, 3vw, 2.6rem);
  margin-top: 3.2rem; margin-bottom: 3.2rem; margin-right: clamp(1rem, 6vw, 6rem);
}
.gd-kick { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gd-kick em { font-style: italic; color: rgba(255,255,255,.75); }
.gd-hero__title { font-family: var(--gd-disp); font-weight: 400; line-height: .92; margin: 1rem 0 1.4rem; text-transform: uppercase; }
.gd-hero__title .l1 { display: block; font-size: clamp(3.2rem, 8vw, 5.2rem); letter-spacing: .01em; }
.gd-hero__title .l2 { display: block; font-size: clamp(2.4rem, 6vw, 3.8rem); text-align: right; letter-spacing: .04em; }
.gd-hero__disc { font-size: .74rem; font-style: italic; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); line-height: 1.75; margin-bottom: 1rem; }
.gd-hero__brand { text-align: center; margin: 1.2rem 0 .4rem; }
.gd-hero__brand img { width: 46px; height: 46px; margin: 0 auto .35rem; }
.gd-hero__brand a { display: block; color: #fff; letter-spacing: .35em; font-weight: 700; font-size: .8rem; text-transform: uppercase; }
.gd-hero__brand small { display: block; color: rgba(255,255,255,.6); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; margin-top: .25rem; }
.gd-hero__go { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; color: #fff; font-family: var(--gd-disp); letter-spacing: .12em; font-size: 1.05rem; text-transform: uppercase; }
.gd-hero__go span { font-size: 1.8rem; animation: gdDown 1.6s ease-in-out infinite; }
@keyframes gdDown { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }
.gd-created { position: absolute; left: clamp(1rem, 4vw, 3rem); bottom: 2rem; z-index: 2; color: #fff; }
.gd-created small { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.gd-created b { font-family: 'Allura', cursive; font-weight: 400; font-size: 2rem; line-height: 1; }

/* ── Secciones ── */
.gd-sec { padding: clamp(3.5rem, 8vh, 6rem) 1.4rem; }
.gd-sec--char { background: var(--gd-char); color: #fff; }
.gd-sec--white { background: var(--gd-white); }
.gd-in { max-width: 1020px; margin: 0 auto; }
.gd-h { font-family: var(--gd-disp); font-weight: 400; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.02; margin-bottom: 1.2rem; }
.gd-h .thin { color: var(--gd-mut); }
.gd-sec--char .gd-h .thin { color: rgba(255,255,255,.55); }
.gd-p { color: var(--gd-mut); font-size: .98rem; line-height: 1.75; }
.gd-p strong { color: var(--gd-ink); }
.gd-sec--char .gd-p { color: var(--gd-mutd); }
.gd-sec--char .gd-p strong { color: #fff; }
.gd-p + .gd-p { margin-top: .8rem; }
.gd-caps { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-style: italic; color: var(--gd-mut); }
.gd-sec--char .gd-caps { color: rgba(255,255,255,.7); }
.gd-caps--warn { color: var(--gd-warn); font-style: normal; }
.gd-split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 860px) { .gd-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.gd-media { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.gd-media img, .gd-media video { width: 100%; height: auto; display: block; }

/* ── Tarjetas / expandibles (Leer más) ── */
.gd-x {
  background: var(--gd-white); border: 1px solid #e2e2e2; border-radius: 14px;
  margin-top: .8rem; overflow: hidden;
}
.gd-sec--char .gd-x { background: var(--gd-char2); border-color: rgba(255,255,255,.12); }
.gd-x summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; font-weight: 700; font-size: .95rem;
}
.gd-sec--char .gd-x summary { color: #fff; }
.gd-x summary::-webkit-details-marker { display: none; }
.gd-x summary::after {
  content: "Leer más"; flex-shrink: 0; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gd-ink); border: 1.5px solid var(--gd-ink); border-radius: 999px; padding: .3rem .75rem;
  transition: background .25s, color .25s;
}
.gd-sec--char .gd-x summary::after { color: #fff; border-color: rgba(255,255,255,.5); }
.gd-x[open] summary::after { content: "Cerrar"; background: var(--gd-ink); color: #fff; }
.gd-sec--char .gd-x[open] summary::after { background: #fff; color: var(--gd-ink); }
.gd-x > div { padding: 0 1.2rem 1.1rem; font-size: .92rem; color: var(--gd-mut); line-height: 1.7; }
.gd-sec--char .gd-x > div { color: var(--gd-mutd); }
.gd-x > div strong { color: inherit; font-weight: 700; }

/* ── Tiles de herramientas (como los logos de la referencia) ── */
.gd-tools { display: grid; gap: 1.6rem; margin-top: 2rem; }
@media (min-width: 760px) { .gd-tools { grid-template-columns: 1fr 1fr; } }
.gd-tool { display: flex; gap: 1.1rem; align-items: flex-start; }
.gd-tool i {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-family: var(--gd-disp); font-size: 1.7rem;
}
.gd-tool--hf i { background: #d6ff3f; color: #14160a; }
.gd-tool--el i { background: #ffffff; color: #111; font-size: .95rem; letter-spacing: -.02em; }
.gd-tool--ai i { background: #74aa9c; color: #fff; }
.gd-tool--kl i { background: #0b0b0b; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.gd-tool b { display: block; font-size: 1rem; margin-bottom: .25rem; }
.gd-tool p { font-size: .85rem; color: var(--gd-mutd); line-height: 1.6; }
.gd-defbox {
  background: #1f1f1f; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: .9rem 1.1rem; font-size: .78rem; font-style: italic; color: rgba(255,255,255,.8); line-height: 1.6;
}
.gd-defbox b { font-style: normal; }

/* ── Pasos numerados gigantes ── */
.gd-steps { counter-reset: gd; display: grid; gap: 1.6rem; margin-top: 2rem; }
@media (min-width: 760px) { .gd-steps--2 { grid-template-columns: 1fr 1fr; } }
.gd-step { display: flex; gap: 1.1rem; }
.gd-step::before {
  counter-increment: gd; content: counter(gd);
  font-family: var(--gd-disp); font-size: 3rem; line-height: 1; color: #cfcfcf; flex-shrink: 0; min-width: 44px;
}
.gd-sec--char .gd-step::before { color: rgba(255,255,255,.28); }
.gd-step b { display: block; font-size: 1.02rem; margin-bottom: .3rem; }
.gd-step p { font-size: .9rem; color: var(--gd-mut); line-height: 1.65; }
.gd-sec--char .gd-step p { color: var(--gd-mutd); }

/* ── Prompts (caja mono) ── */
.gd-prompt {
  background: #1c1c1c; color: #d6ff8a; border-left: 4px solid var(--gd-acc); border-radius: 8px;
  padding: .9rem 1.1rem; margin-top: 1rem;
  font-family: 'SF Mono', Menlo, monospace; font-size: .8rem; line-height: 1.65; white-space: pre-wrap;
}
.gd-prompt b { display: block; font-family: 'Inter', sans-serif; color: rgba(255,255,255,.5); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .3rem; }

/* ── Galerías con labels caps (START FRAME / PROCESO / RESULTADO) ── */
.gd-frames { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 720px) { .gd-frames--2 { grid-template-columns: 1fr 1fr; } .gd-frames--3 { grid-template-columns: 1fr 1fr 1fr; } .gd-frames--4 { grid-template-columns: repeat(4, 1fr); } }
.gd-frames figure { margin: 0; }
.gd-frames figcaption {
  text-align: center; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .5rem; color: var(--gd-mut);
}
.gd-sec--char .gd-frames figcaption { color: rgba(255,255,255,.7); }
.gd-frames img, .gd-frames video {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; display: block;
  box-shadow: 0 18px 44px rgba(0,0,0,.16); background: #ddd;
}

/* ── Aviso ⚠️ ── */
.gd-warnbox {
  border: 2px solid var(--gd-warn); border-radius: 14px; padding: 1.1rem 1.3rem; margin-top: 1.6rem;
  background: rgba(245, 166, 35, .05);
}
.gd-warnbox b { display: flex; align-items: center; gap: .5rem; font-size: .95rem; margin-bottom: .5rem; }
.gd-warnbox p { font-size: .9rem; color: var(--gd-mut); line-height: 1.7; }
.gd-sec--char .gd-warnbox p { color: var(--gd-mutd); }

/* ── Banda de upsell (charcoal, caps centradas) ── */
.gd-upsell { text-align: center; }
.gd-upsell .gd-caps { display: block; max-width: 720px; margin: 0 auto .4rem; }
.gd-upsell .btnrow { margin-top: 1.4rem; }
.gd-btn {
  display: inline-block; background: #fff; color: var(--gd-ink); border-radius: 6px;
  font-family: var(--gd-disp); letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 2rem; font-size: .95rem; transition: transform .3s;
}
.gd-btn:hover { transform: translateY(-2px); }
.gd-btn--acc { background: var(--gd-acc); color: #0C1A12; }
.gd-sec--white .gd-btn, .gd-sec--paper .gd-btn { background: var(--gd-ink); color: #fff; }

/* ── Regalo ── */
.gd-gift { background: var(--gd-white); border: 2px solid var(--gd-ink); border-radius: 16px; padding: 1.5rem 1.5rem; margin-top: 1.4rem; }
.gd-gift b.t { display: block; font-size: 1.05rem; margin-bottom: .5rem; }
.gd-copybox { background: var(--gd-paper); border: 1.5px dashed #bdbdbd; border-radius: 10px; padding: 1rem 1.1rem; font-size: .88rem; color: #444; line-height: 1.7; margin-top: .7rem; }

/* ── Firma final ── */
.gd-sign { text-align: center; margin-top: 2rem; }
.gd-sign small { display: block; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.gd-sign b { font-family: 'Allura', cursive; font-weight: 400; font-size: 2.4rem; color: #fff; }

/* footer mínimo */
.gd-foot { background: var(--gd-char); color: rgba(255,255,255,.55); text-align: center; font-size: .78rem; padding: 1.6rem 1rem; }
.gd-foot a { color: #fff; font-weight: 600; }

/* ── Tarjetas Bloque 1 (imagen + botón Leer más encima) ── */
.gd-cards { display: grid; gap: 1.6rem 1.2rem; margin-top: 2rem; }
@media (min-width: 720px) { .gd-cards { grid-template-columns: repeat(3, 1fr); } .gd-cards .gd-card:nth-child(4) { grid-column: 1 / 2; } }
.gd-card small { display: block; color: rgba(255,255,255,.65); font-size: .82rem; }
.gd-card b { display: block; color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.gd-card .thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; }
.gd-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-card .thumb a {
  position: absolute; left: .7rem; bottom: .7rem;
  background: rgba(20,20,20,.85); color: #fff; border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px; padding: .4rem 1rem; font-size: .78rem; font-weight: 700;
  transition: background .25s;
}
.gd-card .thumb a:hover { background: #fff; color: #1c1c1c; }
.gd-card p { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.6; margin-top: .6rem; }

/* ── Flujos con flechas y labels rotados (PROCESO / RESULTADO) ── */
.gd-flow { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.gd-flow figure { margin: 0; flex: 1 1 200px; max-width: 260px; }
.gd-flow figcaption { text-align: center; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; color: var(--gd-mut); }
.gd-sec--char .gd-flow figcaption { color: rgba(255,255,255,.7); }
.gd-flow img, .gd-flow video { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.gd-flow .arr {
  display: flex; flex-direction: column; align-items: center; gap: .2rem; flex: 0 0 auto;
  font-size: .56rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gd-mut);
}
.gd-sec--char .gd-flow .arr { color: rgba(255,255,255,.6); }
.gd-flow .arr::after { content: "⟶"; font-size: 1.8rem; letter-spacing: 0; }

/* ═══ v4: páginas reales + tutoriales con capturas ═══ */

/* Tiles de herramientas con logos reales */
.gd-tool i { overflow: hidden; padding: 0; }
.gd-tool i img { width: 60%; height: 60%; object-fit: contain; display: block; }
.gd-tool--hf i { background: #d6ff3f; }
.gd-tool--hf i img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.gd-tool--el i { background: #fff; }
.gd-tool--ai i { background: #fff; }
.gd-tool--kl i { background: #0b0b0b; border: 1px solid rgba(255,255,255,.2); }
.gd-tool--kl i img { width: 66%; height: 66%; border-radius: 14px; }

/* Reglas de lectura en columnas (sin acordeones) */
.gd-rules { display: grid; gap: 2rem; margin-top: .4rem; }
@media (min-width: 860px) { .gd-rules { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; } }
.gd-rules__item { border-top: 1px solid #d9d9d9; padding: 1rem 0 .2rem; }
.gd-rules__item b { display: block; font-size: .92rem; margin-bottom: .3rem; }
.gd-rules__item p { font-size: .88rem; color: var(--gd-mut); line-height: 1.65; }

/* Tutorial: números fantasma gigantes + captura real */
.gd-tut { display: grid; gap: 2.6rem 3rem; margin-top: 2.4rem; }
@media (min-width: 860px) { .gd-tut { grid-template-columns: 1fr 1fr; } }
.gd-tstep { position: relative; padding-left: clamp(4.6rem, 8vw, 6.4rem); }
.gd-tstep .n {
  position: absolute; left: 0; top: -.8rem; font-family: var(--gd-disp); font-weight: 400;
  font-size: clamp(5rem, 9vw, 7.5rem); line-height: 1; color: rgba(0,0,0,.09); user-select: none;
}
.gd-sec--char .gd-tstep .n { color: rgba(255,255,255,.13); }
.gd-tstep > b { display: block; font-size: 1.02rem; margin-bottom: .55rem; }
.gd-tstep ol, .gd-tstep ul { margin: 0 0 0 1.1rem; padding: 0; }
.gd-tstep li { font-size: .88rem; color: var(--gd-mut); line-height: 1.65; margin-bottom: .35rem; }
.gd-sec--char .gd-tstep li { color: var(--gd-mutd); }
.gd-tstep li strong { color: var(--gd-ink); }
.gd-sec--char .gd-tstep li strong { color: #fff; }

/* Captura real enmarcada + anotación con flecha */
.gd-shot { margin: 1.1rem 0 0; }
.gd-shot img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; border-radius: 10px; border: 1px solid rgba(0,0,0,.14); box-shadow: 0 14px 34px rgba(0,0,0,.18); background: #111; }
.gd-sec--char .gd-shot img { border-color: rgba(255,255,255,.14); }
.gd-shot figcaption {
  display: flex; align-items: flex-start; gap: .45rem; margin-top: .55rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gd-mut); line-height: 1.6;
}
.gd-sec--char .gd-shot figcaption { color: rgba(255,255,255,.65); }
.gd-shot figcaption::before { content: "↖"; font-size: .95rem; line-height: 1; transform: rotate(8deg); flex-shrink: 0; }
.gd-shot--wide { max-width: 860px; margin-left: auto; margin-right: auto; }

/* Pager entre páginas de la guía */
.gd-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 1020px; margin: 0 auto; padding: 2.4rem 0 .4rem; }
.gd-pager a {
  font-family: var(--gd-disp); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem;
  color: inherit; border-bottom: 2px solid transparent; transition: border-color .25s;
}
.gd-pager a:hover { border-color: currentColor; }
.gd-pager .nxt { margin-left: auto; }

/* Panel de UI Higgsfield (recreación del selector) */
.hfui { background: #131416; border: 1px solid #26282c; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.hfui__list { padding: .6rem; }
.hfui__row { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 10px; color: #cfd2d6; font-size: .86rem; }
.hfui__row.sel { background: #1d1f23; }
.hfui__row i { width: 26px; height: 26px; border-radius: 7px; background: #24262a; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .72rem; font-weight: 700; color: #9aa0a8; }
.hfui__row small { display: block; color: #7c8188; font-size: .7rem; font-weight: 400; }
.hfui__badge { font-size: .56rem; font-weight: 800; background: #123c46; color: #4fd8f0; border-radius: 4px; padding: .12rem .35rem; margin-left: .4rem; }
.hfui__check { margin-left: auto; color: #d6ff3f; font-weight: 800; }
.hfui__bar { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; background: #1a1c1f; border-top: 1px solid #26282c; padding: .8rem .9rem; }
.hfui__hint { color: #7c8188; font-size: .84rem; flex: 1 1 200px; }
.hfui__chip { background: #232529; color: #cfd2d6; border-radius: 999px; padding: .4rem .8rem; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.hfui__gen { background: #d6ff3f; color: #14160a; border-radius: 12px; padding: .6rem 1.2rem; font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: .04em; font-size: .88rem; white-space: nowrap; }

/* Panel de chat (Extracción JSON) */
.gd-chat { background: #131416; border: 1px solid #26282c; border-radius: 14px; padding: 1rem 1.1rem; color: #cfd2d6; }
.gd-chat__head { display: flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700; color: #9aa0a8; margin-bottom: .7rem; }
.gd-chat__head img { width: 18px; height: 18px; filter: invert(72%); }
.gd-chat__msg { background: #1d1f23; border-radius: 10px; padding: .65rem .8rem; font-size: .8rem; line-height: 1.55; }
.gd-chat__msg + .gd-chat__msg { margin-top: .5rem; }
.gd-chat__msg.me { background: #26313a; }

/* Tutorial en móvil: capturas a ancho completo */
@media (max-width: 560px) {
  .gd-tstep { padding-left: 3.4rem; }
  .gd-tstep .n { font-size: 3.8rem; top: -.35rem; }
  .gd-tstep .gd-shot { margin-left: -3.4rem; }
}

/* ═══ v5: fotos completas sin recorte ni "cajita" ═══ */
.gd-frames { align-items: start; }
.gd-frames img, .gd-flow img {
  height: auto; aspect-ratio: auto; object-fit: initial;
  box-shadow: none; background: transparent; border-radius: 10px;
}

/* Botón "Leer más": verde, grande */
.gd-card .thumb a {
  background: var(--gd-acc); color: #0C1A12; border: 0;
  padding: .7rem 1.6rem; font-size: .95rem; font-weight: 800; border-radius: 10px;
  letter-spacing: .02em;
  transition: transform .25s ease, filter .25s ease;
}
.gd-card .thumb a:hover { background: var(--gd-acc); color: #0C1A12; transform: translateY(-2px) scale(1.04); filter: brightness(1.1); }

/* Transición suave entre páginas de la guía */
@view-transition { navigation: auto; }
body.guia { animation: gdPageIn .5s ease both; transition: opacity .24s ease; }
@keyframes gdPageIn { from { opacity: 0; } to { opacity: 1; } }
body.guia.gd-leave { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  body.guia { animation: none; transition: none; }
}

/* Cards Bloque 1: el enlace-overlay cubre la tarjeta SIN pintarla; el botón verde va encima */
.gd-card .thumb a.cover {
  position: absolute; inset: 0; z-index: 1;
  background: transparent !important; padding: 0; border-radius: 0; border: 0;
}
.gd-card .thumb a.more { z-index: 2; }

/* ═══ v8: resaltador amarillo + notas manuscritas ═══ */
.gd-hl {
  background: linear-gradient(100deg, rgba(255,224,0,0) .9%, rgba(255,224,0,.9) 2.4%, rgba(255,224,0,.55) 6%, rgba(255,224,0,.38) 93%, rgba(255,224,0,.75) 96%, rgba(255,224,0,0) 98%);
  padding: .08em .35em; margin: 0 -.12em;
  border-radius: .8em .3em .9em .4em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: #1c1c1c; font-weight: 700;
}
.gd-sec--char .gd-hl { color: #14160a; }
.gd-note {
  font-family: 'Caveat', cursive; font-weight: 600; color: #e5484d;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.15;
  display: inline-flex; align-items: center; gap: .35rem;
  rotate: -2.5deg; opacity: 0; translate: 0 10px;
  transition: opacity .6s ease .15s, translate .6s ease .15s;
}
.gd-note.is-in { opacity: 1; translate: 0 0; }
.gd-note svg { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .gd-note { opacity: 1; translate: none; transition: none; } }

/* ═══ v9: biografía equilibrada + Bloque 1 centrado ═══ */
.gd-bio { display: grid; gap: 2rem; align-items: center; }
.gd-bio > div:not(.gd-bio__foto) { align-self: start; }
.gd-bio__foto { align-self: center; }
.gd-bio__foto { max-width: 300px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.gd-bio__foto img { width: 100%; height: auto; display: block; }
@media (min-width: 960px) {
  .gd-bio { grid-template-columns: 280px 1fr 1fr; gap: 2.8rem; }
  .gd-bio__foto { max-width: none; margin: 0; }
}

/* Bloque 1: fila de abajo (2 tarjetas) centrada respecto a las 3 de arriba */
@media (min-width: 720px) {
  .gd-cards { grid-template-columns: repeat(6, 1fr); }
  .gd-cards .gd-card { grid-column: span 2; }
  .gd-cards .gd-card:nth-child(4) { grid-column: 2 / span 2; }
  .gd-cards .gd-card:nth-child(5) { grid-column: 4 / span 2; }
}

/* ═══ v10: paleta viva — índigo profundo + brillos, papel cálido, acentos verdes ═══ */
.guia {
  --gd-char: #232338;         /* índigo profundo (antes gris carbón) */
  --gd-char2: #2d2d4a;
  --gd-paper: #f4f2ec;        /* papel cálido (antes gris frío) */
}
.gd-sec--char {
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(61,220,132,.13), transparent 62%),
    radial-gradient(900px 500px at -12% 112%, rgba(139,92,246,.17), transparent 62%),
    var(--gd-char);
}
.gd-sec--white { background: linear-gradient(180deg, #ffffff, #f6fbf5); }
.gd-top { background: linear-gradient(90deg, #232338, #2d2d4a); }
.gd-top a.on { color: #3DDC84; }
.gd-h .thin { color: #3DDC84; }
.gd-sec--char .gd-h .thin { color: #3DDC84; }
.gd-tstep .n { color: rgba(24, 160, 88, .18); }
.gd-sec--char .gd-tstep .n { color: rgba(61, 220, 132, .22); }
.gd-step::before { color: rgba(24, 160, 88, .35); }
.gd-sec--char .gd-step::before { color: rgba(61, 220, 132, .4); }
.gd-defbox { background: rgba(20, 20, 40, .55); border-color: rgba(61, 220, 132, .28); }
.gd-rules__item { border-top-color: rgba(24, 160, 88, .25); }
.gd-frames figcaption, .gd-flow figcaption { color: #1d8a52; }
.gd-sec--char .gd-frames figcaption, .gd-sec--char .gd-flow figcaption { color: rgba(61, 220, 132, .85); }
.gd-flow .arr { color: #1d8a52; }
.gd-sec--char .gd-flow .arr { color: rgba(61, 220, 132, .8); }
.gd-pager a:hover { color: #3DDC84; border-color: #3DDC84; }
.gd-card .thumb { border: 1px solid rgba(61, 220, 132, .0); transition: border-color .3s; }
.gd-card:hover .thumb { border-color: rgba(61, 220, 132, .55); }
.gd-gift { border-color: #1d8a52; }
.gd-foot { background: linear-gradient(90deg, #232338, #2d2d4a); }

/* Tarjetas del Bloque 1: el fondo puede ser video (misma casilla) */
.gd-card .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Tile de Claude: icono oficial full-bleed (como el de Higgsfield) */
.gd-tool--ai i { background: transparent; }
.gd-tool--ai i img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

/* ═══ Hero: tarjeta a la IZQUIERDA (no tapa la cara del video) + más translúcida ═══ */
.gd-hero__card {
  margin-left: clamp(1rem, 6vw, 6rem);
  margin-right: auto;
  background: rgba(28, 28, 30, .64);
}
.gd-hero__media::after {
  background: linear-gradient(90deg, rgba(20,20,20,.55), rgba(20,20,20,.05) 55%, rgba(20,20,20,.2));
}
.gd-created { left: auto; right: clamp(1rem, 4vw, 3rem); text-align: right; }
