/* ==========================================================================
   CTA system — one interaction language for every button site-wide (loaded last).
   Hover: lift + soft brand glow + light sheen + arrow chip turns ↗ → →.  Press: sink + ripple (site.js).
   Focus: double ring.  Reduced motion: colour only.
   Replaces the earlier circle-fill / label-roll / arrow-swap effects.
   ========================================================================== */
:root { --cta-ease: cubic-bezier(.2, .8, .2, 1); --cta-glow: 0 16px 30px -16px rgba(8,126,105,.7); --cta-glow-dark: 0 16px 30px -16px rgba(61,214,163,.55); }

/* ---------- Our buttons: block buttons, header/hero pills, page components ---------- */
.btk-blocks .wp-block-button__link, .btk-btn, .btk-btn-solid, .btk-btn-line, .btk-pshow__more, .btk-wa, .btk-form .btk-submit, .btk-archive .btk-404-search button {
	position: relative; isolation: isolate; overflow: hidden; border-radius: 999px;
	transition: transform .35s var(--cta-ease), box-shadow .35s var(--cta-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
	-webkit-tap-highlight-color: transparent;
}
/* sheen (replaces the old circle fill on ::before) */
.btk-blocks .wp-block-button__link::before, .btk-btn::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; clip-path: none !important;
	background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.32) 50%, transparent 68%) !important;
	transform: translateX(-130%); transition: transform .8s var(--cta-ease) !important;
}
.btk-blocks .wp-block-button__link > *, .btk-btn > * { position: relative; z-index: 1; }
/* label stays put (no roll) */
.btk-btn__label > span + span { display: none !important; }
.btk-btn__label > span { transform: none !important; }
.btk-btn__icon .btk-i + .btk-i { display: none !important; }
.btk-btn__icon { transition: transform .45s var(--cta-ease), background-color .25s ease; }
.btk-btn__icon .btk-i:first-child { transform: none !important; transition: transform .45s var(--cta-ease) !important; }

