:root {
  --ink: #0b0c0f;
  --ink-2: #2c3340;
  --muted: #667085;
  --line: rgba(15, 17, 21, 0.08);
  --bg: #f5f6f8;
  --bg-warm: #faf8f3;
  --soft: #fff8e6;
  --white: #ffffff;
  --yellow: #ffb800;
  --yellow-deep: #e6a400;
  --orange: #ff6200;
  --dark: #0a0a0a;
  --dark-2: #141414;
  --green: #12b76a;
  --H: "Familjen Grotesk", sans-serif;
  --B: "DM Sans", sans-serif;
  --shadow: 0 24px 60px rgba(10, 10, 10, 0.12);
  --shadow-sm: 0 10px 30px rgba(10, 10, 10, 0.07);
  --r: 20px;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--B);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
}
h1, h2, h3 { font-family: var(--H); letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 14px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 48ch; }
.y { color: var(--yellow-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-y:hover { background: var(--yellow-deep); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }

/* Preview ribbon */
.preview-ribbon {
  background: #111; color: #fff; text-align: center;
  font-size: 12.5px; font-weight: 600; padding: 8px 12px; position: relative; z-index: 60;
}
.preview-ribbon span { color: var(--yellow); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--H); font-weight: 700; font-size: 1.2rem; white-space: nowrap;
  letter-spacing: -0.055em; color: #fff;
}
.brand img {
  width: 36px; height: 36px; border-radius: 10px; object-fit: contain;
  background: transparent; border: 0; box-shadow: none; outline: none;
  flex-shrink: 0;
}
.brand-text {
  display: inline-flex; align-items: baseline;
  letter-spacing: -0.055em; white-space: nowrap;
}
.brand-text em {
  font-style: normal; color: var(--yellow);
  letter-spacing: -0.055em; margin-left: -0.03em;
}
.brand em {
  font-style: normal; color: var(--yellow);
  letter-spacing: -0.055em; margin-left: -0.03em;
}
/* En fondos claros: Yellow oscuro + Bot amarillo, pegados */
h1 .brand-text, h2 .brand-text, footer .brand-text, .pname {
  color: var(--ink);
}
h1 .brand-text em, h2 .brand-text em, footer .brand-text em {
  color: #ffb800;
}
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.nav-login { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.65); }
.nav-actions .btn-ghost {
  border-color: rgba(255,255,255,.22); color: #fff;
}
.nav-actions .btn-ghost:hover { border-color: var(--yellow); color: #fff; }
.menu-btn {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 18px;
}
.nav-drawer {
  display: none; position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff;
  border-bottom: 1px solid var(--line); padding: 16px 20px 22px; z-index: 49;
  flex-direction: column; gap: 12px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Hero — sin hueco blanco; galería como web original */
.hero {
  position: relative;
  padding: 36px 0 56px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255,184,0,.22), transparent 55%),
    linear-gradient(180deg, #fffdf6 0%, #ffffff 50%, #f3f4f7 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: center;
}
.hero h1 { max-width: 11ch; margin-bottom: 16px; }
.hero .lead { margin-bottom: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; }
.trust span {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px;
}
.hero-visual { position: relative; min-width: 0; }

/* Showcase / slider (como index original) */
.hero-showcase { width: 100%; }
.hero-window {
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(0,0,0,.1);
  border-bottom: none;
  background: #0d0d0d;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,184,0,.18);
}
.hero-window-bar em {
  font-style: normal; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.45);
}
.hero-slide-viewport {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: #080808; cursor: zoom-in;
}
.hero-slide-track {
  display: flex; height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1); will-change: transform;
}
.hero-slide { flex: 0 0 100%; height: 100%; position: relative; background: #080808; }
.hero-slide img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top left;
  background: #0a0a0a;
}
.hero-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 8;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.hero-progress span { display: block; height: 100%; width: 0; background: var(--yellow); }
.hero-controls { margin-top: 14px; display: grid; gap: 10px; }
.hero-controls-bar { display: flex; align-items: center; gap: 12px; }
.hero-ctrl-meta { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 10px; }
.hero-ctrl-arrow {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; font-size: 1.2rem;
}
.hero-ctrl-arrow:hover { border-color: var(--yellow); color: var(--yellow-deep); }
.hero-slide-label { font-family: var(--H); font-weight: 700; font-size: .95rem; }
.hero-slide-count { font-weight: 700; font-size: .78rem; color: var(--yellow-deep); }
.hero-dots { display: flex; gap: 5px; }
.hero-dot {
  flex: 1; height: 3px; border: 0; border-radius: 2px; background: #d0d5dd; cursor: pointer; padding: 0;
}
.hero-dot.active { background: var(--yellow); }
.hero-explore { font-size: 12px; color: var(--muted); }

