/* ============================================================
   CobraPay · Landing "La Bóveda"
   Brutalismo + skeuomorfismo fintech. Acero, latón y liquid glass.
   ============================================================ */

:root {
  --ink: #0a1628;
  --ink-2: #14294a;
  --slate: #56678a;
  --blue: #2d6cdf;
  --blue-2: #4d8cff;
  --blue-deep: #173c7a;
  --gold: #f5b948;
  --gold-deep: #dd9622;
  --mint: #17b890;
  --paper: #eef2f9;
  --card: #ffffff;
  --line: #d7e0ee;
  --dark: #0b1b32;
  --steel-hi: #f5f8fd;
  --steel-lo: #b9c6dc;
  --grad: linear-gradient(100deg, #173c7a 0%, #2d6cdf 34%, #4d8cff 62%, #17b890 100%);
  --grad-warm: linear-gradient(100deg, #2d6cdf 0%, #4d8cff 45%, #f5b948 100%);
  --grad-light: linear-gradient(100deg, #9fc6ff 0%, #dfebff 55%, #ffd98a 100%);
  --shadow: 0 26px 70px rgba(15, 39, 76, .14);
  --hard: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.cp-noise { position: fixed; inset: 0; pointer-events: none; opacity: .4; z-index: -1;
  background-image: radial-gradient(rgba(20, 60, 114, .06) .65px, transparent .65px); background-size: 6px 6px; }

/* ---------- Reveal-on-scroll (only hidden once JS confirms it can reveal) ---------- */
.cp-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cp-js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Gradient text ---------- */
.cp-grad, .cp-grad-light {
  background-image: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: normal;
}
.cp-grad-light { background-image: var(--grad-light); }
em { color: var(--blue); font-style: normal; }

/* ============================================================
   NAV — liquid glass
   ============================================================ */
.cp-nav {
  position: sticky; top: 14px; z-index: 60;
  width: min(1180px, calc(100% - 32px)); margin: 14px auto 0;
  min-height: 66px; padding: 0 12px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 999px;
  background: rgba(247, 250, 255, .62);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 30px rgba(10, 22, 40, .10), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(120, 150, 200, .12);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), min-height .3s var(--ease), top .3s var(--ease), transform .35s var(--ease), opacity .35s var(--ease);
}
.cp-nav.is-hidden { transform: translateY(-165%); opacity: 0; pointer-events: none; }
.cp-nav::after { /* specular sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.5), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.35));
  opacity: .55;
}
.cp-nav.is-scrolled { top: 8px; min-height: 58px; background: rgba(247, 250, 255, .82);
  box-shadow: 0 14px 34px rgba(10, 22, 40, .16), inset 0 1px 0 rgba(255,255,255,.9); }
.cp-brand img { width: auto; height: 50px; max-width: 160px; object-fit: contain; display: block; }
.cp-nav .cp-brand img { height: 46px; }
/* ---------- Menu de navegacion V.2: paneles desplegables + hoja movil ---------- */
.cp-menu-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cp-menu-item { position: relative; }
.cp-menu-trigger, .cp-menu-plain {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border: 0; border-radius: 999px;
  background: transparent; color: #43567a; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.cp-menu-trigger i { font-size: 13px; transition: transform .25s var(--ease); }
.cp-menu-trigger:hover, .cp-menu-plain:hover, .cp-menu-item.is-open > .cp-menu-trigger { color: var(--blue); background: rgba(45, 108, 223, .09); }
.cp-menu-item.is-open > .cp-menu-trigger i { transform: rotate(180deg); }
.cp-menu-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 70;
  width: min(620px, calc(100vw - 32px)); padding: 10px;
  border-radius: 22px; background: rgba(250, 252, 255, .94);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 30px 70px rgba(10, 22, 40, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.cp-menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* puente: el cursor no lo cierra al cruzar */
.cp-menu-panel-sm { width: min(340px, calc(100vw - 32px)); }
.cp-menu-item.is-open > .cp-menu-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s;
}
.cp-menu-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: auto auto; gap: 6px; }
.cp-menu-grid-1 { grid-template-columns: 1fr; }
.cp-menu-feature {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 190px; padding: 18px; border-radius: 16px; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, rgba(77, 140, 255, .55), transparent 60%), linear-gradient(150deg, #0b1b32, #173c7a 60%, #2d6cdf);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cp-menu-feature img { width: 42px; height: 42px; margin-bottom: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.cp-menu-feature strong { font-family: "Space Grotesk", Manrope, sans-serif; font-size: 18px; }
.cp-menu-feature small { color: rgba(235, 243, 255, .82); font-size: 12px; line-height: 1.45; }
.cp-menu-feature:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(23, 60, 122, .35); }
.cp-menu-link { display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; transition: background .18s ease; }
.cp-menu-link:hover, .cp-menu-link:focus-visible { background: rgba(45, 108, 223, .08); }
.cp-menu-link strong { display: block; color: var(--ink); font-size: 13px; font-weight: 800; }
.cp-menu-link small { display: block; margin-top: 2px; color: var(--slate); font-size: 12px; line-height: 1.4; }
.cp-menu-link[aria-current="page"] strong { color: var(--blue); }
.cp-menu-ico {
  flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  color: var(--blue); background: linear-gradient(145deg, #ffffff, #e4ecfa);
  box-shadow: 0 4px 10px rgba(23, 60, 122, .12), inset 0 1px 0 #fff; font-size: 15px;
}
.cp-nav-actions { display: flex; align-items: center; gap: 8px; }
.cp-burger {
  display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(10, 22, 40, .06); cursor: pointer;
}
.cp-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .28s var(--ease), top .28s var(--ease); }
.cp-burger span:first-child { top: 17px; }
.cp-burger span:last-child { top: 25px; }
.cp-burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.cp-burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }
.cp-mobile-menu {
  position: fixed; z-index: 55; top: 84px; left: 12px; right: 12px;
  max-height: calc(100dvh - 100px); overflow-y: auto; padding: 14px;
  border-radius: 24px; background: rgba(250, 252, 255, .96);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 30px 70px rgba(10, 22, 40, .22);
  opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top center;
  transition: opacity .22s var(--ease), transform .26s var(--ease);
}
.cp-mobile-menu.is-open { opacity: 1; transform: none; }
.cp-mobile-menu a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: 15px; }
.cp-mobile-menu a i { color: var(--blue); font-size: 17px; }
.cp-mobile-menu a:active, .cp-mobile-menu a:hover { background: rgba(45, 108, 223, .08); }
.cp-mobile-menu a[aria-current="page"] { color: var(--blue); }
.cp-mobile-group { margin: 10px 12px 4px; color: var(--slate); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cp-mobile-group:first-child { margin-top: 2px; }
.cp-mobile-menu .cp-mobile-cta { justify-content: center; margin-top: 12px; color: #fff; background: var(--ink); border-radius: 999px; }
.cp-mobile-menu .cp-mobile-cta i { color: #fff; }
body.cp-menu-abierto { overflow: hidden; }
.cp-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.cp-nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 11px 17px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap;
  color: #fff; background: var(--ink);
  box-shadow: 0 8px 18px rgba(10,22,40,.28), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cp-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(10,22,40,.34); }

/* ============================================================
   Shared layout + type
   ============================================================ */
.cp-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.cp-kicker { margin: 0 0 19px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cp-kicker span { display: inline-block; width: 23px; height: 2px; margin: 0 8px 3px 0; background: currentColor; }
.cp-kicker-light { color: #9fc6ff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', Manrope, sans-serif; letter-spacing: -.03em; line-height: 1.02; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 5.2vw, 78px); font-weight: 700; }
h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 56px); font-weight: 700; }
h3 { margin-bottom: 9px; font-size: 22px; font-weight: 600; }
.cp-lead { max-width: 560px; margin-bottom: 27px; color: var(--slate); font-size: 18px; }

/* ---------- Buttons (interactive, tactile) ---------- */
.cp-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border: 2px solid var(--ink); border-radius: 14px; padding: 0 20px; cursor: pointer;
  font-size: 13px; font-weight: 800; overflow: hidden; isolation: isolate;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .2s ease; }
.cp-button i { transition: transform .25s var(--ease); }
.cp-button::before { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transition: transform .6s var(--ease); }
.cp-button:hover::before { transform: translateX(120%); }
.cp-button-primary { color: #fff; background: var(--blue); box-shadow: var(--hard); }
.cp-button-primary:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.cp-button-primary:hover i { transform: translateY(3px); }
.cp-button-primary:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.cp-button-quiet { color: var(--ink); background: rgba(255,255,255,.7); border-color: var(--line); box-shadow: 0 6px 16px rgba(15,39,76,.08); }
.cp-button-quiet:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.cp-button-quiet:hover i { transform: translateX(3px); }
.cp-button-gold { color: var(--ink); background: linear-gradient(180deg, #ffd778, var(--gold)); border-color: var(--ink); box-shadow: var(--hard); }
.cp-button-gold:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.cp-button-gold:hover i { transform: translate(3px, -3px); }

/* ---------- Skeuomorphic icon tiles ---------- */
.cp-ictile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--blue);
  background: linear-gradient(160deg, var(--steel-hi), #dbe4f2);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 3px 3px 0 rgba(16,35,62,.14), inset 0 1px 0 #fff, inset 0 -3px 6px rgba(90,120,170,.18);
  font-size: 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s ease; }
.cp-ictile-sm { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
.cp-proof-avatar { width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: var(--card); box-shadow: 0 8px 22px rgba(15,39,76,.1); }
.cp-proof-avatar img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   HERO
   ============================================================ */
.cp-hero { min-height: 640px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 44px; padding: 40px 0 64px; }
.cp-proof { display: flex; align-items: center; gap: 10px; color: var(--slate); font-size: 12px; }
.cp-proof p { margin: 0; }
.cp-proof strong { color: var(--ink); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 34px; }

.cp-hero-visual { position: relative; min-height: 500px; }
.cp-orbit { position: absolute; border: 1px solid rgba(45,108,223,.14); border-radius: 50%; }
.cp-orbit-one { inset: 12px 40px 12px 8px; animation: cp-spin 60s linear infinite; }
.cp-orbit-two { inset: 64px 90px 61px 58px; border-style: dashed; border-color: rgba(245,185,72,.28); animation: cp-spin 42s linear infinite reverse; }
@keyframes cp-spin { to { transform: rotate(360deg); } }

/* Terminal bezel (skeuomorphic register housing) */
.cp-terminal { position: absolute; inset: 44px 30px 40px 20px; z-index: 1; transform: rotate(-2deg); }
.cp-terminal-bezel { position: relative; height: 100%; padding: 14px; border-radius: 26px;
  background: linear-gradient(165deg, #e8eef8, #c2cfe4);
  box-shadow: var(--shadow), inset 0 2px 2px rgba(255,255,255,.9), inset 0 -6px 12px rgba(90,120,170,.35);
  border: 1px solid rgba(255,255,255,.6); }
.cp-bolt { position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #9fb0cc 60%, #6f83a6);
  box-shadow: inset 0 -1px 2px rgba(0,0,0,.35), 0 1px 1px rgba(255,255,255,.6); }
.cp-bolt-tl { top: 8px; left: 8px; } .cp-bolt-tr { top: 8px; right: 8px; }
.cp-bolt-bl { bottom: 8px; left: 8px; } .cp-bolt-br { bottom: 8px; right: 8px; }

.cp-dashboard { position: relative; overflow: hidden; border: 1px solid rgba(132,161,204,.42); border-radius: 16px; background: #fdfefe; height: 100%; }
.cp-appbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); font-family: 'DM Mono', monospace; font-size: 10px; color: #6c7c94; }
.cp-app-mark { display: flex; align-items: center; gap: 8px; font-family: Manrope, sans-serif; color: var(--ink); font-size: 13px; font-weight: 800; }
.cp-app-mark img { width: 22px; height: 22px; object-fit: contain; }
.cp-status { width: 8px; height: 8px; border-radius: 50%; background: #32c995; box-shadow: 0 0 0 5px rgba(50,201,149,.12); animation: cp-pulse 2.4s ease-in-out infinite; }
@keyframes cp-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(50,201,149,.14); } 50% { box-shadow: 0 0 0 8px rgba(50,201,149,0); } }
.cp-app-content { display: grid; grid-template-columns: 56px 1fr; min-height: 330px; }
.cp-app-content aside { display: flex; flex-direction: column; gap: 18px; align-items: center; padding-top: 26px; color: #9aa8bb; border-right: 1px solid var(--line); }
.cp-app-content aside span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.cp-app-content aside .active { color: #fff; background: var(--blue); box-shadow: 0 6px 12px rgba(45,108,223,.4); }
.cp-panel { padding: 28px; }
.cp-greeting { display: flex; justify-content: space-between; gap: 18px; }
.cp-greeting small, .cp-metrics small, .cp-chart small, .cp-chart-title { font-size: 9px; color: #8291a5; font-weight: 800; letter-spacing: .08em; }
.cp-greeting h2 { margin: 7px 0 22px; font-size: 26px; color: var(--ink); }
.cp-pill { align-self: flex-start; padding: 7px 9px; border-radius: 999px; color: var(--mint); background: #e5f7f0; font-size: 10px; font-weight: 800; }
.cp-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-metrics > div { padding: 13px; border: 1px solid #e6edf6; border-radius: 12px; background: linear-gradient(180deg,#fff,#f8fbff); }
.cp-metrics b { display: block; margin: 3px 0; font-size: 18px; font-family: 'Space Grotesk', sans-serif; }
.cp-metrics span { font-size: 10px; color: #7b8ca2; } .cp-metrics .up { color: var(--mint); }
.cp-chart { margin-top: 16px; padding: 14px; border: 1px solid #e6edf6; border-radius: 12px; }
.cp-chart-title { display: flex; justify-content: space-between; letter-spacing: 0; }
.cp-chart svg { display: block; width: 100%; height: 100px; margin-top: 7px; }
.cp-area { fill: url(#area); }
.cp-line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-dasharray: 900; stroke-dashoffset: 900; }
.in .cp-line, .cp-hero-visual.in .cp-line { animation: cp-draw 1.8s var(--ease) .3s forwards; }
@keyframes cp-draw { to { stroke-dashoffset: 0; } }

.cp-float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 15px;
  background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(15,39,76,.16), inset 0 1px 0 rgba(255,255,255,.8); }
.cp-float-card small { display: block; color: #7989a0; font-size: 10px; }
.cp-float-card b { display: block; color: var(--ink); font-size: 13px; font-family: 'Space Grotesk', sans-serif; }
.cp-float-sale { top: 26px; right: -6px; animation: cp-bob 5s ease-in-out infinite; }
.cp-float-stock { bottom: 14px; left: -8px; animation: cp-bob 5s ease-in-out infinite .8s; }
@keyframes cp-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.cp-icon-round { display: grid; place-items: center; width: 27px; height: 27px; color: #fff; background: var(--mint); border-radius: 50%; box-shadow: inset 0 -2px 3px rgba(0,0,0,.2); }
.cp-icon-round-blue { background: var(--blue); }

/* ============================================================
   TICKER (mechanical)
   ============================================================ */
.cp-marquee { overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--ink); color: #cfe0ff; }
.cp-marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 14px 0;
  font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .12em;
  animation: cp-scroll 34s linear infinite; }
.cp-marquee:hover .cp-marquee-track { animation-play-state: paused; }
.cp-marquee i { font-style: normal; color: var(--gold); }
@keyframes cp-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   STATS (count-up)
   ============================================================ */
.cp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 74px 0 20px; }
.cp-stat { padding: 26px 24px; border-radius: 18px; border: 2px solid var(--ink);
  background: linear-gradient(180deg, #fff, #f3f7fd); box-shadow: var(--hard);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cp-stat:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.cp-stat b { display: flex; align-items: baseline; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(46px, 5vw, 68px); line-height: .9; letter-spacing: -.04em;
  background-image: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-stat b i { font-style: normal; font-size: .5em; margin-left: 2px; }
.cp-stat small { display: block; margin-top: 12px; color: var(--slate); font-size: 12.5px; font-weight: 600; line-height: 1.35; }

/* ============================================================
   INTRO
   ============================================================ */
.cp-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; padding: 120px 0; }
.cp-intro > div p { max-width: 650px; color: var(--slate); font-size: 19px; }

/* ============================================================
   MODULES
   ============================================================ */
.cp-modules { padding: 96px 0; }
.cp-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.cp-section-heading > p { width: 310px; margin: 0 0 8px; color: var(--slate); }
.cp-module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cp-module { position: relative; min-height: 272px; overflow: hidden; padding: 22px; border: 2px solid var(--ink); border-radius: 18px; background: var(--card);
  box-shadow: 4px 4px 0 rgba(16,35,62,.16); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.cp-module:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.cp-module:hover .cp-ictile { transform: translateY(-3px) rotate(-6deg); color: var(--blue-2); box-shadow: 4px 5px 0 rgba(16,35,62,.2), inset 0 1px 0 #fff; }
.cp-module-featured { grid-column: span 2; background: linear-gradient(155deg, #12294c, #0b1b32); color: #fff; }
.cp-module-featured .cp-ictile { background: linear-gradient(160deg,#26436f,#16294a); color: #cfe0ff; border-color: rgba(255,255,255,.14); box-shadow: 3px 3px 0 rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.cp-module-security { background: linear-gradient(160deg, #eaf2ff, #dce9ff); }
.cp-module-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.cp-module-num { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .11em;
  background-image: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-module-featured .cp-module-num { background: none; -webkit-text-fill-color: #ffd98a; color: #ffd98a; }
.cp-module p { margin-bottom: 5px; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .11em; color: #71829a; }
.cp-module-featured p { color: #9fc0f0; }
.cp-module h3 { font-size: 22px; }
.cp-module > div:nth-child(2) > span { display: block; color: #65768e; font-size: 13px; }
.cp-module-featured > div:nth-child(2) > span { color: #b9d0ee; }
.cp-mini-bars { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: end; gap: 6px; height: 66px; }
.cp-mini-bars i { display: block; width: 12px; border-radius: 12px 12px 3px 3px; background: linear-gradient(180deg,#78a6f5,#3f78e0); }
.cp-mini-bars i:nth-child(1){height:26px}.cp-mini-bars i:nth-child(2){height:42px}.cp-mini-bars i:nth-child(3){height:34px}.cp-mini-bars i:nth-child(4){height:58px}.cp-mini-bars i:nth-child(5){height:46px}.cp-mini-bars i:nth-child(6){height:64px}.cp-mini-bars i:nth-child(7){height:52px}
.cp-receipt { position: absolute; right: 20px; bottom: 18px; width: 145px; padding: 10px; transform: rotate(3deg); background: #f1f6ff; box-shadow: 0 10px 18px rgba(25,65,121,.1); font-family: 'DM Mono', monospace; font-size: 9px; }
.cp-receipt b { display: block; margin-bottom: 10px; } .cp-receipt span { display: block; border-top: 1px dashed #a2b6d4; padding-top: 7px; } .cp-receipt strong { float: right; }
.cp-stock-list { position: absolute; right: 17px; bottom: 18px; width: 156px; font-size: 10px; }
.cp-stock-list span { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: #64748b; }
.cp-stock-list i { width: 7px; height: 7px; border-radius: 50%; background: #4aa486; } .cp-stock-list span:nth-child(3) i { background: #e2a632; } .cp-stock-list b { margin-left: auto; color: var(--ink); }
.cp-cash-total { position: absolute; right: 20px; bottom: 18px; padding: 12px; border-radius: 10px; background: #f1f6ff; }
.cp-cash-total small { display: block; font-size: 8px; color: #6d809a; } .cp-cash-total b { display: block; font-size: 22px; font-family: 'Space Grotesk', sans-serif; }
.cp-tags { position: absolute; right: 18px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 5px; width: 156px; }
.cp-tags span { padding: 5px 7px; border-radius: 999px; background: #eff4fc; color: #506987; font-size: 9px; }
.cp-people { position: absolute; right: 18px; bottom: 20px; display: flex; align-items: center; }
.cp-people i { width: 28px; height: 28px; margin-right: -7px; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(135deg,#709fee,#f3ba84); }
.cp-people i:nth-child(2){background:linear-gradient(135deg,#e7989d,#786ed9)}.cp-people i:nth-child(3){background:linear-gradient(135deg,#7dcbad,#e5d380)}
.cp-people span { margin-left: 12px; color: #617188; font-size: 10px; }
.cp-report-ring { position: absolute; right: 22px; bottom: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 90px; height: 90px; border-radius: 50%; background: conic-gradient(var(--blue) 0 86%, #e7edf7 86%); box-shadow: 0 8px 16px rgba(45,108,223,.18); }
.cp-report-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.cp-report-ring b, .cp-report-ring span { position: relative; z-index: 1; }
.cp-report-ring b { font-size: 15px; line-height: 1; font-family: 'Space Grotesk', sans-serif; color: var(--ink); }
.cp-report-ring small { font-size: 8px; }
.cp-report-ring span { margin-top: 2px; font-size: 7.5px; letter-spacing: .03em; color: #67778e; }
/* Card 07 (Reportes): keep the description in a left column so the ring never overlaps it */
.cp-module-reports > div:nth-child(2) > span { display: block; max-width: 145px; }
.cp-module-reports .cp-report-ring { width: 72px; height: 72px; right: 16px; bottom: 16px; }
.cp-module-reports .cp-report-ring::before { inset: 8px; }
.cp-security-status { position: absolute; right: 19px; bottom: 20px; color: var(--mint); font-size: 11px; font-weight: 800; }

/* ============================================================
   ★ VAULT — scroll-locked (signature)
   ============================================================ */
.cp-vault { position: relative; height: 300vh; background: radial-gradient(120% 90% at 50% 0%, #14294a 0%, #0a1628 55%, #060e1c 100%); color: #fff; }
.cp-vault__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3vh, 40px); overflow: hidden; perspective: 1700px; }
.cp-vault__intro { position: static; text-align: center; padding: 0 20px; z-index: 4; }
.cp-vault__intro .cp-kicker { margin-bottom: 12px; }
.cp-vault__intro h2 { margin-bottom: 8px; font-size: clamp(30px, 4.4vw, 54px); }
.cp-vault__hint { margin: 4px 0 0; color: #7f97bd; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.cp-safe { position: relative; width: min(410px, 78vw); aspect-ratio: 1 / 1.04; transform-style: preserve-3d; }

/* frame behind the door */
.cp-safe::before { content: ""; position: absolute; inset: -18px; border-radius: 30px;
  background: linear-gradient(160deg, #33465f, #131f30);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 2px 2px rgba(255,255,255,.14), inset 0 -8px 20px rgba(0,0,0,.6); }

/* inner contents (revealed) */
.cp-safe__inner { position: absolute; inset: 6px; border-radius: 20px; padding: 30px; z-index: 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 16px; text-align: center;
  background: radial-gradient(90% 80% at 50% 20%, #123 0%, #0a1424 70%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.8); }
.cp-safe__inner-glow { position: absolute; inset: 0; opacity: calc(var(--p) * 1); pointer-events: none;
  background: radial-gradient(60% 45% at 50% 42%, rgba(245,185,72,.28), transparent 70%); transition: opacity .2s linear; }
.cp-safe__inner-kicker { position: relative; margin: 0; color: var(--gold); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .18em; }
.cp-safe__loot { position: relative; margin: 4px 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-safe__loot li { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); font-size: 13px; font-weight: 700; color: #dfe9fb; }
.cp-safe__loot .cp-ictile { color: #cfe0ff; background: linear-gradient(160deg,#26436f,#16294a); border-color: rgba(255,255,255,.14); box-shadow: 2px 2px 0 rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.15); }
.cp-safe__inner-note { position: relative; margin: 0; color: #91a6c8; font-size: 12.5px; }

/* the steel door */
.cp-safe__door { position: absolute; inset: 0; z-index: 3; transform-origin: left center;
  transform: rotateY(calc(var(--p) * -112deg)); transition: transform .1s linear; transform-style: preserve-3d; }
.cp-safe__door-face { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; backface-visibility: hidden;
  background:
    /* Shine highlight top-left */
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.2), transparent 48%),
    /* Reptile scales texture (hexagonal pattern) */
    repeating-linear-gradient(0deg, transparent, transparent 2.5px, rgba(0,0,0,.12) 2.5px, rgba(0,0,0,.12) 3.5px),
    repeating-linear-gradient(60deg, transparent, transparent 2.5px, rgba(0,0,0,.12) 2.5px, rgba(0,0,0,.12) 3.5px),
    repeating-linear-gradient(120deg, transparent, transparent 2.5px, rgba(0,0,0,.12) 2.5px, rgba(0,0,0,.12) 3.5px),
    repeating-radial-gradient(circle at 0 0, transparent 0 6px, rgba(0,0,0,.08) 6px 6.5px),
    /* Base: dark blue steel */
    linear-gradient(140deg, #5a7a9e 0%, #3d5274 28%, #2a3f5c 56%, #0f1f32 100%);
  background-size: 100% 100%, 10px 10px, 10px 10px, 10px 10px, 12px 12px, 100% 100%;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.18),
    inset 0 -14px 35px rgba(0,0,0,.72),
    inset 2px 2px 8px rgba(255,255,255,.08),
    14px 0 50px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.1); }
.cp-safe__door-edge { position: absolute; top: 0; bottom: 0; right: 0; width: 22px; transform: rotateY(90deg) translateZ(11px);
  background: linear-gradient(90deg, #0d1626, #26374f); }
.cp-safe__door .cp-bolt { width: 16px; height: 16px;
  background:
    radial-gradient(circle at 35% 28%, #f2f7ff, transparent 40%),
    radial-gradient(circle at 35% 30%, #c8d8e8 0%, #8fa4bb 50%, #5f7a96 80%, #3d4f68 100%);
  box-shadow:
    inset -1px -1px 2px rgba(0,0,0,.4),
    inset 0.5px 0.5px 1px rgba(255,255,255,.6),
    0 3px 8px rgba(0,0,0,.5);
  border: 1px solid rgba(0,0,0,.3); }
.cp-safe__door .cp-bolt-tl { top: 16px; left: 16px; } .cp-safe__door .cp-bolt-tr { top: 16px; right: 16px; }
.cp-safe__door .cp-bolt-bl { bottom: 16px; left: 16px; } .cp-safe__door .cp-bolt-br { bottom: 16px; right: 16px; }
.cp-safe__ring { position: absolute; top: 50%; left: 50%; width: 62%; height: 62%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 0 44%, rgba(0,0,0,.35) 45% 47%, transparent 48%),
              radial-gradient(circle at 50% 30%, rgba(255,255,255,.14), transparent 60%);
  box-shadow: inset 0 0 30px rgba(0,0,0,.5); }
.cp-safe__dial { position: absolute; top: 50%; left: 50%; width: 40%; height: 40%; transform: translate(-50%, -50%) rotate(calc(var(--p) * 900deg));
  border-radius: 50%; transition: transform .1s linear;
  background:
    /* Bright shine at top-left */
    radial-gradient(circle at 38% 28%, #fff9e6, transparent 35%),
    /* Main golden gradient (shiny, metallic) */
    radial-gradient(circle at 40% 32%, #ffdd99, var(--gold) 38%, #f5a628 68%, var(--gold-deep) 100%);
  box-shadow:
    inset 0 3px 8px rgba(255,255,255,.8),
    inset -2px -2px 6px rgba(120,70,0,.7),
    inset 0 -8px 16px rgba(100,55,0,.5),
    0 12px 28px rgba(0,0,0,.5),
    0 2px 4px rgba(0,0,0,.3);
  border: 1px solid rgba(200,120,0,.3); }
.cp-safe__dial-grip { position: absolute; inset: 14% 46% 14% 46%; border-radius: 4px; background: linear-gradient(180deg, #7a4e08, #b47c14); box-shadow: inset 0 1px 1px rgba(255,255,255,.4); }
.cp-safe__dial-mark { position: absolute; top: 6%; left: 50%; width: 6px; height: 18%; transform: translateX(-50%); border-radius: 3px; background: #5a3a05; }
.cp-safe__handle { position: absolute; top: 50%; right: 12%; width: 12%; height: 30%; transform: translateY(-50%) rotate(calc(var(--p) * -60deg)); transform-origin: 50% 100%; transition: transform .1s linear; }
.cp-safe__handle i { position: absolute; inset: 0; border-radius: 8px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.3), transparent 45%),
    linear-gradient(110deg, #a8bcd4 0%, #8899bb 35%, #6b7fa8 65%, #4a5a80 100%);
  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,.6),
    inset -1px -2px 4px rgba(0,0,0,.4),
    0 6px 16px rgba(0,0,0,.45);
  border: 1px solid rgba(0,0,0,.2); }
.cp-safe__plate { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); padding: 5px 11px; border-radius: 6px;
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .12em; color: #cfe0ff;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.25)); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }

/* ---------- Vault loot buttons (open module modal) ---------- */
.cp-safe__loot li { padding: 0; background: none; border: 0; }
.cp-loot-btn { width: 100%; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #dfe9fb; font-size: 13px; font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s var(--ease); }
.cp-loot-btn:hover { background: rgba(245,185,72,.14); border-color: rgba(245,185,72,.45); transform: translateY(-2px); }
.cp-loot-arrow { margin-left: auto; opacity: .5; font-size: 15px; transition: transform .2s, opacity .2s, color .2s; }
.cp-loot-btn:hover .cp-loot-arrow { opacity: 1; color: var(--gold); transform: translate(2px, -2px); }

/* ---------- Vault module detail (in-section, zoom-out + vibrate) ---------- */
.cp-safe__detail { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 22px;
  background: rgba(6,14,28,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cp-safe__detail[hidden] { display: none; }
.cp-safe__detail-card { position: relative; width: min(430px, 90vw); padding: 28px; border-radius: 22px; color: #fff;
  border: 2px solid rgba(255,255,255,.18); background: linear-gradient(160deg, #16294a, #0b1b32);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.14); }
.cp-safe__detail.is-open .cp-safe__detail-card { animation: cp-zoomvibe .62s var(--ease); }
@keyframes cp-zoomvibe {
  0%   { transform: scale(1.18); opacity: 0; }
  38%  { transform: scale(1); opacity: 1; }
  50%  { transform: translateX(-5px); }
  60%  { transform: translateX(5px); }
  70%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
  90%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}
.cp-safe__detail-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; font-size: 19px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.cp-safe__detail-close:hover { background: var(--gold); color: var(--ink); transform: rotate(90deg); }
.cp-detail-head { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.cp-detail-head .cp-ictile { width: 50px; height: 50px; font-size: 22px; color: var(--ink); }
.cp-detail-tag { margin: 0 0 3px; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .12em; color: var(--gold); }
.cp-detail-head h3 { margin: 0; font-size: 22px; }
.cp-detail-desc { margin: 0 0 14px; color: #b9cbe6; font-size: 13.5px; }
.cp-detail-points { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.cp-detail-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; font-weight: 600; color: #dfe9fb; }
.cp-detail-points li::before { content: ""; flex: 0 0 auto; margin-top: 6px; width: 7px; height: 7px; border-radius: 2px; background: var(--grad-warm); }
.cp-detail-switch { display: flex; gap: 8px; margin-bottom: 18px; }
.cp-detail-switch button { flex: 1; display: grid; place-items: center; height: 40px; border-radius: 11px; cursor: pointer; font-size: 16px; color: #9fc6ff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s, color .2s, transform .2s; }
.cp-detail-switch button:hover { transform: translateY(-2px); color: #fff; }
.cp-detail-switch button.is-active { color: var(--ink); background: linear-gradient(180deg, #ffd778, var(--gold)); border-color: transparent; }
.cp-detail-cta { width: 100%; }

/* ---------- Module modal ---------- */
.cp-modal { position: relative; width: min(440px, calc(100vw - 32px)); padding: 30px; border: 2px solid var(--ink); border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f4f8ff); box-shadow: 10px 10px 0 var(--ink), 0 30px 70px rgba(10,22,40,.4); color: var(--ink); }
.cp-modal::backdrop { background: rgba(6,14,28,.72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.cp-modal[open] { animation: cp-modal-in .32s var(--ease); }
@keyframes cp-modal-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.cp-modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.cp-modal-close:hover { background: var(--gold); transform: rotate(90deg); }
.cp-modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cp-modal-head .cp-ictile { width: 52px; height: 52px; font-size: 23px; }
.cp-modal-tag { margin: 0 0 3px; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .12em; color: var(--blue); }
.cp-modal-head h3 { margin: 0; font-size: 24px; }
.cp-modal-desc { margin: 0 0 16px; color: var(--slate); font-size: 14px; }
.cp-modal-points { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.cp-modal-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cp-modal-points li::before { content: ""; flex: 0 0 auto; margin-top: 6px; width: 8px; height: 8px; border-radius: 3px; background: var(--grad-warm); }
.cp-modal-cta { width: 100%; }

/* ============================================================
   INTEGRATION CARDS — horizontal colorful scroll
   ============================================================ */
.cp-integrations { padding: 104px 0; }
.cp-integration-scroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 8px 4px 24px; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; cursor: grab; scroll-padding-left: 4px; }
.cp-integration-scroll::-webkit-scrollbar { height: 8px; }
.cp-integration-scroll::-webkit-scrollbar-track { background: transparent; }
.cp-integration-scroll::-webkit-scrollbar-thumb { background: var(--steel-lo); border-radius: 999px; }
.cp-integration-scroll:hover::-webkit-scrollbar-thumb { background: var(--blue); }
.cp-integration-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cp-integration-scroll.is-dragging .cp-integration { pointer-events: none; }
.cp-integration { position: relative; flex: 0 0 300px; scroll-snap-align: start; overflow: hidden; padding: 26px; border-radius: 20px; border: 2px solid var(--ink);
  color: #fff; box-shadow: 6px 6px 0 var(--ink); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.cp-integration::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.28), transparent 55%); }
.cp-integration:hover { transform: translateY(-8px); box-shadow: 10px 14px 0 var(--ink); }
.cp-integration:hover .cp-ictile { transform: rotate(-8deg) scale(1.08); }
.cp-integration-wide { flex-basis: 350px; }
.cp-integration-icon { position: relative; z-index: 1; margin-bottom: 18px; }
.cp-integration h3 { position: relative; z-index: 1; font-size: 21px; }
.cp-integration p { position: relative; z-index: 1; margin: 0; font-size: 14px; opacity: .95; }
.cp-integration .cp-ictile { color: var(--ink); background: linear-gradient(160deg, #fff, #dbe4f2); }
.cp-integration-meta { position: relative; z-index: 1; margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .05em; }
.cp-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); animation: cp-pulse 2.2s ease-in-out infinite; }
.cp-int-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--slate); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .06em; }
.cp-int-hint i { animation: cp-nudge 1.6s var(--ease) infinite; }
@keyframes cp-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
/* color variants */
.cp-int-1 { background: linear-gradient(155deg, #3f7ce8, #173c7a); }
.cp-int-2 { background: linear-gradient(155deg, #1fc79c, #0f7a5f); }
.cp-int-3 { background: linear-gradient(155deg, #8a6cff, #4a2fb0); }
.cp-int-4 { background: linear-gradient(155deg, #ffc861, #dd7c1a); color: var(--ink); }
.cp-int-4 .cp-integration-meta { background: rgba(10,22,40,.14); color: var(--ink); }
.cp-int-4 .cp-dot { background: var(--ink); box-shadow: 0 0 0 3px rgba(10,22,40,.18); }
.cp-int-5 { background: linear-gradient(155deg, #ff6f91, #c81e4e); }

/* ============================================================
   ★ REEL — horizontal scroll-locked (Integraciones + Ventajas + Cierre)
   ============================================================ */
.cp-reel { position: relative; height: 500vh; background: radial-gradient(120% 80% at 50% 0%, #14294a 0%, #0a1628 58%, #060e1c 100%); color: #fff; }
.cp-reel__anchor { position: absolute; top: -80px; }
.cp-reel__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.cp-reel__head { position: absolute; top: 6vh; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 48px)); z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cp-reel__head .cp-kicker { margin: 0; }
.cp-reel__progress { flex: 0 0 clamp(120px, 20vw, 200px); height: 5px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.cp-reel__progress i { display: block; height: 100%; width: 0%; border-radius: 999px; background: var(--grad-warm); transition: width .1s linear; }
.cp-reel__track { display: flex; align-items: stretch; gap: 22px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); will-change: transform; }
.cp-reel__panel { position: relative; flex: 0 0 min(430px, 84vw); height: min(500px, 70vh); overflow: hidden; padding: 32px; border-radius: 24px; border: 2px solid rgba(255,255,255,.16);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.42); }
.cp-reel__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 82% 0%, rgba(255,255,255,.26), transparent 55%); }
.cp-reel__panel > * { position: relative; z-index: 1; }
.cp-reel__panel h3 { font-size: 27px; margin: 0 0 10px; }
.cp-reel__panel p { margin: 0; font-size: 14.5px; opacity: .96; line-height: 1.5; }
.cp-reel__panel .cp-ictile { color: var(--ink); background: linear-gradient(160deg, #fff, #dbe4f2); width: 52px; height: 52px; font-size: 23px; }
.cp-panel-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cp-panel-idx { font-family: 'Space Grotesk', sans-serif; font-size: 46px; font-weight: 700; line-height: .8; color: rgba(255,255,255,.55); }
.cp-panel-tag { align-self: center; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.8); }
.cp-reel__panel--intro { background: rgba(255,255,255,.045); border-style: dashed; justify-content: center; gap: 26px; }
.cp-reel__panel--intro::after { display: none; }
.cp-reel__panel--intro h2 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); }
.cp-reel__eyebrow { margin: 0 0 12px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.cp-reel__hint { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: .06em; color: #9fc6ff; }
.cp-reel__hint i { animation: cp-nudge 1.6s var(--ease) infinite; }
.cp-reel__panel--cta { background: linear-gradient(150deg, #1e5bb9, #0c2450); border-color: rgba(255,255,255,.22); justify-content: center; gap: 26px; }
.cp-reel__panel--cta h2 { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 46px); }
.cp-reel__panel--cta p { max-width: 340px; }
.cp-int-6 { background: linear-gradient(155deg, #2aa5c9, #11607a); }
.cp-int-7 { background: linear-gradient(155deg, #6c7bff, #3630b0); }
.cp-int-8 { background: linear-gradient(155deg, #ff8a5c, #c8461e); }

/* Reel fallback: native horizontal swipe (mobile / reduced motion) */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .cp-reel { height: auto; }
  .cp-reel__pin { position: static; height: auto; display: block; padding: 72px 0; overflow: visible; }
  .cp-reel__head { position: static; transform: none; margin: 0 auto 24px; }
  .cp-reel__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
  .cp-reel__panel { scroll-snap-align: start; height: auto; min-height: 420px; }
  .cp-reel__progress { display: none; }
}

/* ============================================================
   ESCALAMIENTO — roadmap stages
   ============================================================ */
.cp-scale { padding: 100px 0; }
.cp-scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cp-scale-stage { position: relative; padding: 28px 24px; border-radius: 20px; border: 2px solid var(--ink); background: var(--card);
  box-shadow: 4px 4px 0 rgba(16,35,62,.14); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.cp-scale-stage:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.cp-scale-stage:not(:last-child)::after { content: "\2192"; position: absolute; top: 50%; right: -25px; transform: translateY(-50%);
  display: grid; place-items: center; width: 26px; height: 26px; color: var(--steel-lo); font-size: 18px; z-index: 2; }
.cp-scale-now { background: linear-gradient(160deg, #12294c, #0b1b32); border-color: var(--ink); color: #fff; }
.cp-scale-now .cp-ictile { background: linear-gradient(160deg,#26436f,#16294a); color: #cfe0ff; border-color: rgba(255,255,255,.14); box-shadow: 3px 3px 0 rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.cp-scale-now p { color: #b9d0ee; }
.cp-scale-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 10px; }
.cp-scale-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #eef2f9; color: var(--slate); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.cp-scale-badge-now { background: rgba(23,184,144,.18); color: #5be0bc; }
.cp-scale-badge-now .cp-dot { background: var(--mint); }
.cp-scale-eta { font-family: 'DM Mono', monospace; font-size: 9.5px; color: #93a4bd; letter-spacing: .04em; }
.cp-scale-now .cp-scale-eta { color: #8fa8d6; }
.cp-scale-stage .cp-ictile { margin-bottom: 16px; }
.cp-scale-stage h3 { font-size: 20px; }
.cp-scale-stage p { margin: 0; color: var(--slate); font-size: 13.5px; }

/* ============================================================
   PLANES Y PRECIOS
   ============================================================ */
.cp-pricing { padding: 100px 0 60px; }
.cp-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.cp-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 22px; border: 2px solid var(--ink); background: var(--card);
  box-shadow: 4px 4px 0 rgba(16,35,62,.14); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.cp-plan:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.cp-plan-featured { background: linear-gradient(165deg, #12294c, #0b1b32); color: #fff; transform: scale(1.035); box-shadow: 6px 6px 0 var(--gold-deep); z-index: 1; }
.cp-plan-featured:hover { transform: scale(1.035) translate(-2px,-2px); box-shadow: 10px 10px 0 var(--gold-deep); }
.cp-plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #ffd778, var(--gold)); color: var(--ink); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 6px 14px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.5); }
.cp-plan-name { margin: 6px 0 8px; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--blue); }
.cp-plan-featured .cp-plan-name { color: #9fc6ff; }
.cp-plan-desc { margin: 0 0 20px; min-height: 40px; color: var(--slate); font-size: 13.5px; }
.cp-plan-featured .cp-plan-desc { color: #b9d0ee; }
.cp-plan-price { display: flex; align-items: baseline; gap: 2px; margin: 0 0 22px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 46px; line-height: 1;
  background-image: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-plan-featured .cp-plan-price { background-image: linear-gradient(100deg, #ffd778, var(--gold)); -webkit-background-clip: text; background-clip: text; }
.cp-plan-price span { font-size: 22px; font-weight: 600; }
.cp-plan-price small { align-self: flex-end; margin-left: 4px; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700; -webkit-text-fill-color: var(--slate); color: var(--slate); }
.cp-plan-featured .cp-plan-price small { -webkit-text-fill-color: #8fa8d6; color: #8fa8d6; }
.cp-plan-features { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 11px; }
.cp-plan-features li { position: relative; padding-left: 22px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cp-plan-featured .cp-plan-features li { color: #dfe9fb; }
.cp-plan-features li::before { content: "\2713"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px;
  background: var(--grad-warm); color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.cp-plan-featured .cp-plan-features li::before { background: linear-gradient(180deg, #ffd778, var(--gold)); color: var(--ink); }
.cp-plan-cta { width: 100%; }
.cp-pricing-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 34px 0 0; color: var(--slate); font-size: 13px; font-weight: 700; }
.cp-pricing-note i { color: var(--mint); }

/* ============================================================
   BENEFITS (legacy — no longer rendered, kept harmless)
   ============================================================ */
.cp-benefits { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; padding: 120px 0; }
.cp-benefit-visual { position: relative; min-height: 405px; display: grid; place-items: center; border-radius: 26px;
  background: radial-gradient(circle at center, #fff 0 19%, transparent 19%), radial-gradient(circle at center, transparent 0 34%, #d8e8ff 34.2% 34.6%, transparent 34.8%), linear-gradient(135deg, #d9e8ff, #f5f9ff); }
.cp-shield { display: grid; place-items: center; width: 139px; height: 158px; clip-path: polygon(50% 0, 91% 17%, 83% 73%, 50% 100%, 17% 73%, 9% 17%);
  background: linear-gradient(160deg, #4d8cff, var(--blue) 55%, var(--blue-deep)); box-shadow: 0 22px 35px rgba(45,108,223,.3); animation: cp-bob 6s ease-in-out infinite; }
.cp-shield img { width: 82px; height: 82px; object-fit: contain; filter: brightness(0) invert(1); }
.cp-shield-label { position: absolute; padding: 8px 10px; border-radius: 999px; background: #fff; box-shadow: 0 10px 18px rgba(25,65,121,.12); color: var(--blue-deep); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 700; }
.cp-label-one { left: 25px; top: 82px; } .cp-label-two { right: 38px; top: 135px; } .cp-label-three { left: 68px; bottom: 75px; }
.cp-benefit-copy ul { margin: 33px 0 0; padding: 0; list-style: none; }
.cp-benefit-copy li { display: grid; grid-template-columns: 46px 1fr; gap: 15px; padding: 19px 0; border-top: 1px solid var(--line); }
.cp-benefit-copy li > span { font-family: 'DM Mono', monospace; color: var(--blue); font-size: 11px; }
.cp-benefit-copy li h3 { margin: 0 0 7px; font-size: 19px; }
.cp-benefit-copy li p { margin: 0; color: var(--slate); font-size: 14px; }

/* ============================================================
   CLOSING
   ============================================================ */
.cp-closing { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin: 0 auto 80px; padding: 84px 78px; overflow: hidden; border-radius: 27px; color: #fff;
  background: linear-gradient(122deg, #0c2450 0%, #16407f 55%, #1e5bb9 100%); box-shadow: 0 40px 80px rgba(12,36,80,.35); }
.cp-closing h2 { max-width: 660px; margin-bottom: 18px; }
.cp-closing p:not(.cp-kicker) { max-width: 540px; color: #cde0ff; }
.cp-closing-number { display: flex; align-items: center; gap: 12px; }
.cp-closing-number b { font-family: 'Space Grotesk', sans-serif; font-size: 125px; line-height: .7; color: rgba(255,255,255,.11); }
.cp-closing-number span { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em; }

/* ============================================================
   FOOTER + video dialog
   ============================================================ */
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; min-height: 100px; color: #75869c; font-size: 12px; border-top: 1px solid var(--line); }
footer p { margin: 0; }
footer a:not(.cp-brand) { color: var(--blue); font-weight: 800; }
footer a:hover { color: var(--blue-deep); }
.cp-video-dialog { width: min(1000px, calc(100vw - 40px)); padding: 0; border: 0; border-radius: 20px; background: #071427; box-shadow: 0 25px 80px rgba(0,0,0,.46); }
.cp-video-dialog::backdrop { background: rgba(5,16,32,.75); backdrop-filter: blur(4px); }
.cp-video-dialog video { display: block; width: 100%; max-height: 78vh; }
.cp-video-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(8,23,43,.76); color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }

/* ============================================================
   ★ VAULT OPEN STATE — Interior con compartimientos y cadenas cobra
   ============================================================ */
/* Interior mejorado: aspecto de cámara acorazada abierta */
.cp-safe__inner {
  background:
    /* Gradiente radial para profundidad interior */
    radial-gradient(ellipse 100% 80% at 50% 30%, rgba(139, 110, 50, 0.25), transparent 60%),
    /* Textura sutil de pared interior */
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 2px,
      rgba(0, 0, 0, 0.08) 2px,
      rgba(0, 0, 0, 0.08) 4px
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 2px,
      rgba(0, 0, 0, 0.06) 2px,
      rgba(0, 0, 0, 0.06) 4px
    ),
    /* Color base: interior bronce/dorado oscuro */
    linear-gradient(135deg, #1a1410 0%, #2d2318 35%, #3d3020 70%, #1f1a14 100%);
  background-size: 100% 100%, 6px 6px, 6px 6px, 100% 100%;
}

/* Cadenas de cobra colgantes (pseudo-elementos) */
.cp-safe__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Cadena izquierda */
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 8px,
      rgba(139, 100, 50, 0.3) 8px,
      rgba(139, 100, 50, 0.3) 16px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 1.5px,
      rgba(0, 0, 0, 0.4) 1.5px,
      rgba(0, 0, 0, 0.4) 3px
    ),
    /* Efecto de cadenas de piel de cobra: escamas */
    radial-gradient(
      circle at 10% 20%,
      rgba(200, 150, 80, 0.35) 0,
      transparent 15%
    ),
    radial-gradient(
      circle at 10% 40%,
      rgba(200, 150, 80, 0.28) 0,
      transparent 18%
    ),
    radial-gradient(
      circle at 10% 60%,
      rgba(200, 150, 80, 0.32) 0,
      transparent 16%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(200, 150, 80, 0.3) 0,
      transparent 17%
    ),
    /* Cadena derecha */
    radial-gradient(
      circle at 90% 25%,
      rgba(200, 150, 80, 0.35) 0,
      transparent 15%
    ),
    radial-gradient(
      circle at 90% 45%,
      rgba(200, 150, 80, 0.28) 0,
      transparent 18%
    ),
    radial-gradient(
      circle at 90% 65%,
      rgba(200, 150, 80, 0.32) 0,
      transparent 16%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(200, 150, 80, 0.3) 0,
      transparent 17%
    ),
    transparent;
  opacity: 0.7;
  z-index: 1;
}

/* Compartimientos/casillas visuales en el interior */
.cp-safe__loot {
  position: relative;
  z-index: 2;
  background:
    /* Grid de compartimientos */
    linear-gradient(90deg, rgba(100, 75, 40, 0.4) 1px, transparent 1px),
    linear-gradient(180deg, rgba(100, 75, 40, 0.4) 1px, transparent 1px);
  background-size: 48% 48%, 48% 48%;
  background-position: 0 0, 0 0;
  border: 2px solid rgba(139, 110, 60, 0.6);
  border-radius: 14px;
  padding: 14px;
  backdrop-filter: blur(2px);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.6),
    inset 0 -3px 12px rgba(0, 0, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Botones de loot con efecto de casillas metalizadas */
.cp-loot-btn {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.15), transparent 40%),
    linear-gradient(165deg, #3d3520 0%, #2a2318 50%, #1a1410 100%);
  border: 1px solid rgba(200, 170, 120, 0.35) !important;
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.12),
    inset 0 -2px 6px rgba(0, 0, 0, 0.7),
    0 4px 10px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(1px);
}

.cp-loot-btn:hover {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(165deg, #4a3f2a 0%, #35291f 50%, #221a10 100%);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.15),
    inset 0 -2px 6px rgba(0, 0, 0, 0.8),
    0 6px 15px rgba(245, 185, 72, 0.25) !important;
}

/* Inner note mejorado */
.cp-safe__inner-note {
  position: relative;
  z-index: 2;
  color: #c9a978;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Inner kicker mejorado */
.cp-safe__inner-kicker {
  position: relative;
  z-index: 2;
  color: #d4a574;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cp-stats { grid-template-columns: repeat(2, 1fr); }
  .cp-integration-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-scale-grid, .cp-pricing-grid { grid-template-columns: 1fr; }
  .cp-scale-stage:not(:last-child)::after { content: "\2193"; right: auto; top: auto; left: 50%; bottom: -25px; transform: translateX(-50%); }
  .cp-plan-featured { transform: none; }
  .cp-plan-featured:hover { transform: translate(-2px,-2px); }
}
@media (max-width: 900px) {
  .cp-menu { display: none; }
  .cp-burger { display: inline-block; }
  .cp-hero, .cp-benefits, .cp-intro { grid-template-columns: 1fr; }
  .cp-hero { padding-top: 24px; }
  .cp-hero-visual { min-height: 460px; }
  .cp-module-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-section-heading { display: block; }
  .cp-section-heading > p { width: auto; margin-top: 14px; }
  .cp-benefits { gap: 46px; }
  .cp-closing { padding: 56px 38px; }
  .cp-closing-number { display: none; }
  footer { flex-wrap: wrap; padding: 25px 0; }
}
/* Vault fallback: no scroll-scrub on small screens — show it open, static */
@media (max-width: 860px) {
  .cp-vault { height: auto; }
  .cp-vault__pin { position: static; height: auto; padding: 90px 0 80px; perspective: none; }
  .cp-vault__intro { position: static; margin-bottom: 40px; }
  .cp-safe { --p: 1; width: min(360px, 82vw); }
  .cp-safe__door { display: none; }
  .cp-safe__inner { position: relative; inset: auto; }
}
@media (max-width: 560px) {
  .cp-nav, .cp-section, footer { width: min(100% - 24px, 1180px); }
  .cp-nav { min-height: 60px; padding-right: 8px; }
  .cp-nav .cp-brand img { height: 40px; }
  .cp-hero { min-height: 0; }
  .cp-hero-visual { min-height: 380px; }
  .cp-terminal { inset: 30px 0 30px 0; }
  .cp-panel { padding: 18px; }
  .cp-app-content { grid-template-columns: 44px 1fr; }
  .cp-app-content aside { gap: 13px; padding-top: 19px; }
  .cp-greeting h2 { font-size: 22px; }
  .cp-app-date, .cp-pill { display: none; }
  .cp-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cp-stat { padding: 20px 18px; }
  .cp-integration-grid { grid-template-columns: 1fr; }
  .cp-module-grid { grid-template-columns: 1fr; }
  .cp-module-featured { grid-column: auto; }
  .cp-intro, .cp-modules, .cp-integrations, .cp-benefits, .cp-scale, .cp-pricing { padding: 56px 0; }
  .cp-closing { padding: 48px 26px; margin-bottom: 42px; }
  .cp-actions { gap: 8px; }
  .cp-proof { margin-top: 22px; }
  .cp-plan-featured { transform: none; box-shadow: 4px 4px 0 var(--gold-deep); }
  .cp-plan-price { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .cp-vault { height: auto; }
  .cp-vault__pin { position: static; height: auto; padding: 80px 0; perspective: none; }
  .cp-vault__intro { position: static; margin-bottom: 36px; }
  .cp-safe { --p: 1; }
  .cp-safe__door { display: none; }
  .cp-safe__inner { position: relative; inset: auto; }
}

/* ============================================================
   SOLICITAR INFORMACION (formulario de /home)
   ============================================================ */
.cp-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; padding: 40px 0 110px; scroll-margin-top: 90px; }
.cp-contact-points { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 12px; }
.cp-contact-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.cp-contact-points i { margin-top: 3px; color: var(--mint); font-size: 17px; }
.cp-contact-already { margin: 0; color: var(--slate); font-size: 14px; }
.cp-contact-already a { color: var(--blue); font-weight: 800; }

.cp-form { padding: 34px; border: 2px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: var(--hard); }
.cp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.cp-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cp-field-wide { grid-column: 1 / -1; }
.cp-field label { font-size: 12.5px; font-weight: 800; letter-spacing: .01em; color: var(--ink-2); }
.cp-field label b { color: #c0392b; }
.cp-field label span { font-weight: 600; color: var(--slate); }
.cp-field input, .cp-field select, .cp-field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fbfcfe; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.cp-field textarea { min-height: 96px; resize: vertical; }
.cp-field input::placeholder, .cp-field textarea::placeholder { color: #98a6bd; }
.cp-field input:hover, .cp-field select:hover, .cp-field textarea:hover { border-color: #b4c4de; }
.cp-field input:focus, .cp-field select:focus, .cp-field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(45, 108, 223, .16); }
.cp-field.has-error input, .cp-field.has-error select { border-color: #c0392b; background: #fff8f7; }
.cp-field-error { min-height: 0; color: #b03226; font-size: 12px; font-weight: 700; }
.cp-field-error:empty { display: none; }
.cp-form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cp-form-captcha { margin-top: 18px; }
.cp-form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.cp-form-foot .cp-button { min-width: 210px; }
.cp-form-foot .cp-button[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: var(--hard); }
.cp-form-privacy { margin: 0; flex: 1; min-width: 200px; color: var(--slate); font-size: 12.5px; }
.cp-form-status { margin: 16px 0 0; padding: 0; font-size: 14px; font-weight: 700; }
.cp-form-status:empty { display: none; }
.cp-form-status.is-error { padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8e2418; border: 1px solid #f3c1bb; }
.cp-form-status.is-wait { color: var(--slate); }

.cp-form-ok { grid-column: 2; padding: 54px 40px; text-align: center; border: 2px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: var(--hard); }
.cp-form-ok[hidden] { display: none; }
.cp-form-ok-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(160deg, #3fd9b3, var(--mint)); color: #fff; font-size: 32px; box-shadow: 0 10px 24px rgba(23, 184, 144, .35); }
.cp-form-ok p { max-width: 420px; margin: 0 auto 24px; color: var(--slate); }

@media (max-width: 900px) {
  .cp-contact { grid-template-columns: 1fr; gap: 34px; padding-bottom: 70px; }
  .cp-form-ok { grid-column: 1; }
}
@media (max-width: 560px) {
  .cp-form { padding: 22px 16px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .cp-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .cp-form-foot .cp-button { width: 100%; }
  .cp-form-ok { padding: 40px 20px; box-shadow: 4px 4px 0 var(--ink); }
}

/* ============================================================
   Pagina legal: terminos y privacidad (terminos.html)
   ============================================================ */
.cp-legal { padding: 56px 0 90px; }
.cp-legal-head { max-width: 820px; margin-bottom: 42px; }
.cp-legal-head h1 { margin: 0 0 18px; font-family: "Space Grotesk", Manrope, sans-serif; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.03em; }
.cp-legal-fecha { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--slate); font-size: 13px; font-weight: 700; }
.cp-legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.cp-legal-toc { position: sticky; top: 100px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(15, 39, 76, .08); }
.cp-legal-toc > p { margin: 0 0 10px; color: var(--slate); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cp-legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; color: var(--slate); }
.cp-legal-toc a { font-weight: 700; color: #34476b; }
.cp-legal-toc a:hover { color: var(--blue); }
.cp-legal-body { padding: 38px clamp(22px, 4vw, 52px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cp-legal-body section + section { margin-top: 48px; padding-top: 40px; border-top: 1px dashed var(--line); }
.cp-legal-part { margin: 0 0 18px; font-family: "Space Grotesk", Manrope, sans-serif; font-size: 28px; letter-spacing: -.02em; }
.cp-legal-body h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 800; color: var(--ink); scroll-margin-top: 100px; }
.cp-legal-body section, .cp-legal-body h2 { scroll-margin-top: 100px; }
.cp-legal-body p, .cp-legal-body li { color: #34476b; font-size: 15.5px; line-height: 1.75; }
.cp-legal-body ul { padding-left: 22px; display: grid; gap: 6px; }
.cp-legal-body strong { color: var(--ink); }
.cp-legal-contacto .cp-button { margin-top: 6px; }
@media (max-width: 900px) {
  .cp-legal { padding-top: 30px; }
  .cp-legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .cp-legal-toc { position: static; }
  .cp-legal-toc ol { grid-template-columns: 1fr 1fr; column-gap: 26px; }
}
@media (max-width: 560px) {
  .cp-legal-toc ol { grid-template-columns: 1fr; }
  .cp-legal-body { padding: 26px 18px; border-radius: 20px; }
  .cp-legal-body p, .cp-legal-body li { font-size: 15px; }
  .cp-mobile-menu { top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-menu-panel, .cp-mobile-menu, .cp-burger span, .cp-menu-trigger i { transition: none; }
}
