:root{
  --primary:#6d4aff;
  --primary-dark:#4c2bd7;
  --primary-soft:#efeaff;
  --accent:#d6a53a;
  --accent-soft:#fff4d6;
  --ink:#1c1730;
  --text:#5f5876;
  --muted:#f7f5fb;
  --line:#e9e5f3;
  --white:#ffffff;
  --shadow:0 24px 60px rgba(47,33,92,.13);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  font-family:"Manrope",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
}
body.menu-open{overflow:hidden}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
img{max-width:100%;display:block}
.container{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}
.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(233,229,243,.7);
}
.nav-wrap{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}
.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg,var(--primary),var(--primary-dark));
  color:#fff;
  font-size:22px;
  box-shadow:0 10px 28px rgba(109,74,255,.28);
}
.brand-text{font-size:20px}
.main-nav{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px;
  font-weight:700;
}
.main-nav>a:not(.btn){color:#514a65}
.main-nav>a:not(.btn):hover{color:var(--primary)}
.menu-toggle{
  display:none;
  background:none;
  border:0;
  padding:8px;
}
.menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  background:var(--ink);
  margin:5px 0;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:800;
  transition:.25s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;
  box-shadow:0 14px 28px rgba(109,74,255,.24);
}
.btn-secondary{
  background:#fff;
  border-color:var(--line);
  color:var(--ink);
}
.btn-light{
  background:#fff;
  color:var(--primary-dark);
}
.btn-sm{
  min-height:44px;
  padding:0 18px;
  border-radius:12px;
}
.btn-block{width:100%}
.hero{
  min-height:100vh;
  padding:150px 0 95px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 85% 18%,rgba(214,165,58,.12),transparent 20%),
    linear-gradient(135deg,#fcfbff 0%,#f5f0ff 54%,#fff 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:70px;
  position:relative;
  z-index:2;
}
.hero-copy h1{
  margin:18px 0 24px;
  max-width:720px;
  font-size:clamp(48px,6vw,78px);
  line-height:1.02;
  letter-spacing:-3px;
}
.hero-copy>p{
  max-width:680px;
  margin:0;
  font-size:19px;
  color:var(--text);
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.eyebrow::before{
  content:"";
  width:24px;
  height:2px;
  background:currentColor;
}
.eyebrow-light{color:#ddceff}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:34px;
}
.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:34px;
  color:#6b647d;
  font-size:13px;
  font-weight:700;
}
.hero-visual{
  position:relative;
  min-height:620px;
  display:grid;
  place-items:center;
}
.phone-shell{
  position:relative;
  width:min(350px,90vw);
  padding:14px;
  border-radius:46px;
  background:#17131f;
  box-shadow:0 45px 100px rgba(45,33,83,.26);
  transform:rotate(3deg);
}
.phone-top{
  position:absolute;
  width:110px;
  height:28px;
  border-radius:20px;
  background:#17131f;
  left:50%;
  transform:translateX(-50%);
  top:8px;
  z-index:3;
}
.phone-screen{
  min-height:600px;
  border-radius:34px;
  padding:48px 24px 26px;
  background:
    radial-gradient(circle at 70% 10%,rgba(214,165,58,.18),transparent 25%),
    linear-gradient(180deg,#744fff 0%,#5a32dd 100%);
  color:#fff;
}
.mini-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}
.mini-mark{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:var(--primary);
  background:#fff;
}
.phone-copy{
  text-align:center;
  margin-top:54px;
}
.phone-copy small{
  color:#f0eaff;
  font-weight:700;
}
.phone-copy h3{
  font-size:28px;
  line-height:1.1;
  margin:10px 0;
}
.phone-copy p{
  margin:0;
  color:#e6dcff;
}
.mini-scratch-card{
  position:relative;
  min-height:190px;
  margin-top:30px;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  color:var(--ink);
}
.mini-prize{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}
.mini-prize strong{
  font-size:36px;
  color:var(--primary);
}
.mini-prize small{color:var(--text)}
.mini-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.15em;
  color:#3b3358;
  background:
    repeating-linear-gradient(135deg,#d8d3df 0 12px,#c9c2d3 12px 24px);
  clip-path:polygon(0 0,100% 0,100% 52%,88% 50%,80% 63%,67% 54%,58% 70%,47% 55%,36% 69%,26% 51%,16% 62%,0 54%);
}
.phone-foot{
  text-align:center;
  color:#e8e0ff;
  font-size:12px;
  margin-top:18px;
}
.floating-card{
  position:absolute;
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}
.floating-card strong,
.floating-card small{display:block}
.floating-card small{color:var(--text)}
.floating-card-one{left:-20px;top:110px}
.floating-card-two{right:-15px;bottom:95px}
.floating-icon{
  min-width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--primary-soft);
  color:var(--primary);
  font-weight:800;
}
.hero-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(5px);
}
.hero-orb-a{
  width:320px;height:320px;
  left:-150px;top:180px;
  background:rgba(109,74,255,.08);
}
.hero-orb-b{
  width:220px;height:220px;
  right:10%;bottom:-80px;
  background:rgba(214,165,58,.09);
}
.section{padding:110px 0}
.muted-section{background:var(--muted)}
.section-heading{
  max-width:720px;
  margin-bottom:55px;
}
.section-heading.centered{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.section-heading h2,
.split-grid h2,
.demo-copy h2,
.contact-grid h2{
  margin:14px 0 18px;
  font-size:clamp(36px,4.6vw,58px);
  line-height:1.08;
  letter-spacing:-2px;
}
.section-heading p,
.lead,
.demo-copy p,
.contact-grid p{
  font-size:18px;
  color:var(--text);
}
.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.step-card{
  position:relative;
  padding:34px;
  min-height:300px;
  border-radius:var(--radius);
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 34px rgba(55,42,95,.06);
}
.step-number{
  position:absolute;
  right:24px;
  top:20px;
  color:#c8c1d8;
  font-weight:800;
}
.step-icon{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:28px;
}
.step-card h3{
  margin:30px 0 12px;
  font-size:22px;
}
.step-card p{color:var(--text);margin:0}
.split-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.benefit-list{
  display:grid;
  gap:18px;
  margin-top:34px;
}
.benefit-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.benefit-item>span{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:var(--primary-soft);
  color:var(--primary);
  font-weight:800;
}
.benefit-item strong{font-size:16px}
.benefit-item p{margin:4px 0 0;color:var(--text)}
.dashboard-card{
  padding:28px;
  border-radius:32px;
  background:#17131f;
  color:#fff;
  box-shadow:var(--shadow);
}
.dashboard-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.dashboard-top small,
.dashboard-top strong{display:block}
.dashboard-top small{color:#aaa3b8}
.status{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(108,231,170,.14);
  color:#82e9b2;
  font-size:12px;
  font-weight:800;
}
.stats-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:26px 0;
}
.stat-card,
.chart-card{
  border-radius:22px;
  background:#24202d;
  border:1px solid #332e3d;
}
.stat-card{padding:22px}
.stat-card small,
.stat-card strong,
.stat-card span{display:block}
.stat-card small{color:#aaa3b8}
.stat-card strong{font-size:32px;margin:7px 0}
.stat-card span{color:#82e9b2;font-size:12px}
.chart-card{padding:22px}
.chart-heading{
  display:flex;
  justify-content:space-between;
  color:#d8d3df;
}
.chart-heading small{color:#8c8699}
.chart-bars{
  height:190px;
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin-top:26px;
}
.chart-bars span{
  flex:1;
  border-radius:12px 12px 4px 4px;
  background:linear-gradient(180deg,#8d72ff,#5d37de);
}
.demo-section{
  background:linear-gradient(135deg,#24183f 0%,#4e2aae 100%);
  color:#fff;
}
.demo-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:center;
}
.demo-copy p{color:#d9cff5}
.demo-points{
  display:grid;
  gap:10px;
  margin-top:28px;
  color:#eee8ff;
  font-weight:700;
}
.scratch-demo-wrap{
  position:relative;
  padding:34px;
  border-radius:32px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(16px);
}
.demo-badge{
  position:absolute;
  right:24px;
  top:18px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--accent);
  color:#3b2c08;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}
.scratch-card{
  position:relative;
  width:100%;
  aspect-ratio:1.8/1;
  min-height:280px;
  margin-top:16px;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 22px 50px rgba(0,0,0,.2);
  touch-action:none;
}
.prize-layer{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:var(--ink);
  background:
    radial-gradient(circle at 20% 15%,rgba(214,165,58,.18),transparent 23%),
    linear-gradient(135deg,#fff 0%,#f7f1ff 100%);
  text-align:center;
}
.prize-kicker{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:800;
  font-size:12px;
}
.prize-layer strong{
  font-size:clamp(42px,7vw,74px);
  line-height:1;
  color:var(--primary);
  margin:12px 0;
}
.prize-layer p{margin:0;font-size:18px;font-weight:800}
.prize-layer small{margin-top:10px;color:var(--text)}
#scratch-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  cursor:grab;
}
#scratch-canvas:active{cursor:grabbing}
.scratch-instructions{
  text-align:center;
  margin:18px 0 14px;
  color:#e9e1ff;
  font-weight:700;
}
.btn-reset{margin:auto;display:flex}
.use-cases{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.use-cases article{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:96px;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
}
.use-cases span{font-size:30px}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.price-card{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:34px;
  border-radius:28px;
  border:1px solid var(--line);
  background:#fff;
}
.price-card.featured{
  transform:translateY(-12px);
  border-color:#cdbfff;
  box-shadow:var(--shadow);
}
.plan-name{
  color:var(--primary);
  font-weight:800;
}
.price-card h3{font-size:24px;margin:14px 0}
.price-card p{color:var(--text)}
.price-card ul{
  list-style:none;
  padding:0;
  margin:24px 0 30px;
  display:grid;
  gap:12px;
  flex:1;
}
.price-card li::before{
  content:"✓";
  color:var(--primary);
  font-weight:800;
  margin-right:10px;
}
.popular{
  position:absolute;
  top:18px;
  right:18px;
  padding:7px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:#7d5a09;
  font-size:11px;
  font-weight:800;
}
.contact-section{
  background:linear-gradient(135deg,#1d1432 0%,#4f2bac 100%);
  color:#fff;
}
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:center;
}
.contact-grid p{color:#ded4f4}
.lead-form{
  padding:30px;
  border-radius:28px;
  background:#fff;
  color:var(--ink);
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.lead-form label{
  display:grid;
  gap:8px;
  margin-bottom:16px;
  font-weight:800;
  font-size:13px;
}
.lead-form input{
  width:100%;
  height:52px;
  border:1px solid var(--line);
  border-radius:13px;
  padding:0 14px;
  color:var(--ink);
  outline:none;
}
.lead-form input:focus{
  border-color:#a58eff;
  box-shadow:0 0 0 4px rgba(109,74,255,.08);
}
.form-note{
  display:block;
  color:#888098;
  margin-top:12px;
  line-height:1.5;
}
.form-success{
  display:none;
  margin-top:14px;
  padding:14px;
  border-radius:12px;
  background:#edf9f2;
  color:#25704a;
  font-weight:700;
}
.site-footer{
  padding:70px 0 24px;
  background:#120f19;
  color:#fff;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:40px;
}
.brand-footer .brand-mark{
  width:38px;height:38px;border-radius:12px;
}
.site-footer p{
  max-width:420px;
  color:#a9a3b5;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  align-items:flex-start;
  color:#d8d3df;
  font-size:14px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:28px;
  margin-top:40px;
  border-top:1px solid #2b2732;
  color:#8f899a;
  font-size:12px;
}

@media (max-width:980px){
  .main-nav{
    position:fixed;
    inset:82px 0 auto 0;
    padding:28px 20px 36px;
    flex-direction:column;
    align-items:stretch;
    background:#fff;
    transform:translateY(-130%);
    transition:.25s ease;
    box-shadow:0 20px 40px rgba(40,29,70,.12);
  }
  .main-nav.active{transform:translateY(0)}
  .menu-toggle{display:block}
  .hero-grid,
  .split-grid,
  .demo-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }
  .hero-copy{text-align:center}
  .hero-copy>p{margin:auto}
  .hero-actions,.hero-trust{justify-content:center}
  .hero-visual{min-height:650px}
  .steps-grid,.pricing-grid{grid-template-columns:1fr}
  .price-card.featured{transform:none}
  .use-cases{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:640px){
  .container{width:min(100% - 28px,1180px)}
  .hero{padding:125px 0 72px}
  .hero-copy h1{
    font-size:44px;
    letter-spacing:-2px;
  }
  .hero-copy>p{font-size:17px}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%}
  .hero-trust{display:grid;gap:8px}
  .hero-visual{min-height:580px}
  .phone-shell{width:300px}
  .phone-screen{min-height:520px}
  .floating-card{display:none}
  .section{padding:78px 0}
  .section-heading h2,
  .split-grid h2,
  .demo-copy h2,
  .contact-grid h2{
    font-size:38px;
  }
  .steps-grid,.use-cases,.stats-grid,.form-row{
    grid-template-columns:1fr;
  }
  .use-cases article{min-height:82px}
  .scratch-demo-wrap{padding:20px}
  .scratch-card{min-height:235px}
  .prize-layer strong{font-size:48px}
  .footer-grid,.footer-bottom{flex-direction:column}
}


/* Identidad de marca */
.brand-logo img{
  display:block;
  width:220px;
  height:auto;
}
.brand-footer img{
  width:230px;
  filter:none;
}
.mini-logo img{
  width:44px;
  height:44px;
  object-fit:contain;
}

/* Controles flotantes */
.whatsapp-float,
.back-to-top{
  position:fixed;
  right:22px;
  z-index:70;
  display:grid;
  place-items:center;
  border:0;
  cursor:pointer;
  transition:transform .22s ease, opacity .22s ease, visibility .22s ease;
}
.whatsapp-float{
  bottom:22px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  box-shadow:0 16px 36px rgba(37,211,102,.34);
}
.whatsapp-float svg{
  width:31px;
  height:31px;
  fill:currentColor;
}
.back-to-top{
  bottom:92px;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#fff;
  color:var(--primary);
  box-shadow:0 12px 30px rgba(34,23,70,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
}
.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.back-to-top svg{
  width:25px;
  height:25px;
  fill:currentColor;
}
.whatsapp-float:hover,
.back-to-top:hover{transform:translateY(-3px)}

/* Prevención de desborde horizontal */
.site-header,main,section,.site-footer{width:100%;max-width:100%;overflow-x:clip}
.hero-grid,.split-grid,.demo-grid,.contact-grid,.steps-grid,.pricing-grid,.use-cases{min-width:0}
.hero-copy,.hero-visual,.demo-copy,.scratch-demo-wrap,.contact-grid>*,.split-grid>*{min-width:0}
canvas{max-width:100%}

@media (max-width:640px){
  .brand-logo img{width:188px}
  .brand-footer img{width:205px}
  .whatsapp-float{right:15px;bottom:15px;width:54px;height:54px}
  .back-to-top{right:15px;bottom:80px;width:44px;height:44px}
  .scratch-demo-wrap{width:100%;max-width:100%;overflow:hidden}
  .scratch-card{width:100%;max-width:100%}
  .hero-grid,.demo-grid,.contact-grid,.split-grid{width:100%;max-width:100%}
  .section-heading h2,.split-grid h2,.demo-copy h2,.contact-grid h2{overflow-wrap:anywhere}
}

/* Footer amarillo de marca */
.site-footer{
  padding:54px 0 18px;
  background:linear-gradient(135deg,#f6b91d 0%,#ffd458 55%,#f4b51f 100%);
  color:#211638;
}
.footer-main{
  display:grid;
  grid-template-columns:1.35fr .85fr .95fr 1.05fr 1.25fr;
  gap:38px;
  align-items:start;
}
.footer-brand-col p{
  max-width:260px;
  margin:18px 0;
  color:#302448;
  font-size:14px;
}
.brand-footer img{width:220px}
.footer-social{display:flex;gap:10px}
.footer-social a{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:#28164e;color:#fff;font-weight:800;font-size:16px;
}
.footer-column{display:flex;flex-direction:column;gap:9px;font-size:13px}
.footer-column strong{margin-bottom:7px;text-transform:uppercase;font-size:11px;letter-spacing:.04em}
.footer-column a,.footer-column span{color:#241a38}
.footer-column a:hover{text-decoration:underline}
.footer-cta{
  padding:22px 20px;
  border-radius:17px;
  background:linear-gradient(145deg,#241342,#3e2077);
  color:#fff;
  text-align:center;
  box-shadow:0 16px 35px rgba(56,31,105,.18);
}
.footer-cta-icon{display:block;font-size:24px;margin-bottom:5px}
.footer-cta strong{display:block;font-size:17px}
.footer-cta p{margin:5px auto 15px;color:#eee8fa;font-size:13px;line-height:1.4}
.footer-cta-btn{min-height:42px;width:100%;background:#f7bf2c;color:#24143f;padding:0 14px;border-radius:9px}
.footer-bottom{
  display:flex;justify-content:space-between;gap:20px;
  padding-top:20px;margin-top:30px;border-top:1px solid rgba(50,31,72,.18);
  color:#39284f;font-size:11px;
}
.footer-bottom a{font-weight:800;text-decoration:underline;text-underline-offset:2px}

/* Acentos amarillos sutiles */
.step-icon,.floating-icon{box-shadow:inset 0 -3px 0 rgba(218,175,55,.2)}
.hero-copy .eyebrow{color:#9a6a00}
.hero-copy .eyebrow::before{background:#daaF37}

/* Alineación por centro de controles flotantes */
.back-to-top{right:28px}

@media (max-width:980px){
  .footer-main{grid-template-columns:1.25fr 1fr 1fr;gap:32px}
  .footer-cta{grid-column:span 2}
}

@media (max-width:640px){
  .container{width:calc(100% - 44px);max-width:1180px}
  .nav-wrap{width:calc(100% - 36px)}
  .hero{padding-left:0;padding-right:0}
  .hero-copy h1{font-size:40px;line-height:1.07;overflow-wrap:normal;word-break:normal}
  .hero-copy>p{font-size:16px;line-height:1.65}
  .section-heading h2,.split-grid h2,.demo-copy h2,.contact-grid h2{font-size:36px;overflow-wrap:normal;word-break:normal}
  .step-card,.price-card,.dashboard-card,.lead-form{padding-left:24px;padding-right:24px}
  .footer-main{grid-template-columns:1fr;gap:28px}
  .footer-cta{grid-column:auto}
  .footer-bottom{flex-direction:column;gap:8px}
  .site-footer{padding-top:44px}
  .brand-footer img{width:205px}
  .back-to-top{right:20px}
}


/* Ajustes mobile-first refinados */
.footer-social a svg{width:18px;height:18px;fill:currentColor;display:block}

@media (max-width:640px){
  /* Rubros: grilla compacta y escaneable */
  .use-cases{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .use-cases article{
    min-height:64px;
    padding:13px 14px;
    border-radius:16px;
    gap:10px;
    box-shadow:0 8px 20px rgba(55,42,95,.04);
  }
  .use-cases span{font-size:23px;line-height:1}
  .use-cases strong{font-size:14px;line-height:1.25}

  /* Demo: etiqueta separada de la tarjeta */
  .scratch-demo-wrap{
    padding:20px;
    padding-top:54px;
    border-radius:26px;
  }
  .demo-badge{
    top:16px;
    right:20px;
    z-index:3;
    font-size:10px;
    padding:6px 10px;
  }
  .scratch-card{
    margin-top:0;
    min-height:230px;
    border-radius:20px;
  }
  .scratch-instructions{font-size:15px;margin-top:16px}

  /* Footer: menos amarillo y mejor jerarquía */
  .site-footer{
    padding:34px 0 18px;
    background:linear-gradient(180deg,#f8c535 0%,#ffd966 100%);
  }
  .footer-main{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px 18px;
  }
  .footer-brand-col{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:12px 16px;
  }
  .brand-footer{grid-column:1 / 2}
  .brand-footer img{width:178px}
  .footer-brand-col p{
    grid-column:1 / -1;
    max-width:none;
    margin:0;
    font-size:15px;
    line-height:1.55;
  }
  .footer-social{
    grid-column:2 / 3;
    grid-row:1;
    justify-content:flex-end;
    margin:0;
  }
  .footer-social a{width:38px;height:38px}
  .footer-column{
    gap:10px;
    font-size:14px;
  }
  .footer-column strong{
    font-size:12px;
    margin-bottom:3px;
  }
  .footer-contact{
    grid-column:1 / -1;
    padding-top:4px;
    border-top:1px solid rgba(50,31,72,.16);
  }
  .footer-cta{
    grid-column:1 / -1;
    padding:20px;
    border-radius:16px;
  }
  .footer-cta strong{font-size:18px}
  .footer-cta p{font-size:14px}
  .footer-bottom{
    margin-top:22px;
    padding-top:18px;
    font-size:12px;
    line-height:1.5;
  }
}

@media (max-width:390px){
  .footer-main{grid-template-columns:1fr}
  .footer-column,.footer-contact,.footer-cta,.footer-brand-col{grid-column:1}
  .footer-brand-col{grid-template-columns:1fr}
  .footer-social{grid-column:1;grid-row:auto;justify-content:flex-start}
  .use-cases{grid-template-columns:1fr 1fr}
  .use-cases article{padding:12px 10px}
  .use-cases strong{font-size:13px}
}


/* ===== V2 PREMIUM ===== */
.step-icon-star{color:var(--accent)!important;background:var(--accent-soft)!important;box-shadow:inset 0 -3px 0 rgba(218,175,55,.32)!important}
.btn-demo{background:#fff;color:var(--ink);border:2px solid var(--accent);box-shadow:0 12px 26px rgba(218,175,55,.12)}
.btn-demo:hover{background:var(--accent-soft);border-color:#c99620}
.btn-play{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--accent);color:#fff;font-size:10px;margin-right:8px}
.btn-arrow{font-size:21px;margin-left:10px;line-height:1}

.commerce-showcase{position:relative;isolation:isolate;overflow:hidden;background:#201438;color:#fff;padding:105px 0 115px}
.commerce-showcase::before{content:"";position:absolute;inset:-24px;background:url('../img/comercios-background.jpg') center/cover no-repeat;filter:blur(2px) saturate(.78);transform:scale(1.04);z-index:-3}
.commerce-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,14,43,.92),rgba(52,27,99,.78),rgba(20,13,37,.88));z-index:-2}
.commerce-showcase::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 20%,rgba(166,139,255,.23),transparent 38%),linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.22));z-index:-1}
.commerce-content{position:relative}
.commerce-heading{max-width:810px;margin-bottom:48px}
.commerce-heading h2{color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.22)}
.commerce-heading p{max-width:690px;margin:0 auto;color:rgba(255,255,255,.78)}
.eyebrow-gold{color:#f6c64f}
.use-cases{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1040px;margin:0 auto}
.use-case-card{display:flex;align-items:center;gap:16px;min-height:88px;padding:18px 22px;border:1px solid rgba(188,166,255,.4);border-radius:20px;background:linear-gradient(135deg,rgba(78,47,129,.68),rgba(25,17,47,.66));box-shadow:0 16px 40px rgba(8,4,20,.25);backdrop-filter:blur(14px);transition:transform .25s ease,border-color .25s ease,background .25s ease}
.use-case-card:hover{transform:translateY(-4px);border-color:rgba(246,198,79,.75);background:linear-gradient(135deg,rgba(94,56,155,.78),rgba(31,19,57,.76))}
.use-case-icon{width:46px;height:46px;display:grid;place-items:center;flex:none;border-radius:14px;background:rgba(166,139,255,.12);color:#aa8cff}
.use-case-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.use-case-card strong{font-size:15px;color:#fff}
.use-case-more .use-case-icon{color:#f3bd38;background:rgba(218,175,55,.12)}

@media(max-width:980px){
  .use-cases{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .hero-actions{display:grid;grid-template-columns:1fr;gap:13px}
  .hero-actions .btn-demo{order:1}
  .hero-actions .btn-primary{order:2}
  .commerce-showcase{padding:76px 0 84px}
  .commerce-showcase::before{background-position:58% center;filter:blur(3px) saturate(.7)}
  .commerce-overlay{background:linear-gradient(180deg,rgba(27,16,50,.93),rgba(55,28,105,.84),rgba(24,15,44,.94))}
  .commerce-heading{margin-bottom:30px}
  .commerce-heading h2{font-size:37px;line-height:1.08}
  .commerce-heading p{font-size:15px;line-height:1.65}
  .use-cases{grid-template-columns:1fr 1fr;gap:10px}
  .use-case-card{min-height:76px;padding:12px 11px;gap:9px;border-radius:16px}
  .use-case-icon{width:36px;height:36px;border-radius:11px}
  .use-case-icon svg{width:24px;height:24px}
  .use-case-card strong{font-size:12.5px;line-height:1.2}
}
@media(max-width:390px){
  .use-cases{grid-template-columns:1fr}
  .use-case-card{min-height:66px;padding:10px 14px}
  .use-case-card strong{font-size:14px}
}


/* Ajustes v2.1: CTA demo y sección de rubros */
.btn-demo{gap:0!important}
.btn-play{display:none!important}

.commerce-showcase{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  padding:105px 0 115px;
  background-image:
    linear-gradient(90deg,rgba(23,14,43,.90),rgba(52,27,99,.72),rgba(20,13,37,.88)),
    url('../img/comercios-background.jpg');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.commerce-showcase::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:radial-gradient(circle at 50% 20%,rgba(166,139,255,.20),transparent 38%),linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.20));
  pointer-events:none;
}
.commerce-showcase::after{display:none!important}
.commerce-overlay{display:none!important}
.commerce-showcase .container{position:relative;z-index:1}

.use-cases article.use-case-card{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:88px;
  padding:18px 22px;
  border:1px solid rgba(188,166,255,.42);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(78,47,129,.60),rgba(25,17,47,.60))!important;
  color:#fff;
  box-shadow:0 16px 40px rgba(8,4,20,.25);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.use-cases article.use-case-card strong{color:#fff!important;font-size:15px}
.use-cases article.use-case-card:hover{
  transform:translateY(-4px);
  border-color:rgba(246,198,79,.78);
  background:linear-gradient(135deg,rgba(94,56,155,.74),rgba(31,19,57,.72))!important;
}

@media (max-width:640px){
  .commerce-showcase{
    padding:76px 0 82px;
    background-position:58% center;
  }
  .use-cases article.use-case-card{
    min-height:68px;
    padding:12px 13px!important;
    border-radius:16px;
    gap:10px;
  }
  .use-cases article.use-case-card strong{font-size:12px!important}
}


/* ===== Ajustes v2.2: foto visible y logo sólido de footer ===== */
.commerce-showcase{
  background-image:
    linear-gradient(90deg,
      rgba(22,13,42,.60) 0%,
      rgba(60,31,108,.48) 48%,
      rgba(18,11,34,.62) 100%
    ),
    url('../img/comercios-background.jpg') !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}
.commerce-showcase::before{
  background:
    radial-gradient(circle at 50% 18%,rgba(166,139,255,.14),transparent 42%),
    linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.12)) !important;
}
.commerce-heading h2,
.commerce-heading p,
.commerce-showcase .eyebrow{
  text-shadow:0 2px 20px rgba(0,0,0,.35);
}
.brand-footer img{
  display:block !important;
  width:230px !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  filter:none !important;
  image-rendering:auto !important;
}
@media(max-width:640px){
  .commerce-showcase{
    background-image:
      linear-gradient(180deg,
        rgba(24,14,46,.63) 0%,
        rgba(58,29,108,.53) 48%,
        rgba(19,12,37,.68) 100%
      ),
      url('../img/comercios-background.jpg') !important;
    background-position:58% center !important;
  }
  .brand-footer img{
    width:190px !important;
  }
}


/* ===== Ajustes v2.3: logo oficial y Demo destacado ===== */
.main-nav .nav-demo{
  color:#DAAF37 !important;
}
.main-nav .nav-demo:hover{
  color:#B88300 !important;
}
.brand-footer img{
  width:250px !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  filter:none !important;
}
@media(max-width:640px){
  .brand-footer img{
    width:210px !important;
  }
}


/* =========================================================
   VERSIÓN FINAL CONSOLIDADA — desktop y mobile
   ========================================================= */

/* CTA de demo: siempre visible y consistente */
.hero-actions .btn-demo{
  display:inline-flex !important;
  background:#ffffff !important;
  color:var(--ink) !important;
  border:2px solid var(--accent) !important;
  box-shadow:0 12px 28px rgba(218,175,55,.16) !important;
  font-weight:800 !important;
}
.hero-actions .btn-demo:hover{
  background:var(--accent-soft) !important;
  color:var(--ink) !important;
}

/* Etiqueta DEMO fuera del área raspable y por encima de todo */
.scratch-demo-wrap{
  position:relative !important;
}
.scratch-demo-wrap .demo-badge{
  position:absolute !important;
  top:18px !important;
  right:22px !important;
  z-index:30 !important;
  transform:none !important;
  pointer-events:none !important;
}
.scratch-demo-wrap .scratch-card{
  position:relative !important;
  z-index:2 !important;
  margin-top:30px !important;
}
.scratch-demo-wrap #scratch-canvas{
  z-index:5 !important;
}

/* Foto real como capa HTML para que nunca desaparezca */
section.commerce-showcase{
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
  background:#24143f !important;
  color:#fff !important;
  padding:105px 0 115px !important;
}
section.commerce-showcase .commerce-photo{
  display:block !important;
  position:absolute !important;
  inset:-2% !important;
  width:104% !important;
  height:104% !important;
  object-fit:cover !important;
  object-position:center center !important;
  opacity:.92 !important;
  filter:saturate(.88) contrast(1.03) !important;
  z-index:-4 !important;
}
section.commerce-showcase .commerce-overlay{
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-3 !important;
  background:
    linear-gradient(90deg,
      rgba(24,13,45,.68) 0%,
      rgba(67,35,119,.48) 50%,
      rgba(19,11,35,.68) 100%
    ) !important;
}
section.commerce-showcase::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-2 !important;
  pointer-events:none !important;
  background:
    radial-gradient(circle at 50% 18%,rgba(166,139,255,.16),transparent 38%),
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.18)) !important;
}
section.commerce-showcase::after{
  display:none !important;
}
section.commerce-showcase .commerce-content{
  position:relative !important;
  z-index:2 !important;
}
section.commerce-showcase .commerce-heading h2,
section.commerce-showcase .commerce-heading p,
section.commerce-showcase .commerce-heading .eyebrow{
  color:#fff !important;
  text-shadow:0 3px 22px rgba(0,0,0,.48) !important;
}
section.commerce-showcase .commerce-heading .eyebrow{
  color:#f6c64f !important;
}

/* Tarjetas oscuras y translúcidas: nunca blancas */
section.commerce-showcase .use-cases{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  max-width:1040px !important;
  margin:0 auto !important;
}
section.commerce-showcase .use-cases article.use-case-card{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
  min-height:88px !important;
  padding:18px 22px !important;
  border:1px solid rgba(196,176,255,.50) !important;
  border-radius:20px !important;
  background:linear-gradient(135deg,rgba(68,39,116,.78),rgba(24,15,45,.76)) !important;
  color:#fff !important;
  box-shadow:0 16px 42px rgba(8,4,20,.28) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}
section.commerce-showcase .use-cases article.use-case-card strong{
  color:#fff !important;
  font-size:15px !important;
}
section.commerce-showcase .use-case-icon{
  color:#b496ff !important;
  background:rgba(166,139,255,.15) !important;
}
section.commerce-showcase .use-case-more .use-case-icon{
  color:#f3bd38 !important;
  background:rgba(218,175,55,.16) !important;
}

/* Logo de footer: usar proporción natural sin recorte */
.site-footer .brand-footer img{
  display:block !important;
  width:260px !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  filter:none !important;
}

/* El título largo del premio debe adaptarse */
.prize-layer strong{
  max-width:92% !important;
  text-align:center !important;
  font-size:clamp(34px,6vw,68px) !important;
  line-height:1.02 !important;
}
.prize-layer p{
  max-width:86% !important;
  text-align:center !important;
}

@media (max-width:980px){
  section.commerce-showcase .use-cases{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:640px){
  .hero-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:13px !important;
  }
  .hero-actions .btn-demo{
    order:1 !important;
    width:100% !important;
    min-height:58px !important;
  }
  .hero-actions .btn-primary{
    order:2 !important;
    width:100% !important;
  }

  .scratch-demo-wrap{
    padding-top:28px !important;
  }
  .scratch-demo-wrap .demo-badge{
    top:14px !important;
    right:18px !important;
    z-index:40 !important;
  }
  .scratch-demo-wrap .scratch-card{
    margin-top:28px !important;
  }

  section.commerce-showcase{
    padding:76px 0 82px !important;
    background:#24143f !important;
  }
  section.commerce-showcase .commerce-photo{
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-position:56% center !important;
    opacity:.92 !important;
    filter:saturate(.9) contrast(1.04) !important;
  }
  section.commerce-showcase .commerce-overlay{
    background:
      linear-gradient(180deg,
        rgba(25,14,47,.67) 0%,
        rgba(62,31,116,.50) 48%,
        rgba(20,12,38,.72) 100%
      ) !important;
  }
  section.commerce-showcase .commerce-heading{
    margin-bottom:30px !important;
  }
  section.commerce-showcase .commerce-heading h2{
    font-size:37px !important;
    line-height:1.08 !important;
  }
  section.commerce-showcase .commerce-heading p{
    font-size:15px !important;
    line-height:1.65 !important;
  }
  section.commerce-showcase .use-cases{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  section.commerce-showcase .use-cases article.use-case-card{
    min-height:72px !important;
    padding:12px 11px !important;
    gap:9px !important;
    border-radius:16px !important;
    background:linear-gradient(135deg,rgba(65,37,113,.82),rgba(22,14,42,.80)) !important;
  }
  section.commerce-showcase .use-cases article.use-case-card strong{
    color:#fff !important;
    font-size:12.5px !important;
    line-height:1.2 !important;
  }
  section.commerce-showcase .use-case-icon{
    width:36px !important;
    height:36px !important;
    flex:0 0 36px !important;
  }
  section.commerce-showcase .use-case-icon svg{
    width:24px !important;
    height:24px !important;
  }

  .site-footer .brand-footer img{
    width:220px !important;
  }
  .prize-layer strong{
    font-size:clamp(29px,9vw,48px) !important;
  }
}

@media (max-width:390px){
  section.commerce-showcase .use-cases{
    grid-template-columns:1fr !important;
  }
  section.commerce-showcase .use-cases article.use-case-card{
    min-height:64px !important;
    padding:10px 14px !important;
  }
  section.commerce-showcase .use-cases article.use-case-card strong{
    font-size:14px !important;
  }
}


/* =========================================================
   PÁGINA INTERNA: CÓMO FUNCIONA
   ========================================================= */
.main-nav .nav-current{color:var(--primary)!important}
.how-page{overflow-x:hidden}
.how-hero{
  position:relative;
  overflow:hidden;
  padding:160px 0 105px;
  background:
    radial-gradient(circle at 82% 18%,rgba(218,175,55,.15),transparent 22%),
    linear-gradient(135deg,#fcfbff 0%,#f3edff 58%,#fff 100%);
}
.how-hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:75px;align-items:center;position:relative;z-index:2}
.how-hero-copy h1{
  margin:18px 0 24px;
  font-size:clamp(48px,6vw,76px);
  line-height:1.03;
  letter-spacing:-3px;
}
.how-hero-copy>p{max-width:680px;margin:0;color:var(--text);font-size:19px}
.how-hero-notice{
  max-width:650px;
  margin-top:28px;
  padding:16px 18px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid #ded3ff;
  border-radius:16px;
  background:rgba(255,255,255,.72);
}
.how-hero-notice span{
  width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;
  border-radius:9px;background:var(--accent-soft);color:#8d6400;font-weight:800
}
.how-hero-notice p{margin:1px 0 0;color:#5d5573;font-size:14px;font-weight:650}
.how-orb{position:absolute;border-radius:50%;filter:blur(8px)}
.how-orb-one{width:320px;height:320px;left:-180px;bottom:-80px;background:rgba(109,74,255,.10)}
.how-orb-two{width:260px;height:260px;right:-80px;top:80px;background:rgba(218,175,55,.10)}
.how-control-card{
  padding:30px;
  border-radius:32px;
  background:#17131f;
  color:#fff;
  box-shadow:0 38px 90px rgba(39,28,76,.24);
  transform:rotate(1.5deg);
}
.how-control-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid #342d40}
.how-control-head small,.how-control-head strong{display:block}
.how-control-head small{color:#a9a1b6}
.how-control-head strong{font-size:19px}
.how-control-head>span{padding:8px 12px;border-radius:999px;background:rgba(218,175,55,.14);color:#f2c85c;font-size:11px;font-weight:800}
.how-control-progress{display:grid;gap:9px;margin:25px 0}
.how-control-progress>div{display:flex;justify-content:space-between;font-size:12px;color:#d5cfdd}
.how-control-progress i{display:block;height:7px;border-radius:999px;background:#312b3a;overflow:hidden;margin-bottom:7px}
.how-control-progress b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7d5aff,#b49cff)}
.how-control-stats{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.how-control-stats>div{padding:18px;border-radius:18px;background:#24202d;border:1px solid #342f3d}
.how-control-stats small,.how-control-stats strong,.how-control-stats span{display:block}
.how-control-stats small{color:#a9a1b6}
.how-control-stats strong{font-size:28px;margin:4px 0}
.how-control-stats span{font-size:11px;color:#8f879b}
.how-control-rule{display:flex;gap:12px;align-items:center;margin-top:16px;padding:15px;border-radius:17px;background:rgba(109,74,255,.14);border:1px solid rgba(165,142,255,.24)}
.how-control-check{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#7656f0;color:#fff;font-weight:800}
.how-control-rule strong,.how-control-rule small{display:block}
.how-control-rule small{color:#b8afc3;margin-top:2px}
.how-intro{padding-top:95px;padding-bottom:95px}
.how-intro-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
.how-intro h2{margin:14px 0 0;font-size:clamp(36px,4.7vw,57px);line-height:1.08;letter-spacing:-2px}
.how-intro-text{padding-top:18px}
.how-intro-text p{font-size:18px;color:var(--text);margin:0 0 18px}
.how-process{padding-top:105px}
.how-steps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.how-step{
  position:relative;
  padding:30px;
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  box-shadow:0 12px 36px rgba(53,40,91,.055);
}
.how-step-top{display:flex;align-items:center;justify-content:space-between}
.how-number{font-size:13px;font-weight:800;color:#aaa1bb;letter-spacing:.12em}
.how-icon{
  width:55px;height:55px;display:grid;place-items:center;border-radius:17px;
  background:var(--primary-soft);color:var(--primary)
}
.how-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.how-step:nth-child(4n) .how-icon,.how-step:nth-child(4n+1) .how-icon{background:var(--accent-soft);color:#a97700}
.how-step h3{margin:23px 0 10px;font-size:23px}
.how-step>p{margin:0;color:var(--text)}
.how-step ul{list-style:none;padding:0;margin:21px 0 0;display:grid;gap:9px}
.how-step li{position:relative;padding-left:22px;color:#514a65;font-size:14px}
.how-step li:before{content:"✓";position:absolute;left:0;color:var(--primary);font-weight:800}
.how-highlight{
  color:#fff;
  background:
    radial-gradient(circle at 78% 20%,rgba(218,175,55,.15),transparent 24%),
    linear-gradient(135deg,#211438,#4f2baa);
}
.how-highlight-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}
.how-highlight h2{font-size:clamp(38px,5vw,60px);line-height:1.06;letter-spacing:-2px;margin:14px 0 20px}
.how-highlight p{font-size:18px;color:#ded4f4}
.how-rule-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.how-rule-grid>div{padding:20px;border:1px solid rgba(255,255,255,.16);border-radius:19px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.how-rule-grid strong,.how-rule-grid span{display:block}
.how-rule-grid strong{font-size:16px;color:#fff}
.how-rule-grid span{font-size:13px;color:#cfc5e8;margin-top:4px}
.how-example-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:center}
.how-example-copy h2{font-size:clamp(38px,5vw,59px);line-height:1.08;letter-spacing:-2px;margin:14px 0 18px}
.how-example-copy p{font-size:18px;color:var(--text)}
.how-prize-card{padding:32px;border-radius:30px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
.how-prize-label{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--accent-soft);color:#896100;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.how-prize-card h3{font-size:30px;margin:20px 0}
.how-prize-card dl{margin:0}
.how-prize-card dl>div{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-top:1px solid var(--line)}
.how-prize-card dt{color:var(--text)}
.how-prize-card dd{margin:0;text-align:right;font-weight:800}
.how-accordion{max-width:900px;margin:0 auto;display:grid;gap:12px}
.how-accordion details{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.how-accordion summary{list-style:none;cursor:pointer;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;font-weight:800}
.how-accordion summary::-webkit-details-marker{display:none}
.how-accordion summary span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-size:20px}
.how-accordion details[open] summary span{transform:rotate(45deg)}
.how-accordion details p{margin:0;padding:0 22px 22px;color:var(--text)}
.how-final-cta{background:#fff}
.how-final-box{padding:48px 52px;display:flex;justify-content:space-between;align-items:center;gap:45px;border-radius:30px;color:#fff;background:linear-gradient(135deg,#22143b,#5a34bf);box-shadow:var(--shadow)}
.how-final-box h2{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-2px;margin:12px 0}
.how-final-box p{margin:0;color:#dbd0f3}
.how-final-box .btn{flex:0 0 auto}

@media(max-width:980px){
  .how-hero-grid,.how-intro-grid,.how-highlight-grid,.how-example-grid{grid-template-columns:1fr}
  .how-hero-copy{text-align:center}
  .how-hero-copy>p{margin-left:auto;margin-right:auto}
  .how-hero-copy .hero-actions{justify-content:center}
  .how-hero-notice{margin-left:auto;margin-right:auto;text-align:left}
  .how-control-card{max-width:620px;margin:0 auto;transform:none}
  .how-intro-grid,.how-highlight-grid,.how-example-grid{gap:38px}
}
@media(max-width:700px){
  .how-hero{padding:125px 0 72px}
  .how-hero-grid{gap:45px}
  .how-hero-copy h1{font-size:44px;letter-spacing:-2px}
  .how-hero-copy>p{font-size:16px}
  .how-hero-notice{padding:14px}
  .how-control-card{padding:20px;border-radius:24px}
  .how-control-stats{grid-template-columns:1fr 1fr}
  .how-intro{padding:72px 0}
  .how-intro h2,.how-highlight h2,.how-example-copy h2{font-size:37px}
  .how-intro-text p,.how-highlight p,.how-example-copy p{font-size:16px}
  .how-steps-grid{grid-template-columns:1fr}
  .how-step{padding:24px;border-radius:22px}
  .how-rule-grid{grid-template-columns:1fr 1fr;gap:10px}
  .how-rule-grid>div{padding:15px}
  .how-prize-card{padding:23px}
  .how-prize-card h3{font-size:25px}
  .how-prize-card dl>div{display:grid;gap:3px}
  .how-prize-card dd{text-align:left}
  .how-final-box{padding:32px 24px;display:grid;text-align:center}
  .how-final-box .btn{width:100%}
}
@media(max-width:420px){
  .how-control-stats,.how-rule-grid{grid-template-columns:1fr}
  .how-hero-copy h1{font-size:39px}
}

:root{--brand-yellow:#DAAF37;}
.hero .eyebrow,.eyebrow{color:var(--brand-yellow)!important}.hero .eyebrow:before,.eyebrow:before{background:var(--brand-yellow)!important}


/* ==========================================================
   Ajuste 2026-08-17 v3: hero más armónico + acceso a detalles
   ========================================================== */

/* Hero fotográfico en escritorio. Conserva el hero original en tablet/móvil. */
@media (min-width:981px){
  .hero{
    min-height:auto;
    padding:118px 0 38px;
    background:
      radial-gradient(circle at 8% 38%,rgba(109,74,255,.08),transparent 24%),
      linear-gradient(135deg,#fcfbff 0%,#f7f3ff 57%,#fff 100%);
  }
  .hero::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:min(61vw,980px);
    pointer-events:none;
    z-index:0;
    background-image:
      linear-gradient(90deg,
        rgba(252,251,255,1) 0%,
        rgba(252,251,255,.99) 10%,
        rgba(252,251,255,.96) 18%,
        rgba(252,251,255,.88) 27%,
        rgba(252,251,255,.74) 36%,
        rgba(252,251,255,.56) 45%,
        rgba(252,251,255,.34) 54%,
        rgba(252,251,255,.16) 62%,
        rgba(252,251,255,.05) 69%,
        rgba(252,251,255,0) 76%),
      url('../img/hero-comercio.jpg');
    background-repeat:no-repeat,no-repeat;
    background-size:100% 100%,cover;
    background-position:left top,76% center;
  }
  .hero-grid{
    grid-template-columns:minmax(0,620px) 1fr;
    gap:10px;
    align-items:center;
    min-height:500px;
  }
  .hero-copy{
    align-self:center;
    padding:22px 0 8px;
    position:relative;
    z-index:3;
  }
  .hero-copy h1{
    font-size:clamp(48px,5.05vw,69px);
    max-width:620px;
    margin-bottom:18px;
  }
  .hero-copy>p{max-width:520px;font-size:17px;}
  .hero-actions{margin-top:28px;}
  .hero-trust{max-width:560px;gap:12px 18px;margin-top:24px;}
  .hero-more-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:20px;
    font-size:14px;
    font-weight:800;
    color:var(--primary-dark);
    text-decoration:none;
  }
  .hero-more-link:hover{color:var(--primary);}
  .hero-visual{
    min-height:500px;
    background:none !important;
  }
  .hero-visual .phone-shell,
  .hero-visual .floating-card{display:none;}
  .hero-orb-b{display:none;}
}

.hero-more-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  font-size:14px;
  font-weight:800;
  color:var(--primary-dark);
}
.hero-more-link:hover{color:var(--primary);}

/* Material de marketing */
.marketing-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 85% 15%,rgba(109,74,255,.11),transparent 24%),
    linear-gradient(135deg,#fbf9ff 0%,#f5f0ff 52%,#fff 100%);
  border-top:1px solid rgba(109,74,255,.06);
  border-bottom:1px solid rgba(109,74,255,.06);
}
.marketing-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:62px;
  align-items:center;
}
.marketing-copy h2{
  margin:14px 0 18px;
  max-width:600px;
  font-size:clamp(38px,4.7vw,58px);
  line-height:1.07;
  letter-spacing:-2px;
}
.marketing-copy .lead{max-width:610px;}
.marketing-note{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin-top:28px;
  padding:20px 22px;
  max-width:610px;
  border:1px solid rgba(109,74,255,.13);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  box-shadow:0 12px 36px rgba(53,40,91,.055);
}
.marketing-note-icon{
  flex:0 0 38px;
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:12px;
  background:var(--primary-soft);
  color:var(--primary);
  font-weight:900;
}
.marketing-note strong{display:block;margin-top:1px;}
.marketing-note p{margin:4px 0 0;color:var(--text);font-size:14px;}
.marketing-visual{display:grid;gap:22px;}
.marketing-showcase{
  margin:0;
  padding:18px 22px 10px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 20px 44px rgba(53,40,91,.08);
}
.marketing-showcase img{
  width:100%;
  height:auto;
  display:block;
}
.marketing-materials{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.marketing-card{
  min-height:136px;
  padding:22px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 13px 36px rgba(53,40,91,.06);
}
.marketing-card-wide{grid-column:1 / -1;min-height:118px;align-items:center;}
.marketing-card-accent{
  background:linear-gradient(145deg,#4b1d6d,#6d4aff);
  border-color:transparent;
  color:#fff;
}
.marketing-icon{
  flex:0 0 52px;
  width:52px;height:52px;
  display:grid;place-items:center;
  border-radius:16px;
  background:var(--primary-soft);
  color:var(--primary);
}
.marketing-card-accent .marketing-icon{background:rgba(255,255,255,.16);color:#fff;}
.marketing-icon svg{
  width:29px;height:29px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.marketing-card strong{display:block;font-size:17px;line-height:1.2;}
.marketing-card p{margin:7px 0 0;color:var(--text);font-size:14px;line-height:1.5;}
.marketing-card-accent p{color:#e9e1fa;}

@media (max-width:980px){
  .marketing-grid{grid-template-columns:1fr;gap:42px;}
  .marketing-copy{text-align:center;}
  .marketing-copy h2,.marketing-copy .lead,.marketing-note{margin-left:auto;margin-right:auto;}
  .marketing-note{text-align:left;}
}

@media (max-width:640px){
  .marketing-showcase{padding:14px 14px 4px;border-radius:22px;}
  .marketing-materials{grid-template-columns:1fr;}
  .marketing-card-wide{grid-column:auto;}
  .marketing-card{min-height:auto;padding:19px;border-radius:19px;}
  .marketing-copy h2{font-size:38px;}
}


/* ==========================================================
   Demo completa - 2026-08-17
   ========================================================== */
.demo-full-link{display:inline-flex;margin-top:18px;color:#fff;font-weight:800;font-size:14px;opacity:.9}.demo-full-link:hover{opacity:1;text-decoration:underline}
.demo-page-hero{padding:142px 0 70px;background:radial-gradient(circle at 80% 15%,rgba(214,165,58,.13),transparent 20%),linear-gradient(135deg,#fbf9ff,#f1eaff 60%,#fff)}
.demo-page-heading{text-align:center;max-width:900px}.demo-page-heading h1{font-size:clamp(44px,6vw,72px);line-height:1.03;letter-spacing:-3px;margin:18px auto 20px}.demo-page-heading p{max-width:760px;margin:0 auto;color:var(--text);font-size:18px}.demo-security-note{display:inline-flex;margin-top:24px;padding:10px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);color:#5b5370;font-weight:700;font-size:13px;box-shadow:0 10px 30px rgba(53,40,91,.06)}
.demo-flow-section{padding:64px 0 90px;background:#fff}.demo-stepper{display:grid;grid-template-columns:1fr 70px 1fr 70px 1fr;align-items:center;max-width:900px;margin:0 auto 42px}.demo-stepper>i{height:2px;background:#e4dff0}.demo-step-indicator{text-align:center;color:#817990}.demo-step-indicator span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;background:#f0ecf7;color:#6d6580;font-weight:800}.demo-step-indicator strong{display:block;font-size:14px;color:#5f5876}.demo-step-indicator small{display:block;font-size:11px}.demo-step-indicator.active span{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;box-shadow:0 10px 24px rgba(109,74,255,.25)}.demo-step-indicator.active strong{color:var(--primary-dark)}.demo-step-indicator.done span{background:#e8fff1;color:#198754}.demo-stage-shell{max-width:1080px;margin:auto;border:1px solid var(--line);border-radius:32px;background:linear-gradient(145deg,#fff,#faf8ff);box-shadow:0 28px 70px rgba(47,33,92,.1);overflow:hidden}.demo-stage{display:grid;grid-template-columns:.86fr 1.14fr;gap:60px;align-items:center;padding:54px 58px;min-height:650px}.demo-stage[hidden]{display:none!important}.demo-stage-number{display:inline-flex;color:var(--accent);font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.08em}.demo-stage-copy h2{font-size:clamp(36px,4.5vw,55px);line-height:1.08;letter-spacing:-2px;margin:14px 0 18px}.demo-stage-copy>p{color:var(--text);font-size:17px}.demo-stage-tips{display:grid;gap:10px;margin-top:25px;color:#625a75;font-size:14px;font-weight:700}
.full-demo-phone{width:min(390px,100%);margin:auto;padding:13px;background:#17131f;border-radius:44px;box-shadow:0 36px 75px rgba(40,27,75,.22);position:relative}.full-demo-phone-top{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:105px;height:25px;background:#17131f;border-radius:18px;z-index:3}.full-demo-screen{border-radius:33px;min-height:590px;padding:48px 24px 26px;text-align:center;color:#fff;background:radial-gradient(circle at 70% 10%,rgba(214,165,58,.19),transparent 24%),linear-gradient(180deg,#744fff,#5126c8)}.full-demo-brand{display:flex;align-items:center;gap:9px;text-align:left;font-weight:800}.full-demo-brand img{width:34px;height:34px;object-fit:contain}.full-demo-kicker{display:block;margin-top:48px;color:#e8deff;font-weight:700}.full-demo-screen h3{font-size:30px;margin:8px 0}.full-demo-screen>p{margin:0;color:#e6dcff}.full-scratch-card{position:relative;margin-top:28px;height:210px;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 18px 35px rgba(23,13,55,.18)}.full-prize-layer{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#33264d}.full-prize-layer span{font-weight:800;color:#5e3cbb}.full-prize-layer strong{font-size:38px;line-height:1.05;margin:5px 0}.full-prize-layer small{font-weight:700;color:#6f6680}.full-scratch-card canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.full-scratch-message{margin-top:18px;font-size:13px;font-weight:700;color:#eee6ff}
.winner-notification-wrap{display:grid;place-items:center}.winner-phone{width:min(390px,100%);padding:20px 24px 26px;border-radius:36px;background:#fff;border:9px solid #19151f;box-shadow:0 32px 70px rgba(42,30,76,.22);text-align:center}.winner-statusbar{display:flex;justify-content:space-between;font-size:10px;color:#625a6f;margin-bottom:22px}.winner-app-head{display:flex;align-items:center;gap:10px;text-align:left;padding-bottom:17px;border-bottom:1px solid #eeeaf3}.winner-app-head img{width:36px}.winner-app-head small,.winner-app-head strong{display:block}.winner-app-head small{color:#8b8398;font-size:11px}.winner-app-head strong{font-size:13px}.winner-confetti{color:var(--accent);font-size:24px;letter-spacing:9px;margin-top:22px}.winner-icon{width:76px;height:76px;display:grid;place-items:center;margin:12px auto;border-radius:50%;background:linear-gradient(135deg,#fff4d6,#f1c650);color:#65440a;font-size:30px;box-shadow:0 14px 30px rgba(214,165,58,.2)}.winner-phone h3{font-size:30px;margin:12px 0 8px}.winner-phone>p{color:#5d5570}.winner-code{margin:22px 0 14px;padding:15px;border-radius:16px;background:#f7f3ff;border:1px dashed #b8a3f4}.winner-code small,.winner-code strong{display:block}.winner-code strong{font-size:21px;color:var(--primary-dark);letter-spacing:.06em}.winner-condition{text-align:left;padding:14px 15px;border-radius:14px;background:#fff9e8;color:#6f5c2c;font-size:12px;line-height:1.55;margin-bottom:18px}.winner-demo-label{display:block;margin-top:13px;color:#9891a4}
.winner-form-card{width:min(480px,100%);margin:auto;padding:28px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 20px 50px rgba(47,33,92,.09)}.winner-form-head{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:22px}.winner-form-check{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e9fff1;color:#198754;font-weight:900}.winner-form-head small,.winner-form-head strong{display:block}.winner-form-head small{color:#8a8298}.winner-form-card form{display:grid;gap:15px}.winner-form-card label{display:grid;gap:7px;font-size:13px;font-weight:800;color:#4e465f}.winner-form-card input[type=text],.winner-form-card input[type=tel]{width:100%;min-height:48px;border:1px solid #ddd6e8;border-radius:12px;padding:0 14px;outline:0}.winner-form-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(109,74,255,.1)}.winner-terms{grid-template-columns:auto 1fr!important;align-items:flex-start;gap:10px!important;font-weight:600!important;line-height:1.45}.winner-terms input{margin-top:3px}.demo-form-success{display:flex;gap:12px;padding:15px;border-radius:16px;background:#ecfff3;color:#24643b}.demo-form-success>span{font-weight:900}.demo-form-success strong,.demo-form-success p{display:block;margin:0}.demo-form-success p{font-size:12px;margin-top:4px}.demo-flow-actions{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:30px}.demo-restart{border:0;background:transparent;color:var(--primary-dark);font-weight:800;cursor:pointer;padding:12px}.demo-explain{border-top:1px solid var(--line)}
@media(max-width:900px){.demo-stage{grid-template-columns:1fr;gap:35px;padding:40px 28px}.demo-stage-copy{text-align:center}.demo-stage-tips{justify-content:center}.demo-stepper{grid-template-columns:1fr 32px 1fr 32px 1fr}.demo-step-indicator small{display:none}}
@media(max-width:640px){.demo-page-hero{padding:120px 0 50px}.demo-page-heading h1{font-size:42px;letter-spacing:-2px}.demo-flow-section{padding:40px 0 65px}.demo-stepper{margin-bottom:26px}.demo-step-indicator strong{font-size:11px}.demo-step-indicator span{width:36px;height:36px}.demo-stage{padding:30px 18px;min-height:auto;border-radius:0}.demo-stage-shell{border-radius:23px}.demo-stage-copy h2{font-size:36px}.full-demo-phone{width:100%;max-width:360px}.winner-phone{border-width:7px}.winner-form-card{padding:22px 18px}.demo-flow-actions{flex-direction:column}.demo-flow-actions .btn{width:100%}}

/* Navegación contextual: Inicio aparece en la home al salir del hero. */
.nav-home-link{display:none!important;}
.nav-home-link.is-visible{display:inline-flex!important;}

@media(max-width:980px){
  .nav-home-link.is-visible{display:block!important;}
}