.ui-frame {
  background: #12141a; border-radius: 18px; padding: 10px 10px 0;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.06); overflow: hidden;
}
.ui-frame-bar { display: flex; gap: 6px; padding: 0 6px 10px; }
.ui-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4b; display: block; }
.ui-frame-bar i:nth-child(1) { background: #ff5f57; }
.ui-frame-bar i:nth-child(2) { background: #febc2e; }
.ui-frame-bar i:nth-child(3) { background: #28c840; }
.ui-frame img, .ui-frame video {
  width: 100%; border-radius: 12px 12px 0 0; object-fit: cover; object-position: top left;
  max-height: 460px;
}

/* Lightbox para abrir pantallazos */
.lb[hidden] { display: none !important; }
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.86); display: grid; place-items: center;
  padding: 24px;
}
.lb-inner { width: min(1100px, 100%); position: relative; }
.lb-inner img {
  width: 100%; max-height: 86vh; object-fit: contain; border-radius: 12px;
  background: #111;
}
.lb-close, .lb-nav {
  position: absolute; border: 0; cursor: pointer; background: rgba(255,255,255,.12);
  color: #fff; border-radius: 12px; font-size: 1.4rem;
}
.lb-close { top: -44px; right: 0; width: 40px; height: 40px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
.lb-prev { left: -8px; }
.lb-next { right: -8px; }
.lb-cap { color: rgba(255,255,255,.75); text-align: center; margin-top: 10px; font-size: 14px; }

/* Sections */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--bg); }
.section.warm { background: var(--bg-warm); }
.section.dark {
  background: linear-gradient(160deg, #0a0a0a 0%, #17140a 100%);
  color: #fff;
}
.section.dark .lead, .section.dark .muted { color: rgba(255,255,255,.68); }
.sec-head { margin-bottom: 42px; max-width: 720px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #f0d27a; }
.card-media {
  height: 200px; background: #0d0d0d; overflow: hidden;
  display: grid; place-items: center;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  transition: transform .35s ease;
}
.card:hover .card-media img { transform: scale(1.02); }
.card.product-card .card-media {
  height: auto; min-height: 0; background: transparent; padding: 22px 18px 0;
  display: flex; justify-content: flex-start;
}
.card.product-card .card-media img {
  width: 56px; height: 56px; object-fit: contain; border-radius: 14px;
  border: 0; box-shadow: 0 8px 20px rgba(255,184,0,.28);
}
.product-logo-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 4px;
}
.product-logo-row img {
  width: 52px; height: 52px; border-radius: 14px; object-fit: contain;
  border: 0 !important; outline: none; box-shadow: 0 10px 24px rgba(255,181,0,.32);
  background: transparent;
}
.product-logo-row .pname {
  font-family: var(--H); font-size: 1.35rem; letter-spacing: -.055em; font-weight: 700;
  display: inline-flex; align-items: baseline;
}
.product-logo-row .pname em {
  font-style: normal; color: #ffb800; margin-left: -0.03em; letter-spacing: -.055em;
}
.card-body { padding: 18px; display: grid; gap: 8px; }
.card .role { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { list-style: none; display: grid; gap: 7px; margin-top: 6px; }
.card li { font-size: 13.5px; padding-left: 16px; position: relative; color: var(--ink-2); }
.card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--yellow);
}

/* Sticky Apple product band */
.sticky-band { position: relative; }
.sticky-inner { padding: 0; }
.split {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center;
}
.split.rev { grid-template-columns: 1.05fr .95fr; }
.split.rev .copy { order: 2; }
.split.rev .visual { order: 1; }

