/* Bencefalo v86 — canonical buttons, footer navigation and Taller Brujo navigation/hero */

/* =========================================================
   BUTTON SYSTEM
   Primary = action that should stand out.
   Secondary = visible, quiet action.
   Compact = menu/card utility.
   ========================================================= */
:root{
  --button-radius:999px;
  --button-primary-bg:linear-gradient(135deg,#a855f7 0%,#8b5cf6 44%,#6d28d9 100%);
  --button-primary-hover:linear-gradient(135deg,#b86cff 0%,#9868ff 44%,#7c3aed 100%);
  --button-primary-border:rgba(224,199,255,.46);
  --button-primary-shadow:0 12px 30px rgba(124,58,237,.30),0 0 26px rgba(168,85,247,.16),inset 0 1px 0 rgba(255,255,255,.22);
  --button-secondary-bg:rgba(9,10,21,.82);
  --button-secondary-hover:rgba(116,68,177,.12);
  --button-secondary-border:rgba(177,145,224,.25);
  --button-secondary-border-hover:rgba(201,158,255,.46);
}

.btn,
a.btn,
button.btn,
.outline,
a.outline,
button.outline{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:46px!important;
  padding:11px 22px!important;
  border-radius:var(--button-radius)!important;
  font-family:var(--font-ui)!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-align:center!important;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease,filter .16s ease!important;
}

.btn,
a.btn,
button.btn{
  color:#fff!important;
  border:1px solid var(--button-primary-border)!important;
  background:var(--button-primary-bg)!important;
  box-shadow:var(--button-primary-shadow)!important;
}

.btn:hover,
a.btn:hover,
button.btn:hover{
  color:#fff!important;
  background:var(--button-primary-hover)!important;
  border-color:rgba(232,211,255,.62)!important;
  box-shadow:0 14px 36px rgba(124,58,237,.38),0 0 30px rgba(183,108,255,.19),inset 0 1px 0 rgba(255,255,255,.25)!important;
  transform:translateY(-1px)!important;
  text-decoration:none!important;
}

.outline,
a.outline,
button.outline{
  color:#f5f2f8!important;
  border:1px solid var(--button-secondary-border)!important;
  background:var(--button-secondary-bg)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}

.outline:hover,
a.outline:hover,
button.outline:hover{
  color:#fff!important;
  border-color:var(--button-secondary-border-hover)!important;
  background:var(--button-secondary-hover)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05)!important;
  transform:translateY(-1px)!important;
  text-decoration:none!important;
}

.btn.small,.outline.small,.btn.mini,.outline.mini,.mini{
  min-height:38px!important;
  padding:8px 14px!important;
  font-size:12px!important;
}

.card .btn,.card .outline,
.course-card .btn,.course-card .outline,
.service-card .btn,.service-card .outline,
.service-detail-actions .btn,.service-detail-actions .outline{
  min-height:42px!important;
  padding:9px 18px!important;
  font-size:13px!important;
}

.btn:focus-visible,.outline:focus-visible{
  outline:2px solid rgba(217,187,99,.88)!important;
  outline-offset:3px!important;
}
.btn:disabled,.outline:disabled{
  opacity:.55!important;
  transform:none!important;
  box-shadow:none!important;
}

/* =========================================================
   FOOTER NAVIGATION
   ========================================================= */
.site-footer .footer-grid{
  grid-template-columns:minmax(260px,1.45fr) repeat(4,minmax(115px,.72fr))!important;
  gap:30px!important;
}
.site-footer .footer-col>strong{
  color:#c997ff!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:600!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  margin-bottom:7px!important;
}
.site-footer .footer-col a,
.site-footer .footer-col button{
  color:#918b9e!important;
  font-family:var(--font-ui)!important;
  font-size:12px!important;
  line-height:1.5!important;
  font-weight:400!important;
}
.site-footer .footer-col a:hover,
.site-footer .footer-col button:hover{
  color:#d5afff!important;
}

/* =========================================================
   TALLER BRUJO — section identity + navigation
   ========================================================= */
.taller-page .brand{
  text-decoration:none!important;
}
.taller-page .brand strong.brandword{
  font-size:22px!important;
  letter-spacing:.02em!important;
}
.taller-page .navlinks{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:18px!important;
}
.taller-page .navlinks .nav-anchor{
  color:#cbc5d2!important;
  font-family:var(--font-ui)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:600!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
.taller-page .navlinks .nav-anchor:hover{
  color:#d5afff!important;
}
.taller-page .navlinks .nav-campus{
  min-height:38px!important;
  padding:8px 15px!important;
  font-size:12px!important;
}

/* Taller hero only. Home hero is intentionally untouched. */
.taller-page .hero{
  background:#02040c!important;
}
.taller-page .hero::before{
  background-size:auto 100%!important;
  background-position:right -40px center!important;
  background-repeat:no-repeat!important;
  transform:none!important;
  filter:saturate(.90) contrast(1.035) brightness(.79)!important;
}
.taller-page .hero::after{
  background:
    linear-gradient(90deg,#02040c 0%,rgba(2,4,12,.98) 18%,rgba(2,4,12,.90) 34%,rgba(2,4,12,.67) 48%,rgba(2,4,12,.26) 61%,rgba(2,4,12,.05) 75%,rgba(2,4,12,.12) 100%),
    linear-gradient(180deg,rgba(2,4,12,.10) 0%,transparent 30%,transparent 72%,rgba(2,4,12,.30) 88%,#02040c 100%)!important;
}

/* Footer identifies the active Taller Brujo section */
.taller-page .footer-brand-title{
  letter-spacing:.02em!important;
}

@media(max-width:1050px){
  .site-footer .footer-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:28px 22px!important;
  }
  .site-footer .footer-brand{
    grid-column:1/-1!important;
    max-width:620px!important;
  }
}

@media(max-width:960px) and (min-width:681px){
  .taller-page .hero::before{
    background-size:auto 100%!important;
    background-position:right -150px center!important;
  }
  .taller-page .navlinks{gap:13px!important}
  .taller-page .navlinks .nav-anchor{font-size:11px!important}
}

@media(max-width:680px){
  .site-footer .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:27px 18px!important;
  }
  .site-footer .footer-brand{grid-column:1/-1!important}

  .taller-page .tb-nav .wrap{
    min-height:62px!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
  }
  .taller-page .brand{
    flex:0 0 auto!important;
    min-width:0!important;
    gap:7px!important;
  }
  .taller-page .brand img{
    width:29px!important;
    height:31px!important;
  }
  .taller-page .brand strong.brandword{
    font-size:18px!important;
    white-space:nowrap!important;
  }
  .taller-page .navlinks{
    flex:1 1 auto!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    gap:12px!important;
    padding:4px 1px!important;
  }
  .taller-page .navlinks::-webkit-scrollbar{display:none}
  .taller-page .navlinks .nav-anchor{
    flex:0 0 auto!important;
    font-size:10.5px!important;
  }
  .taller-page .navlinks .nav-campus{
    flex:0 0 auto!important;
    min-height:34px!important;
    padding:7px 11px!important;
    font-size:10.5px!important;
  }

  .taller-page .hero{
    min-height:500px!important;
    padding:48px 0 18px!important;
  }
  .taller-page .hero::before{
    background-size:auto 100%!important;
    background-position:26% center!important;
    transform:none!important;
    filter:saturate(.92) contrast(1.025) brightness(.84)!important;
  }
  .taller-page .hero::after{
    background:
      linear-gradient(180deg,rgba(2,4,12,.03) 0%,rgba(2,4,12,.04) 26%,rgba(2,4,12,.17) 48%,rgba(2,4,12,.66) 74%,#02040c 100%),
      linear-gradient(90deg,rgba(2,4,12,.52) 0%,rgba(2,4,12,.29) 34%,rgba(2,4,12,.10) 66%,rgba(2,4,12,.02) 100%)!important;
  }
  .taller-page .hero .actions{margin-top:16px!important}
  .taller-page .facts{margin-top:-1px!important}

  .btn,
  a.btn,
  button.btn,
  .outline,
  a.outline,
  button.outline{
    min-height:44px!important;
    padding:10px 18px!important;
    font-size:13px!important;
  }
  .btn.small,.outline.small,.btn.mini,.outline.mini,.mini{
    min-height:36px!important;
    padding:7px 12px!important;
    font-size:11px!important;
  }
}

@media(max-width:430px){
  .site-footer .footer-grid{grid-template-columns:1fr 1fr!important}
  .taller-page .brand strong.brandword{font-size:17px!important}
  .taller-page .navlinks{gap:10px!important}
}