/* ==========================================================================
   Nexa – button hover polish (all buttons site-wide)
   Lift + soft shadow, a light "shine" that sweeps across, springy arrows/icons
   and a clear keyboard focus ring. Colours stay as they are.
   ========================================================================== */

.btn,
.entry-content .alcair-btn,
html body .wp-block-button__link,
html body .kb-button,
html body .entry-content .wp-element-button {
	position: relative; overflow: hidden; isolation: isolate;
	transition:
		background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease),
		transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s var(--ease) !important;
	will-change: transform;
}

/* Shine sweep */
.btn::before,
.entry-content .alcair-btn::before,
html body .wp-block-button__link::before,
html body .kb-button::before,
html body .entry-content .wp-element-button::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: -75%; z-index: -1; width: 55%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .28) 55%, transparent 100%);
	transform: skewX(-18deg); pointer-events: none;
	transition: left .8s var(--ease);
}
.btn:hover::before,
.entry-content .alcair-btn:hover::before,
html body .wp-block-button__link:hover::before,
html body .kb-button:hover::before,
html body .entry-content .wp-element-button:hover::before { left: 125%; }

/* Light buttons: use a darker shine so it shows on white */
.btn-light::before,
.btn-outline::before,
.entry-content .alcair-btn--secondary::before,
html body .is-style-outline .wp-block-button__link::before,
.dhero--dark .alcair-btn--primary::before,
.book-card .alcair-btn--primary::before,
.entry-content .alcair-cta-banner .alcair-btn--primary::before,
.lp .lp-card--dark .alcair-btn--primary::before,
.lp .lp-final .alcair-btn--primary::before,
.alcair-contact__cta-card .alcair-btn--primary::before {
	background: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .06) 45%, rgba(0, 0, 0, .12) 50%, rgba(0, 0, 0, .06) 55%, transparent 100%);
}

/* Lift + shadow */
.btn:hover,
.entry-content .alcair-btn:hover,
html body .wp-block-button__link:hover,
html body .kb-button:hover,
html body .entry-content .wp-element-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45) !important;
}
.btn:active,
.entry-content .alcair-btn:active,
html body .wp-block-button__link:active,
html body .entry-content .wp-element-button:active {
	transform: translateY(-1px) scale(.98); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4) !important; transition-duration: .12s !important;
}
/* On dark sections the shadow is a soft glow instead */
.dhero--dark .alcair-btn:hover, .book-card .alcair-btn:hover, .entry-content .alcair-cta-banner .alcair-btn:hover,
.lp .lp-card--dark .alcair-btn:hover, .lp .lp-final .alcair-btn:hover, .alcair-contact__cta-card .alcair-btn:hover,
.cta .btn:hover, .footer .btn:hover, .site-footer .btn:hover {
	box-shadow: 0 14px 34px -14px rgba(255, 255, 255, .35) !important;
}

/* Arrows & icons: springy nudge */
.entry-content .alcair-btn--primary::after { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) !important; }
.entry-content .alcair-btn:hover::after { transform: translateX(5px) !important; }
.btn .icon, .entry-content .alcair-btn .icon, .entry-content .alcair-btn svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.btn:hover .icon { transform: translateX(4px); }
.entry-content .alcair-btn:hover svg { transform: rotate(-12deg) scale(1.12); }

/* Keyboard focus */
.btn:focus-visible,
.entry-content .alcair-btn:focus-visible,
html body .wp-block-button__link:focus-visible,
html body .entry-content .wp-element-button:focus-visible {
	outline: 2px solid var(--c-ink); outline-offset: 3px;
}
.dhero--dark .alcair-btn:focus-visible, .book-card .alcair-btn:focus-visible, .lp .lp-final .alcair-btn:focus-visible { outline-color: #fff; }

/* Header CTA keeps its size change on scroll */
.site-header .header-cta { transition: padding .45s var(--ease), background-color .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s var(--ease) !important; }

@media (prefers-reduced-motion: reduce) {
	.btn, .entry-content .alcair-btn, html body .wp-block-button__link, html body .entry-content .wp-element-button { transform: none !important; }
	.btn::before, .entry-content .alcair-btn::before, html body .wp-block-button__link::before, html body .entry-content .wp-element-button::before { display: none; }
}

/* Top bar "Book Online": no border (the white fill still sweeps in on hover) */
.topbar .topbar__btn, .topbar .topbar__btn:hover { border-color: transparent !important; border-width: 0 !important; }
.topbar .topbar__btn { background: rgba(255, 255, 255, .12); }

/* Phones: stacked call-to-action buttons share one width */
@media (max-width: 600px) {
	.hero-ctas .btn,
	.cta .btn-row .btn,
	.dhero__ctas .alcair-btn,
	.lp .lp-hero__ctas .alcair-btn,
	.lp .lp-final__ctas .alcair-btn,
	.entry-content .alcair-cta-banner__ctas .alcair-btn,
	.entry-content .alcair-contact__cta-actions .alcair-btn,
	.entry-content .alcair-hero__ctas .alcair-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   No decorative numbers: FAQ rows, checklists and cards use icons/bullets
   ========================================================================== */
html body .home-extra .alcair-faq__item summary,
html body :is(.dbody--photo, .design-patient .dbody--aside, .design-pricing .dbody--aside) .alcair-faq__item summary,
html body .lp.entry-content .lp-faq__item summary { grid-template-columns: minmax(0, 1fr) auto; }
html body .home-extra .alcair-faq__answer,
html body :is(.dbody--photo, .design-patient .dbody--aside, .design-pricing .dbody--aside) .alcair-faq__answer { padding-left: 26px !important; }
html body .lp.entry-content .lp-faq__item > :not(summary) { padding-left: 26px; }
@media (max-width: 600px) {
	html body .home-extra .alcair-faq__answer,
	html body :is(.dbody--photo, .design-patient .dbody--aside, .design-pricing .dbody--aside) .alcair-faq__answer { padding-left: 18px !important; }
	html body .lp.entry-content .lp-faq__item > :not(summary) { padding-left: 18px; }
}

/* FAQ question cards (bold question + answer) */
.dbody--photo .alcair-seo-content > p:has(> strong:first-child) { padding-left: 26px !important; }
@media (max-width: 600px) { .dbody--photo .alcair-seo-content > p:has(> strong:first-child) { padding-left: 18px !important; } }

/* Landing checklist: check bullet instead of numbers */
html body .lp.entry-content .lp-check li { min-height: 0; padding: 22px 22px 22px 62px; display: flex; align-items: center; }
html body .lp.entry-content .lp-check li::before {
	content: ""; left: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
	background: var(--c-black); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
html body .lp.entry-content .lp-check li::after {
	left: 30px; right: auto; top: 50%; width: 8px; height: 5px; margin-top: -4px; border: 0; border-radius: 0;
	border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; background: none !important; transform: rotate(-45deg);
}
html body .lp.entry-content .lp-check li:hover::before { transform: scale(1.12); }

/* About stats row: icon on top instead of a number */
.stats-row__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: var(--c-black); color: #fff; }
.stats-row__icon .icon { width: 20px; height: 20px; }

/* Clear keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid currentColor; outline-offset: 3px;
}
