/* =============================================
   MARK — Landing Paso 3 (Agradecimiento)
   ============================================= */

/* ─── HERO ─── */
.paso3-hero {
  background: var(--grad-hero);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.paso3-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.paso3-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.paso3-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Badge éxito */
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  margin-bottom: 24px;
}

.success-badge svg { width: 16px; height: 16px; color: var(--green); }

.success-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.paso3-hero__title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
}

.paso3-hero__title .accent {
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.paso3-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 36px;
  max-width: 420px;
}

.paso3-hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
}

.hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: gap .2s;
}

.hero-back:hover { gap: 10px; }

/* ─── CONFIRMATION CARD ─── */
.confirm-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-dark);
  animation: slideIn .6s ease both;
}

.confirm-card__check {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  border: 2px solid rgba(34,197,94,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  animation: successPulse 2s ease 0.5s 2;
}

.confirm-card__check::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.1);
}

.confirm-card__check svg { width: 40px; height: 40px; }

.check-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCheck .8s ease 0.3s forwards;
}

.confirm-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.confirm-item:first-of-type { padding-top: 0; }
.confirm-item:last-child { border-bottom: none; padding-bottom: 0; }

.confirm-item__icon {
  width: 40px; height: 40px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.confirm-item__icon svg { width: 20px; height: 20px; color: var(--green); }

.confirm-item__text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.confirm-item__text p {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}

/* ─── QUÉ SIGUE ─── */
.section-next {
  background: var(--gray-light);
  padding: 80px 0;
  text-align: center;
}

.next-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-arrow {
  position: absolute;
  top: 36px;
  left: calc(33.33% + 4px);
  color: #CBD5E1;
  pointer-events: none;
}

.step-arrow--2 { left: calc(66.66% + 4px); }

.next-step-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all .25s;
}

.next-step-card:hover {
  box-shadow: 0 16px 48px rgba(15,23,42,0.08);
  transform: translateY(-4px);
  border-color: rgba(34,197,94,0.3);
}

.next-step-card__num {
  width: 52px; height: 52px;
  background: var(--grad-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}

.next-step-card__icon {
  width: 52px; height: 52px;
  background: var(--gray-light);
  border: 2px solid var(--gray-border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

.next-step-card__icon svg { width: 28px; height: 28px; }

.next-step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.next-step-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-text);
}

/* ─── INSIGHT PREVIEW ─── */
.section-insight-preview {
  background: var(--white);
  padding: 80px 0;
}

.insight-preview__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* Mock panel */
.insight-mock {
  background: var(--bg-hero);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.insight-mock__header {
  background: #0A1628;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.insight-mock__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insight-mock__logo span {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
}

.insight-mock__live {
  font-size: 10px;
  background: rgba(34,197,94,.12);
  color: var(--green);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34,197,94,.25);
  font-family: var(--font-body);
}

.insight-mock__body {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.insight-mock__sidebar {
  background: rgba(255,255,255,0.02);
  padding: 14px 0;
  border-right: 1px solid rgba(255,255,255,0.04);
}

.insight-mock__sidebar-item {
  padding: 8px 14px;
  font-size: 11px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
}

.insight-mock__sidebar-item--active {
  color: var(--green);
  background: rgba(34,197,94,0.07);
}

.insight-mock__main { padding: 16px; }

.insight-mock__section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.insight-mock__today {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 10px;
  color: #475569;
  font-family: var(--font-body);
}

.opp-card {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

.opp-card__label {
  font-size: 9px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.opp-card__content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.opp-card__icon {
  width: 28px; height: 28px;
  background: rgba(34,197,94,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.opp-card__icon svg { width: 14px; height: 14px; color: var(--green); }

.opp-card__text {
  font-size: 11px;
  color: #CBD5E1;
  line-height: 1.5;
  flex: 1;
  font-family: var(--font-body);
}

.opp-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-top: 8px;
  cursor: pointer;
}

.insight-mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.insight-mock__kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px;
}

.insight-mock__kpi-label {
  font-size: 8px;
  color: #475569;
  font-weight: 500;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

.insight-mock__kpi-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.insight-mock__kpi-delta {
  font-size: 9px;
  color: var(--green);
  margin-top: 2px;
  font-family: var(--font-body);
}

/* Right side */
.insight-preview__right .label { display: block; margin-bottom: 12px; }

.insight-preview__heading {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 32px;
}

.insight-preview__heading .accent { color: var(--green-dark); }

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.benefit-item__check {
  width: 24px; height: 24px;
  background: var(--grad-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item__check svg { width: 12px; height: 12px; }

.benefit-item__text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.benefit-item__text p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.55;
}

/* ─── TRUST ─── */
.section-trust-p3 {
  background: var(--gray-light);
  padding: 64px 0;
  border-top: 1px solid var(--gray-border);
}

.trust-p3__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-p3__card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all .2s;
}

.trust-p3__card:hover {
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

.trust-p3__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.trust-p3__icon svg { width: 22px; height: 22px; }

.trust-p3__text h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.trust-p3__text p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-text);
}

/* ─── CTA FINAL ─── */
.section-cta-p3 {
  background: var(--grad-dark);
  padding: 72px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.section-cta-p3::before {
  content: '';
  position: absolute;
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.05) 0%, transparent 70%);
}

.cta-p3__text { position: relative; z-index: 1; }

.cta-p3__heading {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}

.cta-p3__heading .accent { color: var(--green); }

.cta-p3__sub { font-size: 15px; color: #475569; }

.cta-p3__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .paso3-hero__grid { grid-template-columns: 1fr; }
  .paso3-hero__title { font-size: 38px; }
  .next-steps__grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .insight-preview__grid { grid-template-columns: 1fr; }
  .trust-p3__grid { grid-template-columns: 1fr; }
  .section-cta-p3 { flex-direction: column; padding: 48px 24px; }
  .cta-p3__heading { font-size: 30px; }
  .cta-p3__actions { min-width: auto; width: 100%; }
  .insight-preview__heading { font-size: 28px; }
  .insight-mock__body { grid-template-columns: 100px 1fr; }
}
