/* Credanta V94 — Cómo funciona
   Same structure, more polished and dynamic image treatment,
   while keeping balanced typography and a clean fintech feel. */
:root{
  --how-v94-navy:#12295d;
  --how-v94-copy:#425b7a;
  --how-v94-copy-soft:#60728d;
  --how-v94-orange:#ee7548;
  --how-v94-orange-deep:#dd643b;
  --how-v94-orange-soft:#fff2ec;
  --how-v94-cyan-soft:#e8f4f8;
  --how-v94-surface:#ffffff;
  --how-v94-line:rgba(18,41,93,.10);
}

.how-finance-v94{
  position:relative;
  overflow:hidden;
  padding:88px 0 94px;
  background:
    radial-gradient(circle at 7% 12%,rgba(238,117,72,.06),transparent 22%),
    radial-gradient(circle at 92% 86%,rgba(89,177,203,.08),transparent 21%),
    linear-gradient(180deg,#f7f8fb 0%,#fbfcfd 100%);
}
.how-finance-v94::before{
  content:"";
  position:absolute;
  left:-90px;
  top:40px;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(238,117,72,.08),rgba(238,117,72,0) 70%);
  pointer-events:none;
}
.how-finance-v94::after{
  content:"";
  position:absolute;
  right:-130px;
  top:-70px;
  width:310px;
  height:310px;
  border-radius:50%;
  border:1px solid rgba(18,41,93,.05);
  pointer-events:none;
}

.how-finance-v94-shell{
  width:min(1180px,calc(100% - 48px));
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,505px) minmax(0,1fr);
  gap:82px;
  align-items:center;
  position:relative;
  z-index:1;
}

/* MEDIA */
.how-finance-v94-media{
  position:relative;
  min-width:0;
}
.how-finance-v94-photo-wrap{
  position:relative;
  max-width:520px;
  padding:14px 18px 22px 0;
}
.how-finance-v94-photo-wrap::before{
  content:"";
  position:absolute;
  inset:44px -20px auto auto;
  width:176px;
  height:194px;
  border-radius:38px;
  background:linear-gradient(145deg,#e4f1f5,#f3fbfc);
  border:1px solid rgba(89,177,203,.12);
  z-index:0;
}
.how-finance-v94-photo-wrap::after{
  content:"";
  position:absolute;
  left:-18px;
  bottom:12px;
  width:110px;
  height:110px;
  border-radius:30px;
  background:linear-gradient(145deg,rgba(238,117,72,.16),rgba(238,117,72,.02));
  transform:rotate(9deg);
  z-index:0;
}
.how-finance-v94-photo{
  position:relative;
  z-index:1;
  aspect-ratio:.83;
  overflow:hidden;
  border-radius:34px;
  background:#e9eef2;
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 28px 70px rgba(18,41,93,.12),0 8px 22px rgba(18,41,93,.05);
}
.how-finance-v94-photo::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);
  pointer-events:none;
  z-index:2;
}
.how-finance-v94-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),transparent 30%,rgba(7,20,42,.11) 100%),
    linear-gradient(90deg,rgba(255,255,255,.05),transparent 25%);
  pointer-events:none;
  z-index:1;
}
.how-finance-v94-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
}

