/* Site-wide styles (loaded on every page) */
:root {
	--shfb-teal: #00b2a3;
	--shfb-navy: #2a3a8f;
	--shfb-dark: #3d3d3d;
	--shfb-light: #f3f3f3;
}

/* Keeps an overlapping header below the WP admin bar for logged-in users. */
body.admin-bar {
	position: relative;
}
body.shfb-drawer-open {
	overflow: hidden;
}

/* ================= Header wrapper ================= */
/* Normal flow by default; Elementor › Page Settings › Header Settings can switch to overlap. */
.shfb-header {
	position: relative;
	z-index: 99;
	width: 100%;
	background-color: var(--shfb-header-bg, transparent);
}


/* ================= Sticky rows ================= */
/* Container › Advanced › Sticky. site.js adds .shfb-is-stuck while the row is pinned,
   .shfb-is-scrolled once the sticky styles apply, .shfb-is-hidden in "smart" mode. */
.shfb-sticky-top {
	transition:
		background-color var(--shfb-sticky-speed, 300ms) ease,
		box-shadow var(--shfb-sticky-speed, 300ms) ease,
		padding var(--shfb-sticky-speed, 300ms) ease,
		transform var(--shfb-sticky-speed, 300ms) cubic-bezier(.22, 1, .36, 1);
}
.shfb-sticky-top.shfb-is-stuck {
	position: fixed !important;
	top: var(--shfb-stick-top, 0px) !important;
	z-index: 99;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
/* Default look while sticky: white + soft shadow, so a transparent (overlapping) header never
   floats see-through over the page. Advanced › Sticky › "Style While Sticky" overrides this. */
.shfb-sticky-top.shfb-is-scrolled {
	background-color: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}
.shfb-sticky-top.shfb-is-stuck.shfb-is-hidden {
	transform: translateY(calc(-100% - var(--shfb-stick-top, 0px) - 10px));
}
/* The page's "Menu Text Color" (for dark heroes) is for the unstuck header only. */
.shfb-is-scrolled { --shfb-header-link: initial; }
@media (prefers-reduced-motion: reduce) {
	.shfb-sticky-top { transition: none; }
}

/* ================= Site Logo widget ================= */
.shfb-logo-wrap { display: flex; }
.shfb-logo { display: inline-block; line-height: 0; }
/* Sizes come in as variables from the widget (Elementor prefixes widget selectors
   with the page class, so a ".shfb-is-scrolled {{WRAPPER}}" selector can never match). */
.shfb-logo img {
	display: block;
	transition: height .3s ease, width .3s ease, opacity .2s ease;
}
.shfb-logo--by-height img { width: auto; height: var(--shfb-logo-h, 64px); }
.shfb-logo--by-width img { width: var(--shfb-logo-w, 200px); height: auto; }
.shfb-is-scrolled .shfb-logo--by-height img { height: var(--shfb-logo-h-sticky, var(--shfb-logo-h, 64px)); }
.shfb-is-scrolled .shfb-logo--by-width img { width: var(--shfb-logo-w-sticky, var(--shfb-logo-w, 200px)); }
.shfb-logo .shfb-logo__sticky { display: none; }
.shfb-is-scrolled .shfb-logo--has-sticky .shfb-logo__main { display: none; }
.shfb-is-scrolled .shfb-logo--has-sticky .shfb-logo__sticky { display: block; }

/* ================= Nav Menu widget ================= */
.shfb-nav {
	display: flex;
	align-items: center;
}
.shfb-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.shfb-nav--vertical .shfb-nav__list {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.shfb-nav__list li {
	position: relative;
	margin: 0;
}
.shfb-nav__list a {
	display: block;
	color: var(--shfb-nav-color, var(--shfb-dark));
	text-decoration: none;
	transition: color .2s, background-color .2s;
}
.shfb-nav__list > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding-top: var(--shfb-item-py, 0px);
	padding-bottom: var(--shfb-item-py, 0px);
}
/* Page Settings › Header Settings › Menu Text Color wins inside the header (not while sticky). */
.shfb-header .shfb-nav__list a {
	color: var(--shfb-header-link, var(--shfb-nav-color, var(--shfb-dark)));
}
/* Nav Menu › Style › Sticky (values arrive as --shfb-sticky-* variables). */
.shfb-is-scrolled .shfb-nav__list a {
	color: var(--shfb-sticky-color, var(--shfb-nav-color, var(--shfb-dark)));
}
.shfb-is-scrolled .shfb-nav__list > li > a {
	padding-top: var(--shfb-sticky-py, var(--shfb-item-py, 0px));
	padding-bottom: var(--shfb-sticky-py, var(--shfb-item-py, 0px));
}
.shfb-is-scrolled .shfb-nav .shfb-nav__list a:hover,
.shfb-is-scrolled .shfb-nav .shfb-nav__list li:focus-within > a {
	color: var(--shfb-sticky-hover, var(--shfb-nav-hover, var(--shfb-teal)));
}
.shfb-is-scrolled .shfb-nav .shfb-nav__list .current-menu-item > a,
.shfb-is-scrolled .shfb-nav .shfb-nav__list .current-menu-ancestor > a {
	color: var(--shfb-sticky-active, var(--shfb-nav-active, var(--shfb-nav-hover, var(--shfb-teal))));
}
.shfb-is-scrolled .shfb-nav .shfb-nav__toggle {
	color: var(--shfb-sticky-toggle, var(--shfb-toggle-color, var(--shfb-dark)));
}
.shfb-nav .shfb-nav__list a:hover,
.shfb-nav .shfb-nav__list li:focus-within > a {
	color: var(--shfb-nav-hover, var(--shfb-teal));
}
.shfb-nav .shfb-nav__list .current-menu-item > a,
.shfb-nav .shfb-nav__list .current-menu-ancestor > a {
	color: var(--shfb-nav-active, var(--shfb-nav-hover, var(--shfb-teal)));
}

/* Dropdown arrow */
.shfb-nav__arrow {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: -3px 2px 0;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease;
}
.shfb-nav--horizontal li:hover > a .shfb-nav__arrow,
.shfb-nav--horizontal li:focus-within > a .shfb-nav__arrow { transform: rotate(225deg); margin-top: 3px; }

/* Hover effects: underline / overline / double / dot */
.shfb-nav--pointer-underline .shfb-nav__list > li > a::after,
.shfb-nav--pointer-double .shfb-nav__list > li > a::after,
.shfb-nav--pointer-overline .shfb-nav__list > li > a::before,
.shfb-nav--pointer-double .shfb-nav__list > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: var(--shfb-pointer-size, 2px);
	background: var(--shfb-pointer-color, var(--shfb-nav-hover, var(--shfb-teal)));
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
	pointer-events: none;
}
.shfb-nav .shfb-nav__list > li > a::after { bottom: calc(0px - var(--shfb-pointer-offset, 0px)); }
.shfb-nav .shfb-nav__list > li > a::before { top: calc(0px - var(--shfb-pointer-offset, 0px)); }
.shfb-nav--anim-slide .shfb-nav__list > li > a::after,
.shfb-nav--anim-slide .shfb-nav__list > li > a::before { transform-origin: left; }
.shfb-nav--anim-fade .shfb-nav__list > li > a::after,
.shfb-nav--anim-fade .shfb-nav__list > li > a::before { transform: none; opacity: 0; }

