
/* HERO */
.hero{
  min-height:auto;
  height:auto;
  display:block;
  padding:7.25rem 1.75rem 2.25rem;
  text-align:center;
  position:relative;
  background:linear-gradient(180deg,#eaeff5 0%,#e4eaf2 55%,#e8edf4 100%);
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(59,130,246,.1) 1px,transparent 1px);
  background-size:32px 32px;
  z-index:0;
  pointer-events:none;
}
.hero-blob-1{
  position:absolute;
  width:500px;height:500px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(96,165,250,.10),transparent 70%);
  top:-15%;right:-10%;
  filter:blur(60px);
  z-index:0;
  pointer-events:none;
}
.hero-blob-2{
  position:absolute;
  width:400px;height:400px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(59,130,246,.08),transparent 70%);
  bottom:-10%;left:-8%;
  filter:blur(50px);
  z-index:0;
  pointer-events:none;
}
.hero-blob-3{
  position:absolute;
  width:300px;height:300px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(147,197,253,.07),transparent 70%);
  top:40%;left:50%;
  transform:translate(-50%,-50%);
  filter:blur(40px);
  z-index:0;
  pointer-events:none;
}
.hero-inner{
  max-width:800px;
  margin:0 auto;
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero-title{
  font-size:clamp(2.6rem,7.5vw,5.4rem);
  margin-bottom:1rem;
  letter-spacing:-0.045em;
  font-weight:800;
  line-height:1.08;
}
.hero-title--servicios{
  font-size:clamp(2.75rem,7.5vw,4.75rem);
  margin-bottom:.75rem;
  line-height:1.15;
}
.title-line{
  display:block;
  color:var(--slate-900);
  font-style:normal;
  font-weight:800;
  line-height:1.15;
  padding-bottom:.1em;
  opacity:0;
  filter:blur(10px);
  animation:heroSubBlur 1.2s ease-out forwards;
}
.hero-title--servicios .title-line:nth-child(1){animation-delay:0s}
.hero-title--servicios .title-line:nth-child(2){animation-delay:.22s}
.title-line.title-dark{
  background:linear-gradient(90deg,#334155 0%,#0f172a 55%,#020617 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  text-shadow:0 1px 0 rgba(255,255,255,.12);
}
.title-line.title-blue{
  background:linear-gradient(90deg,#1d4ed8 0%,#3b82f6 45%,#60a5fa 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}
@keyframes heroSlideUp{
  to{opacity:1;transform:translateY(0)}
}
@keyframes heroSubBlur{
  from{opacity:0;filter:blur(10px)}
  to{opacity:1;filter:blur(0)}
}
@keyframes garantiaRise{
  from{
    opacity:0;
    transform:translateY(32px);
    filter:blur(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}
.hw{
  display:inline-block;
  opacity:0;
  filter:blur(8px);
  animation:heroSubBlur .6s ease-out forwards;
}
.hero-sub{
  font-size:1.3125rem;
  color:var(--slate-600);
  line-height:1.7;
  margin:0 auto 0;
  font-weight:500;
  max-width:820px;
  width:100%;
  padding-inline:clamp(0rem,2vw,.5rem);
  overflow-wrap:break-word;
  word-wrap:break-word;
  text-wrap:normal;
}
.hero-inner .hero-sub{margin-bottom:0}
.hero-sub .hw:nth-child(1){animation-delay:.75s}
.hero-sub .hw:nth-child(2){animation-delay:.79s}
.hero-sub .hw:nth-child(3){animation-delay:.83s}
.hero-sub .hw:nth-child(4){animation-delay:.87s}
.hero-sub .hw:nth-child(5){animation-delay:.91s}
.hero-sub .hw:nth-child(6){animation-delay:.95s}
.hero-sub .hw:nth-child(7){animation-delay:.99s}
.hero-sub .hw:nth-child(8){animation-delay:1.03s}
.hero-sub strong .hw:nth-child(1){animation-delay:1.07s}
.hero-sub strong .hw:nth-child(2){animation-delay:1.11s}
.hero-sub strong .hw:nth-child(3){animation-delay:1.15s}
.hero-sub .hw:nth-child(10){animation-delay:1.11s}
.hero-sub .hw:nth-child(11){animation-delay:1.15s}
.hero-sub .hw:nth-child(12){animation-delay:1.19s}

/* Garantía en hero */
.hero-garantia{
  width:100%;
  max-width:800px;
  margin-top:1.15rem;
}
.garantia-card{
  display:flex;
  gap:1.35rem;
  align-items:center;
  width:100%;
  margin:0 auto;
  padding:1.5rem 1.75rem 1.6rem;
  text-align:left;
  background:linear-gradient(135deg,#0B0F14 0%,#101318 55%,#121820 100%);
  border:1px solid rgba(59,130,246,.22);
  border-radius:20px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 16px 40px rgba(59,130,246,.12),
    0 8px 28px rgba(15,23,42,.18);
  opacity:0;
  transform:translateY(32px);
  will-change:transform,opacity,filter;
  animation:garantiaRise .9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:1.35s;
}
.garantia-card-icon{
  flex-shrink:0;
  width:56px;
  height:56px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(59,130,246,.16),rgba(96,165,250,.08));
  border:1px solid rgba(59,130,246,.2);
  box-shadow:0 0 24px rgba(59,130,246,.15);
  display:flex;
  align-items:center;
  justify-content:center;
}
.garantia-card-icon svg{width:28px;height:28px}
.garantia-card-body{min-width:0;padding-bottom:.1em}
.garantia-lead{
  font-size:1rem;
  line-height:1.7;
  margin:0 0 .75rem;
  color:rgba(255,255,255,.9);
  letter-spacing:-0.01em;
}
.garantia-lead strong{
  font-weight:700;
  color:#fff;
}
.garantia-main{
  font-size:.92rem;
  color:rgba(255,255,255,.65);
  line-height:1.75;
  margin:0 0 .65rem;
}
.garantia-sign{
  font-size:.88rem;
  color:rgba(148,163,184,.75);
  font-weight:500;
  letter-spacing:.01em;
  margin:0;
}
@media(prefers-reduced-motion:reduce){
  .garantia-card{
    animation:none;
    opacity:1;
    transform:none;
    filter:none;
  }
}

/* SECTIONS */
.section{
  position:relative;z-index:1;
  padding:5rem 2rem;
  max-width:1180px;margin:0 auto;
  background:transparent;
}
.section-animate{opacity:0;transform:translateY(40px);transition:opacity 0.8s ease,transform 0.8s ease}
.section-animate.visible{opacity:1;transform:translateY(0)}

.eyebrow{
  display:inline-block;
  font-family:'Poppins',sans-serif;
  font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--blue-500);
  margin-bottom:1rem;
  padding:.35rem .75rem;
  background:rgba(59,130,246,.08);
  border-radius:999px;
}

.section-heading{
  font-size:clamp(1.8rem,4vw,2.6rem);
  color:var(--slate-900);
  margin-bottom:1.1rem;
  letter-spacing:-0.03em;
  text-align:center;
}
.section-sub{
  font-size:1.08rem;color:var(--slate-600);
  max-width:680px;line-height:1.7;
  text-align:center;
  margin:0 auto 3rem;
}

/* GLASS CARDS */
.pain-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.1rem;
  margin-top:2.25rem;
}
.pain-card{
  background:linear-gradient(135deg,#0B0F14,#101318);
  border:1px solid rgba(11,27,54,.28);
  border-radius:16px;
  padding:1.65rem 1.35rem;
  text-align:center;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.pain-card:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 24px rgba(59,130,246,.08);
  border-color:#93c5fd;
}
.pain-card-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(96,165,250,.06));
  color:var(--blue-500);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 1rem;
}
.pain-card-icon svg{width:20px;height:20px}
#servicios-cards{
  padding-top:3rem;
  padding-bottom:2.5rem;
}
#proceso{
  padding-top:2rem;
}
#proceso .proceso-intro{
  text-align:center;
  margin-bottom:2.25rem;
}
#proceso .section-heading{
  font-family:'Poppins',system-ui,sans-serif;
  font-size:clamp(1.85rem,3.8vw,2.65rem);
  font-weight:700;
  letter-spacing:-0.035em;
  line-height:1.08;
  margin:0 auto .9rem;
  color:var(--slate-900);
}
#proceso .proceso-sub{
  font-family:'Poppins',system-ui,sans-serif;
  font-size:1.3125rem;
  font-weight:400;
  line-height:1.6;
  color:var(--slate-600);
  max-width:680px;
  margin:0 auto;
}
#servicios-cards .pain-card{text-align:left}
#servicios-cards .pain-card-icon{margin:0 0 .85rem}
.pain-card h3{font-size:1rem;margin-bottom:.4rem;letter-spacing:-0.02em;color:#fff}
.pain-card p{font-size:.85rem;color:rgba(255,255,255,.65);line-height:1.6}
.service-bullets{list-style:none;margin-top:.55rem;display:flex;flex-direction:column;gap:.28rem;text-align:left}
.service-bullets li{font-size:.78rem;color:rgba(255,255,255,.5);display:flex;align-items:flex-start;gap:.4rem;line-height:1.45}
.service-bullets li svg{width:12px;height:12px;flex-shrink:0;margin-top:.15em}
@media(min-width:900px){
  #servicios-cards .pain-grid{grid-template-columns:repeat(3,1fr)}
}
#servicios-cards .servicios-custom-cta{
  margin:2rem auto 0;
  max-width:640px;
  text-align:center;
  font-size:1.05rem;
  line-height:1.65;
  color:var(--slate-600);
  font-weight:500;
}
#servicios-cards .servicios-custom-cta a{
  color:var(--blue-500);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:.15em;
  text-decoration-thickness:2px;
  transition:color .2s ease;
}
#servicios-cards .servicios-custom-cta a:hover{
  color:var(--blue-600);
}