.phone-frame {
  width: min(300px, 100%);
  margin: 0 auto;
  border-radius: 36px;
  padding: 10px;
  background: #111;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.12);
}
.phone-frame video {
  width: 100%;
  border-radius: 28px;
  display: block;
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  object-position: center top;
  background: #000;
}
.demo-video-split-fix {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 720px) {
  .demo-video-split-fix { grid-template-columns: 1fr; }
  .phone-frame { width: min(260px, 100%); }
}
.demo-steps { list-style: none; display: grid; gap: 16px; margin-top: 22px; }
.demo-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.demo-step-n {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(145deg, #ffc933, #e69a00 55%, #c87800);
  box-shadow: 0 10px 22px rgba(180,100,0,.45), inset 0 1px 0 rgba(255,255,255,.35);
  display: grid; place-items: center; font-family: var(--H); font-weight: 700; color: #1a1200;
  border: 1.5px solid rgba(0,0,0,.12);
}
.demo-step-n.ico-3d {
  color: #111; font-size: 1.35rem; line-height: 1;
  filter: saturate(1.35) contrast(1.15);
}
.demo-steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.demo-steps p { color: var(--muted); font-size: 14.5px; }
.demo-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}

/* Integrations */
.int-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px;
}
.int-logo {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.int-icon {
  width: 18px; height: 18px; display: inline-block;
  background: var(--c, #333);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.int-icon-text {
  width: 18px; height: 18px; border-radius: 4px; background: #1a1a1a; color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
}
.int-tagline { text-align: center; color: var(--muted); margin-top: 16px; font-size: 14px; }

/* Steps */
.steps .step {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; min-height: 170px;
}
.steps .n { font-family: var(--H); font-size: 2rem; color: var(--yellow-deep); margin-bottom: 8px; }
.steps strong { display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* Chips / niches */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: 12.5px; font-weight: 600; background: #fff8e6; color: #8a5a00;
  border-radius: 999px; padding: 6px 11px;
}
.niche {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  display: grid; gap: 12px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.niche:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10,10,10,.08);
  border-color: rgba(255,184,0,.45);
}
.niche .for { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.niche p { color: var(--muted); margin: 0; }
.niche-top { display: flex; align-items: flex-start; gap: 14px; }
.niche-top h3 { margin: 0 0 4px; }
.niche-list { list-style: none; display: grid; gap: 8px; margin: 2px 0 4px; }
.niche-list li {
  font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative;
}
.niche-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--yellow);
}
.niche details {
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px;
}
.niche details summary {
  cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--yellow-deep);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.niche details summary::-webkit-details-marker { display: none; }
.niche details summary::after { content: "+"; font-size: 1.1rem; color: var(--orange); }
.niche details[open] summary::after { content: "−"; }
.niche details .niche-more {
  margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
.niches-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 720px) {
  .niches-grid { grid-template-columns: 1fr; }
}

