/* =========================================================
   SERVICIOS — HERO INTERNO
   Altura estándar de páginas internas: 450 px
   ========================================================= */
.page-servicios .services-hero{
  position:relative;
  height:450px;
  min-height:450px;
  overflow:hidden;
  isolation:isolate;
  color:#fff;
  background:#0b0e12;
}

.page-servicios .services-hero-image{
  position:absolute;
  inset:0;
  z-index:-3;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:72% center;
}

.page-servicios .services-hero-inner{
  height:100%;
  display:flex;
  align-items:center;
  position:relative;
  z-index:1;
}

.page-servicios .services-hero-content{
  width:min(100%,680px);
  padding-top:4px;
}

.page-servicios .services-breadcrumbs{
  margin:0 0 13px;
  color:rgba(255,255,255,.78);
  font-size:.78rem;
  line-height:1;
}

.page-servicios .services-breadcrumbs span{color:#ef1c24}

.page-servicios .services-hero-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 14px;
  color:#ef1c24;
  font-size:.75rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.page-servicios .services-hero-kicker::after{
  content:"";
  width:42px;
  height:1px;
  border-radius:999px;
  background:#ef1c24;
}

.page-servicios .services-hero h1{
  max-width:660px;
  margin:0 0 25px;
  color:#fff;
  font-size:clamp(2.65rem,3.55vw,3.75rem);
  font-weight:900;
  line-height:.98;
  letter-spacing:-.04em;
}

.page-servicios .services-hero h1 span{color:#ef1c24}

.page-servicios .services-hero-content>p{
  max-width:610px;
  margin:0;
  color:rgba(255,255,255,.93);
  font-size:.95rem;
  line-height:1.5;
}

.page-servicios .services-hero-benefits{
  max-width:760px;
  margin-top:27px;

  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
}

.page-servicios .services-hero-benefit{
  min-width:0;
  min-height:58px;
  padding:0 10px;
  display:flex;

  align-items:center;
  gap:11px;
  border-right:0px solid rgba(255,255,255,.17);
}

.page-servicios .services-hero-benefit:first-child{padding-left:0}
.page-servicios .services-hero-benefit:last-child{padding-right:0;border-right:0}

.page-servicios .services-benefit-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(239,28,36,.72);
  border-radius:50%;
  color:#ef1c24;
  background:rgba(9,11,14,.32);
}

.page-servicios .services-benefit-icon svg{
  width:30px;
  height:30px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.page-servicios .services-hero-benefit strong,
.page-servicios .services-hero-benefit small{
  display:block;
}

.page-servicios .services-hero-benefit strong{
  color:#fff;
  font-size:.8rem;
  font-weight:900;
  line-height:1.15;
}

.page-servicios .services-hero-benefit small{
  margin-top:3px;
  color:rgba(255,255,255,.72);
  font-size:.68rem;
  line-height:1.25;
}

/* Contenido actual de la página */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.service-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.service-card img{width:100%;height:270px;object-fit:cover}
.service-card-body{padding:26px}
.service-card h3{margin-top:0}

.service-card{
  position:relative;
  overflow:hidden;
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 48px rgba(15,23,42,.14);
  border-color:rgba(226,20,29,.22);
}

.service-card img{
  transition:transform .45s ease;
}

.service-card:hover img{
  transform:scale(1.045);
}

.service-card-icon{
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.service-card:hover .service-card-icon{
  transform:translateY(-3px) rotate(5deg) scale(1.05);
  background:#c90f17;
  box-shadow:
    0 14px 30px rgba(226,20,29,.30),
    0 0 0 7px rgba(226,20,29,.06);
}

.service-card a{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.service-card a span{
  transition:transform .25s ease;
}

.service-card:hover a span{
  transform:translateX(4px);
}

@media(max-width:980px){
  .page-servicios .services-hero-image{object-position:70% center}
  .page-servicios .services-hero-overlay{
    background:linear-gradient(90deg,rgba(5,7,10,.97) 0%,rgba(5,7,10,.9) 50%,rgba(5,7,10,.45) 100%);
  }
  .page-servicios .services-hero-content{width:min(100%,620px)}
  .page-servicios .services-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;gap:12px 0}
  .page-servicios .services-hero-benefit:nth-child(2){border-right:0}
  .page-servicios .services-hero-benefit:nth-child(3){padding-left:0}
}

@media(prefers-reduced-motion:reduce){
  .service-card,
  .service-card img,
  .service-card-icon,
  .service-card a span{
    transition:none;
    transform:none;
  }
}

@media(max-width:640px){
  .page-servicios .services-hero{height:520px;min-height:520px}
  .page-servicios .services-hero-image{object-position:76% center}
  .page-servicios .services-hero-overlay{
    background:linear-gradient(90deg,rgba(5,7,10,.97) 0%,rgba(5,7,10,.88) 72%,rgba(5,7,10,.58) 100%);
  }
  .page-servicios .services-hero-inner{align-items:flex-end}
  .page-servicios .services-hero-content{padding:34px 0 30px}
  .page-servicios .services-breadcrumbs{display:none}
  .page-servicios .services-hero h1{font-size:clamp(2.25rem,11vw,3.1rem)}
  .page-servicios .services-hero-content>p{font-size:.9rem}
  .page-servicios .services-hero-benefits{margin-top:22px;grid-template-columns:1fr 1fr;gap:12px}
  .page-servicios .services-hero-benefit{min-height:52px;padding:0;border-right:0}
  .page-servicios .services-benefit-icon{width:38px;height:38px;flex-basis:38px}
  .page-servicios .services-benefit-icon svg{width:21px;height:21px}
  .page-servicios .services-hero-benefit strong{font-size:.74rem}
  .page-servicios .services-hero-benefit small{font-size:.63rem}
}

/* =========================================================
   SERVICIOS — PLANIFICACIÓN TÉCNICA
   ========================================================= */
.page-servicios .services-planning{
  position:relative;
  overflow:hidden;
  padding:72px 0;
  color:#fff;
  background:
    radial-gradient(circle at 92% 22%,rgba(227,27,35,.09),transparent 25%),
    linear-gradient(120deg,#0d1116 0%,#131922 54%,#0b0f14 100%);
}
.page-servicios .services-planning::before{
  content:"";position:absolute;left:-25px;bottom:28px;width:145px;height:170px;opacity:.34;
  background-image:radial-gradient(rgba(227,27,35,.65) 1.2px,transparent 1.2px);background-size:12px 12px;
}
.page-servicios .services-planning-grid{position:relative;z-index:1;display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}
.page-servicios .services-section-kicker{display:inline-flex;align-items:center;gap:12px;margin:0 0 14px;color:#ef1c24;font-size:.76rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.page-servicios .services-section-kicker::before,.page-servicios .services-section-kicker::after{content:"";width:34px;height:1px;background:#ef1c24}
.page-servicios .services-planning-copy .services-section-kicker::before{display:none}
.page-servicios .services-planning-copy h2{margin:0 0 18px;font-size:clamp(2rem,3.15vw,3rem);line-height:1.04;letter-spacing:-.04em}
.page-servicios .services-planning-copy>p{max-width:520px;margin:0 0 22px;color:#d1d6dc;font-size:.96rem;line-height:1.65}
.page-servicios .services-planning-list{margin:0;padding:0;list-style:none;display:grid;gap:11px}
.page-servicios .services-planning-list li{position:relative;padding-left:27px;color:#f4f5f7;font-size:.92rem}
.page-servicios .services-planning-list li::before{content:"✓";position:absolute;left:0;color:#ef1c24;font-weight:900}
.page-servicios .services-planning-panel{overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#0b0f14;box-shadow:0 24px 55px rgba(0,0,0,.35)}
.page-servicios .services-planning-panel>img{width:100%;height:400px;object-fit:cover;}




/* =========================================================
   SERVICIOS — PROCESO
   ========================================================= */
.page-servicios .services-process{
  padding:44px 0 42px;
  background:#fff;
}

.page-servicios .services-heading-center{
  max-width:830px;
  margin:0 auto 42px;
  text-align:center;
}

.page-servicios .services-heading-center .services-section-kicker{
  justify-content:center;
}

.page-servicios .services-heading-center h2{
  margin:0 0 12px;
  color:#11151a;
  font-size:clamp(2rem,3vw,2.8rem);
  line-height:1.08;
  letter-spacing:-.04em;
}

.page-servicios .services-heading-center p{
  margin:0;
  color:#69717d;
}

.page-servicios .services-process-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:20px;
}

.page-servicios .services-process-grid::before{
  content:"";
  position:absolute;
  z-index:0;
  top:48px;
  left:9%;
  right:9%;
  height:1px;
  background:repeating-linear-gradient(
    90deg,
    rgba(173,180,189,.58) 0 6px,
    transparent 6px 12px
  );
}

.page-servicios .services-process-step{
  position:relative;
  z-index:1;
  min-width:0;
  padding:0 12px;
  text-align:center;
  transition:transform .28s ease;
}

.page-servicios .services-process-marker{
  position:relative;
  height:92px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.page-servicios .services-process-number{
  display:block;
  margin:0 0 5px;
  color:#c9141c;
  font-size:1rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.02em;
  transition:color .28s ease,transform .28s ease;
}

.page-servicios .services-process-number::after{
  content:"";
  display:block;
  width:1px;
  height:19px;
  margin:2px auto 0;
  background:#cdd2d8;
}

.page-servicios .services-process-dot{
  position:relative;
  z-index:2;
  width:14px;
  height:14px;
  display:block;
  flex:0 0 14px;
  border-radius:50%;
  background:#d71920;
  box-shadow:0 0 0 5px #fff,0 5px 14px rgba(215,25,32,.18);
  transition:transform .28s ease,box-shadow .28s ease,background .28s ease;
}

.page-servicios .services-process-dot::after{
  content:"";
  position:absolute;
  top:14px;
  left:50%;
  width:1px;
  height:21px;
  background:#cdd2d8;
  transform:translateX(-50%);
}

.page-servicios .services-process-icon{
  width:52px;
  height:52px;
  margin:2px auto 15px;
  display:grid;
  place-items:center;
  color:#c9141c;
  filter:drop-shadow(0 7px 9px rgba(201,20,28,.12));
  transition:transform .3s ease,color .3s ease,filter .3s ease;
}

.page-servicios .services-process-icon svg{
  width:48px;
  height:48px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.page-servicios .services-process-step h3{
  position:relative;
  margin:0 0 9px;
  color:#11151a;
  font-size:1rem;
}

.page-servicios .services-process-step h3::before{
  content:"";
  display:block;
  width:34px;
  height:1px;
  margin:0 auto 13px;
  background:#ef1c24;
  transition:width .28s ease,box-shadow .28s ease;
}

.page-servicios .services-process-step p{
  max-width:210px;
  margin:0 auto;
  color:#69717d;
  font-size:.84rem;
  line-height:1.55;
}

.page-servicios .services-process-step:hover{
  transform:translateY(-5px);
}

.page-servicios .services-process-step:hover .services-process-icon{
  color:#e31b23;
  transform:translateY(-3px) scale(1.06);
  filter:drop-shadow(0 10px 14px rgba(227,27,35,.2));
}

.page-servicios .services-process-step:hover .services-process-number{
  color:#a90e14;
  transform:translateY(-1px);
}

.page-servicios .services-process-step:hover .services-process-dot{
  background:#a90e14;
  transform:scale(1.16);
  box-shadow:0 0 0 5px #fff,0 7px 18px rgba(169,14,20,.3);
}

.page-servicios .services-process-step:hover h3::before{
  width:48px;
  box-shadow:0 0 10px rgba(227,27,35,.22);
}

/* =========================================================
   SERVICIOS — RAZONES PARA ELEGIRNOS
   ========================================================= */
.page-servicios .services-reasons{padding:70px 0 78px;background:linear-gradient(180deg,#f7f8fa,#eef0f3)}
.page-servicios .services-reasons-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.page-servicios .services-reasons-grid article{min-height:170px;padding:26px 22px;display:flex;gap:15px;border:1px solid #e0e3e8;border-radius:14px;background:#fff;box-shadow:0 10px 26px rgba(20,24,30,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.page-servicios .services-reasons-grid article:hover{transform:translateY(-5px);border-color:rgba(227,27,35,.28);box-shadow:0 18px 34px rgba(20,24,30,.10)}
.page-servicios .services-reasons-grid article>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#e31b23;font-weight:900}
.page-servicios .services-reasons-grid h3{margin:2px 0 8px;color:#15191e;font-size:1rem}
.page-servicios .services-reasons-grid p{margin:0;color:#68707a;font-size:.87rem;line-height:1.55}

@media(max-width:980px){
  .page-servicios .services-planning-grid{grid-template-columns:1fr;gap:34px}
  .page-servicios .services-process-grid{grid-template-columns:repeat(2,1fr);gap:32px 20px}
  .page-servicios .services-process-grid::before{display:none}
  .page-servicios .services-reasons-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .page-servicios .services-planning{padding:54px 0}
  .page-servicios .services-planning-panel>img{height:190px}
  .page-servicios .services-planning-stats{grid-template-columns:1fr}
  .page-servicios .services-planning-stats>div{min-height:84px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}
  .page-servicios .services-planning-stats>div:last-child{border-bottom:0}
  .page-servicios .services-process{padding:56px 0 60px}
  .page-servicios .services-process-grid{grid-template-columns:1fr;gap:28px}
  .page-servicios .services-process-step{max-width:360px;margin:auto}
  .page-servicios .services-reasons{padding:54px 0 60px}
  .page-servicios .services-reasons-grid{grid-template-columns:1fr}
}

.services-planning-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.12);
}

.services-planning-stat span{
    transition:opacity .35s ease;
}
.services-planning-stat:hover span{
    opacity:1;
}

.services-planning-stat::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,.08) 45%,
        transparent 70%
    );
    transform:translateX(-140%);
    transition:transform .7s ease;
    pointer-events:none;
}

.services-planning-stat:hover::before{
    transform:translateX(140%);
}

.services-planning-stat{
        position:relative;
    overflow:hidden;
    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;
  min-width:0;
  min-height:108px;
  padding:10px 16px;

  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:16px;

  text-align:left;
  transition:background .25s ease;
}

.services-planning-stat:not(:last-child){
  border-right:1px solid rgba(255,255,255,.14);
}

.services-planning-stat:hover{
      transform:translateY(-6px);
    background:rgba(255,255,255,.03);
    box-shadow:0 16px 36px rgba(0,0,0,.22);
}

.services-planning-stat-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;

  display:grid;
  place-items:center;

  border:1px solid rgba(227,27,35,.78);
  border-radius:50%;
  color:#e31b23;
  line-height:0;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.services-planning-stat:hover .services-planning-stat-icon{
    transform:scale(1.12) rotate(-8deg);
    color:var(--red);
    filter:drop-shadow(0 0 10px rgba(226,20,29,.45));
}

.services-planning-stat-icon svg{
  width:24px;
  height:24px;
  display:block;
  
  

  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.services-planning-stat > div{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.services-planning-stat strong{
  display:block;
  margin:0 0 6px;

  color:#fff;
  font-size:1.9rem;
  font-weight:900;
  line-height:1;
      transition:
        color .35s ease,
        transform .35s ease;
}

.services-planning-stat:hover strong{
    color:var(--red);
    transform:translateY(-2px);
}

.services-planning-stat > div > span{
  display:block;
  max-width:150px;
  color:#eef0f2;
  font-size:.84rem;
  line-height:1.35;
}


@media(max-width:760px){
  .services-planning-stats{
    grid-template-columns:1fr;
  }

  .services-planning-stat:not(:last-child){
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.14);
  }
}

/* =========================================================
   SERVICIOS — ICONOS PREMIUM Y CIERRE DEL PROCESO
   ========================================================= */
.page-servicios .services-process-icon{
  width:132px;
  height:132px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border:1px solid rgba(17,21,26,.07);
  border-radius:22px;
  background:#fff;
  box-shadow:
    0 14px 34px rgba(17,21,26,.09),
    0 3px 10px rgba(17,21,26,.05);
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.page-servicios .services-process-icon img{
  width:100px;
  height:100px;
  display:block;
  object-fit:contain;
  transition:transform .3s ease,filter .3s ease;
}

.page-servicios .services-process-step:nth-child(3) .services-process-icon img,
.page-servicios .services-process-step:nth-child(4) .services-process-icon img,
.page-servicios .services-process-step:nth-child(5) .services-process-icon img{
  width:96px;
  height:96px;
}

.page-servicios .services-process-step:hover .services-process-icon{
  transform:translateY(-5px);
  border-color:rgba(215,25,32,.16);
  box-shadow:
    0 20px 42px rgba(17,21,26,.12),
    0 0 0 5px rgba(215,25,32,.035);
}

.page-servicios .services-process-step:hover .services-process-icon img{
  transform:scale(1.055);
  filter:drop-shadow(0 10px 14px rgba(215,25,32,.18));
}

.page-servicios .services-process-divider{
  width:min(560px,70%);
  margin:38px auto 0;
  display:grid;
  grid-template-columns:1fr 42px 1fr;
  align-items:center;
  gap:20px;
}


.page-servicios .services-process-divider span{
  height:1px;
  background:linear-gradient(90deg,transparent,#ccd1d7 22%,#ccd1d7 78%,transparent);
}

.page-servicios .services-process-divider svg{
  width:36px;
  height:36px;
  margin:auto;
  fill:none;
  stroke:#d71920;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 5px 8px rgba(215,25,32,.13));
  transition:transform .3s ease,filter .3s ease;
}

.page-servicios .services-process-divider:hover svg{
  transform:translateY(-2px);
  filter:drop-shadow(0 8px 12px rgba(215,25,32,.24));
}

@media(max-width:760px){
  .page-servicios .services-process-icon{
    width:104px;
    height:104px;
    border-radius:18px;
  }

  .page-servicios .services-process-icon img{
    width:78px;
    height:78px;
  }

  .page-servicios .services-process-step:nth-child(3) .services-process-icon img,
  .page-servicios .services-process-step:nth-child(4) .services-process-icon img,
  .page-servicios .services-process-step:nth-child(5) .services-process-icon img{
    width:74px;
    height:74px;
  }

  .page-servicios .services-process-divider{
    width:min(340px,82%);
    margin-top:38px;
    grid-template-columns:1fr 36px 1fr;
    gap:13px;
  }
  .page-servicios .services-process-divider svg{
    width:31px;
    height:31px;
  }
}