@import url('../master.css');

/* ═══════════════════════════════════════════════════════════════
   RETAIL.CSS — Yeapdata Retail & Comercio
   Light corporate theme · Brand colors as accents · NO dark bgs
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Brand */
  --pink:   #E61667;
  --teal:   #6DC0AA;
  --indigo: #4B509C;
  --yellow: #FFE205;
  --deep:   #0B0A16;

  /* Backgrounds — ALL LIGHT */
  --bg-white: #FFFFFF;
  --bg-ice:   #F7F8FC;
  --bg-mist:  #F0F4F8;
  --bg-pale:  #FAFBFF;
  --bg-warm:  #FDF9F7;

  /* ONE accent dark section */
  --bg-slate: #1A2740;

  /* Text */
  --tx-900: #0F172A;
  --tx-700: #334155;
  --tx-500: #64748B;
  --tx-300: #94A3B8;

  /* Borders */
  --brd:  #E2E8F0;
  --brd2: #CBD5E1;

  /* Easing */
  --ease:   cubic-bezier(.22,1,.36,1);
  --snap:   cubic-bezier(.76,0,.24,1);
  --spring: cubic-bezier(.34,1.56,.64,1);

  /* Shadow */
  --sh-sm:  0 4px 16px rgba(11,10,22,.06);
  --sh-md:  0 8px 40px rgba(11,10,22,.08);
  --sh-lg:  0 16px 64px rgba(11,10,22,.10);
  --sh-pink: 0 8px 32px rgba(230,22,103,.25);
  --sh-teal: 0 8px 32px rgba(109,192,170,.25);
}

/* ─── RESET / BASE ────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--tx-700); background: var(--bg-white); overflow-x: hidden; }

/* ─── SCROLL PROGRESS ────────────────────────────────────── */
.r-scroll-prog {
  position: fixed; top: 0; left: 0; z-index: 999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--teal), var(--indigo));
  transition: width .1s linear;
}


/* ─── REVEAL TOKENS ──────────────────────────────────────── */
.reveal-up    { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .6s var(--ease), transform .6s var(--spring); transition-delay: var(--d, 0s); }
.reveal-clip  { overflow: hidden; }
.reveal-mstep { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }

.reveal-up.in,
.reveal-scale.in,
.reveal-mstep.in  { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────────────────── */
/* §1 HERO                                                      */
/* ─────────────────────────────────────────────────────────── */
.rh {
  min-height: 100vh;
  background: var(--bg-pale);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.rh-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}

/* Topbar */
.rh-topbar {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 60px;
  border-bottom: 1px solid var(--brd);
  background: rgba(250,251,255,.85);
  backdrop-filter: blur(12px);
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tx-500); font-family: 'Courier New', monospace;
}
.rhtbl-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink); margin-right: 8px;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.rhtbr-sep { margin: 0 10px; color: var(--brd2); }
.rhtb-iso { color: var(--tx-300); }

/* Inner grid */
.rh-inner {
  position: relative; z-index: 2;
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 80px 60px 20px 60px;
  max-width: 1400px; margin: 0 auto; width: 100%;
}

/* LEFT */
.rhle-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,22,103,.08); border: 1px solid rgba(230,22,103,.2);
  color: var(--pink); padding: 6px 14px; border-radius: 20px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 24px;
}
.rhl-title {
  font-family: var(--font-family-base);
  font-size: var(--hero-title-size);
  font-weight: 700; line-height: var(--hero-line-height);
  letter-spacing: -.02em; color: var(--tx-900);
  margin-bottom: 24px;
}
.rhlt-row { display: block; overflow: hidden; }
.rhlt-mask { display: block; }
.rhlt-word { display: inline-block; }
.rhlt-accent { color: var(--pink); }
.rhlt-light { font-size: .52em; font-weight: 500; color: var(--tx-500); letter-spacing: 0; }

