/* ==========================================================================
   Glass buttons: one family, same material as the navbar.
   Smoked frosted glass with a hairline border, soft shadow and an inner
   highlight. The dark tint (default) reads on light sections; the lighter
   tint (.cta_section, footer) lets photos show through.
   Loaded after every other stylesheet so it wins.
   ========================================================================== */

:root {
  --gl-ease: cubic-bezier(.22, .61, .36, 1);
  --gl-sheen: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .09) 100%);
  --gl-sheen-hi: linear-gradient(135deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .14) 100%);
}

/* ---- text buttons ------------------------------------------------------ */
.default_btn,
.wa-submit,
.course-enroll {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: var(--gl-sheen), rgba(17, 17, 18, .78);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 30px -14px rgba(17, 17, 18, .55), 0 1px 3px rgba(17, 17, 18, .12), inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s var(--gl-ease), color .35s ease;
}
.default_btn {
  line-height: 48px;
  padding: 0 32px;
}
.default_btn.btn_sm { line-height: 42px; padding: 0 24px; }
.default_btn:before { display: none; }              /* old wipe-in fill */

.default_btn:hover,
.wa-submit:hover,
.course-enroll:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: var(--gl-sheen-hi), rgba(93, 97, 103, .92);
  box-shadow: 0 18px 34px -14px rgba(17, 17, 18, .55), 0 1px 3px rgba(17, 17, 18, .12), inset 0 1px 0 rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}
.default_btn:focus-visible,
.wa-submit:focus-visible,
.course-enroll:focus-visible { outline: 2px solid #5d6167; outline-offset: 3px; }

/* WhatsApp buttons keep their icon, lose the flat green */
.wa-submit {
  padding: 16px 24px;
  font-size: 12px;
}
.course-enroll {
  padding: 15px 20px;
  font-size: 11.5px;
}

/* over photographs (call-to-action banner): let the picture through */
.cta_section .default_btn {
  background: var(--gl-sheen), rgba(17, 17, 18, .34);
}
.cta_section .default_btn:hover {
  background: var(--gl-sheen-hi), rgba(17, 17, 18, .5);
}

/* footer Instagram button: light glass on the dark footer */
.widget_social li a.ig-btn {
  border: 1px solid rgba(255, 255, 255, .17);
  background: var(--gl-sheen), rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: background .35s ease, border-color .35s ease, transform .35s var(--gl-ease);
}
.widget_social li a.ig-btn:hover {
  background: var(--gl-sheen-hi), rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .32);
  transform: translateY(-2px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .default_btn, .wa-submit, .course-enroll { background: rgba(17, 17, 18, .9); }
  .cta_section .default_btn { background: rgba(17, 17, 18, .7); }
}

/* ---- back-to-top: glass circle, clear of the footer text ---------------- */
#scroll-to-top {
  width: 46px;
  height: 46px;
  bottom: 28px;
  right: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: var(--gl-sheen), rgba(17, 17, 18, .78);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 30px -14px rgba(17, 17, 18, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
  line-height: 44px;
  font-size: 15px;
  color: #fff;
  transition: background .35s ease, transform .35s var(--gl-ease);
}
#scroll-to-top:hover {
  background: var(--gl-sheen-hi), rgba(93, 97, 103, .92);
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  #scroll-to-top { width: 42px; height: 42px; line-height: 40px; bottom: 18px; right: 16px; }
  .footer_section { padding-bottom: 72px; }   /* keeps the copyright line above the button */
}