.shfb-nav .shfb-nav__list > li > a:hover::after,
.shfb-nav .shfb-nav__list > li > a:hover::before,
.shfb-nav .shfb-nav__list > li:focus-within > a::after,
.shfb-nav .shfb-nav__list > li:focus-within > a::before,
.shfb-nav .shfb-nav__list > .current-menu-item > a::after,
.shfb-nav .shfb-nav__list > .current-menu-item > a::before,
.shfb-nav .shfb-nav__list > .current-menu-ancestor > a::after,
.shfb-nav .shfb-nav__list > .current-menu-ancestor > a::before {
	transform: none;
	opacity: 1;
}

.shfb-nav--pointer-dot .shfb-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	width: var(--shfb-pointer-size, 5px);
	height: var(--shfb-pointer-size, 5px);
	border-radius: 50%;
	background: var(--shfb-pointer-color, var(--shfb-nav-hover, var(--shfb-teal)));
	transform: translateX(-50%) scale(0);
	transition: transform .3s cubic-bezier(.22, 1, .36, 1);
	pointer-events: none;
}
.shfb-nav--pointer-dot .shfb-nav__list > li > a:hover::after,
.shfb-nav--pointer-dot .shfb-nav__list > li:focus-within > a::after,
.shfb-nav--pointer-dot .shfb-nav__list > .current-menu-item > a::after,
.shfb-nav--pointer-dot .shfb-nav__list > .current-menu-ancestor > a::after {
	transform: translateX(-50%) scale(1);
}