.rhl-sub {
  font-size: var(--hero-desc-size); line-height: var(--hero-desc-line-height);
  font-family: var(--font-family-base);
  color: var(--tx-500); max-width: 520px;
  margin-bottom: 36px;
}
.rhl-sub strong { color: var(--tx-700); }

/* CTAs */
.rhl-ctas { display: flex; gap: 14px; margin-bottom: 48px; }
.rhlc-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: #fff;
  padding: 14px 28px; border-radius: 8px;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: transform .25s var(--spring), box-shadow .25s;
}
.rhlc-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-pink); }
.rhlc-ghost {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--brd2); color: var(--tx-700);
  padding: 14px 24px; border-radius: 8px;
  font-size: .88rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s var(--spring);
}
.rhlc-ghost:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-1px); }

/* Trust strip */
.rhl-trust {
  display: flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; padding: 20px 28px;
  box-shadow: var(--sh-sm);
}
.rhlt-item { text-align: center; padding: 0 20px; }
.rhlt-val {
  display: block; font-family: 'Eurostile', 'Rajdhani', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--pink);
}
.rhlt-lbl { font-size: .72rem; color: var(--tx-500); }
.rhlt-sep { width: 1px; height: 36px; background: var(--brd); flex-shrink: 0; }

/* RIGHT: Live Dashboard Card */
.rh-right { display: flex; flex-direction: column; gap: 16px; }

.rhc-live {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--sh-md);
}
.rhcl-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--brd);
}
.rhclh-left { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--tx-700); }
.rhclh-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(109,192,170,.6);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(109,192,170,.6)} 70%{box-shadow:0 0 0 8px rgba(109,192,170,0)} 100%{box-shadow:0 0 0 0 rgba(109,192,170,0)} }
.rhclh-time { font-family: 'Courier New', monospace; font-size: .82rem; color: var(--tx-500); }

.rhcl-row-top { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.rhclm-val { display: block; font-family: 'Eurostile', 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--tx-900); }
.rhclm-lbl { display: block; font-size: .68rem; color: var(--tx-500); margin-top: 2px; }
.rhclm-delta { display: block; font-size: .65rem; font-weight: 600; margin-top: 4px; }
.rhclm-warn { color: #FFB020; }
.rhclm-ok { color: var(--teal); }
.rhclm-pos { color: var(--teal); }

/* Demand bars */
.rhcli-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rhcli-title { font-size: .72rem; font-weight: 600; color: var(--tx-700); }
.rhcli-tag {
  font-size: .62rem; background: rgba(230,22,103,.1); color: var(--pink);
  padding: 3px 8px; border-radius: 10px; font-weight: 600;
}
.rhcli-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 60px;
}
.rhclib-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; gap: 4px;
}
.rhclib-item::before {
  content: '';
  width: 100%; height: calc(var(--h) * .6);
  background: rgba(230,22,103,.15);
  border-radius: 3px 3px 0 0;
  transition: height .8s var(--ease);
}
.rhclib-item.rhclib-today::before { background: rgba(230,22,103,.5); }
.rhclib-val { font-size: .6rem; color: var(--tx-500); }
.rhclib-lbl { font-size: .6rem; color: var(--tx-300); }

/* Centinela row */
.rhcl-centinela {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-mist); border-radius: 8px;
  padding: 12px 14px; margin-top: 14px;
}
.rhclc-icon { color: var(--teal); flex-shrink: 0; }
.rhclc-content { flex: 1; }
.rhclc-label { display: block; font-size: .7rem; font-weight: 600; color: var(--tx-700); }
.rhclc-alert { display: block; font-size: .68rem; color: var(--tx-500); }
.rhclc-status { font-size: .65rem; font-weight: 700; padding: 4px 10px; border-radius: 12px; }
.rhclc-status.ok { background: rgba(109,192,170,.15); color: var(--teal); }

