/* ============================================================
   QuiPus · Landing — hereda el Design System (DECISIONS.md)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Brand — del DS */
  --navy:        #1E3A8A;   /* brand light */
  --navy-deep:   #172554;
  --cyan:        #38BDF8;   /* AI accent / brand dark */
  --cyan-deep:   #0EA5E9;
  --ink:         #0B1220;   /* sidebar / dark sections */
  --ink-2:       #0D1A2D;
  --ink-3:       #132742;

  /* Neutros — tokens light del DS */
  --canvas:      #F1F5F9;
  --surface:     #FFFFFF;
  --surface-2:   #F8FAFC;
  --border:      #E2E8F0;
  --border-soft: #CBD5E1;

  --title:       #0F172A;
  --body:        #334155;
  --muted:       #64748B;
  --faint:       #94A3B8;

  /* Semánticos */
  --positive:    #16A34A;
  --negative:    #DC2626;
  --warning:     #D97706;

  --brand-soft:  rgba(30, 58, 138, 0.08);
  --cyan-soft:   rgba(56, 189, 248, 0.12);

  --shadow-sm:   0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.10);
  --shadow-md:   0 8px 24px -8px rgba(15,23,42,.18), 0 2px 8px rgba(15,23,42,.06);
  --shadow-lg:   0 32px 64px -24px rgba(15,23,42,.35), 0 12px 28px -12px rgba(15,23,42,.18);
  --shadow-cyan: 0 24px 60px -20px rgba(14,40,90,.55);

  --maxw: 1200px;
  --r:    18px;
  --r-sm: 12px;

  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif:'Playfair Display', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Brand lockup (icon + wordmark) ---------- */
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.wordmark .dot { color: var(--cyan); }
.wordmark--light { color: #fff; }
.wordmark--dark  { color: var(--title); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
img.brand__mark {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 9px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(37,99,201,.35));
}
.brand__name {
  font-family: var(--sans); font-style: normal; font-weight: 800;
  letter-spacing: -.02em; line-height: 1; font-size: 24px;
}
.brand--light .brand__name { color: #fff; }
.brand--dark  .brand__name { color: var(--title); }
.brand__ai { color: var(--cyan); }
.brand--dark .brand__ai { color: var(--cyan-deep); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav__inner {
  height: 68px; display: flex; align-items: center; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.nav__brand { font-size: 26px; }
.nav__links { display: flex; gap: 30px; margin-left: 8px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--body);
  transition: color .18s; position: relative;
}
.nav__links a:hover { color: var(--navy); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav__login { font-size: 15px; font-weight: 600; color: var(--title); }
.nav__login:hover { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 18px -6px rgba(30,58,138,.5);
}
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 10px 26px -8px rgba(30,58,138,.6); }
.btn--ghost {
  background: var(--surface); color: var(--title);
  border-color: var(--border-soft);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.btn--lg { padding: 15px 30px; font-size: 16px; border-radius: 13px; }
.btn--cyan {
  background: var(--cyan); color: var(--ink);
  box-shadow: 0 8px 28px -8px rgba(56,189,248,.6);
}
.btn--cyan:hover { background: #5cc8fb; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 76px 0 0;
  background:
    radial-gradient(900px 480px at 50% -120px, rgba(56,189,248,.10), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,58,138,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,58,138,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(700px 400px at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(700px 400px at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--navy); background: var(--brand-soft);
  border: 1px solid rgba(30,58,138,.14);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 26px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(56,189,248,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56,189,248,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}
h1.hero__title {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.04;
  letter-spacing: -.025em; color: var(--title);
  max-width: 880px; margin: 0 auto; text-wrap: balance;
}
h1.hero__title .em {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  color: var(--cyan-deep);
}
h1.hero__title .hl-muted {
  color: var(--faint); font-weight: 800;
  text-decoration: line-through; text-decoration-thickness: 3px;
  text-decoration-color: rgba(148,163,184,.5);
}
.hero__sub {
  font-size: clamp(17px, 2vw, 21px); color: var(--muted);
  max-width: 620px; margin: 26px auto 0; text-wrap: pretty;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero__trust {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px; font-size: 13.5px; color: var(--faint); font-weight: 500;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: var(--positive); }

/* Hero product shot */
.hero__shot {
  position: relative; max-width: 1080px; margin: 58px auto 0;
  padding-bottom: 0; transform: translateY(0);
}
.browser {
  border-radius: 14px; overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
}
.browser__bar {
  height: 38px; background: #08101f; display: flex; align-items: center;
  gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.browser__dot { width: 11px; height: 11px; border-radius: 50%; }
.browser__url {
  margin-left: 14px; flex: 1; max-width: 320px; height: 22px;
  background: rgba(255,255,255,.06); border-radius: 6px;
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--mono); font-size: 11px; color: var(--faint); gap: 7px;
}
.browser img { width: 100%; display: block; }

/* ---------- Demo "en vivo" · ventana que rota entre pantallas ---------- */
.hero__shot .browser { position: relative; z-index: 2; }
.demo-tabs {
  display: flex; gap: 6px; padding: 9px 12px; background: #0a1322;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.demo-tab {
  font-family: inherit; cursor: pointer; font-size: 12px; font-weight: 600;
  color: var(--faint); padding: 6px 12px; border-radius: 8px;
  transition: color .25s, background .25s, border-color .25s;
  white-space: nowrap; border: 1px solid transparent; background: transparent;
}
.demo-tab:hover { color: #cbd5e1; }
.demo-tab.on { color: #fff; background: rgba(56,189,248,.14); border-color: rgba(56,189,248,.3); }
.demo-frames { position: relative; aspect-ratio: 1456 / 768; overflow: hidden; }
.demo-frames img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.015);
  transition: opacity .7s ease, transform .7s ease;
}
.demo-frames img.on { opacity: 1; transform: scale(1); }
.demo-progress {
  position: absolute; left: 0; top: 0; height: 3px; width: 0; z-index: 6;
  background: var(--cyan); box-shadow: 0 0 10px rgba(56,189,248,.6);
}

.hero__shot::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 160px;
  background: linear-gradient(180deg, transparent, var(--surface-2));
  pointer-events: none;
}

/* Floating chips on hero shot */
.float-chip {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 14px; padding: 13px 16px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; font-size: 13px;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  flex-shrink: 0;
}
.float-chip .t1 { font-weight: 700; color: var(--title); line-height: 1.2; }
.float-chip .t2 { font-size: 11.5px; color: var(--muted); }
.float-chip--a { left: -28px; top: 120px; animation-delay: .2s; }
.float-chip--b { right: -24px; top: 210px; animation-delay: 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================================================
   LOGOS / PROOF STRIP
   ============================================================ */
.proof {
  background: var(--surface-2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 30px 0;
}
.proof__inner { display: flex; align-items: center; justify-content: center; gap: 38px; flex-wrap: wrap; }
.proof__label { font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.proof__items { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.proof__badge {
  font-weight: 700; font-size: 17px; color: var(--muted);
  letter-spacing: .01em; opacity: .8;
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.section { padding: 96px 0; }
.section--tint { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #cbd5e1; }
.shead { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.shead--left { margin-left: 0; text-align: left; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 14px;
}
.section--ink .kicker { color: var(--cyan); }
h2.stitle {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.1;
  letter-spacing: -.02em; color: var(--title); text-wrap: balance;
}
.section--ink h2.stitle { color: #fff; }
.stitle .em { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--navy); }
.section--ink .stitle .em { color: var(--cyan); }
.ssub { font-size: 18px; color: var(--muted); margin-top: 16px; text-wrap: pretty; }
.section--ink .ssub { color: #94a3b8; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.fcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-soft); }
.fcard__ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 20px; background: var(--brand-soft); color: var(--navy);
}
.fcard--ai .fcard__ic { background: var(--cyan-soft); color: var(--cyan-deep); }
.fcard h3 { font-size: 19px; font-weight: 700; color: var(--title); margin-bottom: 9px; letter-spacing: -.01em; }
.fcard p { font-size: 15px; color: var(--muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step__num {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--cyan); margin-bottom: 22px;
}
.step h3 { font-size: 20px; font-weight: 700; color: var(--title); margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }
.step__line {
  position: absolute; top: 38px; left: 56px; right: -26px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-soft) 0 6px, transparent 6px 12px);
}
.step:last-child .step__line { display: none; }

/* ============================================================
   SHOWCASE ROWS
   ============================================================ */
.showcase { display: flex; flex-direction: column; gap: 110px; }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.srow--rev .srow__text { order: 2; }
.srow__text .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--cyan-deep); background: var(--cyan-soft); padding: 6px 12px; border-radius: 8px;
  margin-bottom: 18px;
}
.srow__text h3 { font-size: clamp(24px,3vw,32px); font-weight: 800; color: var(--title); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; text-wrap: balance; }
.srow__text p { font-size: 16.5px; color: var(--muted); margin-bottom: 22px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); list-style: none; }
.checklist .ck {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(22,163,74,.12); color: var(--positive); margin-top: 1px;
}
.srow__media { position: relative; }
.srow__media .browser { transform: perspective(1600px) rotateY(-3deg); transition: transform .5s; }
.srow--rev .srow__media .browser { transform: perspective(1600px) rotateY(3deg); }
.srow__media:hover .browser { transform: perspective(1600px) rotateY(0); }

/* ============================================================
   DUAL AUDIENCE
   ============================================================ */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acard {
  border-radius: var(--r); padding: 38px; border: 1px solid var(--border);
  background: var(--surface); position: relative; overflow: hidden;
}
.acard--accent { background: var(--ink); border-color: var(--ink-3); color: #cbd5e1; }
.acard__role {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.acard .acard__role { background: var(--brand-soft); color: var(--navy); }
.acard--accent .acard__role { background: var(--cyan-soft); color: var(--cyan); }
.acard h3 { font-size: 24px; font-weight: 800; color: var(--title); margin-bottom: 10px; letter-spacing: -.01em; }
.acard--accent h3 { color: #fff; }
.acard > p { font-size: 15.5px; color: var(--muted); margin-bottom: 24px; }
.acard--accent > p { color: #94a3b8; }
.acard ul { display: flex; flex-direction: column; gap: 13px; }
.acard li { display: flex; gap: 11px; font-size: 15px; list-style: none; align-items: flex-start; }
.acard li svg { flex-shrink: 0; margin-top: 3px; color: var(--navy); }
.acard--accent li svg { color: var(--cyan); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.pricing--2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; align-items: center; }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pcard--feat {
  border-color: var(--navy);
  box-shadow: 0 20px 40px -15px rgba(30, 58, 138, 0.25), 0 0 0 1px rgba(30, 58, 138, 0.1);
  transform: scale(1.03);
}
.pcard--feat:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(30, 58, 138, 0.35), 0 0 0 1px rgba(30, 58, 138, 0.2), 0 0 25px rgba(56, 189, 248, 0.35);
}
.pcard:not(.pcard--feat):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-soft);
}
.pcard__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}
.pcard__name { font-size: 15px; font-weight: 700; color: var(--title); letter-spacing: .01em; }
.pcard__desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; min-height: 40px; }
.pcard__price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.pcard__amt { font-family: var(--sans); font-weight: 800; font-size: 40px; color: var(--title); letter-spacing: -.025em; }
.pcard__per { font-size: 14px; color: var(--muted); }
.pcard__note { font-size: 12.5px; color: var(--faint); margin-bottom: 24px; }
.pcard .btn { width: 100%; margin-bottom: 26px; }
.pcard__feats { display: flex; flex-direction: column; gap: 12px; }
.pcard__feats li { display: flex; gap: 10px; font-size: 14px; color: var(--body); list-style: none; align-items: flex-start; }
.pcard__feats svg { flex-shrink: 0; margin-top: 3px; color: var(--positive); }
.pricing__note { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--faint); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testis { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 30px; display: flex; flex-direction: column;
}
.tcard__quote { font-size: 16px; color: var(--body); line-height: 1.6; flex: 1; }
.tcard__quote::before { content: '“'; font-family: var(--serif); font-size: 40px; color: var(--cyan); line-height: 0; vertical-align: -18px; margin-right: 4px; }
.tcard__who { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.tcard__av {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0;
}
.tcard__name { font-weight: 700; color: var(--title); font-size: 14.5px; }
.tcard__role { font-size: 13px; color: var(--muted); }

/* Placeholder testimonial — slot reserved for an upcoming beta tester */
.tcard--soon { border-style: dashed; background: transparent; }
.tcard--soon .tcard__quote { color: var(--muted); opacity: .75; }
.tcard--soon .tcard__quote::before { content: none; }
.tcard--soon .tcard__av {
  background: transparent; border: 1.5px dashed var(--border);
  color: var(--muted);
}
.tcard--soon .tcard__av svg { width: 18px; height: 18px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border); padding: 4px 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px; font-size: 17px; font-weight: 600;
  color: var(--title); display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); transition: transform .25s, background .2s;
  font-size: 18px; color: var(--navy); line-height: 1;
}
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq details p { padding: 0 4px 24px; font-size: 15.5px; color: var(--muted); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { position: relative; overflow: hidden; }
.finalcta .panel {
  background: var(--ink);
  border-radius: 28px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-cyan);
}
.finalcta .panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -40px, rgba(56,189,248,.22), transparent 70%);
  pointer-events: none;
}
.finalcta .grid2 {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(500px 250px at 50% 100%, #000, transparent 75%);
          mask-image: radial-gradient(500px 250px at 50% 100%, #000, transparent 75%);
}
.finalcta h2 { position: relative; font-size: clamp(30px,4.5vw,48px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.finalcta h2 .em { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--cyan); }
.finalcta p { position: relative; font-size: 18px; color: #94a3b8; max-width: 520px; margin: 18px auto 34px; }
.finalcta .hero__actions { position: relative; }
.finalcta .mini { position: relative; margin-top: 20px; font-size: 13.5px; color: #64748b; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #94a3b8; padding: 64px 0 34px; border-top: 1px solid var(--ink-3); }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--ink-3); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand .brand__name { font-size: 28px; }
.footer__brand img.brand__mark { width: 40px; height: 40px; }
.footer__brand p { font-size: 14px; color: #64748b; max-width: 280px; }
.footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #cbd5e1; margin-bottom: 18px; }
.footer__col a { display: block; font-size: 14.5px; color: #94a3b8; margin-bottom: 12px; transition: color .18s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: #64748b; flex-wrap: wrap; gap: 12px; }
.footer__bottom .made { display: inline-flex; gap: 7px; align-items: center; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
/* ============================================================
   ENTRANCE EFFECT — TRANSFORM-ONLY.
   Opacity is NEVER gated, so content can never be invisible —
   even if the animation/transition clock is paused. The hero
   carries no reveal class at all and is always fully visible.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .06s; }
.js .reveal[data-d="2"] { transition-delay: .12s; }
.js .reveal[data-d="3"] { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: none; }
  .float-chip, .eyebrow .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .features, .steps, .pricing, .testis { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; gap: 32px; }
  .srow--rev .srow__text { order: 0; }
  .srow__media .browser, .srow--rev .srow__media .browser { transform: none; }
  .step__line { display: none; }
  .nav__links { display: none; }
  .pcard--feat { transform: none; }
  .pcard--feat:hover { transform: none; }
  .float-chip { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr; }
  .finalcta .panel { padding: 48px 24px; }
}

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.langtog {
  display: inline-flex; border: 1px solid var(--border-soft);
  border-radius: 9px; overflow: hidden; flex-shrink: 0;
}
.langtog button {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  padding: 6px 11px; background: transparent; color: var(--muted);
  border: 0; cursor: pointer; transition: background .18s, color .18s;
}
.langtog button.active { background: var(--navy); color: #fff; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { background: var(--ink); padding: 64px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__n {
  font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 4vw, 46px);
  color: var(--cyan); letter-spacing: -.02em; line-height: 1;
}
.stat__l { font-size: 14px; color: #94a3b8; margin-top: 10px; text-wrap: balance; }

/* ============================================================
   TRUST / SECURITY
   ============================================================ */
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tcell { padding: 26px; border: 1px solid var(--ink-3); border-radius: var(--r); background: var(--ink-2); }
.tcell__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); margin-bottom: 16px; }
.tcell h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tcell p { font-size: 14px; color: #94a3b8; }

/* ============================================================
   FCARD USE-CASE (→ caso de uso)
   ============================================================ */
.fcard__use {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--ink-3);
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--cyan); letter-spacing: -.01em; text-wrap: pretty;
}

/* ============================================================
   COMPARE — Sin / Con QuiPus
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare__col {
  border-radius: var(--r); padding: 30px 30px 34px;
  border: 1px solid var(--border);
}
.compare__col--bad  { background: var(--surface); }
.compare__col--good {
  background: var(--ink);
  border-color: var(--ink-3);
  box-shadow: var(--shadow-md);
}
.compare__head {
  display: flex; align-items: center; gap: 11px;
  font-size: 18px; font-weight: 800; letter-spacing: -.01em;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.compare__col--bad  .compare__head { color: var(--muted); }
.compare__col--good .compare__head { color: #fff; border-bottom-color: var(--ink-3); }
.compare__badge {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
}
.compare__badge--bad  { background: rgba(220,38,38,.10); color: var(--negative); }
.compare__badge--good { background: rgba(56,189,248,.14); color: var(--cyan); }
.compare__col ul { display: flex; flex-direction: column; gap: 15px; list-style: none; }
.compare__col li {
  position: relative; padding-left: 26px;
  font-size: 15px; line-height: 1.45; text-wrap: pretty;
}
.compare__col li::before {
  position: absolute; left: 0; top: 0; font-weight: 700;
}
.compare__col--bad  li { color: var(--muted); }
.compare__col--bad  li::before { content: '✕'; color: var(--negative); font-size: 13px; top: 1px; }
.compare__col--good li { color: #cbd5e1; }
.compare__col--good li::before { content: '✓'; color: var(--cyan); }

@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL DE CAPTURA DE LEADS (Glassmorphism & Premium UI)
   ============================================================ */
.q-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 31, 0.65);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}
.q-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.q-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.q-modal-overlay.is-active .q-modal {
  transform: translateY(0) scale(1);
}
.q-modal__header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.q-modal__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--title);
  letter-spacing: -0.02em;
}
.q-modal__close {
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: color 0.18s;
  padding: 4px;
}
.q-modal__close:hover {
  color: var(--negative);
}
.q-modal__body {
  padding: 24px 28px 28px;
}
.q-form-group {
  margin-bottom: 18px;
}
.q-form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 6px;
}
.q-form-input, .q-form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--title);
  background: var(--surface-2);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.q-form-input:focus, .q-form-select:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}
.q-modal .btn--primary {
  width: 100%;
  margin-top: 10px;
}
.q-modal__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
}
.q-modal__success-icon {
  width: 64px;
  height: 64px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--positive);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 32px;
  animation: scaleUpCheck 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes scaleUpCheck {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
.q-modal__success-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 10px;
}
.q-modal__success-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   WIDGET DE CHAT FLOTANTE
   ============================================================ */
.q-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: var(--sans);
}
.q-chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.q-chat-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.q-chat-btn svg {
  transition: transform 0.3s;
}
.q-chat-btn.is-active svg {
  transform: rotate(90deg);
}
.q-chat-btn__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--cyan);
  border: 2px solid var(--navy);
  border-radius: 50%;
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.q-chat-bubble {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.q-chat-bubble.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.q-chat-bubble__header {
  background: var(--ink);
  padding: 16px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.q-chat-bubble__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.q-chat-bubble__header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.q-chat-bubble__name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.q-chat-bubble__status {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.q-chat-bubble__status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.q-chat-bubble__body {
  padding: 20px;
  background: var(--surface-2);
}
.q-chat-bubble__message {
  background: var(--surface);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--body);
  border: 1px solid var(--border);
  line-height: 1.45;
  margin-bottom: 16px;
}
.q-chat-bubble__action {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.q-chat-bubble__action:hover {
  background: var(--navy-deep);
}
.q-chat-bubble__whatsapp {
  display: none !important;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--body);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: background 0.2s;
  text-decoration: none;
}
.q-chat-bubble__whatsapp:hover {
  background: var(--surface-2);
}

/* ============================================================
   INTERACTIVIDAD DE LA SECCIÓN "DOS MODOS, UNA PLATAFORMA"
   ============================================================ */
.dual-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}
.dual-toggle {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.dual-toggle button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dual-toggle button.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Estilos dinámicos para las tarjetas acard */
.dual .acard {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, border-color 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.dual .acard:hover {
  transform: translateY(-4px);
}
.dual .acard.is-selected {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  opacity: 1;
  z-index: 5;
}
.dual .acard.is-selected.acard--accent {
  border-color: var(--cyan);
  box-shadow: 0 16px 36px -12px rgba(56, 189, 248, 0.25);
}
.dual .acard.is-dimmed {
  opacity: 0.45;
  transform: scale(0.97);
}


/* ============================================================
   DEMO VIDEO CONTAINER
   ============================================================ */
.demo-section {
  padding: 48px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-video-container {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 2px dashed var(--border-soft);
  background: repeating-linear-gradient(
    45deg,
    var(--canvas),
    var(--canvas) 10px,
    var(--surface) 10px,
    var(--surface) 20px
  );
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.demo-video-container:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.demo-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.demo-video-label {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
display: grid;
  place-items: center;
  font-size: 15px;
}
.q-chat-bubble__header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.q-chat-bubble__name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.q-chat-bubble__status {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.q-chat-bubble__status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.q-chat-bubble__body {
  padding: 20px;
  background: var(--surface-2);
}
.q-chat-bubble__message {
  background: var(--surface);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--body);
  border: 1px solid var(--border);
  line-height: 1.45;
  margin-bottom: 16px;
}
.q-chat-bubble__action {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.q-chat-bubble__action:hover {
  background: var(--navy-deep);
}
.q-chat-bubble__whatsapp {
  display: none !important;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--body);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: background 0.2s;
  text-decoration: none;
}
.q-chat-bubble__whatsapp:hover {
  background: var(--surface-2);
}

/* ============================================================
   INTERACTIVIDAD DE LA SECCIÓN "DOS MODOS, UNA PLATAFORMA"
   ============================================================ */
.dual-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}
.dual-toggle {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.dual-toggle button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dual-toggle button.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Estilos dinámicos para las tarjetas acard */
.dual .acard {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, border-color 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.dual .acard:hover {
  transform: translateY(-4px);
}
.dual .acard.is-selected {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  opacity: 1;
  z-index: 5;
}
.dual .acard.is-selected.acard--accent {
  border-color: var(--cyan);
  box-shadow: 0 16px 36px -12px rgba(56, 189, 248, 0.25);
}
.dual .acard.is-dimmed {
  opacity: 0.45;
  transform: scale(0.97);
}


/* ============================================================
   DEMO VIDEO CONTAINER
   ============================================================ */
.demo-section {
  padding: 48px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-section .browser {
  max-width: 900px;
  margin: 0 auto;
}

/* Inline brand style consistency */
.brand-inline {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}


/* ============================================================
   SOBRE NOSOTROS / FOUNDER SECTION
   ============================================================ */
.founder-container {
  max-width: 480px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 38px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.founder-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan-deep));
  color: #fff;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -6px rgba(30, 58, 138, 0.4);
}
.founder-content {
  width: 100%;
}
.founder-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.founder-role {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--cyan-deep);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.founder-quote {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============================================================
   SECURITY BADGE
   ============================================================ */
.hero__security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-soft);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
  animation: floaty 6s ease-in-out infinite;
}
.hero__security-badge svg {
  color: var(--cyan-deep);
}

@media (max-width: 760px) {
  .founder-container {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }
}

/* WhatsApp Link under Hero CTAs */
.hero__wa-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.hero__wa-link:hover {
  color: var(--navy);
}

/* Anonymous Backup Testimonial */
.testis__anom {
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
  margin: 24px auto 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}


/* ============================================================
   ROLES / PROFILE VISIBILITY (Contador / Emprendedor)
   ============================================================ */
.show-contador, .show-emprendedor {
  display: none !important;
}
html[data-profile="contador"] .show-contador {
  display: block !important;
}
html[data-profile="contador"] span.show-contador {
  display: inline !important;
}
html[data-profile="contador"] li.show-contador {
  display: flex !important;
}
html[data-profile="emprendedor"] .show-emprendedor {
  display: block !important;
}
html[data-profile="emprendedor"] span.show-emprendedor {
  display: inline !important;
}
html[data-profile="emprendedor"] li.show-emprendedor {
  display: flex !important;
}

/* ============================================================
   HERO PORTAL SIMPLIFICADO (QuickBooks Style)
   ============================================================ */
.hero__portal-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn--portal {
  font-size: 18px;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}
.btn--portal-contador {
  background: var(--navy);
  color: #fff;
}
.btn--portal-contador:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(30, 58, 138, 0.4);
}
.btn--portal-emprendedor {
  background: var(--surface);
  color: var(--navy-deep);
  border: 2px solid var(--navy);
}
.btn--portal-emprendedor:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(30, 58, 138, 0.15);
}

.hero__portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 760px;
  margin: 48px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.pstat {
  text-align: center;
}
.pstat__n {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.pstat__l {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 680px) {
  .hero__portal-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   COLLAPSIBLE CARDS — EL PROBLEMA
   ============================================================ */
#problema .features {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  gap: 16px;
}
#problema .fcard {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 32px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}
#problema .fcard:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 20px -4px rgba(30, 58, 138, 0.08);
  transform: translateY(-2px);
}
#problema .fcard.is-expanded {
  border-color: var(--navy);
  background: var(--surface);
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.08);
}
#problema .fcard__header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 40px;
}
#problema .fcard__ic {
  margin-bottom: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
