/* Ethan Buys Homes - Offer Forms
   Mobile-first. Sizes scale with the phone's height (--sv) so the hero fills the screen without scrolling,
   and with the screen width on desktop. */

.sfhb, .sfhb *, .sfhb *::before, .sfhb *::after { box-sizing: border-box; }

/* Prevent any sideways overflow (the "gap on the right" on phones). `clip` keeps sticky headers working. */
html:has(.sfhb), html:has(.sfhb) body { overflow-x: clip; }

.sfhb {
	--d: var(--sfhb-dark, #04223f);
	--b: var(--sfhb-brand, #0b4f94);
	--a: var(--sfhb-accent, #3b9cf2);
	--c: var(--sfhb-cta, #0a6cd0);
	--mint: #c4def5;
	--mint2: #e8f2fc;
	--ink: #0f1b2d;
	--mut: #5a6572;
	--line: #d5dfea;
	--err: #d93025;

	/* phone scale: 1 unit = 1% of the visible screen height */
	--sv: 1vh;
	--fh: clamp(50px, calc(var(--sv) * 6.6), 66px);        /* input height  */
	--bh: clamp(52px, calc(var(--sv) * 7.2), 70px);        /* button height */
	--pad: clamp(14px, calc(var(--sv) * 2.2), 26px);       /* card padding  */
	--gap: clamp(10px, calc(var(--sv) * 1.8), 24px);       /* block gap     */
	--t-h1: clamp(26px, min(8.4vw, calc(var(--sv) * 4.8)), 42px);
	--t-title: clamp(22px, min(calc(var(--sv) * 3.4), 6.1vw), 32px);
	--t-body: clamp(13px, min(calc(var(--sv) * 2), 4vw), 17px);
	--t-small: clamp(12px, min(calc(var(--sv) * 1.8), 3.5vw), 15px);
	--t-check: clamp(12.5px, min(calc(var(--sv) * 1.9), 3.4vw), 17px);
	--t-input: clamp(16px, min(calc(var(--sv) * 2.1), 4.4vw), 19px);
	--t-btn: clamp(17px, min(calc(var(--sv) * 2.5), 5vw), 21px);
	--t-star: clamp(17px, min(calc(var(--sv) * 2.6), 4.8vw), 24px);

	position: relative;
	isolation: isolate;
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: calc(100vh - var(--sfhb-top, 0px));
	min-height: calc(100svh - var(--sfhb-top, 0px));
	overflow: hidden;
	overflow: clip;
	contain: paint;
	color: #fff;
	font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.35;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	background: var(--d);
}
@supports (height: 1svh) { .sfhb { --sv: 1svh; } }

.sfhb p, .sfhb h1, .sfhb h2, .sfhb ul, .sfhb ol { margin: 0; padding: 0; }
.sfhb ul, .sfhb ol { list-style: none; }
.sfhb svg { display: block; width: 1em; height: 1em; flex: none; }
.sfhb a { text-decoration: none; }

/* ---------------------------------------------------------------- background */
.sfhb-bg {
	position: absolute; inset: 0; z-index: -1; overflow: hidden;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(255,255,255,.06), transparent 60%),
		linear-gradient(160deg, var(--d) 0%, color-mix(in srgb, var(--b) 62%, var(--d)) 55%, var(--b) 100%);
	background-size: cover; background-position: center;
}
.sfhb-bg--photo::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(2,18,38,.88), rgba(4,34,63,.74));
}
.sfhb-bg--photo { background-blend-mode: normal; }
.sfhb-blob {
	position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
	animation: sfhb-float 14s ease-in-out infinite;
}
.sfhb-blob--1 { width: 300px; height: 300px; right: -140px; top: -120px; background: var(--a); opacity: .13; }
.sfhb-blob--2 { width: 360px; height: 360px; left: -150px; bottom: -150px; background: #3b9cf2; opacity: .22; animation-delay: -6s; }
@keyframes sfhb-float { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-24px,22px,0) scale(1.08); } }

/* -------------------------------------------------------------------- layout */
.sfhb-wrap {
	width: 100%; max-width: 1180px; margin: 0 auto;
	padding: var(--gap) 14px var(--gap);
	display: grid; gap: var(--gap);
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "copy" "card" "checks";
	align-content: space-evenly;   /* spreads leftover height so the screen is filled, not half empty */
}
.sfhb-copy { grid-area: copy; }
.sfhb-card { grid-area: card; }
.sfhb-checks { grid-area: checks; }