/* EPP Mini Card */
.rhc-epp {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 12px; padding: 18px 22px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: var(--sh-sm);
}
.rhepp-badge { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.rhepp-score { display: flex; align-items: baseline; gap: 2px; margin: 6px 0 4px; }
.rhepp-pct { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--tx-900); }
.rhepp-sym { font-size: 1.2rem; color: var(--tx-500); }
.rhepp-desc { font-size: .7rem; color: var(--tx-500); }
.rhepp-gauge { width: 80px; height: 80px; flex-shrink: 0; }
.rhepp-arc { width: 100%; height: 100%; }

/* ─────────────────────────────────────────────────────────── */
/* §2 PROBLEMA                                                  */
/* ─────────────────────────────────────────────────────────── */
.rp {
  background: var(--bg-ice);
  padding: 100px 60px;
  position: relative; overflow: hidden;
}
.rp-dec-rings { position: absolute; top: -80px; right: -80px; pointer-events: none; }
.rpdr-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(230,22,103,.08);
}
.rpdr-r1 { width: 400px; height: 400px; top: 0; right: 0; }
.rpdr-r2 { width: 600px; height: 600px; top: -100px; right: -100px; }
.rp-inner { max-width: 1200px; margin: 0 auto; }
.rp-header { text-align: center; margin-bottom: 60px; }
.rp-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.rp-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; color: var(--tx-900); line-height: 1.1; margin-bottom: 16px; }
.rp-title em { font-style: normal; color: var(--pink); }
.rp-sub { font-size: 1rem; color: var(--tx-500); max-width: 560px; margin: 0 auto; line-height: 1.6; }

.rp-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.rpc-critical {
  grid-column: 1; grid-row: 1 / 3;
  background: #fff; border: 1.5px solid rgba(230,22,103,.25);
  border-radius: 16px; padding: 36px 30px;
  box-shadow: var(--sh-md);
  position: relative; overflow: hidden;
}
.rpc-critical::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pink), #ff6b9d);
}
.rpcc-badge { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 20px; }
.rpcc-stat { margin-bottom: 20px; }
.rpcc-num { display: block; font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 4.5rem; font-weight: 900; color: var(--pink); line-height: 1; }
.rpcc-label { font-size: .88rem; color: var(--tx-700); line-height: 1.4; margin-top: 6px; display: block; }
.rpcc-desc { font-size: .85rem; color: var(--tx-500); line-height: 1.6; margin-bottom: 20px; }
.rpcc-tag { display: inline-block; background: rgba(230,22,103,.08); border: 1px solid rgba(230,22,103,.2); color: var(--pink); font-size: .68rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; }

.rpc-small {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 14px; padding: 24px 22px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.rpc-small:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.rpcs-num { display: block; font-family: 'Courier New', monospace; font-size: .7rem; font-weight: 700; color: var(--tx-300); margin-bottom: 8px; }
.rpcs-title { font-size: .95rem; font-weight: 700; color: var(--tx-900); margin-bottom: 8px; }
.rpcs-desc { font-size: .8rem; color: var(--tx-500); line-height: 1.55; margin-bottom: 14px; }
.rpcs-bar { height: 4px; background: var(--brd); border-radius: 2px; margin-bottom: 6px; }
.rpcsb-fill { height: 100%; width: var(--w,0%); background: var(--pink); border-radius: 2px; transition: width 1.2s var(--ease) .3s; }
.rpcs-stat { font-size: .72rem; font-weight: 600; color: var(--tx-700); }

/* ─────────────────────────────────────────────────────────── */
/* §3 SOLUCIÓN                                                  */
/* ─────────────────────────────────────────────────────────── */
.rs {
  background: var(--bg-white);
  padding: 100px 60px;
  position: relative; overflow: hidden;
}
.rs-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 50%, rgba(230,22,103,.04), transparent),
    radial-gradient(ellipse 500px 300px at 20% 80%, rgba(109,192,170,.04), transparent);
  pointer-events: none;
}
.rs-inner { max-width: 1200px; margin: 0 auto; }
.rs-split { display: grid; grid-template-columns: 55fr 45fr; gap: 80px; align-items: center; }