/* Dropdown (horizontal layout) */
.shfb-nav--horizontal .sub-menu {
	position: absolute;
	top: calc(100% + var(--shfb-dd-distance, 0px));
	left: 50%;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
/* Invisible bridge so the dropdown stays open while the mouse crosses the gap */
.shfb-nav--horizontal .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: calc(var(--shfb-dd-distance, 0px) + 12px);
}
.shfb-nav--horizontal li:hover > .sub-menu,
.shfb-nav--horizontal li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 6px);
}
.shfb-nav--horizontal .sub-menu a { padding: 8px 20px; font-size: .92em; white-space: nowrap; }
.shfb-nav--vertical .sub-menu { margin: 4px 0 0; padding: 0 0 0 14px; list-style: none; }

/* Hamburger + close (resets the theme's button styles) */
.shfb-nav .shfb-nav__toggle,
.shfb-drawer .shfb-drawer__close {
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--shfb-header-link, var(--shfb-toggle-color, var(--shfb-dark)));
	cursor: pointer;
	transition: color .2s, background-color .2s;
}
.shfb-nav .shfb-nav__toggle { display: none; }
.shfb-drawer .shfb-drawer__close { display: inline-flex; color: var(--shfb-drawer-color, var(--shfb-dark)); }
.shfb-nav .shfb-nav__toggle:hover,
.shfb-nav .shfb-nav__toggle:focus,
.shfb-drawer .shfb-drawer__close:hover,
.shfb-drawer .shfb-drawer__close:focus {
	background: rgba(0, 0, 0, .05);
	color: var(--shfb-nav-hover, var(--shfb-teal));
}
.shfb-nav__toggle svg,
.shfb-drawer__close svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
	.shfb-nav--bp-tablet .shfb-nav__list { display: none; }
	.shfb-nav--bp-tablet .shfb-nav__toggle { display: inline-flex; }
}
@media (max-width: 767px) {
	.shfb-nav--bp-mobile .shfb-nav__list { display: none; }
	.shfb-nav--bp-mobile .shfb-nav__toggle { display: inline-flex; }
}

/* ================= Mobile menu drawer ================= */
.shfb-drawer {
	--shfb-ease: cubic-bezier(.22, 1, .36, 1);
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	transition: visibility 0s .4s;
}
.shfb-drawer.is-open { visibility: visible; transition: visibility 0s; }
.admin-bar .shfb-drawer { top: 32px; }
@media (max-width: 782px) { .admin-bar .shfb-drawer { top: 46px; } }

.shfb-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	opacity: 0;
	transition: opacity .3s;
}
.shfb-drawer.is-open .shfb-drawer__backdrop { opacity: 1; }

.shfb-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 14px 20px 28px;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
}

/* Full screen: whole panel fades in */
.shfb-drawer--fullscreen .shfb-drawer__backdrop { display: none; }
.shfb-drawer--fullscreen .shfb-drawer__panel {
	left: 0;
	width: 100%;
	opacity: 0;
	transition: opacity .4s var(--shfb-ease);
}
.shfb-drawer--fullscreen.is-open .shfb-drawer__panel { opacity: 1; }

/* Side panel: slides in */
.shfb-drawer--panel .shfb-drawer__panel {
	width: min(340px, 86vw);
	transform: translateX(100%);
	transition: transform .4s var(--shfb-ease);
}
.shfb-drawer--panel.shfb-drawer--left .shfb-drawer__panel { right: auto; left: 0; transform: translateX(-100%); }
.shfb-drawer--panel.is-open .shfb-drawer__panel { transform: none; }