/* Benefits */
.benefit {
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  background: linear-gradient(180deg, #fff, #fafbfc);
  display: grid; gap: 12px;
}
.benefit-ico {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.55rem; line-height: 1;
  box-shadow: 0 14px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.35);
  border: 1.5px solid rgba(0,0,0,.14);
  transform: perspective(400px) rotateX(8deg) rotateY(-6deg);
  transition: transform .25s ease;
  filter: saturate(1.25) contrast(1.08);
}
.benefit:hover .benefit-ico { transform: perspective(400px) rotateX(0) rotateY(0) translateY(-2px); }
.benefit-ico.c1 { background: linear-gradient(145deg, #ffd24a, #e6a400 60%, #c88800); }
.benefit-ico.c2 { background: linear-gradient(145deg, #3dd68c, #0e9f56 60%, #087443); }
.benefit-ico.c3 { background: linear-gradient(145deg, #5b9dff, #2563eb 60%, #1d4ed8); }
.benefit-ico.c4 { background: linear-gradient(145deg, #ff8a3d, #e04e00 60%, #b83c00); }
.benefit-ico.c5 { background: linear-gradient(145deg, #a78bfa, #7c3aed 60%, #5b21b6); }
.benefit-ico.c6 { background: linear-gradient(145deg, #fb7185, #e11d48 60%, #be123c); }
.benefit strong { display: block; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 14.5px; }

/* Page hero compact */
.page-hero {
  padding: 64px 0 28px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,184,0,.18), transparent 50%),
    linear-gradient(180deg, #fffef8, #fff);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; margin-bottom: 12px; }

/* Pricing */
.pay-selector { margin: 28px 0 20px; }
.pay-selector-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.pay-toggle {
  display: inline-flex; gap: 6px; padding: 6px; background: var(--bg);
  border-radius: 999px; border: 1px solid var(--line); flex-wrap: wrap;
}
.pay-opt {
  border: 0; background: transparent; border-radius: 999px; padding: 10px 16px;
  cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.pay-opt.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.pay-opt-badge { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.pay-opt-badge.blue { background: #e8f1ff; color: #1d4ed8; }
.pay-opt-badge.green { background: #e8f8ef; color: #067647; }
.pay-banner {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff8e6;
  font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.pay-banner-save { font-weight: 700; color: #067647; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.pc {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 8px; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pc:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(10,10,10,.1); }
.pc.hot { border-color: rgba(255,184,0,.7); box-shadow: 0 0 0 3px rgba(255,184,0,.15); }
.hot-badge, .plan-rec-badge {
  position: absolute; top: -12px; right: 18px;
  background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800;
  padding: 5px 10px; border-radius: 999px;
}
.plan-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.65rem; margin-bottom: 8px;
  box-shadow: 0 14px 30px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.35);
  border: 1.5px solid rgba(0,0,0,.14);
  filter: saturate(1.25) contrast(1.08);
}
.pc[data-plan="basic"] .plan-ico { background: linear-gradient(145deg, #94a3b8, #64748b 60%, #475569); }
.pc[data-plan="starter"] .plan-ico { background: linear-gradient(145deg, #34d399, #059669 60%, #047857); }
.pc[data-plan="pro"] .plan-ico { background: linear-gradient(145deg, #ffd24a, #e6a400 60%, #c88800); }
.plan-highlights {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px;
}
.plan-highlights span {
  font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px;
  background: #f4f5f7; color: var(--ink-2);
}
.pc[data-plan="starter"] .plan-highlights span { background: #e8f8ef; color: #067647; }
.pc[data-plan="pro"] .plan-highlights span { background: #fff3cc; color: #8a5a00; }
.ptag { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pname { font-family: var(--H); font-size: 1.8rem; }
.pprice { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.pprice-n { font-family: var(--H); font-size: 2rem; letter-spacing: -.03em; }
.pprice-c { color: var(--muted); font-size: 13px; font-weight: 600; }
.pprice-old { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-right: 6px; }
.pper { font-size: 13px; color: var(--muted); }
.pper-equiv { font-size: 12.5px; color: #067647; min-height: 1.2em; }
.psave-badge { font-size: 12.5px; font-weight: 700; color: #067647; }
.psep { height: 1px; background: var(--line); margin: 8px 0; }
.pfeats { list-style: none; display: grid; gap: 8px; margin: 4px 0 12px; }
.pfeats li { font-size: 13.5px; display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.pfeats li.off { opacity: .45; }
.ck.y { color: var(--green); font-weight: 800; }
.ck.n { color: #98a2b3; font-weight: 800; }
.pimpl { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.pbtn {
  margin-top: auto; display: inline-flex; justify-content: center; align-items: center;
  min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 14px;
}
.pbtn.o { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.pbtn.f { background: var(--yellow); color: var(--ink); }
.impl-section { margin-top: 40px; }
.impl-title-propuesta { font-family: var(--H); font-size: 1.5rem; margin: 8px 0; }
.impl-intro { color: var(--muted); max-width: 60ch; margin-bottom: 18px; }
.impl-note {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px;
}
.impl-note-item {
  background: var(--bg); border-radius: 14px; padding: 14px; border: 1px solid var(--line);
}
.impl-note-item strong { display: block; margin-bottom: 4px; }
.impl-note-item span { font-size: 13.5px; color: var(--muted); }
.impl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.impl-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff;
  display: grid; gap: 4px;
}
.impl-card.featured { border-color: rgba(255,184,0,.7); background: #fffaf0; }
.impl-card strong { font-family: var(--H); font-size: 1.3rem; }

/* FAQ — visible on dark AND light */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: #1a1b1f;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.faq-item:hover { border-color: rgba(255,184,0,.45); }
.faq-item[open] { border-color: var(--yellow); }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-family: var(--H);
  font-size: 1.02rem; color: #fff; line-height: 1.35;
  list-style: none; position: relative;
  padding: 18px 52px 18px 18px;
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,184,0,.18); color: var(--yellow);
  display: grid; place-items: center; font-size: 1.15rem; font-weight: 600;
}
.faq-item[open] summary::after { content: "−"; background: var(--yellow); color: #111; }
.faq-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.25rem;
  background: linear-gradient(145deg, #ffd24a, #e6a400 60%, #c88800);
  box-shadow: 0 10px 22px rgba(180,100,0,.4);
  border: 1.5px solid rgba(0,0,0,.14);
  filter: saturate(1.25) contrast(1.08);
}
.faq-answer {
  margin: 0; padding: 0 18px 18px 70px;
  color: rgba(255,255,255,.72) !important;
  font-size: 14.5px; line-height: 1.6;
}
.faq-answer strong { color: #fff; }
.section:not(.alt) .faq-item {
  background: #fff; border-color: var(--line);
}
.section:not(.alt) .faq-item summary { color: var(--ink); }
.section:not(.alt) .faq-answer { color: var(--muted) !important; padding-left: 70px; }
.section:not(.alt) .faq-answer strong { color: var(--ink); }

/* CTA / footer */
.final-box {
  border-radius: 28px; padding: 48px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,184,0,.25), transparent 50%),
    linear-gradient(145deg, #0a0a0a, #17140a);
  color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center;
}
.final-box p { color: rgba(255,255,255,.7); }
.final-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

footer {
  border-top: 1px solid var(--line); padding: 40px 0 56px; background: #fbfcfd; margin-top: 20px;
}
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.foot strong { font-family: var(--H); font-size: 1.15rem; }
.foot strong em { font-style: normal; color: var(--yellow-deep); }
.foot .label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 8px;
}
.foot .col { display: grid; gap: 8px; align-content: start; }
.foot a, .foot p { color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--ink); }

/* Reveal / parallax */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .parallax-layer { transform: none !important; }
}

@media (max-width: 980px) {
  .hero-grid, .split, .split.rev, .grid-3, .grid-4, .price-grid, .impl-note, .impl-grid, .final-box, .foot {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-login { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .split.rev .copy, .split.rev .visual { order: initial; }
  .final-box { grid-template-columns: 1fr; }
  .final-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .wrap, .wrap-wide { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding-top: 36px; }
  .hero-grid, .split, .grid-2, .grid-3, .grid-4, .price-grid, .impl-note, .impl-grid, .foot {
    grid-template-columns: 1fr;
  }
  .final-box { padding: 28px; }
  .sticky-band { min-height: auto; }
  .sticky-inner { position: relative; top: auto; }
}


/* Stronger section rhythm */
.section {
  border-top: 1px solid transparent;
}
.section.alt { background: #111214; color: #fff; }
.section.alt .lead, .section.alt .muted, .section.alt p { color: rgba(255,255,255,.68); }
.section.alt .eyebrow { color: rgba(255,255,255,.55); }
.section.alt .card, .section.alt .step, .section.alt .benefit, .section.alt .niche {
  background: #1a1b1f; border-color: rgba(255,255,255,.08); color: #fff;
}
.section.alt .card p, .section.alt .step p, .section.alt .benefit p, .section.alt .niche p,
.section.alt .niche .for, .section.alt .card li { color: rgba(255,255,255,.65); }
.section.band-yellow {
  background: linear-gradient(180deg, #fff8e0, #fff);
  border-top: 1px solid rgba(255,184,0,.25);
  border-bottom: 1px solid rgba(255,184,0,.18);
}
.section.dark-edge {
  background: #0a0a0a; color: #fff;
}
.sec-rule {
  width: 56px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 0 0 18px;
}

/* Module gallery */
.modules-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mod-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0d0d;
  cursor: zoom-in;
  min-height: 210px;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mod-tile:hover, .mod-tile.is-active {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.mod-tile img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: top left;
  display: block; background: #0d0d0d;
  transition: transform .45s ease;
}
.mod-tile:hover img { transform: scale(1.03); }
.mod-tile .mod-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
}
.mod-tile .mod-cap strong { display: block; font-family: var(--H); font-size: 1.05rem; margin-bottom: 4px; }
.mod-tile .mod-cap span { font-size: 12.5px; color: rgba(255,255,255,.72); }
.mod-tile .mod-open {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,184,0,.95); color: #111; font-size: 11px; font-weight: 800;
  border-radius: 999px; padding: 6px 10px; letter-spacing: .04em;
}

.mod-stage[hidden] { display: none !important; }
.mod-stage {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(5,5,5,.94);
  display: grid; grid-template-columns: minmax(0, 1fr) min(340px, 34vw);
  gap: 20px; padding: 24px; align-items: stretch;
}
.mod-stage-visual {
  background: #111; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.08); overflow: hidden; position: relative;
  min-height: 0;
}
.mod-stage-visual img {
  width: 100%; height: 100%; max-height: calc(100vh - 48px);
  object-fit: contain; object-position: center; background: transparent;
}
.mod-stage-side {
  padding: 12px 8px 8px 4px; color: #fff; display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}
.mod-stage-side h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.mod-stage-side p { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.55; }
.mod-stage-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.mod-stage-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer;
}

/* Plans color play */
.pc[data-plan="basic"] { border-top: 4px solid #98a2b3; }
.pc[data-plan="starter"] { border-top: 4px solid #12b76a; background: linear-gradient(180deg, #f3fff8, #fff); }
.pc[data-plan="pro"] {
  border-top: 4px solid var(--yellow);
  background: linear-gradient(180deg, #fff8e0, #fff);
  transform: translateY(-6px);
}
.pc .pname { letter-spacing: -.03em; }
.price-grid { align-items: stretch; }
.impl-card.featured { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,184,0,.15); }

.nav-drawer { background: #111; border-bottom-color: rgba(255,255,255,.08); }
.nav-drawer a { color: #fff; border-bottom-color: rgba(255,255,255,.08); }
.menu-btn { background: rgba(255,255,255,.08); color: #fff; }

@media (max-width: 980px) {
  .modules-gallery { grid-template-columns: 1fr 1fr; }
  .mod-stage { grid-template-columns: 1fr; padding: 16px; }
  .mod-stage-side { padding: 18px 8px 8px; }
  .pc[data-plan="pro"] { transform: none; }
}
@media (max-width: 720px) {
  .modules-gallery { grid-template-columns: 1fr; }
}

.section.dark-edge .lead, .section.dark-edge .step p { color: rgba(255,255,255,.68); }
.section.dark-edge .step { background: #17181c; border-color: rgba(255,255,255,.08); color: #fff; }
.section.dark-edge .eyebrow { color: rgba(255,255,255,.55); }
.section.alt .card-media { border-bottom: 1px solid rgba(255,255,255,.06); }
.section.alt a { color: var(--yellow); }

.section.alt .brand-text,
.section.dark-edge .brand-text,
.final-box .brand-text { color: #fff; }
.section.alt .brand-text em,
.section.dark-edge .brand-text em,
.final-box .brand-text em { color: var(--yellow); }

.section.dark-edge .benefit-ico,
.section.alt .benefit-ico {
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 14px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25);
}

/* ========== RESPONSIVE OVERHAUL ========== */
.drawer-ctas {
  display: grid; gap: 10px; margin-top: 8px; padding-top: 8px;
}
.drawer-ctas .btn { width: 100%; border-bottom: 0 !important; }
.drawer-ctas .btn-ghost {
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
  background: transparent;
}
.drawer-ctas .btn-y { color: var(--ink) !important; }

@media (max-width: 1100px) {
  .nav-actions .btn-ghost { display: none; } /* Contactar → drawer on tablet */
  .nav-login { display: none; }
}

@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .preview-ribbon { font-size: 11px; padding: 7px 10px; line-height: 1.35; }
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-actions .btn { display: none; } /* solo menú + Empezar si cabe */
  .nav-actions .btn-y { display: inline-flex; min-height: 38px; padding: 0 14px; font-size: 13px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }

  .hero-grid,
  .split, .split.rev,
  .grid-2, .grid-3, .grid-4,
  .price-grid, .impl-note, .impl-grid,
  .final-box, .foot,
  .niches-grid,
  .demo-video-split-fix {
    grid-template-columns: 1fr !important;
  }
  .modules-gallery { grid-template-columns: 1fr 1fr; }
  .split.rev .copy, .split.rev .visual { order: initial; }
  .final-actions { justify-content: flex-start; }
  .pc[data-plan="pro"] { transform: none; }
  .mod-stage { grid-template-columns: 1fr; padding: 14px; }
  .mod-stage-side { padding: 14px 4px 4px; }
  .hero { padding: 28px 0 40px; }
  h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  h2 { font-size: clamp(1.65rem, 6vw, 2.4rem); }
  .page-hero { padding: 40px 0 16px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); max-width: none; }
}

@media (max-width: 720px) {
  .wrap, .wrap-wide { width: min(100% - 24px, 1180px); }
  .section { padding: 56px 0; }
  .hero { padding: 22px 0 36px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .trust { gap: 6px; }
  .trust span { font-size: 11px; padding: 6px 10px; }

  .nav-actions .btn-y { display: none; } /* en móvil solo hamburguesa */
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }

  .hero-slide-viewport { aspect-ratio: 4 / 3; }
  .hero-controls-bar { gap: 8px; }
  .hero-slide-label { font-size: .88rem; }
  .hero-explore { font-size: 11.5px; }

  .card-media { height: 170px; }
  .product-logo-row img { width: 46px; height: 46px; }
  .product-logo-row .pname { font-size: 1.2rem; }

  .phone-frame { width: min(240px, 86%); }
  .demo-steps li { grid-template-columns: 42px 1fr; gap: 10px; }
  .demo-step-n, .demo-step-n.ico-3d { width: 42px; height: 42px; font-size: 1.15rem; }

  .benefit-ico, .plan-ico { width: 50px; height: 50px; font-size: 1.35rem; }
  .modules-gallery { grid-template-columns: 1fr; }
  .mod-tile img { height: 200px; }

  .price-grid { gap: 14px; }
  .pc { padding: 20px 16px; }
  .pprice-n { font-size: 1.7rem; }
  .pay-toggle { width: 100%; }
  .pay-opt { flex: 1; justify-content: center; padding: 10px 8px; font-size: 12.5px; }

  .faq-item summary { padding: 16px 48px 16px 14px; font-size: .95rem; gap: 10px; }
  .faq-answer { padding: 0 14px 16px 14px !important; }
  .faq-ico { width: 36px; height: 36px; font-size: 1.05rem; }

  .final-box { padding: 24px 18px; border-radius: 22px; }
  .final-box h2 { font-size: 1.55rem; }
  .final-actions { width: 100%; }
  .final-actions .btn { width: 100%; }

  .foot { grid-template-columns: 1fr 1fr; gap: 20px; }
  .int-strip { gap: 8px; }
  .int-logo { padding: 8px 12px; font-size: 12.5px; }

  .niche { padding: 20px 16px; }
  .lb-nav { display: none; }
  .lb-inner img { max-height: 72vh; border-radius: 8px; }
  .lb-close { top: -40px; }

  .ui-frame img, .ui-frame video { max-height: 320px; }
  .impl-note, .impl-grid { grid-template-columns: 1fr; }

  /* evitar overflow horizontal */
  .hero-window, .card, .pc, .niche, .mod-tile, .hero-showcase { max-width: 100%; }
  .hero-slide img { width: 100%; height: 100%; }
  .card-media img { width: 100%; height: 100%; }
  .mod-tile img { width: 100%; height: 200px; }
  .phone-frame video { height: auto; aspect-ratio: 9 / 19.5; }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(1.85rem, 10vw, 2.4rem); }
  .brand-text { font-size: 1rem; }
  .preview-ribbon { display: none; } /* gana espacio en pantallas chicas */
  .nav { top: 0; }
  .nav-drawer { inset: var(--nav-h) 0 auto 0; }
  .foot { grid-template-columns: 1fr; }
}
