/* Página "Cómo generar mis primeros ingresos" */
.ing {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 40px;
}

/* Portada */
.ing-hero {
  text-align: center;
  padding: clamp(48px, 9vh, 96px) 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ing-hero h1 {
  margin: 14px auto 0;
  max-width: 860px;
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 0 40px rgba(108, 140, 255, 0.35);
}
.ing-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 26px auto 0;
  padding: 18px 22px;
  text-align: left;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.14), rgba(255,255,255,0.03) 60%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 4px rgba(37, 211, 102, 0.06);
}
.ing-card-ico { font-size: 40px; line-height: 1; flex: none; color: #2be06e; filter: drop-shadow(0 0 14px rgba(43,224,110,.55)); }
.ing-card p { margin: 0; color: #e9edff; font-size: clamp(15px, 1.8vw, 17px); line-height: 1.6; }
.ing-card strong { color: #7dffb0; }
.ing-tagline {
  margin: 22px 0 0;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffe2a8;
}
.ing-lead {
  max-width: 640px;
  margin: 18px auto 0;
  color: #c9cfe8;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
}
.ing-money { width: min(320px, 80vw); margin: 28px auto 0; }
.money-svg { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(38, 225, 120, 0.25)); }
.money-svg .stack { transform-origin: center bottom; animation: bob 4s ease-in-out infinite; }
.money-svg .s2 { animation-delay: .6s; }
.money-svg .s3 { animation-delay: 1.2s; }
.money-svg .coins { animation: bob 3.2s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* Secciones */
.ing-section { padding: 56px 0 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.sec-head .tag { margin-bottom: 16px; }
.sec-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
}
.sec-head p { margin: 14px auto 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 560px; }

/* Tarjetas con borde degradado elegante */
.step, .pay-card, .info {
  position: relative;
  border-radius: 22px;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.step::before, .pay-card::before, .info::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108,140,255,.45), rgba(89,227,255,.05) 40%, rgba(255,179,64,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .8;
}
.step:hover, .pay-card:hover, .info:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12); }

.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(108,140,255,.25), rgba(89,227,255,.15));
  border: 1px solid rgba(108,140,255,.35);
  margin-bottom: 16px;
}
.step-icon svg { width: 22px; height: 22px; fill: none; stroke: #9fc0ff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step-n { display: block; color: #ffd166; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.step h3, .info h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1.25; }
.step p, .info p { margin: 0; color: #c1c8e4; font-size: 14.5px; line-height: 1.7; }
.step strong, .info strong { color: #fff; }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pay-card { text-align: center; padding: 30px 24px 28px; }
.pay-card::before { background: linear-gradient(135deg, rgba(255,209,102,.6), rgba(255,179,64,.08) 45%, rgba(38,225,120,.45)); }
.pay-art { width: 120px; margin: 0 auto 10px; }
.pay-art svg { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.pay-amt {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(180deg, #fff1c4, #ffb340);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 20px rgba(255,179,64,.25));
}
.pay-lbl { margin-top: 10px; color: #e7d3ae; font-size: 14.5px; line-height: 1.5; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info .tag { margin-bottom: 14px; }

/* Llamado final */
.ing-cta { text-align: center; padding: 70px 0 30px; }
.ing-cta h2 { margin: 0 0 26px; font-size: clamp(24px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-row .btn { min-width: 300px; }

/* Aparición al hacer scroll */
.sr { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.sr.in { opacity: 1; transform: none; filter: blur(0); }
.sr.in:hover { transform: translateY(-4px); }

@media (max-width: 720px) {
  .steps-grid, .pay-grid, .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .ing-hero { padding-top: 40px; }
  .ing-hero h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .ing-card { flex-direction: column; text-align: center; padding: 18px; }
  .ing-section { padding-top: 44px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { min-width: 0; width: 100%; }
  .step, .info { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; filter: none; transition: none; }
  .money-svg .stack, .money-svg .coins { animation: none; }
}
