/* ═══════════════════════════════════════════════════════════════════
   Seguimiento Capital — Rediseño 2026 (basado en el mockup aprobado)
   Se carga después de styles.css. Todas las clases nuevas usan el
   prefijo `rd-` para no chocar con estilos existentes.
   No modifica: botones flotantes, chat flotante, chat animado,
   calendario (lógica), formulario (lógica), pie ni modales legales.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --rd-ink: #0c1119;
  --rd-ink-2: #2a313c;
  --rd-muted: #565e6a;
  --rd-cream: #f1f2f4;
  --rd-cream-2: #e7e9ed;
  --rd-white: #ffffff;
  --rd-line: #dde0e6;
  --rd-forest-950: #02060e;
  --rd-forest-900: #040a14;
  --rd-forest-850: #07101c;
  --rd-forest-800: #0a1522;
  --rd-forest-700: #00470a;
  --rd-green: #007d10;
  --rd-green-hover: #009615;
  --rd-green-ink: #007d10;
  --rd-accent: #24e33e;
  --rd-on-dark: #ffffff;
  --rd-on-dark-2: rgba(255, 255, 255, 0.76);
  --rd-on-dark-3: rgba(255, 255, 255, 0.56);
  --rd-line-dark: rgba(255, 255, 255, 0.12);
  --rd-radius: 14px;
  --rd-radius-lg: 20px;
  --rd-shadow: 0 18px 44px rgba(2, 6, 14, 0.12);
  --rd-shadow-lg: 0 30px 70px rgba(2, 6, 14, 0.28);
  --rd-wrap: 1180px;
  --rd-header-h: 76px;
}

/* ── Base ───────────────────────────────────────────────────────── */
html { scroll-padding-top: calc(var(--rd-header-h) + 12px); }
body.rd { background: var(--rd-cream); color: var(--rd-ink); -webkit-font-smoothing: antialiased; }
.rd :where(#contenido) :is(h1, h2, h3) { margin: 0; text-wrap: balance; }
.rd :where(#contenido) p { margin: 0; }
.rd-header :focus-visible, #contenido :focus-visible { outline: 3px solid var(--rd-accent); outline-offset: 3px; }

.rd-wrap {
  width: 100%;
  max-width: calc(var(--rd-wrap) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.rd-ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.rd-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--rd-accent); color: var(--rd-forest-950); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; transition: top .2s;
}
.rd-skip:focus { top: 12px; }

/* ── Tipografía de sección ─────────────────────────────────────── */
.rd-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rd-green-ink);
}
.rd-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.rd-eyebrow--light { color: var(--rd-accent); }

.rd-section { padding-block: clamp(72px, 9vw, 112px); position: relative; }
.rd-section--cream { background: var(--rd-cream); }
.rd-section--white { background: var(--rd-white); }
.rd-section--dark {
  background:
    radial-gradient(1000px 560px at 100% 0%, rgba(0, 125, 16, .32), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(0, 125, 16, .14), transparent 60%),
    #02060e;
  color: var(--rd-on-dark);
}
.rd-section--forest {
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(36, 227, 62, .08), transparent 60%),
    linear-gradient(160deg, #02060e 0%, #02060e 35%, #00470a 85%, #007d10 135%);
  color: var(--rd-on-dark);
}

.rd :where(#contenido) h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; color: inherit; }
.rd :where(#contenido) :is(h1, h2) em { font-style: normal; color: var(--rd-accent); }
.rd-section--cream h2 em, .rd-section--white h2 em { color: var(--rd-green); }

.rd-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.rd-head__lead { font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.7; color: var(--rd-muted); max-width: 62ch; }
.rd-section--dark .rd-head__lead, .rd-section--forest .rd-head__lead { color: var(--rd-on-dark-2); }
.rd-center { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 52px); }
.rd-fineprint { margin-top: 32px !important; font-size: .84rem; color: var(--rd-muted); text-align: center; }

/* ── Botones ───────────────────────────────────────────────────── */
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.rd-btn .rd-ico { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s; }
.rd-btn:hover .rd-ico { transform: translateX(3px); }
.rd-btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1rem; }
.rd-btn--primary { background: var(--rd-green); color: #fff; box-shadow: 0 12px 28px rgba(0, 125, 16, .28); }
.rd-btn--primary:hover { background: var(--rd-green-hover); transform: translateY(-1px); }
.rd-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.rd-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.rd-btn--outline { background: transparent; color: var(--rd-accent); border-color: var(--rd-accent); }
.rd-btn--outline:hover { background: rgba(36, 227, 62, .1); }

.rd-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem;
  color: var(--rd-accent); text-decoration: none;
}
.rd-link .rd-ico { width: 17px; height: 17px; transition: transform .2s; }
.rd-link:hover .rd-ico { transform: translateX(3px); }

/* ── Encabezado ────────────────────────────────────────────────── */
.rd-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(2, 6, 14, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rd-line-dark);
  transition: background-color .25s, box-shadow .25s;
}
.rd-header.is-scrolled { background: rgba(2, 6, 14, .98); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.rd-header__bar { display: flex; align-items: center; gap: 28px; min-height: var(--rd-header-h); }
.rd-brand { display: inline-flex; flex: none; }
.rd-brand img { height: 46px; width: auto; }
.rd-nav { display: flex; gap: 30px; margin-inline: auto; }
.rd-nav a {
  position: relative; padding-block: 8px; color: rgba(255, 255, 255, .86);
  font-weight: 600; font-size: .92rem; text-decoration: none; transition: color .2s;
}
.rd-nav a:hover, .rd-nav a.is-active { color: #fff; }
.rd-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--rd-accent); border-radius: 2px;
}
.rd-nav__cta-mobile { display: none; }
.rd-header__cta { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.rd-menu-btn {
  display: none; width: 46px; height: 46px; margin-left: auto;
  border-radius: 10px; border: 1px solid var(--rd-line-dark); background: transparent; color: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.rd-menu-btn .rd-ico { width: 22px; height: 22px; }
.rd-menu-btn .rd-ico--close { display: none; }
.rd-menu-btn[aria-expanded="true"] .rd-ico--open { display: none; }
.rd-menu-btn[aria-expanded="true"] .rd-ico--close { display: block; }

/* ── Portada ───────────────────────────────────────────────────── */
.rd-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--rd-forest-950); color: #fff;
}
.rd-hero__media { position: absolute; inset: 0 0 0 34%; z-index: -1; }
.rd-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.rd-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--rd-forest-950) 0%, rgba(2, 6, 14, .86) 18%, rgba(2, 6, 14, .35) 52%, rgba(2, 6, 14, .15) 100%),
    linear-gradient(180deg, rgba(2, 6, 14, .25) 0%, transparent 30%, transparent 70%, rgba(2, 6, 14, .7) 100%);
}
.rd-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr) auto; gap: 32px;
  align-items: center; min-height: min(78vh, 700px); padding-block: 72px;
}
.rd-hero__copy { display: grid; gap: 22px; max-width: 660px; }
.rd-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.2rem); font-weight: 800; line-height: 1.03; letter-spacing: -.035em;
}
.rd-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--rd-on-dark-2); max-width: 34em; }
.rd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.rd-hero__note { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--rd-on-dark-3); }
.rd-hero__note .rd-ico { width: 17px; height: 17px; color: var(--rd-accent); }

.rd-hero__visual { align-self: end; justify-self: center; padding-bottom: 8px; }
.rd-notebook {
  width: 260px; padding: 22px 22px 20px; border-radius: 6px 14px 14px 6px;
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(0, 125, 16, .18) 31px 32px),
    #f7f8f6;
  color: #0c1119; box-shadow: var(--rd-shadow-lg);
  transform: rotate(-4deg); border-left: 10px solid #dde1e6;
}
.rd-notebook__title { font-weight: 800; font-size: 1.02rem; margin-bottom: 10px !important; color: #0c1119; }
.rd-notebook ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rd-notebook li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; min-height: 25px; }
.rd-notebook li span {
  width: 17px; height: 17px; border: 2px solid #3a4350; border-radius: 4px; flex: none; position: relative;
}
.rd-notebook li.is-done span { border-color: var(--rd-green); background: var(--rd-green); }
.rd-notebook li.is-done span::after {
  content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.rd-notebook li.is-done { color: #4b535e; text-decoration: line-through; text-decoration-color: rgba(0, 125, 16, .55); }

.rd-hero__index { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 30px; border-left: 1px solid var(--rd-line-dark); }
.rd-hero__index li { display: grid; gap: 4px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-on-dark-2); }
.rd-hero__index span { font-size: 1.05rem; color: var(--rd-accent); letter-spacing: 0; }

/* ── Pilares ───────────────────────────────────────────────────── */
.rd-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rd-pillar {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--rd-white); border: 1px solid var(--rd-line); border-radius: var(--rd-radius-lg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02); transition: transform .3s, box-shadow .3s;
}
.rd-pillar:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow); }
.rd-pillar__body { display: grid; align-content: start; gap: 8px; padding: 26px 26px 30px; position: relative; }
.rd-pillar__body::after { content: ""; position: absolute; left: 26px; bottom: 0; width: 44px; height: 3px; background: var(--rd-green); border-radius: 3px 3px 0 0; }
.rd-pillar__num { font-size: .78rem; font-weight: 800; color: var(--rd-green); letter-spacing: .08em; }
.rd-pillar h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--rd-ink); }
.rd-pillar__kicker { font-weight: 700; color: var(--rd-green-ink); font-size: .95rem; }
.rd-pillar p:not(.rd-pillar__kicker) { color: var(--rd-muted); font-size: .94rem; line-height: 1.65; }