.shfb-drawer__top {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.shfb-drawer__logo { display: block; line-height: 0; }
.shfb-drawer__logo img { display: block; width: auto; height: 44px; }

/* Menu list + staggered entrance (items rise one after another) */
.shfb-drawer__menu { flex: 1 0 auto; }
.shfb-drawer__list,
.shfb-drawer__list .sub-menu { margin: 0; padding: 0; list-style: none; }
.shfb-drawer__list li { position: relative; margin: 0; }
.shfb-drawer__list > li {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
	transition: opacity .4s var(--shfb-ease), transform .5s var(--shfb-ease);
}
.shfb-drawer.is-open .shfb-drawer__list > li {
	opacity: 1;
	transform: none;
	transition-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.shfb-drawer__list a {
	display: block;
	padding: 15px 34px 15px 4px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	font-size: 20px;
	line-height: 1.3;
	color: var(--shfb-drawer-color, var(--shfb-dark));
	text-decoration: none;
	transition: color .2s;
}
.shfb-drawer__list a:hover,
.shfb-drawer__list .current-menu-item > a,
.shfb-drawer__list .current-menu-ancestor > a { color: var(--shfb-nav-hover, var(--shfb-teal)); }

/* Parent items get a chevron; tapping slides their sub-menu in */
.shfb-drawer__list .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	opacity: .5;
	transform: translateY(-50%) rotate(45deg);
}
.shfb-drawer__list .sub-menu { display: none; }
.shfb-drawer__list.has-sub-open > li:not(.is-sub-open) { display: none; }
.shfb-drawer__list li.is-sub-open > a { display: none; }
.shfb-drawer__list li.is-sub-open > .sub-menu {
	display: block;
	animation: shfb-slide-in .4s var(--shfb-ease);
}
.shfb-drawer__list.is-back > li { animation: shfb-slide-back .4s var(--shfb-ease); }
.shfb-drawer__list .shfb-back a {
	padding-left: 22px;
	border-bottom: 0;
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .7;
}
.shfb-drawer__list .shfb-back a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 6px;
	width: 7px;
	height: 7px;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}
@keyframes shfb-slide-in { from { opacity: 0; transform: translateX(40%); } to { opacity: 1; transform: none; } }
@keyframes shfb-slide-back { from { opacity: 0; transform: translateX(-40%); } to { opacity: 1; transform: none; } }

/* Bottom button */
.shfb-drawer__extra {
	flex-shrink: 0;
	padding-top: 28px;
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: opacity .4s var(--shfb-ease), transform .5s var(--shfb-ease);
}
.shfb-drawer.is-open .shfb-drawer__extra { opacity: 1; transform: none; transition-delay: .5s; }
.shfb-drawer__btn {
	display: block;
	padding: 14px 20px;
	border-radius: 50px;
	background: linear-gradient(90deg, var(--shfb-teal), var(--shfb-navy));
	color: #fff;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.shfb-drawer *,
	.shfb-drawer__panel { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}

.shfb-drawer__text {
	margin-bottom: 16px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--shfb-drawer-color, var(--shfb-dark));
}
.shfb-drawer__text a { color: inherit; }

/* ================= Utility: icon hover lift ================= */
/* Add "shfb-icon-lift" in Advanced › CSS Classes of an Icon Box / Icon widget:
   hovering the item fills a framed icon with its ring color, adds a soft shadow and lifts it. */
.shfb-icon-lift .elementor-icon {
	transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s;
}
.shfb-icon-lift:hover .elementor-icon {
	box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
	transform: translateY(-3px);
}
/* Framed icons fill with their ring color while the whole item is hovered. */
.shfb-icon-lift.elementor-view-framed:hover .elementor-icon {
	background-color: currentColor !important;
}

/* ================= Fluent Forms styling ================= */
/* Used by the "Fluent Form" widget (.shfb-ff) and by the CSS classes "shfb-form-light" /
   "shfb-form-glass" (Advanced › CSS Classes on any widget showing a Fluent form).
   Every look is a CSS variable, so the widget's style controls can change it. */