.rssl-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.rssl-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: clamp(1.8rem,2.8vw,2.6rem); font-weight: 800; color: var(--tx-900); line-height: 1.15; margin-bottom: 18px; }
.rssl-accent { color: var(--pink); }
.rssl-body { font-size: .95rem; color: var(--tx-500); line-height: 1.65; margin-bottom: 28px; }

.rssl-feats { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.rsslf-item { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--tx-700); line-height: 1.5; }
.rsslf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dc); flex-shrink: 0; margin-top: 7px; }

.rssl-kpis { display: flex; gap: 24px; }
.rssle-kpi { text-align: center; }
.rsslk-val { display: block; font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--pink); }
.rsslk-lbl { font-size: .72rem; color: var(--tx-500); }

/* RIGHT CARD */
.rssr-card {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--sh-md);
  margin-bottom: 16px;
}
.rssrc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--brd); }
.rssrch-left { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--tx-700); }
.rssrch-icon { color: var(--pink); }
.rssrch-live { font-size: .62rem; background: rgba(109,192,170,.15); color: var(--teal); padding: 3px 8px; border-radius: 10px; font-weight: 700; }

.rssrc-cats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.rssrcc-item { display: grid; grid-template-columns: 80px 1fr 40px 60px; gap: 8px; align-items: center; }
.rssrcci-name { font-size: .78rem; font-weight: 600; color: var(--tx-700); }
.rssrcci-bar { height: 6px; background: var(--bg-ice); border-radius: 3px; overflow: hidden; }
.rssrccib-fill { height: 100%; width: 0; background: var(--c,var(--pink)); border-radius: 3px; transition: width 1.2s var(--ease) .4s; }
.rssrcci-pct { font-size: .72rem; font-weight: 700; color: var(--tx-700); text-align: right; }
.rssrcci-pct.warn { color: #FFB020; }
.rssrcci-tag { font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 10px; text-align: center; }
.rssrcci-tag.ok { background: rgba(109,192,170,.15); color: var(--teal); }
.rssrcci-tag.warn { background: rgba(255,176,32,.15); color: #FFB020; }
.rssrcci-tag.med { background: rgba(75,80,156,.12); color: var(--indigo); }

.rssrc-alert {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.3);
  border-radius: 8px; padding: 10px 12px;
  font-size: .76rem; color: var(--tx-700); line-height: 1.5;
}

.rssr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rssrc-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-ice); border: 1px solid var(--brd);
  color: var(--tx-700); padding: 7px 12px; border-radius: 20px;
  font-size: .72rem; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.rssrc-chip:hover { border-color: var(--pink); background: rgba(230,22,103,.05); }

/* ─────────────────────────────────────────────────────────── */
/* §4 CENTINELA                                                 */
/* ─────────────────────────────────────────────────────────── */
.rc {
  background: var(--bg-mist);
  padding: 100px 60px;
  position: relative; overflow: hidden;
}
.rc-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .4;
}
.rc-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }

.rcih-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
.rcih-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: clamp(2rem,3.2vw,2.8rem); font-weight: 800; color: var(--tx-900); line-height: 1.1; margin-bottom: 16px; }
.rcih-accent { color: var(--indigo); }
.rcih-sub { font-size: .95rem; color: var(--tx-500); max-width: 580px; margin: 0 auto; line-height: 1.6; }
.rci-header { text-align: center; margin-bottom: 56px; }

.rci-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
.rcig-feat {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 14px; padding: 28px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.rcig-feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.rcigf-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(var(--ic-rgb,.5),.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--ic,var(--pink)); margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--ic,var(--pink)) 20%, transparent);
}
/* Fallback bg for icon using custom property */
.rcig-feat:nth-child(1) .rcigf-icon { background: rgba(230,22,103,.08); border-color: rgba(230,22,103,.2); }
.rcig-feat:nth-child(2) .rcigf-icon { background: rgba(109,192,170,.08); border-color: rgba(109,192,170,.2); }
.rcig-feat:nth-child(3) .rcigf-icon { background: rgba(75,80,156,.08); border-color: rgba(75,80,156,.2); }
.rcig-feat:nth-child(4) .rcigf-icon { background: rgba(230,22,103,.08); border-color: rgba(230,22,103,.2); }
.rcig-feat:nth-child(5) .rcigf-icon { background: rgba(109,192,170,.08); border-color: rgba(109,192,170,.2); }
.rcig-feat:nth-child(6) .rcigf-icon { background: rgba(75,80,156,.08); border-color: rgba(75,80,156,.2); }