/* Timeline dark cards (servicios) */
.timeline-step-content{
  background:linear-gradient(135deg,#0B0F14,#101318)!important;
  border-color:rgba(11,27,54,.28)!important;
}
.timeline-step-content h3{color:#fff}
.timeline-step-content p{color:rgba(255,255,255,.65)}
.timeline-step-num{color:#3b82f6}
@media(max-width:768px){
  .hero{padding:6.5rem 1.25rem 2.75rem;min-height:auto}
  .hero-title{font-size:clamp(2.2rem,8vw,3.2rem)}
  .hero-title--servicios{font-size:clamp(2.35rem,9vw,3.5rem)}
  .hero-sub{
    font-size:clamp(1.25rem,5.2vw,1.4375rem);
    line-height:1.6;
    font-weight:500;
    max-width:100%;
    padding-inline:0;
  }
  .hero-garantia{margin-top:1.5rem}
  .garantia-card{
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:1.35rem 1.2rem;
    gap:1rem;
  }
  .garantia-lead{font-size:.95rem}
  .garantia-main{font-size:.88rem;line-height:1.6}
  .garantia-sign{font-size:.85rem}
  .section{padding:4.25rem 1.1rem}
  #servicios-cards{padding-top:2.5rem;padding-bottom:2rem}
  #proceso{padding-top:1.5rem}
  #proceso .proceso-intro{margin-bottom:1.75rem}
  .section-sub{margin:0 auto 2.25rem}
  #proceso .proceso-sub{font-size:1.1875rem;margin:0 auto}
  .pain-grid{gap:.95rem;margin-top:1.75rem}
  .pain-card{padding:1.4rem 1.15rem;border-radius:14px}
  .pain-card-icon{width:36px;height:36px;border-radius:10px;margin:0 0 .75rem}
  .pain-card-icon svg{width:18px;height:18px}
  #servicios-cards .pain-card h3{font-size:.95rem}
  #servicios-cards .pain-card p{font-size:.82rem}
}

@media(max-width:480px){
  .hero{padding:5.75rem .9rem 2.5rem}
  .section{padding:3rem .9rem}
  #proceso{padding-top:1.25rem}
  .section-sub{font-size:1rem;margin:0 auto 1.75rem}
  #proceso .proceso-sub{font-size:1.1875rem;margin:0 auto}
  .pain-grid{gap:.85rem;margin-top:1.5rem}
  .pain-card{padding:1.2rem 1rem}
  .pain-card h3{font-size:.92rem}
  .pain-card p{font-size:.8rem;line-height:1.55}
  .service-bullets li{font-size:.75rem}
  .service-bullets li svg{width:11px;height:11px}
}
