/* MANTIS ESTUDIO V8.8 — UX NAVIGATION & AUTOPLAY
   Refinements requested after live-use review. */

#especializacion,#metodo,#evaluacion{scroll-margin-top:92px}

.hero .hero-actions-v88{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.hero .hero-secondary-v87,
.hero .hero-tertiary-v88{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(90,155,188,.28);
  background:rgba(255,255,255,.58);
  color:#234f6c;
  font-size:12.5px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(43,116,151,.045);
  backdrop-filter:blur(8px);
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
}
.hero .hero-secondary-v87{border-bottom:1px solid rgba(90,155,188,.28)}
.hero .hero-tertiary-v88{
  background:rgba(227,248,255,.76);
  border-color:rgba(24,168,224,.22);
}
.hero .hero-secondary-v87:hover,
.hero .hero-tertiary-v88:hover{
  transform:translateY(-2px);
  color:#0c86b5;
  border-color:rgba(24,168,224,.55);
  background:#fff;
  box-shadow:0 12px 28px rgba(29,130,176,.10);
}
.hero .hero-secondary-v87:focus-visible,
.hero .hero-tertiary-v88:focus-visible{
  outline:3px solid rgba(24,168,224,.30);
  outline-offset:3px;
}

/* Keep section landings readable after programmatic scroll. */
#especializacion>.container,
#metodo>.container{scroll-margin-top:92px}

@media(max-width:680px){
  .hero .hero-actions-v88{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    width:100%;
  }
  .hero .hero-actions-v88 .hero-primary-v87{grid-column:1/-1;width:100%}
  .hero .hero-secondary-v87,
  .hero .hero-tertiary-v88{
    width:100%;
    min-height:44px;
    padding:0 12px;
    font-size:11.5px;
    border-bottom:1px solid rgba(90,155,188,.28);
  }
}
@media(max-width:410px){
  .hero .hero-actions-v88{grid-template-columns:1fr}
  .hero .hero-actions-v88 .hero-primary-v87{grid-column:auto}
}