.rcigf-title { font-size: .95rem; font-weight: 700; color: var(--tx-900); margin-bottom: 8px; }
.rcigf-desc { font-size: .82rem; color: var(--tx-500); line-height: 1.6; margin-bottom: 14px; }
.rcigf-metric { font-size: .75rem; font-weight: 700; color: var(--pink); background: rgba(230,22,103,.06); padding: 5px 10px; border-radius: 6px; display: inline-block; }

/* Live Feed */
.rci-feed {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--sh-md);
}
.rcif-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--brd); }
.rcifh-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: pulse-ring 2s ease-out infinite;
}
.rcifh-label { font-size: .78rem; font-weight: 600; color: var(--tx-700); flex: 1; }
.rcifh-cams { font-size: .7rem; color: var(--tx-500); }
.rcif-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rcifg-zone {
  background: var(--bg-ice); border: 1px solid var(--brd);
  border-radius: 10px; padding: 14px 16px;
  transition: border-color .2s;
}
.rcifg-zone.warn { border-color: rgba(255,176,32,.4); background: rgba(255,176,32,.04); }
.rcifgz-label { font-size: .75rem; font-weight: 700; color: var(--tx-900); margin-bottom: 6px; }
.rcifgz-status { font-size: .72rem; margin-bottom: 4px; }
.rcifgz-status.ok { color: var(--teal); }
.rcifgz-status.warn { color: #FFB020; }
.rcifgz-epp { font-size: .68rem; color: var(--tx-500); }

/* ─────────────────────────────────────────────────────────── */
/* §5 IMPACTO                                                   */
/* ─────────────────────────────────────────────────────────── */
.ri {
  background: var(--bg-white);
  padding: 100px 60px;
}
.ri-inner { max-width: 90vw; margin: 0 auto; }
.riih-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.riih-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: clamp(2rem,3vw,2.8rem); font-weight: 800; color: var(--tx-900); line-height: 1.1; margin-bottom: 16px; }
.riih-accent { color: var(--pink); }
.riih-sub { font-size: .95rem; color: var(--tx-500); max-width: 540px; margin: 0 auto; line-height: 1.6; }
.rii-header { text-align: center; margin-bottom: 60px; }

.rii-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 40px; }
.riim-block {
  background: var(--bg-ice); border: 1px solid var(--brd);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  transition: transform .3s var(--spring), box-shadow .3s;
}
.riim-block:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.riimb-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--ic,var(--pink));
}
.riim-block:nth-child(1) .riimb-icon { background: rgba(230,22,103,.08); }
.riim-block:nth-child(2) .riimb-icon { background: rgba(109,192,170,.08); }
.riim-block:nth-child(3) .riimb-icon { background: rgba(75,80,156,.08); }
.riim-block:nth-child(4) .riimb-icon { background: rgba(230,22,103,.08); }

.riimb-val { display: block; font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 2.8rem; font-weight: 900; color: var(--tx-900); margin-bottom: 8px; line-height: 1; }
.riimb-title { display: block; font-size: .88rem; font-weight: 700; color: var(--tx-700); margin-bottom: 8px; }
.riimb-desc { font-size: .78rem; color: var(--tx-500); line-height: 1.55; }

.rii-commitment {
  background: var(--bg-ice); border: 1px solid var(--brd);
  border-radius: 12px; padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.riic-left { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--tx-700); line-height: 1.6; }
