/* ═══════════════════════════════════════════════
   SELVAGGIO — Páginas internas v2
   Inspirado en Lulo Bank: splits 50/50, colores
   vibrantes alternos, tipografía extrabold
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta Selvaggio */
  --ink:      #0E1320;
  --navy:     #13203A;
  --white:    #FFFFFF;
  --off:      #F4F7FB;
  --blue:     #3D7EFF;
  --blue-lt:  #6B9FFF;
  --blue-dk:  #1A5CE0;
  --coral:    #FF5C38;
  --teal:     #00CEB8;
  --lime:     #D4FF4F;   /* acento eléctrico para CTAs */

  /* Colores de sección (estilo Lulo) */
  --s-blue:   #79CFFF;   /* azul cielo Lulo */
  --s-coral:  #FFB49A;   /* salmón suave */
  --s-mint:   #ACFFB7;   /* menta */
  --s-lavend: #F0DFFE;   /* lavanda */
  --s-yellow: #FFF9C2;   /* amarillo pálido */

  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --w-light: 300; --w-regular: 400; --w-medium: 500;
  --w-semi: 600; --w-bold: 700; --w-xbold: 800;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: var(--w-light);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--blue); }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.p-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px;
  background: rgba(14,19,32,.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61,126,255,.1);
}
.p-nav-logo { display: flex; align-items: center; gap: 10px; }
.p-nav-logo img { height: 38px; width: auto; }
.p-nav-logo span {
  font-size: .95rem; font-weight: var(--w-bold);
  letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.p-nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.p-nav-links a {
  font-size: .72rem; font-weight: var(--w-medium);
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); transition: color .2s;
}
.p-nav-links a:hover,
.p-nav-links a.active { color: var(--blue-lt); }
.p-nav-cta {
  padding: 9px 22px; border: 1.5px solid var(--blue);
  color: var(--blue-lt) !important; border-radius: 100px;
  transition: background .2s, color .2s !important;
}
.p-nav-cta:hover { background: var(--blue) !important; color: #fff !important; }

/* ══════════════════════════════════════
   HERO — Lulo style: fondo color + texto grande
══════════════════════════════════════ */
.p-hero {
  padding: 140px 64px 80px;
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.p-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  width: 100%; max-width: 1200px; margin: 0 auto;
}
.p-hero-tag {
  display: inline-block;
  font-size: .62rem; font-weight: var(--w-bold);
  letter-spacing: .28em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(255,255,255,.2);
  margin-bottom: 24px;
}
.p-hero h1 {
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: var(--w-xbold);
  line-height: 1.0; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.p-hero-sub {
  font-size: 1.1rem; font-weight: var(--w-light);
  line-height: 1.8; max-width: 420px;
  margin-bottom: 40px; opacity: .8;
}
.p-hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.p-hero-visual img {
  max-height: 480px; width: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.2));
}
/* Mockup card flotante */
.p-mockup {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 28px;
  padding: 40px;
  width: 340px;
  box-shadow: 0 32px 64px rgba(0,0,0,.15);
}
.p-mockup-label {
  font-size: .72rem; font-weight: var(--w-semi);
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .6; margin-bottom: 8px;
}
.p-mockup-value {
  font-size: 2.4rem; font-weight: var(--w-xbold);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 24px;
}
.p-mockup-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15);
  font-size: .88rem;
}
.p-mockup-row .label { opacity: .6; }
.p-mockup-row .value { font-weight: var(--w-bold); }
.p-mockup-pill {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(255,255,255,.2); font-size: .78rem; font-weight: var(--w-semi);
  margin-top: 20px;
}