/* Piezas visuales de los pilares (hechas en código) */
.rd-pv {
  position: relative; height: 196px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(240px 150px at 85% 0%, rgba(36, 227, 62, .16), transparent 70%),
    linear-gradient(180deg, #02060e 0%, #02060e 25%, #007d10 135%);
}
.rd-pv::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.rd-pv__ledger {
  position: relative; width: 74%; padding: 14px 16px 10px; border-radius: 10px;
  background: #f7f8f6; box-shadow: 0 16px 30px rgba(0, 0, 0, .3); transform: rotate(-2deg);
}
.rd-pv__ledger-head { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 800; color: #0c1119; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.rd-pv__ledger-head b { color: var(--rd-green); }
.rd-pv__row { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid #e6e9ed; }
.rd-pv__row i { width: 8px; height: 8px; border-radius: 50%; background: var(--rd-green); }
.rd-pv__row em { height: 6px; border-radius: 4px; background: #dde1e6; }
.rd-pv__row em.is-short { width: 60%; }
.rd-pv__row strong { font-size: .7rem; color: var(--rd-green-ink); font-variant-numeric: tabular-nums; }
.rd-pv__row strong.is-out { color: #b4472e; }
.rd-pv__spark { width: 100%; height: 26px; margin-top: 4px; }
.rd-pv__spark path { fill: none; stroke: var(--rd-green); stroke-width: 2.2; vector-effect: non-scaling-stroke; }

.rd-pv__phone {
  position: relative; width: 112px; height: 150px; margin-top: 64px;
  border-radius: 20px; background: #02060e; border: 3px solid #1c2532;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45); display: grid; place-items: center;
}
.rd-pv__notch { position: absolute; top: 7px; left: 50%; width: 34px; height: 5px; border-radius: 4px; background: #1c2532; transform: translateX(-50%); }
.rd-pv__warn { width: 54px; height: 54px; color: #f2c94c; stroke-width: 1.7; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(242, 201, 76, .45)); margin-top: -18px; }
.rd-pv__toast {
  position: absolute; left: -38px; right: -38px; top: -36px; display: grid; gap: 2px;
  padding: 9px 12px; border-radius: 10px; background: #f7f8f6; box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  border-left: 4px solid #e0a82e;
}
.rd-pv__toast b { font-size: .72rem; color: #7a5310; text-transform: uppercase; letter-spacing: .06em; }
.rd-pv__toast span { font-size: .78rem; font-weight: 600; color: #0c1119; }

.rd-pv__files { position: relative; width: 190px; height: 130px; }
.rd-pv__sheet { position: absolute; width: 120px; height: 120px; border-radius: 6px; background: #f7f8f6; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.rd-pv__sheet::before { content: ""; position: absolute; inset: 18px 16px auto; height: 50px; background: repeating-linear-gradient(180deg, #dde1e6 0 5px, transparent 5px 12px); }
.rd-pv__sheet--1 { left: 26px; top: -18px; transform: rotate(-8deg); }
.rd-pv__sheet--2 { left: 54px; top: -10px; transform: rotate(6deg); }
.rd-pv__folder {
  position: absolute; inset: 30px 0 0 0; border-radius: 6px 10px 10px 10px;
  background: linear-gradient(170deg, #007d10, #00470a 70%, #02060e 130%); box-shadow: 0 16px 30px rgba(0, 0, 0, .4);
  display: grid; place-items: center;
}
.rd-pv__folder::before { content: ""; position: absolute; left: 0; top: -12px; width: 70px; height: 14px; border-radius: 6px 6px 0 0; background: #007d10; }
.rd-pv__folder b { padding: 6px 14px; border-radius: 4px; background: #eef1ec; color: #0c1119; font-size: .8rem; font-weight: 800; transform: rotate(-3deg); box-shadow: 0 2px 6px rgba(0,0,0,.2); }

/* ── El problema ───────────────────────────────────────────────── */
.rd-problem__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.rd-problem__copy { display: grid; gap: 22px; }
.rd-problem__lead { font-size: 1.06rem; line-height: 1.75; color: var(--rd-on-dark-2); max-width: 56ch; }
.rd-problem__lead strong { color: #fff; }
.rd-risks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rd-risks li {
  display: grid; gap: 12px; align-content: start; padding: 18px 16px;
  border-radius: var(--rd-radius); border: 1px solid var(--rd-line-dark); background: rgba(255, 255, 255, .03);
  font-weight: 700; font-size: .92rem; line-height: 1.35;
}
.rd-risks__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(36, 227, 62, .12); color: var(--rd-accent); border: 1px solid rgba(36, 227, 62, .3); }
.rd-risks__ico .rd-ico { width: 21px; height: 21px; }
.rd-problem__quote {
  margin: 6px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rd-accent);
  font-size: 1.04rem; font-weight: 600; line-height: 1.6; color: #fff; font-style: normal;
}
.rd-problem__chat { display: grid; justify-items: center; gap: 12px; }
.rd-problem__chat .problem__image {
  justify-self: center; max-width: 420px; border-radius: 18px;
  border: 1px solid var(--rd-line-dark); box-shadow: var(--rd-shadow-lg);
}
.rd-problem__caption { font-size: .8rem; color: var(--rd-on-dark-3); }

/* ── Cómo funciona ─────────────────────────────────────────────── */
.rd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; position: relative; }
.rd-steps::before {
  content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 0;
  border-top: 2px dashed #c9d6cc; z-index: 0;
}
.rd-step {
  position: relative; z-index: 1; display: grid; justify-items: start; align-content: start; gap: 10px;
  padding: 28px 26px 30px; border-radius: var(--rd-radius-lg); background: var(--rd-cream);
  border: 1px solid var(--rd-line);
}
.rd-step__ico {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-top: -60px;
  background: var(--rd-forest-800); color: var(--rd-accent); border: 6px solid var(--rd-white);
  box-shadow: 0 10px 24px rgba(2, 6, 14, .2);
}
.rd-step__ico .rd-ico { width: 24px; height: 24px; }
.rd-step { margin-top: 32px; }
.rd-step__num { font-size: .78rem; font-weight: 800; color: var(--rd-green); letter-spacing: .08em; margin-top: 6px; }
.rd-step h3 { font-size: 1.22rem; font-weight: 800; color: var(--rd-ink); letter-spacing: -.01em; }
.rd-step p { color: var(--rd-muted); font-size: .94rem; line-height: 1.65; }

/* ── Guía práctica ─────────────────────────────────────────────── */
.rd-guide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 84px); align-items: center; }
.rd-guide__copy { display: grid; gap: 16px; }
.rd-evidence { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.rd-evidence li {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: var(--rd-radius); background: var(--rd-white); border: 1px solid var(--rd-line);
}
.rd-evidence__ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #e2f1e4; color: var(--rd-green-ink); }
.rd-evidence__ico .rd-ico { width: 24px; height: 24px; }
.rd-evidence h3 { font-size: 1.02rem; font-weight: 800; color: var(--rd-ink); margin-bottom: 4px; }
.rd-evidence h3 span { color: var(--rd-green); margin-right: 4px; }
.rd-evidence p { font-size: .9rem; line-height: 1.6; color: var(--rd-muted); }
.rd-guide__callout {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 6px !important;
  padding: 16px 18px; border-radius: var(--rd-radius); background: var(--rd-forest-800); color: var(--rd-on-dark-2);
  font-size: .9rem; line-height: 1.55;
}
.rd-guide__callout strong { color: #fff; }
.rd-guide__callout .rd-ico { color: var(--rd-accent); width: 22px; height: 22px; margin-top: 1px; }

.rd-binder { position: relative; display: grid; justify-items: center; padding: 40px 10px 30px; }
.rd-binder::before {
  content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 28px; z-index: 0;
  background: radial-gradient(circle at 50% 40%, #dfe7e1, transparent 70%);
}
.rd-binder__chips {
  position: relative; z-index: 3; margin-bottom: -16px; padding: 8px 16px; border-radius: 999px;
  background: var(--rd-forest-800); color: var(--rd-accent); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(2, 6, 14, .25);
}
.rd-binder__stack { position: relative; z-index: 1; width: min(330px, 80%); aspect-ratio: 3 / 4; }
.rd-binder__paper { position: absolute; inset: 0; border-radius: 10px; background: #f7f8f6; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.rd-binder__paper::before { content: ""; position: absolute; inset: 40px 28px auto; height: 120px; background: repeating-linear-gradient(180deg, #dde1e6 0 6px, transparent 6px 16px); }
.rd-binder__paper--a { transform: translate(22px, -8px) rotate(5deg); }
.rd-binder__paper--b { transform: translate(12px, -4px) rotate(2deg); }
.rd-binder__cover {
  position: absolute; inset: 0; border-radius: 8px 14px 14px 8px; display: grid; place-items: center; align-content: center; gap: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .28) 0 16px, rgba(255, 255, 255, .06) 16px 18px, transparent 18px),
    linear-gradient(165deg, #007d10 0%, #00470a 45%, #02060e 100%);
  box-shadow: var(--rd-shadow-lg);
}
.rd-binder__cover img { width: 58px; height: auto; opacity: .95; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.rd-binder__label {
  padding: 14px 24px; border-radius: 6px; background: #eef1ec; color: #0c1119;
  font-weight: 800; font-size: 1.05rem; line-height: 1.2; text-align: center; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.rd-binder__band { position: absolute; right: 36px; top: 0; bottom: 0; width: 10px; background: #02060e; box-shadow: inset 2px 0 0 rgba(255,255,255,.05); }
.rd-binder__receipt {
  position: absolute; z-index: 2; left: 2%; bottom: 8%; width: 150px; padding: 14px 14px 16px;
  background: #fff; border-radius: 4px; box-shadow: 0 16px 34px rgba(0, 0, 0, .18); transform: rotate(-7deg);
  display: grid; gap: 7px;
}
.rd-binder__receipt b { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rd-green-ink); }
.rd-binder__receipt i { height: 6px; border-radius: 4px; background: #dde1e6; }
.rd-binder__receipt i.is-short { width: 55%; }
.rd-binder__receipt span { font-size: .72rem; font-weight: 700; color: #4b535e; font-variant-numeric: tabular-nums; }

/* ── Recursos ──────────────────────────────────────────────────── */
.rd-resources { display: grid; gap: clamp(36px, 5vw, 52px); }
.rd-resources__head { display: grid; gap: 14px; max-width: 700px; }
.rd-resources__head p:not(.rd-eyebrow) { color: var(--rd-on-dark-2); font-size: 1.04rem; line-height: 1.7; }
.rd-res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rd-res {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--rd-radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--rd-line-dark); transition: transform .3s, border-color .3s;
}
.rd-res:hover { transform: translateY(-4px); border-color: rgba(36, 227, 62, .45); }
.rd-res--accent { background: rgba(36, 227, 62, .07); border-color: rgba(36, 227, 62, .3); }
.rd-res__cover {
  position: relative; height: 170px; display: grid; align-content: end; gap: 7px; padding: 22px 26%;
  background:
    linear-gradient(180deg, transparent 40%, rgba(2, 6, 14, .35)),
    radial-gradient(200px 140px at 50% 120%, rgba(36, 227, 62, .25), transparent 70%),
    var(--rd-forest-850);
  overflow: hidden;
}
.rd-res__cover::before {
  content: ""; position: absolute; left: 22%; right: 22%; top: 22px; bottom: -30px; border-radius: 8px;
  background: #f7f8f6; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transform: rotate(-2deg);
}
.rd-res__cover > * { position: relative; z-index: 1; transform: rotate(-2deg); }
.rd-res__cover b { font-size: .84rem; font-weight: 800; color: #0c1119; line-height: 1.25; }
.rd-res__cover i { height: 5px; border-radius: 4px; background: #dde1e6; }
.rd-res__cover i.is-short { width: 60%; }
.rd-res__type {
  position: absolute !important; z-index: 2; top: 32px; right: 25%; padding: 3px 8px; border-radius: 4px;
  background: #b4472e; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em;
}
.rd-res__cover--word .rd-res__type { background: #2b5797; }
.rd-res__body { display: grid; align-content: start; gap: 10px; padding: 24px 24px 26px; }
.rd-res__num { font-size: .74rem; font-weight: 800; color: var(--rd-accent); letter-spacing: .1em; text-transform: uppercase; }
.rd-res h3 { font-size: 1.14rem; font-weight: 800; color: #fff; line-height: 1.3; }
.rd-res p { color: var(--rd-on-dark-2); font-size: .92rem; line-height: 1.6; }
.rd-res .rd-link { margin-top: 6px; }
.rd-resources__foot { text-align: center; color: var(--rd-on-dark-2); font-size: .95rem; }
.rd-resources__foot a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: var(--rd-accent); font-weight: 700; text-decoration: none; }
.rd-resources__foot .rd-ico { width: 16px; height: 16px; }

/* ── Agenda ────────────────────────────────────────────────────── */
.rd-agenda__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(36px, 6vw, 80px); align-items: start; }
.rd-agenda__copy { display: grid; gap: 16px; }
.rd-agenda__copy strong { color: var(--rd-green-ink); }
.rd-agenda__photo { position: relative; margin: 14px 0 0; border-radius: var(--rd-radius-lg); overflow: hidden; box-shadow: var(--rd-shadow); max-width: 560px; aspect-ratio: 5 / 4; }
.rd-agenda__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.rd-agenda__photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
  padding: 12px 16px; border-radius: 12px; background: rgba(2, 6, 14, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: .84rem; font-weight: 700;
}
.rd-agenda__photo figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.rd-agenda__photo figcaption .rd-ico { width: 16px; height: 16px; color: var(--rd-accent); }
.rd-agenda__card { display: grid; gap: 14px; }
.rd-agenda__card .calendar-card { box-shadow: var(--rd-shadow); border: 1px solid var(--rd-line); }
.rd-agenda__help { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--rd-muted); line-height: 1.5; padding-inline: 6px; }
.rd-agenda__help .rd-ico { width: 18px; height: 18px; color: var(--rd-green); margin-top: 1px; }

/* ── Contacto ──────────────────────────────────────────────────── */
.contact.rd-contact {
  background:
    linear-gradient(115deg, rgba(2, 6, 14, .97) 0%, rgba(2, 6, 14, .9) 50%, rgba(0, 71, 10, .82) 100%),
    url("assets/web/contacto-fondo.jpg") center / cover no-repeat;
  color: #fff; padding: clamp(72px, 9vw, 108px) 0;
}
.rd-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(36px, 6vw, 80px); align-items: center; }
.rd-contact__copy { display: grid; gap: 18px; justify-items: start; }
.rd-contact__copy h2 em { display: block; }
.rd-contact__copy > p:not(.rd-eyebrow) { color: var(--rd-on-dark-2); font-size: 1.04rem; line-height: 1.7; max-width: 46ch; }
.rd-channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.rd-channel {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 10px;
  border: 1px solid var(--rd-line-dark); background: rgba(255, 255, 255, .04); color: #fff;
  font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .2s, background-color .2s;
}
.rd-channel:hover { border-color: rgba(36, 227, 62, .6); background: rgba(36, 227, 62, .08); }
.rd-channel .rd-ico { width: 19px; height: 19px; color: var(--rd-accent); }
.rd-channel--wa .rd-ico { color: #25d366; }

.rd-contact__card {
  padding: clamp(24px, 3vw, 34px); border-radius: var(--rd-radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--rd-line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rd-contact__card h3 { font-size: 1.3rem; font-weight: 800; }
.rd-contact__sub { color: var(--rd-on-dark-3); font-size: .9rem; margin: 4px 0 18px !important; }
.rd-contact__card .contact-form { grid-template-columns: minmax(0, 1fr); max-width: none; margin: 0; gap: 12px; }
.rd-contact__card .contact-form input:not([type="checkbox"]) { border-radius: 10px; min-height: 52px; background: #f4f5f7; }
.rd-contact__card .contact-form .btn--accent {
  min-height: 54px; border-radius: 10px; width: 100%; font-weight: 800; letter-spacing: .06em;
  background: var(--rd-green); color: #fff; box-shadow: 0 12px 28px rgba(0, 125, 16, .3);
}
.rd-contact__card .contact-form .btn--accent:hover { background: var(--rd-green-hover); }
.rd-contact__card .form-message { margin-top: 14px; text-align: left; color: var(--rd-on-dark-2); min-height: 1em; }

.rd-consent { display: grid !important; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .82rem; line-height: 1.5; color: var(--rd-on-dark-2); cursor: pointer; }
.rd-consent input { width: 18px !important; min-height: 0 !important; height: 18px; margin: 2px 0 0; padding: 0 !important; accent-color: var(--rd-accent); }
.rd-consent__link { padding: 0; border: 0; background: none; color: var(--rd-accent); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.rd-consent.is-error { color: #ffb4a6; }

/* ── Pie: logo recortado ───────────────────────────────────────── */
.rd .sc-footer__logo { height: 44px; width: auto; filter: none; opacity: 1; }

/* ── Aparición al hacer scroll ─────────────────────────────────── */
.rd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--rd-delay, 0ms); }
.rd-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rd-reveal { opacity: 1; transform: none; transition: none; }
  .rd-pillar, .rd-res, .rd-btn, .rd-btn .rd-ico { transition: none; }
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .rd-hero__index { display: none; }
  .rd-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); }
}

@media (max-width: 1024px) {
  .rd-nav { gap: 22px; }
  .rd-pillars, .rd-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-pillar:last-child, .rd-res:last-child { grid-column: 1 / -1; }
  .rd-pillar:last-child { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .rd-pillar:last-child .rd-pillar__visual { height: 100%; min-height: 196px; }
  .rd-res:last-child { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: none; }
  .rd-res:last-child .rd-res__cover { height: 100%; min-height: 170px; aspect-ratio: auto; }
  .rd-problem__grid, .rd-guide { grid-template-columns: minmax(0, 1fr); }
  .rd-problem__chat .problem__image { max-width: 460px; }
  .rd-agenda__grid, .rd-contact__grid { grid-template-columns: minmax(0, 1fr); }
  .rd-agenda__card { max-width: 480px; width: 100%; justify-self: center; }
  .rd-agenda__photo { max-width: none; }
  .rd-binder { max-width: 460px; justify-self: center; width: 100%; }
}

@media (max-width: 900px) {
  :root { --rd-header-h: 66px; }
  .rd-menu-btn { display: inline-flex; }
  .rd-header__cta { display: none; }
  .rd-brand img { height: 40px; }
  .rd-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 22px;
    background: #02060e; border-bottom: 1px solid var(--rd-line-dark); box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  }
  .rd-nav.is-open { display: flex; }
  .rd-nav a { padding: 14px 0; border-bottom: 1px solid var(--rd-line-dark); font-size: 1rem; }
  .rd-nav a.is-active::after { display: none; }
  .rd-nav a.is-active { color: var(--rd-accent); }
  .rd-nav .rd-nav__cta-mobile {
    display: flex; justify-content: center; margin-top: 16px; padding: 14px; border: 0; border-radius: 10px;
    background: var(--rd-green); color: #fff !important; font-weight: 700;
  }

  .rd-hero__media { inset: 0; }
  .rd-hero__media::after {
    background: linear-gradient(180deg, rgba(2, 6, 14, .55) 0%, rgba(2, 6, 14, .82) 45%, var(--rd-forest-950) 100%);
  }
  .rd-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 64px 56px; }
  .rd-hero__visual { display: none; }
  .rd-steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 560px; }
  .rd-steps::before { display: none; }
  .rd-step { margin-top: 44px; }
  .rd-risks { grid-template-columns: minmax(0, 1fr); }
  .rd-risks li { grid-template-columns: 40px 1fr; align-items: center; }
}

@media (max-width: 640px) {
  .rd-wrap { padding-inline: 18px; }
  .rd :where(#contenido) h2 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .rd-hero h1 { font-size: clamp(2.25rem, 10.5vw, 2.9rem); }
  .rd-hero__actions .rd-btn { width: 100%; }
  .rd-hero__note { font-size: .8rem; align-items: flex-start; }
  .rd-pillars, .rd-res-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-pillar:last-child, .rd-res:last-child { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .rd-pillar:last-child .rd-pillar__visual { height: 196px; }
  .rd-res:last-child .rd-res__cover { height: auto; aspect-ratio: 542 / 268; }
  .rd-evidence li { grid-template-columns: 44px 1fr; padding: 16px; gap: 14px; }
  .rd-evidence__ico { width: 44px; height: 44px; }
  .rd-binder__receipt { width: 124px; left: 0; }
  .rd-agenda__photo figcaption { font-size: .76rem; gap: 6px 12px; left: 10px; right: 10px; bottom: 10px; }
  .rd-agenda__card .calendar-card { padding: 22px 16px; }
  .rd-channels { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .rd-channel { justify-content: center; }
  .rd-contact__copy .rd-btn { width: 100%; }
  .contact.rd-contact { padding-bottom: calc(96px + 120px + env(safe-area-inset-bottom, 0px)); }
}

/* ═══════════════════════════════════════════════════════════════════
   Pulido · Paleta Forest Noir (#02060E · #007D10)
   ═══════════════════════════════════════════════════════════════════ */

/* Portada: brillo verde de la paleta sobre la foto */
.rd-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 100% 100%, rgba(0, 125, 16, .38), transparent 65%);
}
.rd-hero h1 em, .rd-section--dark h2 em, .rd-section--forest h2 em, .rd-contact h2 em {
  background: linear-gradient(100deg, #24e33e 0%, #19b52e 60%, #24e33e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rd-eyebrow--light::before { background: linear-gradient(90deg, #007d10, #24e33e); }

/* Encabezado */
.rd-header { border-bottom-color: rgba(0, 125, 16, .35); }
.rd-brand img { filter: drop-shadow(0 0 14px rgba(36, 227, 62, .18)); }

/* Botones: degradado sutil de la paleta */
.rd-btn--primary { background: linear-gradient(180deg, #009615 0%, #007d10 100%); box-shadow: 0 12px 28px rgba(0, 125, 16, .32), inset 0 1px 0 rgba(255, 255, 255, .14); }
.rd-btn--primary:hover { background: linear-gradient(180deg, #00a818 0%, #008a12 100%); }

/* Pilares: alternan el sentido del degradado, como las dos muestras */
.rd-pillar:nth-child(2) .rd-pv { background:
    radial-gradient(240px 150px at 15% 100%, rgba(2, 6, 14, .5), transparent 70%),
    linear-gradient(180deg, #007d10 -35%, #02060e 75%, #02060e 100%); }
.rd-pillar { border-color: var(--rd-line); }
.rd-pillar:hover { border-color: rgba(0, 125, 16, .35); }
.rd-pillar__body::after { background: linear-gradient(90deg, #007d10, #24e33e); }

/* Riesgos y tarjetas oscuras */
.rd-risks li { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 125, 16, .06)); border-color: rgba(255, 255, 255, .1); }
.rd-risks__ico { background: rgba(0, 125, 16, .22); border-color: rgba(36, 227, 62, .35); }
.rd-problem__chat .problem__image { box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 125, 16, .35); }

/* Pasos */
.rd-step__ico { background: linear-gradient(160deg, #02060e 40%, #007d10 140%); }
.rd-step { background: #f7f8fa; }
.rd-step:hover { border-color: rgba(0, 125, 16, .3); }

/* Guía */
.rd-guide__callout { background: linear-gradient(120deg, #02060e 40%, #00470a 140%); }
.rd-binder__chips { background: #02060e; border: 1px solid rgba(0, 125, 16, .5); }
.rd-binder::before { background: radial-gradient(circle at 50% 40%, rgba(0, 125, 16, .14), transparent 70%); }
.rd-evidence li { transition: border-color .25s, box-shadow .25s; }
.rd-evidence li:hover { border-color: rgba(0, 125, 16, .3); box-shadow: 0 10px 26px rgba(2, 6, 14, .06); }

/* Recursos */
.rd-res { background: rgba(2, 6, 14, .45); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rd-res--accent { background: rgba(0, 125, 16, .14); border-color: rgba(36, 227, 62, .3); }
.rd-res__cover {
  background:
    radial-gradient(220px 150px at 50% 120%, rgba(0, 125, 16, .55), transparent 70%),
    #02060e;
}

/* Agenda: calendario con la paleta (solo colores; la lógica no cambia) */
.rd .calendar-card h3, .rd .calendar-card__month, .rd .calendar-card__nav { color: #02060e; }
.rd .calendar-card__nav { border-color: rgba(2, 6, 14, .14); }
.rd .calendar-card__nav:hover { border-color: #007d10; color: #007d10; }
.rd .calendar-card__days .is-active { background: rgba(0, 125, 16, .1); color: #007d10; }
.rd .calendar-card__days .is-active:hover { background: rgba(0, 125, 16, .18); }
.rd .calendar-card__days .is-selected { background: #007d10; color: #fff; box-shadow: 0 6px 16px rgba(0, 125, 16, .35); }
.rd .calendar-card__confirm { background: linear-gradient(180deg, #009615 0%, #007d10 100%); box-shadow: 0 12px 28px rgba(0, 125, 16, .3); }
.rd .calendar-card__avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(0, 125, 16, .35); }
.rd-agenda__photo figcaption { background: rgba(2, 6, 14, .82); border: 1px solid rgba(0, 125, 16, .35); }

/* Contacto */
.rd-contact__card { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 125, 16, .08)); border-color: rgba(255, 255, 255, .12); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.rd-contact__card .contact-form .btn--accent { background: linear-gradient(180deg, #009615 0%, #007d10 100%); box-shadow: 0 12px 28px rgba(0, 125, 16, .35); }
.rd-channel:hover { border-color: rgba(36, 227, 62, .55); background: rgba(0, 125, 16, .16); }

/* Pie con la paleta */
.rd .sc-footer { background: #02060e; }

/* Selección de texto */
.rd ::selection { background: rgba(0, 125, 16, .85); color: #fff; }
.rd .calendar-card__slots {
  background:
    radial-gradient(circle at 50% -10%, rgba(0, 125, 16, .14), transparent 60%),
    radial-gradient(circle at 0% 110%, rgba(2, 6, 14, .06), transparent 60%),
    #f7f8fa;
}
.rd .calendar-card__timepicker::before {
  background: radial-gradient(circle at 50% 35%, rgba(0, 125, 16, .14), transparent 66%);
}
.rd .calendar-card__slots-back { color: #02060e; border-color: rgba(2, 6, 14, .14); background: #fff; }
.rd .calendar-card__slots-back:hover { border-color: #007d10; color: #007d10; background: rgba(0, 125, 16, .06); }
.rd-contact__card .phone-field__code { background: #f4f5f7; border-radius: 10px 0 0 10px; min-height: 52px; }

/* ═══════════════════════════════════════════════════════════════════
   Imágenes del mockup (assets/web/mockup)
   ═══════════════════════════════════════════════════════════════════ */

/* Portada: foto enmarcada a la derecha, fundida con el fondo */
.rd-hero__media { inset: 0 0 0 auto; width: min(54%, 760px); }
.rd-hero__media img { object-position: 50% 50%; }
.rd-hero__media::after {
  background:
    linear-gradient(90deg, #02060e 0%, rgba(2, 6, 14, .55) 22%, rgba(2, 6, 14, 0) 50%),
    linear-gradient(180deg, rgba(2, 6, 14, .35) 0%, transparent 22%, transparent 78%, rgba(2, 6, 14, .55) 100%);
}
.rd-hero__grid { grid-template-columns: minmax(0, 1fr) auto; }
.rd-hero__copy { max-width: 600px; }
.rd-hero__index { padding: 18px 0 18px 22px; border-left-color: rgba(255, 255, 255, .22); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.rd-hero__index li { color: #fff; }

/* Pilares: fotografías */
.rd-pillar__photo { position: relative; height: 196px; overflow: hidden; background: #02060e; }
.rd-pillar__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rd-pillar__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 6, 14, .28)); pointer-events: none; }
.rd-pillar:hover .rd-pillar__photo img { transform: scale(1.045); }

/* Problema: foto de fondo detrás del chat animado */
.rd-problem { overflow: hidden; }
.rd-problem__bg { position: absolute; inset: 0 0 0 42%; z-index: 0; pointer-events: none; }
.rd-problem__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .5; }
.rd-problem__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #02060e 0%, rgba(2, 6, 14, .7) 30%, rgba(2, 6, 14, .35) 70%, rgba(2, 6, 14, .55) 100%),
    linear-gradient(180deg, rgba(2, 6, 14, .6) 0%, transparent 25%, transparent 75%, rgba(2, 6, 14, .7) 100%);
}
.rd-problem .rd-wrap { position: relative; z-index: 1; }

/* Guía: fotografía de la carpeta */
.rd-guide__photo { position: relative; margin: 0; padding-top: 18px; display: grid; justify-items: center; }
.rd-guide__photo img {
  width: 100%; height: auto; aspect-ratio: 938 / 624; object-fit: cover; border-radius: var(--rd-radius-lg);
  box-shadow: 0 30px 70px rgba(2, 6, 14, .28), 0 0 0 1px rgba(2, 6, 14, .06);
}
.rd-guide__photo .rd-binder__chips { position: absolute; top: 0; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; }

/* Recursos: portadas reales de las guías */
.rd-res__cover { height: auto; aspect-ratio: 542 / 268; }
.rd-res__cover--photo { display: block; padding: 0; background: #02060e; }
.rd-res__cover--photo::before { display: none; }
.rd-res__cover--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; transition: transform .6s ease; }
.rd-res__cover--photo .rd-res__type { top: 14px; right: 14px; transform: none; }
.rd-res:hover .rd-res__cover--photo img { transform: scale(1.04); }

/* Agenda: foto horizontal de la asesora */
.rd-agenda__photo { aspect-ratio: 830 / 530; }
.rd-agenda__photo img { object-position: 45% 30%; }

@media (max-width: 900px) {
  .rd-hero { display: flex; flex-direction: column; }
  .rd-hero__media {
    position: relative; order: 2; inset: auto; width: auto; height: auto; aspect-ratio: 876 / 810; max-height: 420px;
    margin: 0 24px 48px; border-radius: var(--rd-radius-lg); overflow: hidden; z-index: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 125, 16, .35);
  }
  .rd-hero__media::after { background: linear-gradient(180deg, transparent 60%, rgba(2, 6, 14, .45)); }
  .rd-hero__grid { padding-block: 56px 32px; }
  .rd-problem__bg { inset: 0; }
  .rd-problem__bg img { opacity: .22; }
}
@media (max-width: 640px) {
  .rd-hero__media { margin: 0 18px 40px; }
  .rd-guide__photo .rd-binder__chips { font-size: .62rem; padding: 7px 12px; letter-spacing: .1em; }
}
.rd-hero__index {
  padding: 22px 24px; gap: 22px; border: 1px solid rgba(255, 255, 255, .1); border-left: 2px solid #24e33e;
  border-radius: 4px 14px 14px 4px; background: rgba(2, 6, 14, .62);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-shadow: none;
}
.rd-problem__bg img { opacity: .6; }
@media (max-width: 640px) {
  .rd-agenda__photo { aspect-ratio: auto; overflow: visible; box-shadow: none; }
  .rd-agenda__photo img { aspect-ratio: 830 / 530; border-radius: var(--rd-radius-lg); box-shadow: var(--rd-shadow); }
  .rd-agenda__photo figcaption { position: static; margin-top: 10px; }
}

/* Portada en alta resolución (Real-ESRGAN x4) */
.rd-hero__media picture { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .rd-hero__media { aspect-ratio: 1752 / 1620; } }

/* ═══════════════════════════════════════════════════════════════════
   Selector de hora (reloj) · estilo noir sobrio
   Solo estilos: la lógica sigue en script.js.
   Acento dorado apagado (champagne) usado con moderación.
   ═══════════════════════════════════════════════════════════════════ */
.rd .calendar-card { --tp-gold: #c8b289; --tp-gold-soft: rgba(200, 178, 137, .38); --tp-line: rgba(255, 255, 255, .09); --tp-text: rgba(255, 255, 255, .88); }

/* Panel: cubre toda la tarjeta y se vuelve oscuro */
.rd .calendar-card__slots {
  inset: 0; padding: 22px 22px 22px; gap: 14px; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .07);
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(0, 125, 16, .16), transparent 70%),
    radial-gradient(380px 240px at 100% 100%, rgba(0, 125, 16, .12), transparent 70%),
    linear-gradient(180deg, #08111b 0%, #050b13 55%, #03070f 100%);
  box-shadow: 0 30px 70px rgba(2, 6, 14, .45);
  color: var(--tp-text);
}

/* Cabecera: «Cambiar fecha» | título con la fecha */
.rd .calendar-card__slots-header { gap: 16px; align-items: center; }
.rd .calendar-card__slots-back {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid var(--tp-gold-soft); background: rgba(255, 255, 255, .03);
  color: #fff; font-weight: 700; font-size: .86rem; letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.rd .calendar-card__slots-back::before,
.rd .calendar-card__confirm::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--tp-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4M9 14.5l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4M9 14.5l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rd .calendar-card__slots-back:hover { border-color: var(--tp-gold); background: rgba(255, 255, 255, .06); color: #fff; }
.rd .calendar-card__slots-back:focus-visible { outline: 2px solid var(--tp-gold); outline-offset: 3px; }
.rd .calendar-card__slots-header .calendar-card__slots-title,
.rd .calendar-card__slots-title {
  text-align: left; padding-left: 16px; border-left: 1px solid var(--tp-line);
  font-size: .86rem; font-weight: 500; line-height: 1.35; color: rgba(255, 255, 255, .72);
}
.rd .calendar-card__slots-date { display: block; margin-top: 2px; color: var(--tp-gold); font-weight: 700; font-size: .95rem; }
.rd .calendar-card__slots-date::first-letter { text-transform: uppercase; }

/* Zona del reloj */
.rd .calendar-card__timepicker { gap: 18px; }
.rd .calendar-card__timepicker::before {
  inset: -10px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(0, 125, 16, .14), transparent 62%);
}
.rd .calendar-card__timepicker::after { display: none; }

/* Esfera */
.rd .calendar-card__clock,
.rd .calendar-card.is-slots-open .calendar-card__clock {
  width: min(276px, 100%); overflow: visible;
  background:
    radial-gradient(circle at 50% 50%, #0a141d 0%, #060c14 62%, #03070d 100%);
  border: 1px solid var(--tp-gold-soft);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, .025),
    0 0 0 6px rgba(200, 178, 137, .14),
    0 24px 50px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -20px 40px rgba(0, 0, 0, .45);
}
/* Marcas de minutos y horas en el borde */
.rd .calendar-card__clock::before {
  inset: 7px; opacity: 1;
  background:
    repeating-conic-gradient(from -.4deg, rgba(255, 255, 255, .34) 0 .8deg, transparent .8deg 30deg),
    repeating-conic-gradient(from -.25deg, rgba(255, 255, 255, .12) 0 .5deg, transparent .5deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 9px), #000 calc(50% - 8px) calc(50% - 1px), transparent 50%);
          mask: radial-gradient(circle, transparent 0 calc(50% - 9px), #000 calc(50% - 8px) calc(50% - 1px), transparent 50%);
}
.rd .calendar-card__clock::after {
  inset: 0; background: radial-gradient(circle at 32% 20%, rgba(255, 255, 255, .06), transparent 46%); box-shadow: none;
}
/* Disco interior con el logo */
.rd .calendar-card__clock-face {
  inset: 26%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #0c1822 0%, #050a11 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 125, 16, .28), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 26px rgba(0, 125, 16, .12);
}
.rd .calendar-card__clock-face::before {
  inset: 12%; background-size: contain; background-position: center;
  opacity: .32; mix-blend-mode: normal; filter: saturate(.55) brightness(.75);
  -webkit-mask-image: none; mask-image: none;
}
.rd .calendar-card__clock-face::after { display: none; }

/* Números de hora */
.rd .calendar-card__clock-hour {
  width: 40px; height: 40px; border: 1px solid transparent; background: transparent;
  color: var(--tp-text); font-weight: 600; font-size: 1.02rem; text-shadow: none; box-shadow: none;
}
.rd .calendar-card__clock-hour:hover {
  transform: translate(-50%, -50%); color: #fff; text-shadow: none;
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12);
}
.rd .calendar-card__clock-hour.is-selected {
  color: #fff; text-shadow: none;
  background: linear-gradient(180deg, #0a7a1c, #05551a);
  border-color: var(--tp-gold-soft);
  box-shadow: 0 6px 18px rgba(0, 125, 16, .35);
}
.rd .calendar-card__clock-hour:focus-visible { outline: 2px solid var(--tp-gold); outline-offset: 2px; }

/* Aguja y eje */
.rd .calendar-card__clock-hand {
  width: 2px; height: 33%; border-radius: 2px;
  background: linear-gradient(to top, var(--tp-gold), rgba(200, 178, 137, .55));
  box-shadow: 0 0 10px rgba(200, 178, 137, .25);
}
.rd .calendar-card__clock-hand::after { display: none; }
.rd .calendar-card__clock-center {
  width: 20px; height: 20px; border: 1px solid var(--tp-gold);
  background: radial-gradient(circle at 40% 35%, #2a2f35, #0b0f14);
  box-shadow: 0 0 0 4px rgba(2, 6, 14, .8), 0 0 0 5px rgba(0, 125, 16, .35), 0 6px 14px rgba(0, 0, 0, .5);
}
.rd .calendar-card__clock-center::after { width: 8px; height: 8px; background: radial-gradient(circle at 35% 35%, #e6d6b4, #a8915f); box-shadow: none; }

/* Minutos */
.rd .calendar-card__minutes {
  width: min(276px, 100%); gap: 14px; padding: 10px 14px; align-items: center;
  border: 1px solid var(--tp-line); background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); backdrop-filter: none;
}
.rd .calendar-card__minute-step {
  border: 1px solid var(--tp-gold-soft); color: #fff; font-weight: 500; font-size: 1.35rem;
  background: radial-gradient(circle at 50% 30%, rgba(0, 125, 16, .35), rgba(0, 71, 10, .2) 70%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.rd .calendar-card__minute-step:hover:not(:disabled) { transform: none; border-color: var(--tp-gold); background: radial-gradient(circle at 50% 30%, rgba(0, 150, 21, .5), rgba(0, 71, 10, .3) 70%); }
.rd .calendar-card__minute-step:disabled { opacity: .4; cursor: not-allowed; }
.rd .calendar-card__minute-input {
  width: 100px; height: 46px; border: 1px solid rgba(0, 125, 16, .45); color: #fff; caret-color: var(--tp-gold);
  font-size: 1.3rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(2, 6, 14, .6); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .4);
}
.rd .calendar-card__minute-input:focus { border-color: var(--tp-gold); }
.rd .calendar-card__minute-input:disabled { opacity: .45; }

/* Botón Agendar */
.rd .calendar-card__slots .calendar-card__confirm,
.rd .calendar-card__confirm {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; margin-top: 2px; border-radius: 16px;
  border: 1px solid var(--tp-gold-soft); color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .01em;
  background: linear-gradient(180deg, #0b6b1c 0%, #064314 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.rd .calendar-card__confirm::before { width: 20px; height: 20px; }
.rd .calendar-card__confirm:not(:disabled):hover { transform: translateY(-1px); background: linear-gradient(180deg, #0d7a20 0%, #075016 100%); box-shadow: 0 18px 36px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12); }
.rd .calendar-card__confirm:disabled { opacity: .5; filter: none; background: linear-gradient(180deg, #0f2a1a, #0a1d13); }
.rd .calendar-card__confirm:focus-visible { outline: 2px solid var(--tp-gold); outline-offset: 3px; }

@media (max-width: 420px) {
  .rd .calendar-card__slots { padding: 16px 14px; }
  .rd .calendar-card__slots-header { gap: 12px; }
  .rd .calendar-card__slots-title { padding-left: 12px; font-size: .8rem; }
  .rd .calendar-card__clock, .rd .calendar-card.is-slots-open .calendar-card__clock { width: min(252px, 100%); }
}

/* Portada sin índice lateral */
.rd-hero__grid { grid-template-columns: minmax(0, 1fr); }

/* ═══ El problema: iconos ilustrados ═══ */
.rd-risks { gap: 14px; }
.rd-risks li {
  gap: 18px; padding: 22px 18px 22px; border-radius: 16px; font-size: 1rem; line-height: 1.3;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 125, 16, .05));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.rd-risks li:hover { transform: translateY(-3px); border-color: rgba(36, 227, 62, .35); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.rd-risks__ico {
  width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(36, 227, 62, .22), transparent 60%),
    linear-gradient(160deg, #0c3a19 0%, #06200e 60%, #03110a 100%);
  border: 1px solid rgba(36, 227, 62, .38);
  box-shadow: 0 0 26px rgba(0, 125, 16, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.rd-risk-art { width: 56px; height: 56px; overflow: visible; filter: drop-shadow(0 0 6px rgba(36, 227, 62, .35)); }
.rd-risk-art * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* paleta del icono */
.rd-risk-art .a-sheet-back { fill: rgba(232, 245, 234, .08); stroke: rgba(232, 245, 234, .45); stroke-width: 1.6; }
.rd-risk-art .a-sheet { fill: #0a2412; stroke: #e8f5ea; stroke-width: 1.8; }
.rd-risk-art .a-line { stroke: rgba(232, 245, 234, .75); stroke-width: 1.8; }
.rd-risk-art .a-lens { fill: #03110a; stroke: #24e33e; stroke-width: 2.4; }
.rd-risk-art .a-x { stroke: #24e33e; stroke-width: 2.4; }
.rd-risk-art .a-handle { stroke: #24e33e; stroke-width: 3.6; }
.rd-risk-art .a-frame { fill: rgba(232, 245, 234, .06); stroke: #e8f5ea; stroke-width: 1.8; }
.rd-risk-art .a-bar { stroke: #e8f5ea; stroke-width: 4; stroke-linecap: butt; }
.rd-risk-art .a-base { stroke: rgba(232, 245, 234, .5); stroke-width: 1.4; }
.rd-risk-art .a-badge { fill: #03110a; stroke: #24e33e; stroke-width: 2.2; }
.rd-risk-art .a-arrow { stroke: #24e33e; stroke-width: 2.2; }
.rd-risk-art .a-ghost { stroke: rgba(36, 227, 62, .28); stroke-width: 5; stroke-linecap: butt; }
.rd-risk-art .a-trend { stroke: #e8f5ea; stroke-width: 2; }
.rd-risk-art .a-node { fill: #03110a; stroke: #e8f5ea; stroke-width: 1.8; }
.rd-risk-art .a-warn { fill: #03110a; stroke: #24e33e; stroke-width: 2.4; }
.rd-risk-art .a-mark { stroke: #24e33e; stroke-width: 2.6; }
.rd-risks__txt { font-weight: 700; color: #fff; }

@media (max-width: 900px) {
  .rd-risks li { grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 14px 16px; }
  .rd-risks__ico { width: 64px; height: 64px; border-radius: 14px; }
  .rd-risk-art { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .rd-risks li { transition: none; } }
.rd-risk-art { width: 60px; height: 60px; }
@media (max-width: 900px) { .rd-risk-art { width: 50px; height: 50px; } }

/* ═══════════════════════════════════════════════════════════════════
   Cómo funciona · línea de tiempo animada
   ═══════════════════════════════════════════════════════════════════ */
.rd-how { overflow: hidden; }
.rd-how::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(2, 6, 14, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000, transparent 75%);
}
.rd-how .rd-wrap { position: relative; }
.rd-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.rd-head--center .rd-head__lead { margin-inline: auto; }

/* Trazos extra de las ilustraciones */
.rd-risk-art .a-sheet-tail { fill: #0a2412; stroke: #e8f5ea; stroke-width: 1.8; }
.rd-risk-art .a-folder { fill: rgba(10, 60, 24, .92); stroke: #24e33e; stroke-width: 2.2; }
.rd-risk-art .a-ghost-line { stroke: rgba(232, 245, 234, .8); stroke-width: 2; stroke-dasharray: 3 4; }
.rd-risk-art .a-flag-pole { stroke: #e8f5ea; stroke-width: 2.2; }
.rd-risk-art .a-flag { fill: rgba(36, 227, 62, .2); stroke: #24e33e; stroke-width: 2.2; }

/* Pista y relleno */
.rd-flow { position: relative; --node: 84px; }
.rd-flow__track {
  position: absolute; z-index: 0; top: calc(var(--node) / 2 - 2px); left: calc(100% / 6); right: calc(100% / 6); height: 4px;
  border-radius: 4px; background: repeating-linear-gradient(90deg, #d5dbe1 0 8px, transparent 8px 14px);
}
.rd-flow__fill {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, #007d10, #24e33e);
  box-shadow: 0 0 14px rgba(36, 227, 62, .45);
  transition: transform 2s cubic-bezier(.65, 0, .35, 1) .2s;
}
.rd-flow__fill::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  transform: translateY(-50%); background: #24e33e;
  box-shadow: 0 0 0 5px rgba(36, 227, 62, .2), 0 0 20px rgba(36, 227, 62, .8);
  opacity: 0; transition: opacity .3s 2s;
}
.rd-flow.is-live .rd-flow__fill { transform: scaleX(1); }

.rd-flow__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rd-flow__step { display: grid; justify-items: center; gap: 22px; }

/* Nodo: se enciende cuando la línea llega */
.rd-flow__node { position: relative; width: var(--node); height: var(--node); display: grid; place-items: center; }
.rd-flow__node::before {
  content: ""; position: absolute; inset: -9px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px #e1e5ea, 0 10px 26px rgba(2, 6, 14, .08);
}
.rd-flow__tile {
  position: relative; width: var(--node); height: var(--node); border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(36, 227, 62, .22), transparent 60%), linear-gradient(160deg, #0c3a19 0%, #06200e 60%, #03110a 100%);
  border: 1px solid rgba(36, 227, 62, .38);
  filter: grayscale(1) brightness(.75); opacity: .55; transform: scale(.92);
  transition: filter .6s ease, opacity .6s ease, transform .6s cubic-bezier(.3, 1.5, .5, 1), box-shadow .6s ease;
  transition-delay: calc(.35s + var(--i) * .8s);
}
.rd-flow__tile .rd-risk-art { width: 62px; height: 62px; }
.rd-flow.is-live .rd-flow__tile {
  filter: none; opacity: 1; transform: scale(1);
  box-shadow: 0 0 0 6px rgba(36, 227, 62, .1), 0 0 30px rgba(0, 125, 16, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* Tarjeta */
.rd-flow__card {
  position: relative; overflow: hidden; width: 100%; height: 100%; display: grid; align-content: start; gap: 10px;
  padding: 26px 26px 24px; border-radius: 20px; background: #fff; border: 1px solid #e1e5ea;
  box-shadow: 0 1px 0 rgba(2, 6, 14, .02);
  opacity: .6; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
  transition-delay: calc(.45s + var(--i) * .8s), calc(.45s + var(--i) * .8s), 0s, 0s;
}
.rd-flow.is-live .rd-flow__card { opacity: 1; transform: none; }
.rd-flow__card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #007d10, #24e33e); transform: scaleX(0); transform-origin: left;
  transition: transform .6s ease; transition-delay: calc(.6s + var(--i) * .8s);
}
.rd-flow.is-live .rd-flow__card::before { transform: scaleX(1); }
.rd-flow__step:hover .rd-flow__card { border-color: rgba(0, 125, 16, .35); box-shadow: 0 22px 44px rgba(2, 6, 14, .08); transition-delay: 0s; }
.rd-flow__num {
  position: absolute; right: 14px; top: -8px; font-size: 6.2rem; font-weight: 800; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(0, 125, 16, .16); pointer-events: none; user-select: none;
}
.rd-flow__kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-green); }
.rd-flow__card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em; color: var(--rd-ink); position: relative; }
.rd-flow__card > p:not(.rd-flow__kicker) { color: var(--rd-muted); font-size: .95rem; line-height: 1.65; position: relative; }
.rd-flow__tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-flow__tags li {
  padding: 6px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--rd-green-ink);
  background: rgba(0, 125, 16, .07); border: 1px solid rgba(0, 125, 16, .16);
}

/* Llamado a la acción */
.rd-flow__cta {
  position: relative; overflow: hidden; margin-top: clamp(40px, 5vw, 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(26px, 3.4vw, 38px) clamp(24px, 4vw, 48px); border-radius: 24px; color: #fff;
  background:
    radial-gradient(520px 260px at 100% 100%, rgba(0, 125, 16, .55), transparent 70%),
    radial-gradient(300px 200px at 0% 0%, rgba(36, 227, 62, .12), transparent 70%),
    #02060e;
  box-shadow: 0 30px 70px rgba(2, 6, 14, .25);
}
.rd-flow__cta::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(36, 227, 62, .16); box-shadow: 0 0 0 30px rgba(36, 227, 62, .03), 0 0 0 60px rgba(36, 227, 62, .02);
  pointer-events: none;
}
.rd-flow__cta-copy { position: relative; display: grid; gap: 6px; }
.rd-flow__cta-title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; }
.rd-flow__cta-copy p:not(.rd-flow__cta-title) { color: rgba(255, 255, 255, .72); }
.rd-flow__cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* Aviso */
.rd-flow__note {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0 !important; max-width: 760px;
  font-size: .86rem; line-height: 1.5; color: var(--rd-muted); text-align: left;
}
.rd-flow__note strong { color: var(--rd-ink); }
.rd-flow__note .rd-ico { color: var(--rd-green); width: 20px; height: 20px; }

/* Móvil y tablet: línea vertical */
@media (max-width: 900px) {
  .rd-flow { --node: 68px; }
  .rd-flow__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rd-flow__step { grid-template-columns: var(--node) minmax(0, 1fr); justify-items: stretch; align-items: start; gap: 18px; }
  .rd-flow__track {
    left: calc(var(--node) / 2 - 2px); right: auto; width: 4px; height: auto; top: calc(var(--node) / 2); bottom: 120px;
    background: repeating-linear-gradient(180deg, #d5dbe1 0 8px, transparent 8px 14px);
  }
  .rd-flow__fill { transform-origin: center top; transform: scaleY(0); }
  .rd-flow.is-live .rd-flow__fill { transform: scaleY(1); }
  .rd-flow__fill::after { right: 50%; top: auto; bottom: -6px; transform: translateX(50%); }
  .rd-flow__node::before { inset: -7px; border-radius: 22px; }
  .rd-flow__tile .rd-risk-art { width: 50px; height: 50px; }
  .rd-flow__card { padding: 22px 20px; }
  .rd-flow__num { font-size: 4.6rem; }
  .rd-flow__cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .rd-flow__cta-actions { width: 100%; }
  .rd-flow__cta-actions .rd-btn { width: 100%; }
  .rd-flow__note { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-flow__fill, .rd-flow__tile, .rd-flow__card, .rd-flow__card::before, .rd-flow__fill::after { transition: none !important; }
}
.rd-flow__step { grid-template-rows: auto 1fr; }
.rd-flow__num { top: -18px; right: 10px; font-size: 5.6rem; -webkit-text-stroke: 1.5px rgba(0, 125, 16, .11); }
.rd-flow__card h3, .rd-flow__card > p { max-width: calc(100% - 40px); }
@media (max-width: 900px) {
  .rd-flow__step { grid-template-rows: none; }
  .rd-flow__card h3, .rd-flow__card > p { max-width: none; }
  .rd-flow__num { font-size: 4.2rem; top: -12px; }
}

/* Portada de la plantilla Word */
.rd-res__cover--photo picture { position: absolute; inset: 0; }
.rd-res__cover--photo picture img { object-position: 50% 0%; }

/* ═══ Recursos · fondo noir sobrio (sin verde saturado) ═══ */
.rd-section--forest {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(0, 125, 16, .10), transparent 65%),
    radial-gradient(900px 420px at 100% 100%, rgba(0, 125, 16, .12), transparent 65%),
    linear-gradient(180deg, #02060e 0%, #040a14 100%);
}
.rd-section--forest::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(36, 227, 62, .25), transparent);
}
.rd-res, .rd-res--accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
  border-color: rgba(255, 255, 255, .09);
}
.rd-res:hover { border-color: rgba(36, 227, 62, .4); box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.rd-res__body { border-top: 1px solid rgba(255, 255, 255, .06); }


/* ═══════════════════════════════════════════════════════════════════
   Documentos legales · estilo de la landing (noir + acentos verdes)
   La estructura extra (índice, progreso, pie) la crea redesign.js.
   ═══════════════════════════════════════════════════════════════════ */
.rd .sc-modal { padding: 24px; }
.rd .sc-modal__backdrop { background: rgba(2, 6, 14, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rd .sc-modal__box {
  max-width: 1040px; max-height: min(88vh, 860px); border-radius: 16px;
  background: #02060e; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65), 0 0 0 1px rgba(36, 227, 62, .06);
}
.rd .sc-modal__header {
  position: relative; align-items: center; gap: 16px; padding: 22px 28px 20px;
  background: #02060e; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rd .sc-modal__header-icon {
  width: 48px; height: 48px; min-width: 48px; margin: 0; border-radius: 12px;
  background: #0a111b; border: 1px solid rgba(255, 255, 255, .12); color: #24e33e;
}
.rd .sc-modal__header-icon svg { width: 24px; height: 24px; }
.rd .sc-legal-head { flex: 1; display: grid; gap: 6px; min-width: 0; }
.rd .sc-legal-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px;
  background: rgba(36, 227, 62, .08); border: 1px solid rgba(36, 227, 62, .3); color: #24e33e;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.rd .sc-legal-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #24e33e; box-shadow: 0 0 8px #24e33e; }
.rd .sc-modal__title { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.02em; }
.rd .sc-modal__close {
  width: 42px; height: 42px; min-width: 42px; border-radius: 10px; align-self: flex-start;
  background: #0a111b; border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8);
}
.rd .sc-modal__close:hover { border-color: #24e33e; color: #24e33e; background: #0a111b; }
.rd .sc-legal-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.rd .sc-legal-progress span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: #24e33e; box-shadow: 0 0 10px rgba(36, 227, 62, .6);
}
.rd .sc-legal-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 0; flex: 1; }
.rd .sc-legal-aside {
  overflow-y: auto; padding: 22px 18px 22px 22px; border-right: 1px solid rgba(255, 255, 255, .08); background: #02060e;
  display: grid; align-content: start; gap: 14px;
}
.rd .sc-legal-card { padding: 16px; border-radius: 14px; background: #0a111b; border: 1px solid rgba(255, 255, 255, .1); }
.rd .sc-legal-card__title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 0 0 10px; }
.rd .sc-legal-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rd .sc-legal-toc a {
  display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px;
  color: rgba(255, 255, 255, .66); font-size: .8rem; font-weight: 500; line-height: 1.3; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.rd .sc-legal-toc a span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22); font-size: .7rem; font-weight: 700; color: rgba(255, 255, 255, .8);
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.rd .sc-legal-toc a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.rd .sc-legal-toc a.is-active { color: #fff; background: rgba(36, 227, 62, .06); }
.rd .sc-legal-toc a.is-active span { border-color: #24e33e; color: #24e33e; box-shadow: 0 0 0 1px rgba(36, 227, 62, .48), 0 0 14px rgba(36, 227, 62, .25); }
.rd .sc-legal-help { font-size: .8rem; line-height: 1.55; color: rgba(255, 255, 255, .66); margin: 0 0 12px; }
.rd .sc-legal-help-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 10px;
  background: #fff; color: #02060e; font-weight: 700; font-size: .84rem; text-decoration: none;
}
.rd .sc-legal-help-btn svg { width: 17px; height: 17px; color: #007d10; }
.rd .sc-legal-help-btn:hover { background: #e9ecef; }
.rd .sc-modal__body { padding: 26px 36px 36px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.rd .sc-modal__body p { font-size: .9rem; line-height: 1.75; color: rgba(255, 255, 255, .74); margin: 0 0 14px; max-width: 70ch; }
.rd .sc-modal__updated {
  display: inline-flex !important; align-items: center; gap: 8px; margin: 0 0 18px !important; padding: 6px 12px; border-radius: 8px;
  background: #0a111b; border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7) !important;
  font-size: .72rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.rd .sc-modal__body h3 {
  display: flex; align-items: center; gap: 12px; margin: 30px 0 10px; padding: 0; border: 0;
  font-size: 1rem; font-weight: 700; letter-spacing: -.005em; text-transform: none; color: #fff; scroll-margin-top: 16px;
}
.rd .sc-modal__body h3::before { display: none; }
.rd .sc-modal__body h3:first-of-type { margin-top: 26px; }
.rd .sc-legal-num {
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid #24e33e; color: #24e33e; font-size: .78rem; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(36, 227, 62, .2), 0 0 14px rgba(36, 227, 62, .18);
}
.rd .sc-modal__body h3 ~ p { padding-left: 42px; }
.rd .sc-modal__body ul { color: rgba(255, 255, 255, .74); padding-left: 62px; }
.rd .sc-modal__body a { color: #24e33e; }
.rd .sc-legal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px;
  border-top: 1px solid rgba(255, 255, 255, .1); background: #02060e; flex-shrink: 0;
}
.rd .sc-legal-foot p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.rd .sc-legal-foot p strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
.rd .sc-legal-ok {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 28px; border: 0; border-radius: 10px; cursor: pointer;
  background: #24e33e; color: #02060e; font: inherit; font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(36, 227, 62, .25); transition: transform .2s, box-shadow .2s;
}
.rd .sc-legal-ok:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(36, 227, 62, .35); }
.rd .sc-legal-ok svg { width: 18px; height: 18px; }
.rd .sc-modal :focus-visible { outline: 2px solid #24e33e; outline-offset: 2px; }
.rd .sc-modal__close:focus-visible { outline: 2px solid rgba(36, 227, 62, .7); }
@media (max-width: 860px) {
  .rd .sc-modal { padding: 0; align-items: flex-end; }
  .rd .sc-modal__box { max-height: 92vh; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .rd .sc-legal-layout { grid-template-columns: minmax(0, 1fr); }
  .rd .sc-legal-aside { display: none; }
  .rd .sc-modal__header { padding: 18px 18px 16px; gap: 12px; }
  .rd .sc-modal__header-icon { display: none; }
  .rd .sc-modal__title { font-size: 1.15rem; }
  .rd .sc-modal__body { padding: 20px 20px 28px; }
  .rd .sc-modal__body h3 ~ p { padding-left: 0; }
  .rd .sc-modal__body ul { padding-left: 22px; }
  .rd .sc-legal-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .rd .sc-legal-foot p { display: none; }
  .rd .sc-legal-ok { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .rd .sc-modal__body { scroll-behavior: auto; } }

/* ═══ Cómo funciona v2 (referencia aprobada) ═══ */
.rd-flow { --node: 120px; }
.rd-flow__list { gap: 24px; }
.rd-flow__step { gap: 26px; }
.rd-flow__node::before { display: none; }
.rd-flow__node::after {
  content: ""; position: absolute; inset: -30px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(36, 227, 62, .16) 0%, rgba(36, 227, 62, .07) 45%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(0, 125, 16, .06), inset 0 0 0 14px rgba(255, 255, 255, .5);
  opacity: 0; transform: scale(.7); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(.35s + var(--i) * .8s);
}
.rd-flow.is-live .rd-flow__node::after { opacity: 1; transform: none; }
.rd-flow__tile {
  border-radius: 28px; border: 1.5px solid rgba(36, 227, 62, .55);
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 227, 62, .28), transparent 65%),
    linear-gradient(160deg, #0d3d1a 0%, #05200d 55%, #021008 100%);
}
.rd-flow.is-live .rd-flow__tile { box-shadow: 0 0 0 6px rgba(36, 227, 62, .08), 0 18px 40px rgba(0, 125, 16, .35), 0 0 34px rgba(36, 227, 62, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.rd-fx { width: 74px; height: 74px; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }

/* Línea sólida con puntos */
.rd-flow__track { height: 6px; top: calc(var(--node) / 2 - 3px); background: rgba(0, 125, 16, .12); }
.rd-flow__fill { background: linear-gradient(90deg, #0a8f1e, #24e33e, #0a8f1e); }
.rd-flow__fill::after { display: none; }
.rd-flow__dot {
  position: absolute; top: 50%; left: var(--p); width: 22px; height: 22px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); background: #24e33e;
  box-shadow: 0 0 0 5px rgba(36, 227, 62, .22), 0 0 18px rgba(36, 227, 62, .75);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: var(--d);
}
.rd-flow.is-live .rd-flow__dot { transform: translate(-50%, -50%) scale(1); }

/* Tarjetas */
.rd-flow__card { border-radius: 22px; padding: 30px 30px 28px; box-shadow: 0 18px 44px rgba(2, 6, 14, .07); border-color: #e6eaee; }
.rd-flow__card::before { height: 4px; border-radius: 22px 22px 0 0; }
.rd-flow__num { top: 6px; right: 18px; font-size: 4.6rem; font-weight: 300; -webkit-text-stroke: 1.6px rgba(36, 227, 62, .35); }
.rd-flow__card h3 { font-size: 1.45rem; }
.rd-flow__card > p:not(.rd-flow__kicker) { font-size: 1rem; color: #3d4652; }
.rd-flow__tags { gap: 10px; margin-top: 10px; }
.rd-flow__tags li {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font-size: .82rem; color: #0c1a12;
  background: rgba(36, 227, 62, .12); border: 1px solid rgba(0, 125, 16, .22);
}
.rd-flow__tags .rd-ico { width: 16px; height: 16px; stroke-width: 1.8; color: #0c1a12; }

/* Franja CTA */
.rd-flow__cta { padding: 32px 40px; border-radius: 26px; gap: 24px 32px;
  background:
    radial-gradient(520px 260px at 100% 100%, rgba(0, 125, 16, .35), transparent 70%),
    #02060e; }
.rd-flow__cta::before {
  content: ""; position: absolute; left: -120px; top: -180px; width: 520px; height: 320px; border-radius: 50%; pointer-events: none;
  border-bottom: 2px solid rgba(36, 227, 62, .55); transform: rotate(-12deg);
  box-shadow: 0 18px 40px -20px rgba(36, 227, 62, .55), inset 0 -40px 60px -40px rgba(36, 227, 62, .35);
}
.rd-flow__cta::after { display: none; }
.rd-flow__cta-ico { position: relative; display: grid; place-items: center; padding-right: 28px; margin-right: 4px; border-right: 1px solid rgba(255, 255, 255, .18); }
.rd-flow__cta-ico svg { width: 58px; height: 58px; fill: none; stroke: #24e33e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(36, 227, 62, .4)); }
.rd-flow__cta-ico .is-fill { fill: #02060e; }
.rd-flow__cta-copy { flex: 1; min-width: 260px; }
.rd-flow__cta .rd-btn--lg { border-radius: 14px; min-height: 58px; padding-inline: 32px; }
.rd-flow__cta .rd-btn--ghost { border-color: rgba(255, 255, 255, .75); }
.rd-flow__note { font-size: .92rem; }
.rd-flow__note .rd-ico { width: 30px; height: 30px; stroke-width: 1.6; }

@media (max-width: 900px) {
  .rd-flow { --node: 84px; }
  .rd-fx { width: 54px; height: 54px; }
  .rd-flow__tile { border-radius: 20px; }
  .rd-flow__node::after { inset: -16px; }
  .rd-flow__track { width: 6px; left: calc(var(--node) / 2 - 3px); height: auto; background: rgba(0, 125, 16, .12); }
  .rd-flow__fill { background: linear-gradient(180deg, #0a8f1e, #24e33e, #0a8f1e); }
  .rd-flow__dot { display: none; }
  .rd-flow__num { font-size: 3.6rem; }
  .rd-flow__cta-ico { display: none; }
  .rd-flow__cta { padding: 28px 22px; }
}
.rd-fx { width: 84px; height: 84px; }
.rd-flow__card h3 { font-size: 1.32rem; white-space: nowrap; }
.rd-flow__tags { gap: 8px; }
.rd-flow__tags li { padding: 7px 12px; font-size: .8rem; gap: 6px; }
.rd-flow__num { -webkit-text-stroke-width: 2px; }
.rd-flow__cta::before { left: -260px; top: -290px; width: 560px; height: 360px; border-bottom-color: rgba(36, 227, 62, .45); }
.rd-flow__cta .rd-btn--lg { padding-inline: 26px; }
@media (max-width: 1100px) { .rd-flow__card h3 { white-space: normal; } }
@media (max-width: 900px) { .rd-fx { width: 60px; height: 60px; } }
@media (max-width: 640px) {
  .rd-flow { --node: 58px; }
  .rd-flow__step { gap: 14px; }
  .rd-flow__tile { border-radius: 16px; }
  .rd-fx { width: 42px; height: 42px; }
  .rd-flow__node::after { inset: -10px; }
  .rd-flow__track { width: 4px; left: calc(var(--node) / 2 - 2px); }
  .rd-flow__card { padding: 20px 18px; border-radius: 18px; }
  .rd-flow__card h3 { font-size: 1.2rem; }
  .rd-flow__card > p:not(.rd-flow__kicker) { font-size: .93rem; }
  .rd-flow__num { font-size: 2.8rem; top: 8px; right: 12px; }
  .rd-flow__tags li { padding: 6px 10px; font-size: .76rem; }
}

/* Franja CTA: sin trazo curvo; resplandor detrás del icono + brillo superior */
.rd-flow__cta::before {
  left: 0; right: 0; top: 0; width: auto; height: 1px; border: 0; border-radius: 0; transform: none; box-shadow: none;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 227, 62, .55) 18%, rgba(36, 227, 62, .15) 55%, transparent 100%);
}
.rd-flow__cta {
  background:
    radial-gradient(260px 200px at 72px 50%, rgba(36, 227, 62, .16), transparent 70%),
    radial-gradient(520px 260px at 100% 100%, rgba(0, 125, 16, .32), transparent 70%),
    #02060e;
}
.rd-flow__cta-ico svg { position: relative; z-index: 1; }
.rd-flow__cta-ico::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 calc(-42px - 14px);
  border-radius: 22px; background: rgba(36, 227, 62, .06); border: 1px solid rgba(36, 227, 62, .22);
  box-shadow: 0 0 30px rgba(36, 227, 62, .18), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ═══ Portada: animación de entrada ═══ */
@keyframes rdHeroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rdHeroWord { from { opacity: 0; transform: translateY(.55em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rdHeroMedia { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes rdHeroDrift { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, -1%); } }
@keyframes rdHeroShine { from { background-position: 120% 0; } to { background-position: -20% 0; } }

.rd-hero.is-animated .rd-hero__media { animation: rdHeroMedia 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.rd-hero.is-animated .rd-hero__media img { animation: rdHeroDrift 24s ease-in-out 1.6s infinite alternate; transform-origin: 60% 40%; }

.rd-hero.is-animated .rd-hero__copy > * { animation: rdHeroUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.rd-hero.is-animated .rd-eyebrow { animation-delay: .15s; }
.rd-hero.is-animated h1 { animation: none; }
.rd-hero .rd-w { display: inline-block; }
.rd-hero.is-animated .rd-w { animation: rdHeroWord .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.3s + var(--w) * .09s); }
.rd-hero.is-animated .rd-hero__lead    { animation-delay: calc(.45s + var(--words, 6) * .09s); }
.rd-hero.is-animated .rd-hero__actions { animation-delay: calc(.6s + var(--words, 6) * .09s); }
.rd-hero.is-animated .rd-hero__note    { animation-delay: calc(.75s + var(--words, 6) * .09s); }

/* Destello que recorre «entender» una vez */
.rd-hero.is-animated h1 em {
  background: linear-gradient(100deg, #24e33e 0%, #24e33e 40%, #d9ffe0 50%, #24e33e 60%, #24e33e 100%);
  background-size: 260% 100%; background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rdHeroShine 1.4s ease-in-out both; animation-delay: calc(.9s + var(--words, 6) * .09s);
}

/* ═══ Botones: píldora verde con brillo (referencia aprobada) ═══ */
.rd-btn { border-radius: 999px; }
.rd-btn--primary {
  position: relative; overflow: hidden; isolation: isolate; gap: 14px;
  padding: 8px 8px 8px 28px; min-height: 56px;
  color: #fff; font-weight: 700; letter-spacing: .005em;
  border: 1.5px solid #2ee048;
  background:
    radial-gradient(120% 140% at 50% 120%, rgba(36, 227, 62, .35), transparent 55%),
    linear-gradient(180deg, #0f6a1d 0%, #07421a 55%, #04280f 100%);
  box-shadow:
    0 0 0 1px rgba(36, 227, 62, .15),
    0 0 22px rgba(36, 227, 62, .35),
    0 12px 30px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -8px 18px rgba(36, 227, 62, .18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Reflejo en la esquina superior izquierda */
.rd-btn--primary::before {
  content: ""; position: absolute; z-index: -1; left: -10%; top: -60%; width: 55%; height: 120%;
  border-radius: 50%; pointer-events: none;
  background: linear-gradient(160deg, rgba(120, 255, 135, .55), rgba(36, 227, 62, .12) 45%, transparent 70%);
  transform: rotate(-12deg);
}
/* Línea de luz inferior */
.rd-btn--primary::after {
  content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(120, 255, 135, .9), transparent);
  filter: blur(.5px);
}
/* Flecha en círculo */
.rd-btn--primary .rd-ico {
  width: 40px; height: 40px; padding: 10px; border-radius: 50%; stroke-width: 2.4;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .14), rgba(0, 0, 0, .25));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 10px rgba(0, 0, 0, .3);
}
.rd-btn--primary.rd-btn--lg { min-height: 60px; padding-left: 30px; font-size: 1.04rem; }
.rd-btn--primary.rd-btn--lg .rd-ico { width: 44px; height: 44px; padding: 11px; }
.rd-btn--primary:hover {
  transform: translateY(-2px); border-color: #5df06a; background:
    radial-gradient(120% 140% at 50% 120%, rgba(36, 227, 62, .45), transparent 55%),
    linear-gradient(180deg, #12782a 0%, #084b1d 55%, #042b11 100%);
  box-shadow: 0 0 0 1px rgba(36, 227, 62, .25), 0 0 32px rgba(36, 227, 62, .5), 0 16px 36px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -8px 18px rgba(36, 227, 62, .25);
}
.rd-btn--primary:hover .rd-ico { transform: translateX(2px); }
.rd-btn--primary:active { transform: translateY(0); }
/* Botón sin icono: padding simétrico */
.rd-btn--primary:not(:has(.rd-ico)) { padding-right: 28px; }

/* Secundarios en píldora a juego */
.rd-btn--ghost, .rd-btn--outline { border-radius: 999px; padding-inline: 26px; }
.rd-btn--ghost { background: rgba(255, 255, 255, .03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.rd-btn--ghost:hover { border-color: #2ee048; color: #fff; box-shadow: 0 0 18px rgba(36, 227, 62, .25); }
.rd-flow__cta .rd-btn--lg { border-radius: 999px; }
.rd-flow__cta .rd-btn--primary.rd-btn--lg { padding-right: 8px; padding-left: 30px; }

@media (prefers-reduced-motion: reduce) { .rd-btn--primary { transition: none; } }
.rd-hero__copy { max-width: 640px; }
.rd-btn--primary::before {
  left: -6%; top: -75%; width: 60%; height: 130%;
  background: linear-gradient(165deg, rgba(150, 255, 160, .7) 0%, rgba(60, 230, 80, .25) 40%, transparent 68%);
}

/* Encabezado: botón píldora con brillo, versión compacta */
.rd-header__cta.rd-btn--primary { min-height: 46px; padding: 5px 5px 5px 20px; gap: 10px; font-size: .9rem; }
.rd-header__cta.rd-btn--primary .rd-ico { width: 34px; height: 34px; padding: 8px; }
/* Menú móvil: mismo estilo */
.rd-nav .rd-nav__cta-mobile {
  border-radius: 999px !important; border: 1.5px solid #2ee048 !important;
  background: radial-gradient(120% 140% at 50% 120%, rgba(36, 227, 62, .35), transparent 55%), linear-gradient(180deg, #0f6a1d 0%, #07421a 55%, #04280f 100%) !important;
  box-shadow: 0 0 20px rgba(36, 227, 62, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* ═══ Ajustes responsive (revisión 320–1920 px) ═══ */

/* Laptop pequeña / tablet horizontal: el texto de la portada no debe pisar la foto */
@media (min-width: 901px) and (max-width: 1180px) {
  .rd-hero__media { width: 46%; }
  .rd-hero__copy { max-width: 500px; }
  .rd-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.2rem); }
  .rd-hero__actions .rd-btn--lg { min-height: 52px; font-size: .95rem; }
  .rd-hero__actions .rd-btn--ghost { padding-inline: 22px; }
}

/* Tablet: foto de la asesora y formulario con tamaño contenido */
@media (max-width: 1024px) {
  .rd-agenda__photo { max-height: 420px; }
  .rd-agenda__photo img { max-height: 420px; }
  .rd-contact__card { max-width: 620px; width: 100%; }
  .rd-flow__tags li { padding: 6px 10px; }
}

/* Móvil: áreas táctiles de al menos 44 px en enlaces de texto */
@media (max-width: 900px) {
  .rd-link, .rd-resources__foot a { min-height: 44px; display: inline-flex; align-items: center; }
  .rd .sc-footer__legal-btn { min-height: 44px; }
}

/* Móviles pequeños (≤ 360 px): botones en una sola línea */
@media (max-width: 360px) {
  .rd-btn--primary.rd-btn--lg, .rd-btn--lg { font-size: .9rem; padding-left: 20px; gap: 10px; }
  .rd-btn--primary.rd-btn--lg .rd-ico { width: 38px; height: 38px; padding: 9px; }
  .rd-hero h1 { font-size: 2.05rem; }
  .rd-channels { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rd-channel { padding: 10px 8px; font-size: .84rem; }
}
@media (min-width: 861px) and (max-width: 1024px) {
  .rd-agenda__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; }
  .rd-agenda__card { max-width: none; justify-self: stretch; }
  .rd-agenda__photo { aspect-ratio: 4 / 5; max-height: none; }
  .rd-agenda__photo img { max-height: none; object-position: 40% 30%; }
}
@media (max-width: 860px) {
  .rd-agenda__photo { max-width: 620px; margin-inline: auto; width: 100%; }
}