.riic-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: #fff;
  padding: 12px 24px; border-radius: 8px;
  font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s;
}
.riic-cta:hover { transform: translateY(-2px); box-shadow: var(--sh-pink); }

/* ─────────────────────────────────────────────────────────── */
/* §6 MODELO DE ENTREGA                                         */
/* ─────────────────────────────────────────────────────────── */
.rmd {
  background: var(--bg-ice);
  padding: 100px 60px;
  position: relative; overflow: hidden;
}
.rmd-topo { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.rmd-topo-svg path { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2s var(--ease); }
.rmd-topo-svg.animate path:nth-child(1) { stroke-dashoffset: 0; }
.rmd-topo-svg.animate path:nth-child(2) { stroke-dashoffset: 0; transition-delay: .3s; }
.rmd-topo-svg.animate path:nth-child(3) { stroke-dashoffset: 0; transition-delay: .6s; }
.rmd-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.rmdh-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.rmdh-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: clamp(1.8rem,2.8vw,2.4rem); font-weight: 800; color: var(--tx-900); line-height: 1.2; }
.rmdh-accent { color: var(--pink); }
.rmd-header { text-align: center; margin-bottom: 60px; }

.rmd-steps {
  display: flex; align-items: flex-start; gap: 0;
  justify-content: space-between;
}
.rmds-step {
  flex: 1; background: #fff; border: 1px solid var(--brd);
  border-radius: 14px; padding: 28px 22px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--spring);
}
.rmds-step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.rmdss-num {
  display: block; font-family: 'Eurostile','Rajdhani',sans-serif;
  font-size: 2rem; font-weight: 900; color: var(--nc,var(--pink));
  line-height: 1; margin-bottom: 6px;
}
.rmdss-tag { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tx-300); margin-bottom: 12px; display: block; }
.rmdss-title { font-size: .95rem; font-weight: 700; color: var(--tx-900); margin-bottom: 8px; }
.rmdss-desc { font-size: .78rem; color: var(--tx-500); line-height: 1.55; margin-bottom: 14px; }
.rmdss-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.rmdss-pills span { font-size: .62rem; background: var(--bg-ice); border: 1px solid var(--brd); color: var(--tx-500); padding: 3px 8px; border-radius: 10px; }
.rmdss-loop { margin-top: 12px; font-size: .65rem; font-weight: 700; color: var(--teal); }

.rmds-conn { flex-shrink: 0; width: 40px; display: flex; align-items: center; justify-content: center; padding-top: 40px; }
.rmds-conn svg { width: 40px; height: 16px; }

/* ─────────────────────────────────────────────────────────── */
/* §7 POR QUÉ YEAPDATA                                         */
/* ─────────────────────────────────────────────────────────── */
.rpq {
  background: var(--bg-white);
  padding: 100px 60px;
}
.rpq-inner { max-width: 1200px; margin: 0 auto; }
.rpqh-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.rpqh-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: clamp(1.8rem,2.8vw,2.4rem); font-weight: 800; color: var(--tx-900); }
.rpqh-accent { color: var(--pink); }
.rpq-header { text-align: center; margin-bottom: 56px; }

.rpq-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 18px;
}
.rpqb-large {
  grid-column: 1; grid-row: 1 / 3;
  background: linear-gradient(135deg, var(--bg-pale), #fff);
  border: 1.5px solid rgba(230,22,103,.2);
  border-radius: 18px; padding: 36px 32px;
  box-shadow: var(--sh-md);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.rpqb-large:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.rpqbl-eye {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(230,22,103,.08); border: 1px solid rgba(230,22,103,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ec,var(--pink)); margin-bottom: 20px;
}
.rpqbl-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--tx-900); line-height: 1.2; margin-bottom: 14px; }
.rpqbl-title span { color: var(--tx-500); font-weight: 500; font-size: .9em; }
.rpqbl-body { font-size: .88rem; color: var(--tx-500); line-height: 1.65; margin-bottom: 20px; }
.rpqbl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rpqbl-tags span { font-size: .68rem; background: rgba(230,22,103,.08); border: 1px solid rgba(230,22,103,.2); color: var(--pink); padding: 4px 10px; border-radius: 12px; font-weight: 600; }