.shfb-ff,
.shfb-form-light,
.shfb-form-glass {
	/* light preset (default) */
	--ff-max-w: none;
	--ff-gap-x: 40px;
	--ff-gap-y: 37px;
	--ff-h: 54px;
	--ff-pad-x: 28px;
	--ff-radius: 40px;
	--ff-ta-h: 149px;
	--ff-ta-radius: 30px;
	--ff-font: 21px;
	--ff-bg: #fff;
	--ff-color: #363636;
	--ff-ph: #bfbfbf;
	--ff-border: transparent;
	--ff-focus: rgba(0, 178, 163, .7);
	--ff-label-display: none;
	--ff-label-color: #363636;
	--ff-label-size: 15px;
	--ff-btn-bg: linear-gradient(90deg, var(--shfb-teal), var(--shfb-navy));
	--ff-btn-color: #fff;
	--ff-btn-font: 21px;
	--ff-btn-weight: 400;
	--ff-btn-pad-y: 5px;
	--ff-btn-pad-x: 18px;
	--ff-btn-radius: 30px;
	--ff-btn-align: left;
	--ff-btn-width: auto;
	--ff-err: #d64545;
	--ff-msg-bg: #fff;
	--ff-msg-color: #363636;
}
.shfb-ff--glass,
.shfb-form-glass {
	--ff-max-w: 570px;
	--ff-gap-x: 16px;
	--ff-gap-y: 16px;
	--ff-h: 40px;
	--ff-pad-x: 22px;
	--ff-radius: 30px;
	--ff-ta-h: 90px;
	--ff-ta-radius: 18px;
	--ff-font: 14px;
	--ff-bg: rgba(255, 255, 255, .35);
	--ff-color: #fff;
	--ff-ph: rgba(255, 255, 255, .9);
	--ff-focus: rgba(0, 178, 163, .8);
	--ff-label-color: #fff;
	--ff-btn-font: 14px;
	--ff-btn-weight: 600;
	--ff-btn-pad-y: 8px;
	--ff-btn-pad-x: 24px;
	--ff-err: #ffb4b4;
	--ff-msg-bg: rgba(255, 255, 255, .9);
}
/* full width up to --ff-max-w, even when the parent container centres its widgets */
.e-con > .elementor-widget.shfb-form-light,
.e-con > .elementor-widget.shfb-form-glass,
.elementor-widget.shfb-form-light,
.elementor-widget.shfb-form-glass { width: 100% !important; max-width: var(--ff-max-w) !important; }
.shfb-ff { width: 100%; max-width: var(--ff-max-w); }

:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform { font-family: var(--e-global-typography-text-font-family, inherit); }
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-el-group { margin-bottom: var(--ff-gap-y) !important; }
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .frm-fluent-form .ff-t-container { gap: var(--ff-gap-x) !important; }
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .ff-name-field-wrapper,
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .ff-column-container { margin-bottom: 0 !important; }

