/* Global premium button language — applies across all CTAs and form actions. */
a[class*="btn"],
button[class*="btn"],
.consult-submit,
.bd-form-submit,
input[type="submit"],
input[type="button"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #ffd35e 0%, #efa90f 100%) !important;
  border: 1px solid #d8a12e !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(113, 76, 17, 0.16) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease !important;
}

a[class*="btn"]::before,
button[class*="btn"]::before,
.consult-submit::before,
.bd-form-submit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  border: 1px solid rgba(145, 98, 5, 0.54);
  border-radius: inherit;
  pointer-events: none;
  transition: inset 0.25s ease;
}

a[class*="btn"]::after,
button[class*="btn"]::after,
.consult-submit::after,
.bd-form-submit::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  left: -45%;
  width: 28%;
  height: 170%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: skewX(-23deg);
  transition: left 0.6s ease;
}

a[class*="btn"]:hover,
a[class*="btn"]:focus-visible,
button[class*="btn"]:hover,
button[class*="btn"]:focus-visible,
.consult-submit:hover,
.consult-submit:focus-visible,
.bd-form-submit:hover,
.bd-form-submit:focus-visible,
input[type="submit"]:hover,
input[type="button"]:hover {
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #ffe180 0%, #f1ad11 100%) !important;
  border-color: #bd8317 !important;
  box-shadow: 0 13px 28px rgba(113, 76, 17, 0.24) !important;
  transform: translateY(-3px);
}

a[class*="btn"]:hover::before,
button[class*="btn"]:hover::before,
.consult-submit:hover::before,
.bd-form-submit:hover::before {
  inset: 3px;
}

a[class*="btn"]:hover::after,
button[class*="btn"]:hover::after,
.consult-submit:hover::after,
.bd-form-submit:hover::after {
  left: 125%;
}

a[class*="btn"] i,
button[class*="btn"] i,
.consult-submit i,
.bd-form-submit i {
  color: currentColor !important;
}

.about-page .about-actions .cp-btn--primary,
.about-page .about-actions .cp-btn--primary:hover,
.about-page .about-actions .cp-btn--primary:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #f06449, #ff8a57) !important;
  border-color: transparent !important;
  box-shadow: 0 18px 38px rgba(240, 100, 73, 0.25) !important;
}

.about-page .about-actions .cp-btn--ghost,
.about-page .about-actions .cp-btn--ghost:hover,
.about-page .about-actions .cp-btn--ghost:focus-visible {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.about-page .about-cta .cp-btn--light,
.about-page .about-cta .cp-btn--light:hover,
.about-page .about-cta .cp-btn--light:focus-visible {
  color: #155eef !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 16px 38px rgba(8, 17, 31, 0.16) !important;
}

/* Header actions: premium double-ring controls with a gold call-to-action. */
.navbar-actions .btn-login,
.navbar-actions .btn-cta {
  position: relative;
  isolation: isolate;
  min-height: 46px;
  padding: 0 24px !important;
  overflow: hidden;
  border: 1px solid #d2b47a !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 7px 18px rgba(16, 28, 40, 0.1) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    background 0.25s ease !important;
}

.navbar-actions .btn-login::before,
.navbar-actions .btn-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  border: 1px solid rgba(190, 143, 48, 0.55);
  border-radius: inherit;
  transition:
    inset 0.25s ease,
    border-color 0.25s ease;
}

.navbar-actions .btn-login::after,
.navbar-actions .btn-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  left: -45%;
  width: 28%;
  height: 170%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.72),
    transparent
  );
  transform: skewX(-23deg);
  transition: left 0.6s ease;
}

.navbar-actions .btn-login {
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #ffd35e 0%, #efa90f 100%) !important;
}

.navbar-actions .btn-cta {
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #f8c044 0%, #eaa50d 100%) !important;
  border-color: #d59a1e !important;
}

.navbar-actions .btn-login span,
.navbar-actions .btn-login i,
.navbar-actions .btn-cta span,
.navbar-actions .btn-cta i {
  position: relative;
  z-index: 1;
}

.navbar-actions .btn-login i {
  font-size: 15px;
}
.navbar-actions .btn-cta i {
  font-size: 15px;
  transition: transform 0.25s ease;
}

.navbar-actions .btn-login:hover,
.navbar-actions .btn-cta:hover {
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #ffe180 0%, #f1ad11 100%) !important;
  border-color: #b8841c !important;
  box-shadow: 0 12px 25px rgba(113, 76, 17, 0.2) !important;
  transform: translateY(-3px) !important;
}

.navbar-actions .btn-cta:hover {
  background: linear-gradient(135deg, #ffd15a 0%, #edaa10 100%) !important;
}

.navbar-actions .btn-login:hover::before,
.navbar-actions .btn-cta:hover::before {
  inset: 3px;
  border-color: rgba(161, 108, 6, 0.7);
}

.navbar-actions .btn-login:hover::after,
.navbar-actions .btn-cta:hover::after {
  left: 125%;
}
.navbar-actions .btn-cta:hover i {
  transform: translateX(4px);
}

.navbar-actions .btn-login:focus-visible,
.navbar-actions .btn-cta:focus-visible {
  outline: 3px solid rgba(239, 174, 24, 0.38);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .navbar-actions .btn-login,
  .navbar-actions .btn-cta {
    min-height: 39px;
    padding: 0 15px !important;
  }
  .navbar-actions .btn-login::before,
  .navbar-actions .btn-cta::before {
    inset: 4px;
  }
}

/* Keep page-specific CTAs inside the same system too. */
body[class] a[class*="btn"],
body[class] button[class*="btn"],
body.home-page .consult-submit,
body.blog-detail-page .bd-form-submit,
body.about-page .about-actions .cp-btn--primary,
body.about-page .about-actions .cp-btn--ghost,
body.about-page .about-cta .cp-btn--light {
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #ffd35e 0%, #efa90f 100%) !important;
  border-color: #d8a12e !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(113, 76, 17, 0.16) !important;
}

body[class] a[class*="btn"]:hover,
body[class] button[class*="btn"]:hover,
body.home-page .consult-submit:hover,
body.blog-detail-page .bd-form-submit:hover,
body.about-page .about-actions .cp-btn--primary:hover,
body.about-page .about-actions .cp-btn--ghost:hover,
body.about-page .about-cta .cp-btn--light:hover {
  color: #1d1c18 !important;
  background: linear-gradient(135deg, #ffe180 0%, #f1ad11 100%) !important;
  border-color: #bd8317 !important;
  box-shadow: 0 13px 28px rgba(113, 76, 17, 0.24) !important;
}