.rpqb-med {
  background: #fff; border: 1px solid var(--brd);
  border-radius: 14px; padding: 26px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.rpqb-med:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.rpqbm-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ic,var(--teal)); margin-bottom: 14px;
}
.rpqb-med:nth-child(2) .rpqbm-icon { background: rgba(109,192,170,.08); border: 1px solid rgba(109,192,170,.2); }
.rpqb-med:nth-child(3) .rpqbm-icon { background: rgba(75,80,156,.08); border: 1px solid rgba(75,80,156,.2); }
.rpqbm-title { font-size: .95rem; font-weight: 700; color: var(--tx-900); margin-bottom: 8px; }
.rpqbm-body { font-size: .8rem; color: var(--tx-500); line-height: 1.6; }

.rpqb-wide {
  grid-column: 2 / 4;
  background: var(--bg-ice); border: 1px solid var(--brd);
  border-radius: 14px; padding: 28px 32px;
  display: flex; gap: 40px; align-items: center;
  box-shadow: var(--sh-sm);
}
.rpqbw-left { flex: 1; }
.rpqbw-title { font-size: 1rem; font-weight: 700; color: var(--tx-900); margin-bottom: 8px; }
.rpqbw-body { font-size: .82rem; color: var(--tx-500); line-height: 1.55; }
.rpqbw-right { display: flex; gap: 20px; flex-shrink: 0; }
.rpqbwr-kpi { text-align: center; }
.rpqbwrk-val { display: block; font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--pink); }
.rpqbwrk-lbl { font-size: .68rem; color: var(--tx-500); }

.rpqb-sm {
  background: var(--bg-ice); border: 1px solid var(--brd);
  border-radius: 14px; padding: 24px;
  box-shadow: var(--sh-sm);
}
.rpqbs-title { font-size: .88rem; font-weight: 700; color: var(--tx-900); margin-bottom: 14px; }
.rpqbs-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.rpqbs-stack span { font-size: .68rem; background: #fff; border: 1px solid var(--brd); color: var(--tx-700); padding: 5px 10px; border-radius: 8px; font-weight: 500; transition: border-color .2s, color .2s; }
.rpqbs-stack span:hover { border-color: var(--pink); color: var(--pink); }
.rpqbs-certs { display: flex; flex-wrap: wrap; gap: 6px; }
.rpqbsc-badge { font-size: .65rem; font-weight: 700; background: #fff; border: 1px solid var(--brd); color: var(--tx-700); padding: 5px 10px; border-radius: 8px; }
.rpqbsc-plus { background: rgba(230,22,103,.08); border-color: rgba(230,22,103,.2); color: var(--pink); }

/* ─────────────────────────────────────────────────────────── */
/* §8 CTA FINAL                                                 */
/* ─────────────────────────────────────────────────────────── */
.rct {
  background: var(--bg-pale);
  padding: 100px 60px;
  position: relative; overflow: hidden;
  text-align: center;
}
.rct-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.rct-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }

.rct-title {
  font-family: 'Eurostile','Rajdhani',sans-serif;
  font-size: clamp(2.4rem,4.5vw,4rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -.02em;
  color: var(--tx-900); margin-bottom: 20px;
}
.rctth-row { display: block; overflow: hidden; }
.rctth-mask {
  display: inline-block;
  transform: translateY(100%);
  transition: transform .8s var(--ease);
}
.rctth-mask.in { transform: translateY(0); }
.rctth-accent { color: var(--pink); }

.rct-sub { font-size: 1rem; color: var(--tx-500); margin-bottom: 56px; }

.rct-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; text-align: left; }

.rctc-card {
  background: #fff; border: 1.5px solid var(--brd);
  border-radius: 18px; padding: 32px 28px;
  box-shadow: var(--sh-md);
  display: flex; flex-direction: column;
  transition: transform .3s var(--spring), box-shadow .3s;
}
.rctc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.rctc-inv { border-color: rgba(230,22,103,.2); }
.rctc-sec { border-color: rgba(109,192,170,.25); }

.rctcc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.rctcch-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--bc); background: color-mix(in srgb, var(--bc) 10%, transparent); padding: 5px 12px; border-radius: 12px; }
.rctc-inv .rctcch-badge { background: rgba(230,22,103,.1); color: var(--pink); }
.rctc-sec .rctcch-badge { background: rgba(109,192,170,.12); color: var(--teal); }
.rctcch-icon { color: var(--tx-300); }
.rctcc-title { font-family: 'Eurostile','Rajdhani',sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--tx-900); line-height: 1.2; margin-bottom: 20px; }
.rctcc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; flex: 1; }
.rctcc-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--tx-700); line-height: 1.5; }
.rctcc-list li::before { content: '→'; color: var(--pink); flex-shrink: 0; font-weight: 700; }
.rctc-sec .rctcc-list li::before { color: var(--teal); }
.rctcc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cc,var(--pink)); color: #fff;
  padding: 13px 22px; border-radius: 8px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: transform .25s var(--spring), box-shadow .25s; align-self: flex-start;
}
.rctcc-cta:hover { transform: translateY(-2px); }
.rctc-inv .rctcc-cta:hover { box-shadow: var(--sh-pink); }
.rctc-sec .rctcc-cta:hover { box-shadow: var(--sh-teal); }