/* ---------------------------------------------------------------- copy block */
.sfhb-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 12px; margin-bottom: 8px;
	border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
	font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #eaf3fc;
}
.sfhb-pill i { width: 8px; height: 8px; border-radius: 50%; background: #4cc3ff; box-shadow: 0 0 0 0 rgba(76,195,255,.7); animation: sfhb-ping 2s infinite; }
@keyframes sfhb-ping { 70% { box-shadow: 0 0 0 9px rgba(76,195,255,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,255,0); } }

.sfhb .sfhb-h1 {
	margin: 0; color: #fff; font-family: "Arial Black", Figtree, Arial, sans-serif;
	font-weight: 900; font-size: var(--t-h1); line-height: 1.08; letter-spacing: -.01em; text-transform: none;
}
.sfhb .sfhb-hl { font-style: normal; color: var(--a); position: relative; white-space: nowrap; }
.sfhb .sfhb-hl::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; border-radius: 6px;
	background: var(--a); opacity: .35; transform-origin: left; animation: sfhb-underline 1.1s .5s both cubic-bezier(.2,.8,.2,1);
}
@keyframes sfhb-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sfhb .sfhb-sub { margin-top: calc(var(--gap) * .5); font-size: var(--t-body); color: rgba(255,255,255,.9); }
.sfhb .sfhb-tag { display: none; margin-top: 8px; font-size: 18px; font-weight: 800; color: #fff; }
.sfhb .sfhb-big { display: none; }
.sfhb-copy--quote { display: none; }

.sfhb-checks { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * .6) 10px; }
.sfhb-checks li { display: flex; align-items: center; gap: 8px; font-size: var(--t-check); font-weight: 600; color: rgba(255,255,255,.94); }
.sfhb-checks li svg { width: calc(var(--t-check) * 1.35); height: calc(var(--t-check) * 1.35); color: #5ab4ff; }
.sfhb-checks li span { text-wrap: balance; }

/* ---------------------------------------------------------------------- card */
.sfhb-card {
	position: relative; color: var(--ink);
	padding: var(--pad) 14px calc(var(--pad) * .9);
	background: #fff; border-radius: 18px;
	box-shadow: 0 24px 60px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.5) inset;
}
.sfhb-card::before {
	content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 4px; border-radius: 0 0 6px 6px;
	background: linear-gradient(90deg, var(--a), #9fd0ff, var(--a)); background-size: 200% 100%; animation: sfhb-slide 4s linear infinite;
}
@keyframes sfhb-slide { to { background-position: -200% 0; } }

.sfhb .sfhb-card-title {
	margin: 0; text-align: center; color: var(--b); font-family: "Arial Black", Figtree, Arial, sans-serif;
	font-weight: 900; font-size: var(--t-title); line-height: 1.15; letter-spacing: -.005em; text-transform: none;
}
.sfhb .sfhb-card-sub { margin-top: 3px; text-align: center; font-size: var(--t-body); color: var(--mut); }
.sfhb .sfhb-card-sub--long { display: none; }

/* ------------------------------------------------------------- star rating */
.sfhb-rating { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 calc(var(--gap) * .4); font-size: var(--t-small); color: var(--mut); flex-wrap: wrap; }
.sfhb-rating b { font-size: calc(var(--t-small) * 1.1); font-weight: 800; color: var(--ink); }
.sfhb-stars { display: inline-flex; gap: 2px; }
.sfhb-star {
	display: block; width: var(--t-star); height: var(--t-star);
	background: linear-gradient(90deg, #f59e0b var(--f, 100%), #d6dbd8 var(--f, 100%));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3 6.4 7 .9-5.2 4.8 1.4 6.9L12 17.4 5.8 20.8l1.4-6.9L2 9.1l7-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3 6.4 7 .9-5.2 4.8 1.4 6.9L12 17.4 5.8 20.8l1.4-6.9L2 9.1l7-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: scale(0); animation: sfhb-pop-star .45s calc(.5s + var(--i, 0) * .09s) cubic-bezier(.3,1.6,.5,1) forwards;
}
@keyframes sfhb-pop-star { to { transform: scale(1); } }
.sfhb-rating-text { color: var(--mut); }

/* ---------------------------------------------------------------- inputs */
.sfhb-form { margin-top: calc(var(--gap) * .8); }
.sfhb-ac, .sfhb-field { position: relative; }

.sfhb .sfhb-input, .sfhb input.sfhb-input[type] {
	display: block !important; width: 100% !important; height: var(--fh) !important; margin: 0 !important;
	padding: 0 14px !important; border: 1.5px solid var(--line) !important; border-radius: 12px !important;
	background: #f5f8fc !important; color: var(--ink) !important; box-shadow: none !important;
	font: 500 var(--t-input)/1.2 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.sfhb .sfhb-input::placeholder { color: #7a8594; opacity: 1; }
.sfhb .sfhb-input:focus {
	outline: none !important; background: #fff !important;
	border-color: var(--b) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--b) 18%, transparent) !important;
}
.sfhb-ac-icon { position: absolute; left: 14px; top: 0; height: var(--fh); display: flex; align-items: center; color: var(--b); z-index: 2; pointer-events: none; font-size: calc(var(--t-input) * 1.15); }
.sfhb input.sfhb-input--addr[type], .sfhb .sfhb-field--addr input.sfhb-input[type] { padding-left: calc(var(--t-input) * 1.15 + 24px) !important; }

/* floating labels */
.sfhb-field { margin-bottom: calc(var(--gap) * .6); }
.sfhb-field label {
	position: absolute; left: 14px; top: calc(var(--fh) / 2 - .6em); z-index: 1; padding: 0 4px;
	font-size: var(--t-input); font-weight: 500; color: #7a8594; pointer-events: none; line-height: 1.2;
	transform-origin: left top; transition: transform .18s ease, color .18s ease, top .18s ease, background .18s;
}
.sfhb-field--addr label { left: calc(var(--t-input) * 1.15 + 20px); }
.sfhb-field .sfhb-input:focus + label,
.sfhb-field .sfhb-input:not(:placeholder-shown) + label {
	top: -8px; transform: scale(.8); background: #fff; color: var(--b); font-weight: 700;
}
.sfhb .sfhb-field.is-invalid input.sfhb-input[type] { border-color: var(--err) !important; background: #fff6f5 !important; }
.sfhb .sfhb-field.is-invalid input.sfhb-input[type]:focus { box-shadow: 0 0 0 4px rgba(217,48,37,.15) !important; }
.sfhb-fmsg { display: none; margin: 3px 4px 0; font-size: 12px; font-weight: 600; color: var(--err); }
.sfhb-field.is-invalid .sfhb-fmsg { display: block; }
.sfhb .sfhb-field.is-valid input.sfhb-input[type] { border-color: #3aa56a !important; }

.sfhb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.sfhb-err { margin: 4px 0 8px; padding: 9px 12px; border-radius: 10px; background: #fdecea; color: #b3261e; font-size: 13px; font-weight: 600; text-align: center; }
.sfhb-err[hidden] { display: none; }
.sfhb-shake { animation: sfhb-shake .45s; }
@keyframes sfhb-shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

/* ------------------------------------------------------------- autocomplete */
.sfhb-sugg {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 260px; overflow: auto;
	background: #fff; border-radius: 12px; border: 1px solid var(--line);
	box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); animation: sfhb-pop .16s ease-out;
}
.sfhb-field--addr .sfhb-sugg { top: calc(var(--fh) + 4px); }
.sfhb-sugg[hidden] { display: none; }
@keyframes sfhb-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sfhb-sugg li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--ink); cursor: pointer; border-bottom: 1px solid #edf2f8; }
.sfhb-sugg li svg { width: 18px; height: 18px; color: var(--b); }
.sfhb-sugg li span { display: flex; flex-direction: column; min-width: 0; }
.sfhb-sugg li b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfhb-sugg li small { font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfhb-sugg li:hover, .sfhb-sugg li[aria-selected="true"] { background: var(--mint2); }
.sfhb-sugg li.sfhb-powered { justify-content: flex-end; padding: 6px 12px; font-size: 11px; color: #70777c; cursor: default; border: 0; background: #fff; }
.sfhb-sugg li.sfhb-powered:hover { background: #fff; }

/* -------------------------------------------------------------------- button */
.sfhb .sfhb-btn, .sfhb button.sfhb-btn {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; height: var(--bh); margin: calc(var(--gap) * .5) 0 0; padding: 0 18px; border: 0 !important; border-radius: 12px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff) 0%, var(--c) 100%) !important;
	color: #fff !important; cursor: pointer; text-transform: none; letter-spacing: 0;
	font: 800 var(--t-btn)/1 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--c) 75%, #000), inset 0 1px 0 rgba(255,255,255,.35);
	transition: transform .15s ease, box-shadow .2s ease, filter .2s;
}
.sfhb .sfhb-btn:hover, .sfhb .sfhb-btn:focus-visible { transform: translateY(-1px); filter: brightness(1.05); color: #fff !important; box-shadow: 0 14px 26px -8px color-mix(in srgb, var(--c) 80%, #000); }
.sfhb .sfhb-btn:active { transform: scale(.985); }
.sfhb .sfhb-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--c) 40%, #fff); outline-offset: 2px; }
.sfhb .sfhb-btn svg { width: 1.2em; height: 1.2em; transition: transform .2s; }
.sfhb .sfhb-btn:hover svg { transform: translateX(4px); }
.sfhb .sfhb-btn::after {
	content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
	animation: sfhb-shine 4.2s ease-in-out 1.2s infinite;
}
@keyframes sfhb-shine { 0% { left: -60%; } 28%,100% { left: 140%; } }
.sfhb-spin { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: sfhb-rot .7s linear infinite; }
@keyframes sfhb-rot { to { transform: rotate(360deg); } }
.sfhb .sfhb-btn.is-loading { pointer-events: none; filter: saturate(.85); }
.sfhb .sfhb-btn.is-loading svg { display: none; }
.sfhb .sfhb-btn.is-loading .sfhb-spin { display: block; }
.sfhb .sfhb-btn.is-loading::after { display: none; }

.sfhb .sfhb-micro { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: calc(var(--gap) * .6); font-size: calc(var(--t-small) * .94); color: var(--mut); text-align: center; }
.sfhb .sfhb-micro svg { width: 1.1em; height: 1.1em; color: var(--b); }
.sfhb .sfhb-conf { margin-top: calc(var(--gap) * .3); font-size: var(--t-small); line-height: 1.35; color: var(--mut); text-align: center; }
.sfhb .sfhb-conf b { color: var(--b); font-weight: 800; }

/* ------------------------------------------------------ call + text buttons */
.sfhb-divider { display: flex; align-items: center; gap: 10px; margin: var(--gap) 0 calc(var(--gap) * .6); font-size: var(--t-small); color: var(--mut); }
.sfhb-divider::before, .sfhb-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sfhb-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--gap); }
.sfhb-divider + .sfhb-contact { margin-top: 0; }
.sfhb .sfhb-cbtn {
	display: flex; align-items: center; gap: 9px; min-width: 0; padding: clamp(8px, calc(var(--sv) * 1.4), 15px) 10px; border-radius: 12px;
	background: var(--mint2); border: 1.5px solid #bdd6ef; color: var(--b); transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.sfhb .sfhb-cbtn:hover { background: var(--mint); border-color: var(--mint); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); color: var(--b); }
.sfhb .sfhb-cbtn svg { width: calc(var(--t-small) * 1.6); height: calc(var(--t-small) * 1.6); }
.sfhb .sfhb-cbtn span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.sfhb .sfhb-cbtn small { font-size: calc(var(--t-small) * .92); font-weight: 600; color: var(--mut); }
.sfhb .sfhb-cbtn b { font-size: min(calc(var(--t-small) * 1.1), 3.45vw); font-weight: 800; color: var(--ink); white-space: nowrap; }
.sfhb .sfhb-cbtn--text { background: #eef0ff; border-color: #dcdffb; color: #4338ca; }
.sfhb .sfhb-cbtn--text:hover { background: #e0e4ff; border-color: #e0e4ff; color: #4338ca; }

/* ------------------------------------------------------------ quote specifics */
.sfhb .sfhb-steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 calc(var(--gap) * 1.1); }
.sfhb-quote .sfhb-card-sub { margin-top: calc(var(--gap) * .45); }
.sfhb-quote .sfhb-form { margin-top: calc(var(--gap) * 1.1); }
.sfhb-steps li { display: flex; align-items: center; gap: 6px; font-size: calc(var(--t-small) * .95); font-weight: 700; color: #9aa5b3; }
.sfhb-steps li + li::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--line); margin-right: 2px; }
.sfhb-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e6ecf3; color: #7a8594; font-size: 11px; font-style: normal; font-weight: 800; }
.sfhb-steps i svg { width: 22px; height: 22px; }
.sfhb-steps li.is-done { color: var(--b); }
.sfhb-steps li.is-done i { background: transparent; color: #3aa56a; }
.sfhb-steps li.is-active { color: var(--ink); }
.sfhb-steps li.is-active i { background: var(--a); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 22%, transparent); }
.sfhb-steps li.is-done + li::before, .sfhb-steps li.is-active + li::before { background: var(--b); }
.sfhb-steps li span { white-space: nowrap; }

.sfhb .sfhb-consent { margin-top: calc(var(--gap) * .6); font-size: calc(var(--t-small) * .88); line-height: 1.35; color: var(--mut); text-align: center; }
.sfhb .sfhb-consent a { color: var(--b); text-decoration: underline; }

.sfhb-panel[hidden] { display: none; }
.sfhb-panel.is-in { animation: sfhb-panel .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sfhb-panel { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* thank-you */
.sfhb-thanks { text-align: center; outline: none; }
.sfhb-tick { width: clamp(76px, calc(var(--sv) * 11), 110px) !important; height: clamp(76px, calc(var(--sv) * 11), 110px) !important; margin: 4px auto 6px; }
.sfhb-tick-c { stroke: #3aa56a; stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: sfhb-draw .6s .1s forwards ease-out; }
.sfhb-tick-p { stroke: #3aa56a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: sfhb-draw .4s .6s forwards ease-out; }
@keyframes sfhb-draw { to { stroke-dashoffset: 0; } }
.sfhb-thanks-msg { margin-top: 6px; font-size: calc(var(--t-body) * 1.08); color: var(--mut); }
.sfhb-cards { display: grid; gap: 8px; margin-top: var(--gap); text-align: left; }
.sfhb .sfhb-ccard { display: flex; align-items: center; gap: 12px; padding: clamp(10px, calc(var(--sv) * 1.4), 16px) 14px; border-radius: 12px; background: var(--mint); color: var(--ink); transition: transform .15s, box-shadow .2s; }
.sfhb .sfhb-ccard:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); color: var(--ink); }
.sfhb .sfhb-ccard i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e4e1ff; color: var(--b); font-size: 17px; flex: none; }
.sfhb .sfhb-ccard i svg { width: 17px; height: 17px; }
.sfhb .sfhb-ccard span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sfhb .sfhb-ccard b { font-size: calc(var(--t-body) * 1.1); font-weight: 700; }
.sfhb .sfhb-ccard small { font-size: var(--t-small); color: #2a4a6b; overflow: hidden; text-overflow: ellipsis; }

/* ----------------------------------------------------------- entrance anims */
.sfhb [data-anim] { opacity: 0; transform: translateY(16px); animation: sfhb-in .7s var(--d, 0s) cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes sfhb-in { to { opacity: 1; transform: none; } }

/* phones: the rating already carries the social proof, so hide the badge above the headline */
@media (max-width: 767px) {
	.sfhb--rated .sfhb-pill { display: none; }

	/* quote page is only one card, so give its fields / button / spacing more room to fill the screen */
	.sfhb-quote {
		--fh: clamp(52px, calc(var(--sv) * 7.6), 72px);
		--bh: clamp(54px, calc(var(--sv) * 8), 76px);
		--pad: clamp(16px, calc(var(--sv) * 3), 32px);
		--gap: clamp(11px, calc(var(--sv) * 2.5), 30px);
		--t-title: clamp(24px, min(calc(var(--sv) * 3.8), 7vw), 34px);
		--t-input: clamp(16px, min(calc(var(--sv) * 2.3), 4.6vw), 20px);
	}
	.sfhb-wrap--quote { grid-template-areas: "card"; }
}

/* small phones: tighten the quote card a little so it still fits one screen with the extra spacing */
@media (max-width: 767px) and (max-height: 700px) {
	.sfhb-quote { --fh: 50px; --bh: 52px; --pad: 14px; --gap: 12px; }
}

/* short phones: drop the extras so the form always fits without scrolling */
@media (max-width: 767px) and (max-height: 640px) {
	.sfhb .sfhb-sub { display: none; }
	.sfhb-checks { display: none; }
}
@media (max-width: 767px) and (max-height: 590px) {
	.sfhb-pill { display: none; }
	.sfhb-divider { display: none; }
	.sfhb-card--quote .sfhb-steps { display: none; }
	.sfhb .sfhb-conf { display: none; }
}

/* ------------------------------------------------------------------- tablet */
@media (min-width: 768px) {
	.sfhb {
		--fh: 56px; --bh: 60px; --pad: 30px; --gap: 22px;
		--t-h1: clamp(38px, 5vw, 56px); --t-title: 30px; --t-body: 17px; --t-small: 14px; --t-check: 16px;
		--t-input: 17px; --t-btn: 19px; --t-star: 20px;
		min-height: clamp(600px, calc(100svh - var(--sfhb-top, 0px)), 1200px);
	}
	.sfhb-wrap { padding: 48px 28px; align-content: center; }
	.sfhb-card { padding: var(--pad) 30px calc(var(--pad) * .8); border-radius: 22px; max-width: 560px; width: 100%; justify-self: center; }
	.sfhb .sfhb-tag { display: block; font-size: 20px; }
	.sfhb-pill { font-size: 13px; margin-bottom: 16px; }
	.sfhb .sfhb-sub { font-size: 21px; margin-top: 16px; }
	.sfhb .sfhb-card-sub--long { display: block; }
	.sfhb .sfhb-card-sub--short { display: none; }
	.sfhb .sfhb-big { display: block; margin-top: 4px; font-family: "Arial Black", Figtree, Arial, sans-serif; font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; color: #fff; }
	.sfhb-copy--quote .sfhb-checks { display: grid; margin-top: 26px; grid-template-columns: 1fr; }
	.sfhb-cards { grid-template-columns: 1fr 1fr; }
	.sfhb .sfhb-ccard { flex-direction: column; text-align: center; padding: 16px 10px; }
	.sfhb .sfhb-ccard span { align-items: center; }
}

/* ------------------------------------------- desktop: two columns, scales with width */
@media (min-width: 900px) {
	.sfhb {
		--fh: clamp(56px, 3.6vw, 76px);
		--bh: clamp(60px, 3.9vw, 82px);
		--pad: clamp(30px, 2.3vw, 52px);
		--gap: clamp(20px, 1.5vw, 32px);
		--t-h1: clamp(40px, 4.1vw, 74px);
		--t-title: clamp(30px, 2.05vw, 42px);
		--t-body: clamp(17px, 1.2vw, 24px);
		--t-small: clamp(14px, .98vw, 19px);
		--t-check: clamp(16px, 1.25vw, 24px);
		--t-input: clamp(17px, 1.2vw, 23px);
		--t-btn: clamp(19px, 1.35vw, 26px);
		--t-star: clamp(20px, 1.45vw, 30px);
	}
	.sfhb-wrap {
		max-width: 1720px;
		padding: clamp(40px, 6vh, 90px) clamp(28px, 4vw, 90px);
		gap: 14px clamp(56px, 5.5vw, 130px);
		grid-template-columns: minmax(0, 1fr) clamp(470px, 35vw, 720px);
		grid-template-areas: "copy card" "checks card";
	}
	.sfhb-copy { align-self: end; }
	.sfhb-checks { align-self: start; margin-top: clamp(14px, 1.6vw, 34px); gap: clamp(12px, 1vw, 22px) clamp(18px, 1.6vw, 36px); }
	.sfhb-card { max-width: none; justify-self: end; border-radius: clamp(22px, 1.6vw, 32px); padding: var(--pad) var(--pad) calc(var(--pad) * .85); }
	.sfhb .sfhb-sub { font-size: clamp(20px, 1.65vw, 32px); margin-top: clamp(16px, 1.3vw, 28px); }
	.sfhb .sfhb-tag { font-size: clamp(20px, 1.55vw, 30px); margin-top: clamp(10px, .9vw, 20px); }
	.sfhb-pill { font-size: clamp(13px, .95vw, 18px); padding: 6px 16px; margin-bottom: clamp(16px, 1.3vw, 28px); }
	.sfhb .sfhb-big { font-size: clamp(36px, 3.9vw, 70px); }
	.sfhb-wrap--quote { grid-template-areas: "copy card"; align-items: center; }
	.sfhb-copy--quote { display: block; align-self: center; }
	.sfhb-copy--quote .sfhb-checks { margin-top: clamp(26px, 2.4vw, 50px); }
	.sfhb-field label { font-size: var(--t-input); }
	.sfhb .sfhb-cbtn { padding: clamp(11px, .9vw, 18px) 16px; }
	.sfhb-sugg li b { font-size: clamp(14.5px, 1.05vw, 18px); }
	.sfhb-sugg li small { font-size: clamp(12.5px, .9vw, 15px); }
}

/* ------------------------------------------------------------ contact page */
.sfhb.sfhb-contactpg { min-height: 0; }
.sfhb-wrap--contact { grid-template-areas: "copy" "card" "info"; align-content: start; }
.sfhb-wrap--contact .sfhb-sub { display: block; }
.sfhb-contactpg .sfhb-card-title { text-wrap: balance; }
.sfhb .sfhb-nb { white-space: nowrap; }
.sfhb-contactpg .sfhb-thanks .sfhb-cards { display: none; }   /* the contact cards are already shown below the form */
.sfhb-contactpg .sfhb-card-sub { margin-top: calc(var(--gap) * .45); }
.sfhb-contactpg .sfhb-form { margin-top: calc(var(--gap) * 1.1); }
.sfhb-contactpg .sfhb-consent { text-align: left; }
.sfhb-info { grid-area: info; display: grid; gap: 10px; }
.sfhb .sfhb-icard {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; color: #fff;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.sfhb .sfhb-icard:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); transform: translateY(-2px); color: #fff; }
.sfhb .sfhb-icard i { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--b); font-style: normal; }
.sfhb .sfhb-icard i svg { width: 21px; height: 21px; }
.sfhb .sfhb-icard span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sfhb .sfhb-icard b { font-size: calc(var(--t-body) * 1.08); font-weight: 700; color: #fff; }
.sfhb .sfhb-icard small { font-size: var(--t-small); color: rgba(255,255,255,.8); overflow: hidden; text-overflow: ellipsis; }

/* phone / tablet: normal-height page section, form first */
@media (max-width: 899px) {
	.sfhb.sfhb-contactpg {
		--fh: 54px; --bh: 58px; --pad: 22px; --gap: 18px;
		--t-h1: clamp(34px, 9.5vw, 46px); --t-title: clamp(23px, 6.2vw, 30px); --t-body: 16px; --t-small: 14px;
		--t-input: 16.5px; --t-btn: 18px; --t-star: 19px;
	}
	.sfhb-contactpg .sfhb-wrap { padding: 28px 14px 32px; gap: 22px; }
	.sfhb-contactpg .sfhb-pill { display: inline-flex; }
	.sfhb-contactpg .sfhb-card, .sfhb-contactpg .sfhb-copy { max-width: 620px; justify-self: center; width: 100%; }
	.sfhb-info { max-width: 620px; justify-self: center; width: 100%; }
}

/* desktop: copy + contact cards on the left, form on the right */
@media (min-width: 900px) {
	.sfhb.sfhb-contactpg { min-height: clamp(620px, calc(100svh - var(--sfhb-top, 0px)), 1100px); }
	.sfhb-wrap--contact { grid-template-areas: "copy card" "info card"; align-content: center; align-items: start; }
	.sfhb-contactpg .sfhb-copy { align-self: end; }
	.sfhb-contactpg .sfhb-info { align-self: start; margin-top: clamp(22px, 2.2vw, 44px); max-width: clamp(420px, 34vw, 640px); gap: clamp(10px, .9vw, 16px); }
	.sfhb .sfhb-icard { padding: clamp(14px, 1.1vw, 22px) clamp(16px, 1.3vw, 26px); gap: clamp(14px, 1.1vw, 22px); }
	.sfhb .sfhb-icard i { width: clamp(48px, 3.4vw, 68px); height: clamp(48px, 3.4vw, 68px); }
	.sfhb .sfhb-icard i svg { width: clamp(21px, 1.5vw, 30px); height: clamp(21px, 1.5vw, 30px); }
}

/* tiny phones */
@media (max-width: 359px) {
	.sfhb .sfhb-cbtn small { display: none; }
	.sfhb-checks { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.sfhb *, .sfhb *::before, .sfhb *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.sfhb [data-anim] { opacity: 1; transform: none; }
	.sfhb-star { transform: none; }
}