@media (hover: hover) {
	.btk-blocks .wp-block-button__link:hover, .btk-btn:hover, .btk-btn-solid:hover, .btk-btn-line:hover, .btk-pshow__item:hover .btk-pshow__more, .btk-wa:hover, .btk-form .btk-submit:hover, .btk-archive .btk-404-search button:hover { transform: translateY(-2px); box-shadow: var(--cta-glow); }
	:is(.btk-s--dark, .btk-hero, .btk-phero, .btk-cta, .btk-header, .btk-footer, .btk-cs-hero, .btk-faq-aside, .btk-contact__aside) :is(.wp-block-button__link, .btk-btn):hover { box-shadow: var(--cta-glow-dark); }
	.btk-blocks .wp-block-button__link:hover::before, .btk-btn:hover::before { transform: translateX(130%); }
	.btk-btn:hover .btk-btn__icon { transform: scale(1.1); }
	.btk-btn:hover .btk-btn__icon .btk-i:first-child { transform: rotate(45deg) !important; }
	.btk-blocks .wp-block-button__link:hover::after { transform: rotate(45deg) !important; }
	/* primary block buttons: colour deepens instead of the old circle fill */
	.btk-blocks .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--bt-green-700); }
	.btk-blocks .is-style-outline .wp-block-button__link:hover { background: rgba(16,47,53,.06); color: var(--bt-teal-900); border-color: var(--bt-teal-900); }
	:is(.btk-s--dark, .btk-hero, .btk-cta, .btk-cs-hero, .btk-faq-aside, .btk-contact__aside) .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.1); color: #fff; border-color: var(--bt-mint-400); }
}
.btk-blocks .wp-block-button__link::after { transition: transform .45s var(--cta-ease) !important; }
/* press */
.btk-blocks .wp-block-button__link:active, .btk-btn:active, .btk-btn-solid:active, .btk-btn-line:active, .btk-wa:active, .btk-form .btk-submit:active { transform: translateY(0) scale(.96) !important; box-shadow: none; transition-duration: .12s; }
/* focus */
.btk-blocks .wp-block-button__link:focus-visible, .btk-btn:focus-visible, .btk-btn-solid:focus-visible, .btk-btn-line:focus-visible, .btk-wa:focus-visible, .btk-form .btk-submit:focus-visible { outline: 2px solid var(--bt-teal-900); outline-offset: 3px; box-shadow: 0 0 0 6px var(--bt-mint-400); }
:is(.btk-s--dark, .btk-hero, .btk-phero, .btk-cta, .btk-header, .btk-cs-hero, .btk-faq-aside, .btk-contact__aside) :is(.wp-block-button__link, .btk-btn):focus-visible { outline-color: #fff; }

/* ---------- Elementor / theme CTAs on legacy pages: same shape and motion, palette-mapped colours kept ---------- */
body.btk-v2 #pxl-main :is(a.btn, a.elementor-button, a[class*="-btn"], a[class*="btn-"], a[class*="-button"], a[class*="cta-btn"], a[class*="-cta"]):not([class*="filter"]):not([class*="tab"]):not([class*="chip"]):not([class*="tag"]):not([class*="card"]):not([class*="link"]) {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; border-radius: 999px !important; font-family: var(--font-heading) !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: normal !important;
	transition: transform .35s var(--cta-ease), box-shadow .35s var(--cta-ease), background-color .25s ease, color .25s ease, border-color .25s ease !important;
	-webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
	body.btk-v2 #pxl-main :is(a.btn, a.elementor-button, a[class*="-btn"], a[class*="btn-"], a[class*="-button"], a[class*="cta-btn"], a[class*="-cta"]):not([class*="filter"]):not([class*="tab"]):not([class*="chip"]):not([class*="tag"]):not([class*="card"]):not([class*="link"]):hover { transform: translateY(-2px); box-shadow: var(--cta-glow); }
}
body.btk-v2 #pxl-main :is(a.btn, a.elementor-button, a[class*="-btn"], a[class*="btn-"], a[class*="-button"], a[class*="cta-btn"], a[class*="-cta"]):not([class*="filter"]):not([class*="tab"]):not([class*="chip"]):not([class*="tag"]):not([class*="card"]):not([class*="link"]):active { transform: scale(.96) !important; box-shadow: none; }
/* Vintech text-style button (btn-text-nina) reads as a link with an arrow: keep it compact, green */
body.btk-v2 #pxl-main .pxl-button a.btn.btn-text-nina { min-height: 44px; padding-inline: 0 !important; background: none !important; color: var(--bt-green-700) !important; }

/* ---------- Ripple (added by site.js on pointerdown) ---------- */
.btk-ripple { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .28; transform: scale(0); animation: btk-ripple .65s var(--cta-ease) forwards; }
@keyframes btk-ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Small controls (filters, tabs, chips): consistent press feedback ---------- */
:is(.btk-filter__btn, .btk-models__tab, .btk-cs-tablist button, .btk-ai, .btk-footer__badges a) { transition: transform .3s var(--cta-ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s var(--cta-ease); }
:is(.btk-filter__btn, .btk-cs-tablist button):active { transform: scale(.95); }

@media (prefers-reduced-motion: reduce) {
	.btk-blocks .wp-block-button__link, .btk-btn, .btk-btn-solid, .btk-btn-line, .btk-pshow__more, .btk-wa, .btk-form .btk-submit,
	body.btk-v2 #pxl-main :is(a.btn, a.elementor-button, a[class*="-btn"], a[class*="btn-"], a[class*="-button"], a[class*="cta-btn"], a[class*="-cta"]) { transform: none !important; transition: background-color .2s, color .2s, border-color .2s !important; }
	.btk-blocks .wp-block-button__link::before, .btk-btn::before, .btk-ripple { display: none !important; }
	.btk-btn__icon, .btk-btn__icon .btk-i, .btk-blocks .wp-block-button__link::after { transform: none !important; transition: none !important; }
}