.rct-strip {
  background: var(--bg-slate); color: rgba(255,255,255,.7);
  border-radius: 12px; padding: 20px 32px;
  font-size: .9rem; line-height: 1.6;
}
.rct-strip strong { color: #fff; }

/* ─────────────────────────────────────────────────────────── */
/* RESPONSIVE                                                   */
/* ─────────────────────────────────────────────────────────── */
@media (max-width:1100px) {
  .rh-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 40px; }
  .rh-right { max-width: 600px; }
  .rs-split { grid-template-columns: 1fr; gap: 40px; }
  .rii-metrics { grid-template-columns: repeat(2,1fr); }
  .rmd-steps { flex-wrap: wrap; gap: 16px; }
  .rmds-conn { display: none; }
  .rmds-step { flex: 0 0 calc(50% - 8px); }
  .rpq-bento { grid-template-columns: 1fr 1fr; }
  .rpqb-large { grid-column: 1 / 3; grid-row: auto; }
  .rpqb-wide { grid-column: 1 / 3; flex-direction: column; }
  .rct-cards { grid-template-columns: 1fr; }
}
@media (max-width:768px) {
  .rp { padding: 60px 24px; }
  .rs { padding: 60px 24px; }
  .rc { padding: 60px 24px; }
  .ri { padding: 60px 24px; }
  .rmd { padding: 60px 24px; }
  .rpq { padding: 60px 24px; }
  .rct { padding: 60px 24px; }
  .rh-topbar { padding: 14px 24px; }
  .rp-grid { grid-template-columns: 1fr; }
  .rpc-critical { grid-column: auto; grid-row: auto; }
  .rci-grid { grid-template-columns: 1fr 1fr; }
  .rcif-grid { grid-template-columns: 1fr 1fr; }
  .rhl-trust { flex-wrap: wrap; justify-content: center; }
  .rhtb-iso { display: none; }
  .rii-metrics { grid-template-columns: 1fr; }
  .rpqbw-right { flex-wrap: wrap; justify-content: center; }
  .rpq-bento { grid-template-columns: 1fr; }
  .rpqb-large, .rpqb-wide { grid-column: auto; }
  .rmds-step { flex: 1 0 100%; }
}
@media (max-width:480px) {
  .rci-grid { grid-template-columns: 1fr; }
  .rcif-grid { grid-template-columns: 1fr; }
  .rhl-ctas { flex-direction: column; }
  .rssl-kpis { flex-wrap: wrap; justify-content: center; }
}