/* labels: hidden by default (kept for screen readers); the widget can show them */
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-el-input--label {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.shfb-ff--labels .fluentform .ff-el-input--label {
	position: static !important;
	width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
	display: block !important;
	margin-bottom: 6px;
	padding-left: calc(var(--ff-pad-x) * .5);
}
.shfb-ff--labels .fluentform .ff-el-input--label label {
	color: var(--ff-label-color) !important;
	font-size: var(--ff-label-size) !important;
	font-weight: 600;
}

:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-el-form-control {
	width: 100%;
	height: var(--ff-h);
	padding: 0 var(--ff-pad-x) !important;
	border: 1px solid var(--ff-border) !important;
	border-radius: var(--ff-radius) !important;
	background: var(--ff-bg) !important;
	box-shadow: none !important;
	color: var(--ff-color) !important;
	font-family: inherit !important;
	font-size: var(--ff-font) !important;
	line-height: 1.3 !important;
	transition: box-shadow .2s, background-color .2s;
}
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform textarea.ff-el-form-control {
	height: auto;
	min-height: var(--ff-ta-h);
	padding: calc(var(--ff-h) * .3) var(--ff-pad-x) !important;
	border-radius: var(--ff-ta-radius) !important;
	resize: vertical;
}
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-el-form-control::placeholder { color: var(--ff-ph); opacity: 1; }
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-el-form-control:focus { outline: none; box-shadow: 0 0 0 2px var(--ff-focus) !important; }

:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff_submit_btn_wrapper { margin: 0 !important; text-align: var(--ff-btn-align); }
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-btn-submit {
	width: var(--ff-btn-width);
	padding: var(--ff-btn-pad-y) var(--ff-btn-pad-x) !important;
	border: 0 !important;
	border-radius: var(--ff-btn-radius) !important;
	background: var(--ff-btn-bg) !important;
	color: var(--ff-btn-color) !important;
	font-family: inherit !important;
	font-size: var(--ff-btn-font) !important;
	font-weight: var(--ff-btn-weight) !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
	transition: transform .2s, box-shadow .2s, filter .2s;
}
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .ff-btn-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .25) !important;
	filter: var(--ff-btn-hover-filter, none);
	opacity: 1;
}
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .error,
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .fluentform .text-danger {
	margin-top: 6px;
	padding-left: var(--ff-pad-x);
	color: var(--ff-err) !important;
	font-size: 13px;
}
:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .ff-message-success {
	border: 0 !important;
	border-radius: 20px;
	background: var(--ff-msg-bg) !important;
	color: var(--ff-msg-color) !important;
	box-shadow: none !important;
}

@media (max-width: 767px) {
	.shfb-ff,
	.shfb-form-light { --ff-h: 48px; --ff-font: 16px; --ff-btn-font: 16px; --ff-gap-y: 16px; --ff-pad-x: 22px; --ff-ta-h: 120px; }
	.shfb-ff--glass,
	.shfb-form-glass { --ff-h: 40px; --ff-font: 14px; --ff-btn-font: 14px; --ff-ta-h: 90px; }
	:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .frm-fluent-form .ff-t-container { display: block !important; }
	:is(.shfb-ff, .shfb-form-light, .shfb-form-glass) .frm-fluent-form .ff-t-cell { margin-left: 0 !important; }
}

/* ================= Utility: teal fade on video thumbnails ================= */
/* Add "shfb-video-fade" in Advanced › CSS Classes of a Video widget (with Image Overlay on):
   the thumbnail gets the design's teal fade, strongest at the bottom. Stops measured from the design. */
.shfb-video-fade .elementor-custom-embed-image-overlay { position: relative; }
.shfb-video-fade .elementor-custom-embed-image-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg,
		rgba(0, 178, 163, 0) 0%,
		rgba(0, 178, 163, .12) 40%,
		rgba(0, 178, 163, .2) 57%,
		rgba(0, 178, 163, .45) 71%,
		rgba(0, 178, 163, .62) 79%,
		rgba(0, 178, 163, .76) 86%,
		rgba(0, 178, 163, .95) 100%);
}
.shfb-video-fade .elementor-custom-embed-play { z-index: 2; }

/* ================= Disclaimer popup ================= */
/* Sizes from the design (689.6pt -> 1440px): card 973px, radius 38, padding 44/75/56,
   title Butler 54px, text 19px / 1.333, pill buttons 35px high, 10px apart. */
