
/* v1.0.7 - página ¿Cómo funciona? */
.how-hero{
  position:relative;
  overflow:hidden;
  padding:86px 0 70px;
  text-align:center;
  background:
    radial-gradient(circle at 18% 16%,rgba(201,162,94,.15),transparent 28%),
    radial-gradient(circle at 84% 10%,rgba(117,144,126,.13),transparent 26%),
    linear-gradient(180deg,#fffdf9 0%,#f8f3e9 100%);
}
.how-hero:after{
  content:"";
  position:absolute;
  width:380px;height:380px;
  border-radius:50%;
  border:1px solid rgba(23,57,95,.07);
  right:-135px;top:-180px;
}
.how-hero-inner{position:relative;z-index:2;max-width:860px}
.how-hero .eyebrow{justify-content:center}
.how-hero h1{
  font-family:"Libre Baskerville",serif;
  color:var(--ink);
  font-size:clamp(2.8rem,5.5vw,5rem);
  letter-spacing:-.05em;
}
.how-hero p{
  margin:20px auto 0;
  max-width:720px;
  color:var(--muted);
  font-size:1.12rem;
}

.how-section{background:#fffdf9}

.how-intro-card{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:30px;
  align-items:center;
  margin-bottom:34px;
  padding:30px 34px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(135deg,#fff,#f8f3e9);
  box-shadow:0 12px 34px rgba(23,57,95,.07);
}
.how-intro-logo{
  width:150px;height:150px;
  display:grid;place-items:center;
  background:#fff;
  border-radius:25px;
  border:1px solid rgba(23,57,95,.08);
}
.how-intro-logo img{
  width:128px;height:128px;
  object-fit:contain;
}
.how-intro-card h2{
  font-size:clamp(1.8rem,3vw,2.65rem);
}
.how-intro-card p{
  margin:12px 0 0;
  color:var(--muted);
  max-width:760px;
}

.how-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.how-card{
  position:relative;
  min-height:330px;
  padding:38px 36px 34px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 10px 30px rgba(23,57,95,.055);
  overflow:hidden;
}
.how-card:nth-child(2),
.how-card:nth-child(3){
  background:linear-gradient(145deg,#f9f4ea,#fff);
}
.how-card:after{
  content:"";
  position:absolute;
  width:190px;height:190px;
  border-radius:50%;
  background:rgba(201,162,94,.08);
  right:-80px;bottom:-95px;
}
.how-number{
  position:absolute;
  right:28px;top:20px;
  font-family:"Libre Baskerville",serif;
  font-size:4.4rem;
  color:rgba(23,57,95,.11);
  line-height:1;
  font-weight:700;
}
.how-icon{
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:18px;
  background:#f3ede2;
  font-size:1.7rem;
  margin-bottom:28px;
}
.how-card h2{
  position:relative;z-index:2;
  font-size:1.55rem;
  margin-bottom:13px;
}
.how-card p{
  position:relative;z-index:2;
  margin:0;
  color:var(--muted);
  font-size:1rem;
  line-height:1.75;
}

.how-cta{
  margin-top:28px;
  padding:30px 34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  border-radius:28px;
  background:var(--ink);
  color:#fff;
  box-shadow:var(--shadow);
}
.how-cta h2{
  color:#fff;
  font-size:1.65rem;
  margin:10px 0 6px;
}
.how-cta p{
  margin:0;
  color:#d5e0e9;
}
.how-cta .btn-primary{
  background:#fff;
  color:var(--ink);
  flex:0 0 auto;
}
.footer-logo-mark{
  background:#fff!important;
  border-radius:12px!important;
  overflow:hidden;
}
.footer-logo-mark img{
  width:100%;height:100%;object-fit:contain;
}

@media(max-width:820px){
  .how-hero{padding:64px 0 54px}
  .how-intro-card{
    grid-template-columns:1fr;
    text-align:center;
  }
  .how-intro-logo{margin:auto}
  .how-intro-card .eyebrow{justify-content:center}
  .how-grid{grid-template-columns:1fr}
  .how-card{min-height:auto}
  .how-cta{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* v1.0.8 - banner superior más compacto */
.how-hero{
  padding:50px 0 42px!important;
}
.how-hero h1{
  font-size:clamp(2.35rem,4.2vw,4rem)!important;
}
.how-hero p{
  margin-top:12px!important;
  font-size:1.02rem!important;
}
@media(max-width:820px){
  .how-hero{padding:40px 0 34px!important}
}

/* Ilustraciones editables: completas, con transparencia y sin recorte. */
.how-character{width:128px;height:128px;margin:0 0 24px;position:relative;z-index:2}
.how-character img{width:100%;height:100%;object-fit:contain;display:block}
.how-card p,.how-hero p,.how-intro-card p,.how-cta p{white-space:pre-line}
@media(max-width:820px){.how-character{width:112px;height:112px;margin-bottom:20px}}