.how-finance-v94-badge{
  position:absolute;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(18,41,93,.08);
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 36px rgba(18,41,93,.09);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.how-finance-v94-badge-top{
  top:34px;
  right:-12px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  color:var(--how-v94-navy);
  font-size:13px;
  line-height:1;
  font-weight:760;
}
.how-finance-v94-badge-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--how-v94-orange);
  box-shadow:0 0 0 6px rgba(238,117,72,.12);
}
.how-finance-v94-badge-card{
  left:-12px;
  bottom:38px;
  min-width:132px;
  display:grid;
  gap:4px;
  padding:14px 14px 13px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
}
.how-finance-v94-badge-card small{
  display:block;
  color:var(--how-v94-copy-soft);
  font-size:11px;
  line-height:1.1;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.how-finance-v94-badge-card strong{
  display:block;
  color:var(--how-v94-navy);
  font-size:20px;
  line-height:1;
  letter-spacing:-.03em;
  font-weight:810;
}
.how-finance-v94-badge-card span{
  display:block;
  color:var(--how-v94-orange-deep);
  font-size:12px;
  line-height:1.2;
  font-weight:760;
}

/* COPY */
.how-finance-v94-copy{
  min-width:0;
  max-width:610px;
  padding:4px 0;
}
.how-finance-v94-eyebrow{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 18px;
  color:var(--how-v94-navy);
  font-size:12px;
  line-height:1;
  font-weight:820;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.how-finance-v94-eyebrow img{
  width:25px;
  height:auto;
  display:block;
}
.how-finance-v94-eyebrow i{
  width:1px;
  height:18px;
  display:block;
  background:rgba(18,41,93,.20);
}
.how-finance-v94 h2{
  max-width:590px;
  margin:0;
  color:var(--how-v94-navy);
  font-size:clamp(39px,3.5vw,45px);
  line-height:1.09;
  letter-spacing:-.036em;
  font-weight:820;
}
.how-finance-v94-lead{
  max-width:590px;
  margin:20px 0 0;
  color:var(--how-v94-copy);
  font-size:17px;
  line-height:1.58;
  letter-spacing:-.004em;
}
.how-finance-v94-lead strong{
  color:#22416c;
  font-weight:760;
}

.how-finance-v94-cta{
  width:min(350px,100%);
  min-height:56px;
  margin-top:26px;
  padding:8px 9px 8px 20px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:linear-gradient(112deg,#f17a4c 0%,#eb7044 60%,#e7673f 100%);
  color:#fff;
  text-decoration:none;
  font-size:16.25px;
  line-height:1.1;
  font-weight:790;
  letter-spacing:-.012em;
  box-shadow:0 12px 26px rgba(216,87,45,.18),inset 0 1px 0 rgba(255,255,255,.20);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.how-finance-v94-cta:hover{
  color:#fff;
  transform:translateY(-1px);
  filter:saturate(1.03);
  box-shadow:0 16px 32px rgba(216,87,45,.24),inset 0 1px 0 rgba(255,255,255,.22);
}
.how-finance-v94-cta-icon{
  width:38px;
  height:38px;
  flex:0 0 auto;
  border-radius:12px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.38);
  background:rgba(255,255,255,.10);
  font-size:17px;
  font-weight:800;
}

.how-finance-v94-steps{
  margin-top:24px;
  display:grid;
  gap:10px;
}
.how-finance-v94-step{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-height:60px;
  padding:12px 16px 12px 12px;
  border:1px solid var(--how-v94-line);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,255,255,.70));
  box-shadow:0 6px 18px rgba(18,41,93,.035);
}
.how-finance-v94-step-icon{
  width:40px;
  height:40px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#fff5ef,#fff1ea);
  border:1px solid rgba(238,117,72,.16);
  color:var(--how-v94-orange-deep);
  font-size:12px;
  line-height:1;
  font-weight:850;
  letter-spacing:.03em;
}
.how-finance-v94-step p{
  margin:0;
  color:#304b73;
  font-size:16px;
  line-height:1.42;
  letter-spacing:-.004em;
}
.how-finance-v94-step strong{
  color:var(--how-v94-navy);
  font-weight:790;
}

@media (max-width:1050px){
  .how-finance-v94{padding:72px 0 80px}
  .how-finance-v94-shell{
    grid-template-columns:minmax(0,44%) minmax(0,1fr);
    gap:54px;
  }
  .how-finance-v94 h2{font-size:38px}
  .how-finance-v94-lead{font-size:16.4px}
  .how-finance-v94-step p{font-size:15.5px}
  .how-finance-v94-photo-wrap::before{width:148px;height:168px;right:-10px}
}

@media (max-width:760px){
  .how-finance-v94{
    padding:54px 0 60px;
    background:linear-gradient(180deg,#f7f8fb 0%,#fff 100%);
  }
  .how-finance-v94-shell{
    width:min(100% - 28px,620px);
    grid-template-columns:1fr;
    gap:28px;
  }
  .how-finance-v94-media{
    width:100%;
    max-width:520px;
    margin-inline:auto;
  }
  .how-finance-v94-photo-wrap{
    max-width:none;
    padding:0 10px 20px 0;
  }
  .how-finance-v94-photo-wrap::before{
    width:110px;
    height:116px;
    right:0;
    top:18px;
    border-radius:28px;
  }
  .how-finance-v94-photo-wrap::after{
    width:64px;
    height:64px;
    left:-2px;
    bottom:2px;
    border-radius:20px;
  }
  .how-finance-v94-photo{
    aspect-ratio:1.17;
    border-radius:24px;
    box-shadow:0 18px 42px rgba(18,41,93,.11),0 4px 14px rgba(18,41,93,.045);
  }
  .how-finance-v94-photo img{object-position:center 46%}
  .how-finance-v94-badge-top{
    top:12px;
    right:12px;
    min-height:38px;
    padding:0 12px;
    font-size:12px;
  }
  .how-finance-v94-badge-card{
    left:10px;
    bottom:10px;
    min-width:122px;
    padding:12px 12px 11px;
    border-radius:16px;
  }
  .how-finance-v94-badge-card small{font-size:10px}
  .how-finance-v94-badge-card strong{font-size:18px}
  .how-finance-v94-badge-card span{font-size:11px}

  .how-finance-v94-copy{max-width:none;padding:0 2px}
  .how-finance-v94-eyebrow{margin-bottom:14px;font-size:11px;gap:9px}
  .how-finance-v94-eyebrow img{width:22px}
  .how-finance-v94-eyebrow i{height:16px}
  .how-finance-v94 h2{
    max-width:520px;
    font-size:clamp(29px,7.6vw,33px);
    line-height:1.08;
    letter-spacing:-.033em;
  }
  .how-finance-v94-lead{
    margin-top:15px;
    font-size:15.8px;
    line-height:1.52;
  }
  .how-finance-v94-cta{
    width:100%;
    min-height:53px;
    margin-top:21px;
    padding-left:17px;
    border-radius:15px;
    font-size:15.5px;
  }
  .how-finance-v94-cta-icon{width:36px;height:36px;border-radius:11px;font-size:16px}
  .how-finance-v94-steps{margin-top:16px;gap:8px}
  .how-finance-v94-step{
    grid-template-columns:40px 1fr;
    gap:11px;
    min-height:56px;
    padding:10px 12px 10px 10px;
    border-radius:15px;
  }
  .how-finance-v94-step-icon{width:38px;height:38px;border-radius:12px;font-size:11px}
  .how-finance-v94-step p{font-size:14.9px;line-height:1.38}
}

@media (max-width:390px){
  .how-finance-v94{padding-top:46px}
  .how-finance-v94-shell{width:calc(100% - 24px);gap:25px}
  .how-finance-v94-photo{aspect-ratio:1.11;border-radius:21px}
  .how-finance-v94-badge-top{right:10px;top:10px}
  .how-finance-v94-badge-card{left:8px;bottom:8px;min-width:112px}
  .how-finance-v94 h2{font-size:29px}
  .how-finance-v94-lead{font-size:15px}
  .how-finance-v94-cta{font-size:15px}
  .how-finance-v94-step p{font-size:14.2px}
}

@media (prefers-reduced-motion:reduce){
  .how-finance-v94-cta{transition:none}
}