.shfb-disc {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	overflow-y: auto;
	background: rgba(255, 255, 255, .35);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	animation: shfb-disc-in .4s ease both;
}
html.shfb-disc-ok .shfb-disc,
.shfb-disc.is-closed { display: none; }
html:not(.shfb-disc-ok) body.shfb-disc-lock { overflow: hidden; }
.shfb-disc__card {
	width: 100%;
	max-width: 973px;
	margin: auto;
	padding: 44px 75px 56px;
	box-sizing: border-box;
	position: relative;
	border-radius: 38px;
	background: rgba(255, 255, 255, .72);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	animation: shfb-disc-card .5s cubic-bezier(.22, 1, .36, 1) both;
}
/* 1.5px teal -> navy outline (masked ring, so the card itself stays plain white) */
.shfb-disc__card::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1.5px;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--shfb-teal), var(--shfb-navy));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.shfb-disc__title {
	margin: 0 0 12px;
	font-family: var(--e-global-typography-primary-font-family, Georgia, serif);
	font-size: 54px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
}
.shfb-disc__text {
	font-family: var(--e-global-typography-text-font-family, inherit);
	font-size: 19px;
	line-height: 1.333;
	color: #000;
}
.shfb-disc__text p { margin: 0 0 10px; }
.shfb-disc__text p:last-child { margin-bottom: 0; }
.shfb-disc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.shfb-disc .shfb-disc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 35px;
	box-sizing: border-box;
	padding: 0 22px;
	border: 0;
	border-radius: 30px;
	background: linear-gradient(90deg, var(--shfb-teal), var(--shfb-navy));
	color: #fff;
	font-family: var(--e-global-typography-text-font-family, inherit);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.shfb-disc .shfb-disc__btn:hover,
.shfb-disc .shfb-disc__btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(42, 58, 143, .35);
	color: #fff;
	outline: none;
}
@keyframes shfb-disc-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shfb-disc-card { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
	.shfb-disc__card { padding: 28px 22px 30px; border-radius: 24px; }
	.shfb-disc__title { font-size: 34px; }
	.shfb-disc__text { font-size: 15px; line-height: 1.45; }
	.shfb-disc__actions { flex-direction: column; }
	.shfb-disc .shfb-disc__btn { width: 100%; min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.shfb-disc, .shfb-disc__card { animation: none; }
}

/* ================= Utility: glass card ================= */
/* Add "shfb-glass-card" in Advanced › CSS Classes of a Container: translucent white card with
   a background blur and a 1.5px teal -> navy outline (the Disclaimer page card). */
.shfb-glass-card {
	position: relative;
	background-color: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25);
}
.shfb-glass-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 1.5px;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--shfb-teal), var(--shfb-navy));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* ================= Utility: legal text (Privacy / Terms) ================= */
/* "shfb-legal" on a Text Editor: numbered headings + paragraphs with the design's spacing.
   "shfb-legal-card" on a Container: white card with the soft teal tints of the design. */
.shfb-legal { color: #000; font-size: 17px; line-height: 1.375; }
.shfb-legal h2,
.shfb-legal h3 {
	margin: 40px 0 8px;
	color: #3f3f3f;
	font-family: var(--e-global-typography-text-font-family, inherit);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}
.shfb-legal > :first-child,
.shfb-legal .elementor-widget-container > :first-child { margin-top: 0; }
.shfb-legal h2 + p,
.shfb-legal h3.shfb-legal__lead + p { margin-top: 24px; }
.shfb-legal p { margin: 0 0 8px; }
.shfb-legal ul,
.shfb-legal ol { margin: 0 0 8px; padding-left: 1.2em; }
.shfb-legal a { color: var(--shfb-teal); }
.shfb-legal-card {
	background:
		radial-gradient(circle at 100% 12%, rgba(0, 178, 163, .10), rgba(0, 178, 163, 0) 42%),
		radial-gradient(circle at 0% 88%, rgba(0, 178, 163, .14), rgba(0, 178, 163, 0) 42%),
		#fff !important;
}
@media (max-width: 767px) {
	.shfb-legal { font-size: 15px; line-height: 1.45; }
	.shfb-legal h2, .shfb-legal h3 { margin-top: 30px; font-size: 20px; }
}
/* numbered items with a hanging number (Terms of Use): <p class="shfb-li"><b class="shfb-n">1.1</b> text</p> */
.shfb-legal .shfb-li { position: relative; margin: 0 0 18px; padding-left: 34px; }
.shfb-legal .shfb-n { position: absolute; left: 0; top: .3em; color: #3f3f3f; font-size: 14px; font-weight: 700; line-height: 1; }
/* tighter variant (Terms): lh 1.25, headings closer to their items */
.shfb-legal--compact { line-height: 1.25; }
.shfb-legal--compact h2,
.shfb-legal--compact h3 { margin: 30px 0 22px; }
.shfb-legal--compact h3.shfb-legal__lead + p { margin-top: 22px; }
