/* ============================================================
   CORPO — Página CORPO+ (landing de la app para socios)
   Diseño propio. Secciones que ALTERNAN claro/oscuro (como Nosotros):
   los componentes usan las variables del sistema y se adaptan solos.
   El hero es oscuro y muestra una imagen real del panel (compu + celular).
   Reusa de base.css: container, eyebrow, h2, display, botones, reveal, cta-band, footer.
   ============================================================ */

.cp-page { --g: #0a84ff; --g2: #5ab3ff; --ok: #32d74b; }

/* ===== HERO (oscuro) ===== */
.cp-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2rem, 6vw, 4rem);
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(10, 132, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0a0e16, #06070a 72%);
  color: #fff;
}
.cp-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: radial-gradient(rgba(90, 179, 255, 0.16) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(720px 420px at 50% 8%, #000, transparent 72%);
  mask-image: radial-gradient(720px 420px at 50% 8%, #000, transparent 72%);
}
.cp-hero-inner { position: relative; z-index: 2; text-align: center; }
.cp-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--g2); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.cp-badge .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(50, 215, 75, 0.18); }
.cp-hero h1 { color: #fff; margin: 0 auto 1.3rem; max-width: 15ch; }
.cp-hero .lead { color: rgba(255, 255, 255, 0.72); margin: 0 auto 2.2rem; max-width: 56ch; }
.cp-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cp-feats { display: flex; gap: 1.8rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.cp-feat { font-size: 0.9rem; font-weight: 700; color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 8px; }
.cp-feat svg { color: var(--g2); flex: none; }

/* ===== SHOWCASE (imagen real: compu + celular) ===== */
.showcase { position: relative; max-width: 1080px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; }
.showcase-glow { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); width: 96%; height: 96%; background: radial-gradient(closest-side, rgba(10, 132, 255, 0.34), transparent); filter: blur(40px); z-index: 0; }
.stage { position: relative; z-index: 1; }
.cp-shot { display: block; width: 100%; height: auto; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* callouts flotantes */
.callout { position: absolute; z-index: 6; display: flex; align-items: center; gap: 9px; background: rgba(18, 22, 30, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 14px; padding: 10px 14px 10px 11px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8); font-weight: 800; font-size: 0.85rem; color: #fff; white-space: nowrap; }
.callout .ci { width: 30px; height: 30px; border-radius: 9px; background: rgba(10, 132, 255, 0.18); color: var(--g2); display: flex; align-items: center; justify-content: center; flex: none; }
.co1 { top: 12%; left: -2%; animation: floaty 6.5s ease-in-out infinite; }
.co2 { top: 46%; left: -4%; animation: floaty 7.5s ease-in-out 0.6s infinite; }
.co3 { top: 10%; right: -2%; animation: floaty 6.8s ease-in-out 0.3s infinite; }
.co4 { top: 48%; right: -3%; animation: floaty 7.2s ease-in-out 0.9s infinite; }
.co5 { bottom: 6%; left: 12%; animation: floaty 6.9s ease-in-out 1.2s infinite; }
.callout.more .ci { background: var(--g); color: #fff; }
@media (max-width: 1080px) { .callout { display: none; } }

/* ============================================================
   SECCIONES DE CONTENIDO — usan variables → alternan claro/oscuro
   ============================================================ */
.cp-head { text-align: center; max-width: 660px; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); }
.cp-head .eyebrow { justify-content: center; }
.cp-head h2 { color: var(--ink); margin-top: 0.7rem; }
.cp-head p { color: var(--text-muted); margin-top: 1rem; }

/* bento de features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.bcard { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow); transition: transform var(--transition), border-color var(--transition); }
.bcard:hover { transform: translateY(-4px); border-color: rgba(10, 132, 255, 0.5); box-shadow: var(--shadow-lg); }
.bcard .bic { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 1rem; }
.bcard h3 { font-size: 1.14rem; color: var(--ink); font-weight: 800; margin-bottom: 0.4rem; }
.bcard p { font-size: 0.92rem; color: var(--text-muted); }
.bcard.wide { grid-column: span 2; }
/* tile "y mucho más" */
.bcard.more { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(150deg, rgba(10, 132, 255, 0.14), rgba(10, 132, 255, 0.04)); border-color: rgba(10, 132, 255, 0.35); }
.bcard.more .bic { background: var(--blue); color: #fff; }
.bcard.more h3 { color: var(--blue); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bcard.wide { grid-column: span 1; } }

/* franja "sincronizado" */
.cp-sync { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 940px; margin: 0 auto; }
.sync-item { text-align: center; padding: 1.4rem; }
.sync-item .si { width: 52px; height: 52px; border-radius: 15px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 0 auto 1rem; }
.sync-item b { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; }
.sync-item p { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 640px) { .cp-sync { grid-template-columns: 1fr; gap: 0.4rem; } }

/* CTA usa .cta-band de base (azul) */
.cp-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== responsive del showcase ===== */
@media (max-width: 760px) {
  .showcase { max-width: 300px; }
  .cp-shot { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 520px) { .cp-actions .btn { flex: 1; } }

@media (prefers-reduced-motion: reduce) { .cp-shot, .callout { animation: none !important; } }

/* Entrada suave de la sección (igual que el resto del sitio): leve slide-up al cargar. */
@keyframes site-enter { from { transform: translateY(8px); } to { transform: none; } }
#contenido { animation: site-enter .55s cubic-bezier(0.16, 1, 0.3, 1) both; }
@media (prefers-reduced-motion: reduce) { #contenido { animation: none; } }
