/* MANTIS ESTUDIO V8.7 — UX FIRST PASS
   Goal: clarify the decision path in the first viewport.
   1) Explore before asking for a lead.
   2) Make visible chips behave like navigation.
   3) Keep methodology one click away without competing with the primary CTA.
*/

#servicios,#especializacion,#metodo,#nosotros,#contacto{scroll-margin-top:108px}

.hero .hero-inner{max-width:940px}
.hero .hero-lead{
  max-width:790px;
  color:#456a83;
  font-weight:560;
  letter-spacing:-.008em;
}
.hero .hero-actions{
  margin-top:22px;
  gap:22px;
  align-items:center;
}
.hero .hero-primary-v87{
  min-height:56px;
  padding-inline:30px;
  box-shadow:0 16px 38px rgba(24,168,224,.22);
}
.hero .hero-secondary-v87{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:8px 4px;
  color:#234f6c;
  font-size:13px;
  font-weight:800;
  border-bottom:1px solid rgba(35,79,108,.28);
  transition:color .2s ease,border-color .2s ease,transform .2s ease;
}
.hero .hero-secondary-v87:hover{
  color:#0d8fc1;
  border-color:#0d8fc1;
  transform:translateY(-1px);
}
.hero .hero-trust{margin-top:16px;gap:8px}
.hero .hero-trust a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:760;
  color:#4a6a80;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(170,214,232,.78);
  border-radius:999px;
  padding:7px 11px;
  box-shadow:0 5px 15px rgba(49,110,145,.035);
  transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease;
}
.hero .hero-trust a:hover{
  transform:translateY(-2px);
  color:#0b87b8;
  border-color:#8bd3ed;
  background:#fff;
  box-shadow:0 9px 22px rgba(35,126,169,.09);
}

.story-cta{
  position:relative;
  text-decoration:none!important;
}
.story-cta::after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-4px;
  height:1px;
  background:currentColor;
  transition:right .2s ease;
}
.story-cta:hover::after{right:0}

.hero a:focus-visible,.story-cta:focus-visible,.nav-link:focus-visible,.nav-cta:focus-visible{
  outline:3px solid rgba(24,168,224,.35);
  outline-offset:4px;
}

@media(max-width:680px){
  .hero .hero-actions{
    flex-direction:column;
    gap:8px;
    align-items:stretch;
  }
  .hero .hero-primary-v87{width:100%}
  .hero .hero-secondary-v87{
    align-self:center;
    width:auto;
    min-height:40px;
    padding-inline:8px;
  }
  .hero .hero-trust{gap:6px;margin-top:13px}
  .hero .hero-trust a{font-size:9px;padding:6px 9px}
}