#problema .fcard h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 0;
}
#problema .fcard p {
  display: none;
  margin-top: 16px;
  margin-left: 64px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  animation: slideDownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#problema .fcard.is-expanded p {
  display: block;
}
#problema .fcard__expand-indicator {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#problema .fcard:hover .fcard__expand-indicator {
  background: var(--brand-soft);
  color: var(--navy);
  border-color: rgba(30, 58, 138, 0.2);
}
#problema .fcard.is-expanded .fcard__expand-indicator {
  transform: translateY(-50%) rotate(45deg);
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 500px) {
  #problema .fcard {
    padding: 20px 24px;
  }
  #problema .fcard__header-row {
    gap: 12px;
    padding-right: 32px;
  }
  #problema .fcard p {
    margin-left: 0;
    margin-top: 12px;
  }
  #problema .fcard__expand-indicator {
    right: 20px;
  }
}

/* ============================================================
   TABS Y SOLUTION — LA SOLUCIÓN
   ============================================================ */
.solucion__toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.solucion__toggle-container .ptoggle {
  display: inline-flex;
  background: rgba(30, 58, 138, 0.04);
  border: 1px solid rgba(30, 58, 138, 0.08);
  padding: 5px;
  border-radius: 30px;
}
.solucion__toggle-container .ptoggle-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 8px 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.solucion__toggle-container .ptoggle-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}