/* ══════════════════════════════════════
   CTA BUTTON — estilo Lulo lime
══════════════════════════════════════ */
.btn-lulo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 100px;
  font-size: .82rem; font-weight: var(--w-bold);
  letter-spacing: .08em; cursor: pointer; border: none;
  transition: all .25s;
}
.btn-lulo--dark { background: var(--ink); color: var(--lime); }
.btn-lulo--dark:hover { background: var(--navy); transform: translateY(-2px); }
.btn-lulo--lime { background: var(--lime); color: var(--ink); }
.btn-lulo--lime:hover { opacity: .9; transform: translateY(-2px); }
.btn-lulo--white { background: #fff; color: var(--ink); }
.btn-lulo--white:hover { opacity: .9; transform: translateY(-2px); }
.btn-lulo--outline { border: 2px solid currentColor; background: transparent; }
.btn-lulo svg { width: 18px; height: 18px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   SPLIT BLOCK — patrón central de Lulo
   Alterna imagen/contenido izq-der
══════════════════════════════════════ */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Sin min-height — el contenido define la altura */
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }

.split-color {
  display: flex; align-items: center; justify-content: center;
  padding: 64px;
  position: relative; overflow: hidden;
}
.split-color--blue   { background: var(--s-blue); }
.split-color--coral  { background: var(--s-coral); }
.split-color--mint   { background: var(--s-mint); }
.split-color--lavend { background: var(--s-lavend); }
.split-color--navy   { background: var(--navy); }
.split-color--ink    { background: var(--ink); }
.split-color--yellow { background: var(--s-yellow); }

.split-content {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
}
.split-content--off { background: var(--off); }
.split-content--dark { background: var(--ink); color: #fff; }

.split-eyebrow {
  font-size: .62rem; font-weight: var(--w-bold);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.split-eyebrow--coral { color: var(--coral); }
.split-eyebrow--teal  { color: var(--teal); }

.split-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: var(--w-xbold);
  line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.split-sub {
  font-size: .95rem; font-weight: var(--w-light);
  color: var(--text-muted, #4A5878); line-height: 1.85;
  max-width: 400px; margin-bottom: 32px;
}
.split-content--dark .split-sub { color: rgba(255,255,255,.55); }

/* Bullets estilo Lulo (flechas → no checks) */
.lulo-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.lulo-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .92rem; line-height: 1.7;
}
.lulo-arrow {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.lulo-arrow--blue   { background: var(--blue); }
.lulo-arrow--coral  { background: var(--coral); }
.lulo-arrow--teal   { background: var(--teal); }
.lulo-arrow svg { width: 13px; height: 13px; fill: none; stroke: white; stroke-width: 2.5; }

/* Número grande decorativo */
.split-bignumber {
  font-size: clamp(4rem, 10vw, 11rem);
  font-weight: var(--w-xbold);
  letter-spacing: -0.06em; line-height: 1;
  opacity: .10; position: absolute;
  bottom: -8px; right: 8px;
  pointer-events: none; user-select: none;
  /* clip dentro del panel de color */
  max-width: 100%;
  overflow: hidden;
}

/* ══════════════════════════════════════
   STATS ROW (fondo oscuro, números grandes)
══════════════════════════════════════ */
.stats-row {
  background: var(--ink);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 64px 40px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat-item:last-child { border-right: none; }
.stat-n {
  font-size: clamp(3rem, 5vw, 5rem); font-weight: var(--w-xbold);
  letter-spacing: -0.05em; color: var(--lime);
  line-height: 1; display: block; margin-bottom: 8px;
}
.stat-l {
  font-size: .68rem; font-weight: var(--w-medium);
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════
   FEATURE CARDS — estilo Lulo flat
══════════════════════════════════════ */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(0,0,0,.06);
}
.feature-card {
  background: var(--white); padding: 52px 44px;
  transition: background .2s;
}
.feature-card:hover { background: var(--off); }
.feature-icon {
  width: 56px; height: 56px; margin-bottom: 28px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.feature-card h3 {
  font-size: 1.3rem; font-weight: var(--w-bold);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.feature-card p { font-size: .9rem; color: #4A5878; line-height: 1.8; }

/* ══════════════════════════════════════
   FAQ ACCORDION — minimalista
══════════════════════════════════════ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1.5px solid rgba(0,0,0,.08); }
.faq-item:first-child { border-top: 1.5px solid rgba(0,0,0,.08); }
.faq-q {
  font-size: 1.05rem; font-weight: var(--w-semi);
  letter-spacing: -0.01em; padding: 26px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.faq-q::after {
  content: '+'; font-size: 1.5rem; font-weight: var(--w-light);
  flex-shrink: 0; color: var(--blue);
}
.faq-a { font-size: .92rem; color: #4A5878; line-height: 1.85; padding-bottom: 24px; }

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  font-size: .72rem; font-weight: var(--w-medium);
  letter-spacing: .08em; color: rgba(255,255,255,.4);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue-lt); }
.breadcrumb span { opacity: .3; }

/* ══════════════════════════════════════
   CTA BAND — lima/oscuro
══════════════════════════════════════ */
.cta-band {
  background: var(--lime); padding: 80px 64px; text-align: center;
}
.cta-band h2 {
  font-size: clamp(2.2rem, 4vw, 4rem); font-weight: var(--w-xbold);
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 16px;
}
.cta-band h2 em { font-style: italic; font-weight: var(--w-light); }
.cta-band p { font-size: .95rem; color: rgba(14,19,32,.6); max-width: 400px; margin: 0 auto 36px; }

/* ══════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════ */
.section-header { padding: 48px 64px 24px; }
.section-header.center { text-align: center; }
.section-header.center .split-sub { margin: 0 auto; }
.section-header .split-title { max-width: 700px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.p-footer {
  background: var(--ink);
  padding: 64px 64px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.p-footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
.p-footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.p-footer-logo-wrap img { height: 34px; width: auto; }
.p-footer-logo-wrap span {
  font-size: .88rem; font-weight: var(--w-bold);
  letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.p-footer-tagline { font-size: .8rem; color: rgba(255,255,255,.3); line-height: 1.7; }
.p-footer-col h4 {
  font-size: .6rem; font-weight: var(--w-bold);
  letter-spacing: .22em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.p-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.p-footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.38); transition: color .2s; }
.p-footer-col ul li a:hover { color: var(--blue-lt); }
.p-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 28px;
  font-size: .7rem; color: rgba(255,255,255,.2);
}
.p-footer-bottom a { color: rgba(255,255,255,.2); transition: color .2s; }
.p-footer-bottom a:hover { color: var(--blue-lt); }

/* ══════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════ */
.p-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
}
.p-nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
/* Animación X al abrir */
.p-nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.p-nav-burger.open span:nth-child(2) { opacity: 0; }
.p-nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú mobile desplegado */
.p-nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0E1320;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 250;
  padding: 80px 32px 48px;
  animation: menuFadeIn .28s cubic-bezier(.4,0,.2,1);
}
.p-nav-links.open li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.p-nav-links.open li:last-child {
  border-bottom: none;
  margin-top: 16px;
}
.p-nav-links.open a {
  display: block;
  padding: 18px 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.p-nav-links.open a:hover,
.p-nav-links.open a.active { color: #fff; }
.p-nav-links.open .p-nav-cta {
  display: block;
  padding: 16px 40px;
  font-size: .9rem;
  background: #D4FF4F;
  color: var(--ink) !important;
  border-radius: 100px;
  margin-top: 8px;
  border: 1px solid #D4FF4F;
}
.p-nav-links.open .p-nav-cta:hover {
  background: #c8f030;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .p-nav {
    padding: 14px 20px;
    background: rgba(14,19,32,.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .p-nav-links { display: none; }
  .p-nav-burger { display: flex; }

  /* Hero */
  .p-hero { padding: 100px 20px 50px; min-height: auto; }
  .p-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .p-hero h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .p-hero-sub { font-size: .92rem; }
  .p-mockup { width: 100%; max-width: 320px; padding: 28px; }

  /* Splits */
  .split-block {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .split-block.reverse { direction: ltr; }
  .split-block.reverse > * { direction: ltr; }
  .split-color {
    padding: 32px 24px 56px;
    overflow: hidden;
  }
  .split-content { padding: 36px 24px; }
  .split-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  /* Ilustraciones: ocultar en móvil excepto Hero Split Panel */
  .illus-main { display: none; }
  .illus-main.hero-split { display: block; width: 260px; height: 260px; }
  .illus-circle { display: none; }
  .illus-wrap { min-height: 0; padding: 8px 0; gap: 8px; }
  .illus-badge { font-size: .72rem; }
  /* Número decorativo: recortado en móvil */
  .split-bignumber { font-size: 3rem; opacity: .12; bottom: 16px; right: 12px; line-height: 1; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 32px 16px; }
  .stat-n { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 1px; }
  .feature-card { padding: 28px 20px; }
  .feature-icon { width: 40px; height: 40px; margin-bottom: 16px; }

  /* CTA / secciones */
  .section-header { padding: 32px 20px 16px !important; }
  .cta-band { padding: 44px 20px; }
  .cta-band h2 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  /* FAQ mobile */
  .faq-wrap { padding: 0; }
  [style*="padding:80px"] { padding: 32px 20px !important; }

  /* FAQ */
  .faq-q { font-size: .95rem; }

  /* Lulo bullets */
  .lulo-list { gap: 16px; }
  .lulo-list li { font-size: .88rem; }

  /* Footer */
  .p-footer { padding: 44px 20px 28px; }
  .p-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .p-footer-bottom { flex-direction: column; gap: 10px; text-align: center; font-size: .65rem; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .p-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .split-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .btn-lulo { padding: 13px 22px; font-size: .76rem; }
}

/* ════════════════════════════════════════════════
   ILUSTRACIONES — estilo Lulo Bank
   Grandes, protagonistas del panel de color
════════════════════════════════════════════════ */
.illus-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 320px;   /* altura mínima para que se vea la ilustración */
  gap: 20px;
  position: relative;
  padding: 16px 0;
}
.illus-main {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.18));
  transition: transform .4s ease;
  will-change: transform;
}
.illus-main:hover { transform: scale(1.06) translateY(-6px); }
.illus-caption {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(14,19,32,.5);
  text-align: center;
  max-width: 220px;
  line-height: 1.5;
}
.illus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.illus-badge span { font-size: 1.1rem; }
/* Fondo circular decorativo detrás de la ilustración */
.illus-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  z-index: 0;
}
.illus-wrap > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .illus-main { width: 160px; height: 160px; }
  .illus-circle { width: 200px; height: 200px; }
}