.sol-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  padding: 0;
}
.sol-tab {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 18px 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  transition: all 0.2s ease;
}
.sol-tab:hover {
  color: var(--navy);
}
.sol-tab.active {
  color: var(--navy-deep);
  font-weight: 800;
}
.sol-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  border-radius: 3px 3px 0 0;
}
.sol-tab.active::after {
  transform: scaleX(1);
}
.sol-tab__num {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  background: rgba(30, 58, 138, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
  line-height: 1;
}
.sol-tab.active .sol-tab__num {
  color: var(--cyan-deep);
  background: var(--cyan-soft);
}
.sol-tab__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
}

.sol-content {
  background: var(--surface);
  border-radius: var(--r);
}
.sol-pane {
  display: none;
}
.sol-pane.active {
  display: block;
  animation: fadeInTab 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sol-pane__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sol-pane__text h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.sol-pane__text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.sol-pane__media {
  position: relative;
}
.sol-pane__media .browser {
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .sol-tabs {
    flex-direction: column;
    gap: 8px;
    border-bottom: 0;
    align-items: stretch;
  }
  .sol-tab {
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
  }
  .sol-tab::after {
    display: none;
  }
  .sol-tab.active {
    background: var(--brand-soft);
    border-color: var(--navy);
  }
  .sol-pane__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   EXPANDABLE COMPARISON — ANTES / DESPUÉS
   ============================================================ */
.compare__extra {
  display: none !important;
}
.compare.is-expanded .compare__extra {
  display: list-item !important;
  animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
