/* Funnels and forms. Self-contained, so they still look right under another theme. */
.sbs-funnel, .sbs-contact {
	--sbs-ink: #23211e;
	--sbs-muted: #6b6459;
	--sbs-line: #ddd6c7;
	--sbs-gold: #c9a24b;
	--sbs-gold-deep: #8a6a1f;
	--sbs-tint: #faf6ec;
	color: var(--sbs-ink);
	font-size: 16px;
	line-height: 1.5;
}
.sbs-funnel { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 24px 60px rgba(20, 18, 14, .22); }
.sbs-funnel *, .sbs-contact * { box-sizing: border-box; }
.sbs-funnel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sbs-step[hidden], .sbs-funnel [hidden], .sbs-contact [hidden] { display: none !important; }

.sbs-title { font-family: var(--font-display, Georgia, serif); font-size: 1.5rem; line-height: 1.2; font-weight: 600; margin: 0 0 6px; padding: 0; color: var(--sbs-ink); outline: none; }
.sbs-help { color: var(--sbs-muted); margin: 0 0 18px; font-size: .95rem; }
.sbs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sbs-progress { margin-bottom: 20px; }
.sbs-progress__label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--sbs-gold-deep); margin-bottom: 6px; }
.sbs-progress__track { height: 5px; background: #efe9db; border-radius: 99px; overflow: hidden; }
.sbs-progress__bar { height: 100%; width: 0; background: var(--sbs-gold); border-radius: 99px; transition: width .25s ease; }

.sbs-paths { display: grid; gap: 12px; }
.sbs-path { display: block; width: 100%; text-align: left; font: inherit; color: var(--sbs-ink); background: var(--sbs-tint); border: 1.5px solid var(--sbs-line); border-radius: 10px; padding: 18px 44px 18px 18px; cursor: pointer; position: relative; transition: border-color .15s, background .15s, transform .15s; }
.sbs-path::after { content: "\2192"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--sbs-gold-deep); }
.sbs-path strong { display: block; font-size: 1.15rem; }
.sbs-path span { display: block; color: var(--sbs-muted); font-size: .92rem; margin-top: 2px; }
.sbs-path:hover { border-color: var(--sbs-gold); background: #fff; transform: translateY(-1px); }
.sbs-path:focus-visible { outline: 3px solid var(--sbs-gold); outline-offset: 2px; }

.sbs-options { display: grid; gap: 8px; }
.sbs-options--multi { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); max-height: 340px; overflow-y: auto; padding: 2px; }
.sbs-option { display: block; cursor: pointer; margin: 0; }
.sbs-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sbs-option span { display: block; padding: 11px 14px; border: 1.5px solid var(--sbs-line); border-radius: 8px; font-size: .97rem; background: #fff; transition: border-color .12s, background .12s; }
.sbs-option:hover span { border-color: var(--sbs-gold); }
.sbs-option input:checked + span { border-color: var(--sbs-gold-deep); background: var(--sbs-tint); font-weight: 600; box-shadow: inset 0 0 0 1px var(--sbs-gold-deep); }
.sbs-option input:focus-visible + span { outline: 3px solid var(--sbs-gold); outline-offset: 2px; }

.sbs-field { margin-bottom: 14px; }
.sbs-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 4px; color: var(--sbs-ink); }
.sbs-hint { margin: 4px 0 0; font-size: .8rem; color: var(--sbs-muted); }
.sbs-funnel input[type="text"], .sbs-funnel input[type="email"], .sbs-funnel input[type="tel"], .sbs-funnel input[type="date"],
.sbs-contact input[type="text"], .sbs-contact input[type="email"], .sbs-contact input[type="tel"], .sbs-contact input[type="date"], .sbs-contact textarea {
	display: block; width: 100%; font: inherit; color: var(--sbs-ink); padding: 12px 14px; background: #fff; border: 1.5px solid var(--sbs-line); border-radius: 8px;
}
.sbs-funnel input:focus, .sbs-contact input:focus, .sbs-contact textarea:focus { outline: 3px solid rgba(201, 162, 75, .45); border-color: var(--sbs-gold-deep); }

.sbs-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--sbs-muted); margin: 4px 0 8px; cursor: pointer; }
.sbs-consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--sbs-gold-deep); }
.sbs-consent a { color: var(--sbs-gold-deep); }

.sbs-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

.sbs-error { background: #fdecea; color: #8f1d14; border-radius: 8px; padding: 10px 12px; font-size: .92rem; margin: 14px 0 0; }
.sbs-noscript { background: var(--sbs-tint); padding: 12px; border-radius: 8px; }

.sbs-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.sbs-nav .sbs-btn:only-child, .sbs-nav [data-back][hidden] ~ .sbs-btn { margin-left: auto; }
.sbs-btn { display: inline-block; font: inherit; font-weight: 700; cursor: pointer; border: 1.5px solid var(--sbs-ink); background: var(--sbs-ink); color: #fff; padding: 12px 24px; border-radius: 8px; transition: background .15s, color .15s, border-color .15s; }
.sbs-btn:hover { background: var(--sbs-gold); border-color: var(--sbs-gold); color: var(--sbs-ink); }
.sbs-btn:focus-visible { outline: 3px solid var(--sbs-gold); outline-offset: 2px; }
.sbs-btn:disabled { opacity: .6; cursor: progress; }
.sbs-btn--ghost { background: transparent; color: var(--sbs-ink); border-color: var(--sbs-line); }
.sbs-btn--ghost:hover { background: var(--sbs-tint); border-color: var(--sbs-gold); }
.sbs-btn--wide { width: 100%; margin-top: 8px; }

.sbs-thanks { font-size: 1.05rem; }
.sbs-thanks__lead { font-size: 1.25rem; font-weight: 600; }
.sbs-thanks__social { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e6dfd0; font-weight: 600; }
.sbs-social { display: inline-flex; gap: 8px; }
.sbs-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; border: 1px solid currentColor; text-decoration: none; }
.sbs-social--large a { width: 42px; height: 42px; color: #8a6a1f; }
.sbs-social--large a:hover { background: #8a6a1f; color: #fff; }

@media (max-width: 520px) {
	.sbs-funnel { padding: 20px; }
	.sbs-title { font-size: 1.3rem; }
	.sbs-options--multi { grid-template-columns: 1fr 1fr; max-height: 300px; }
	.sbs-option span { padding: 10px 10px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .sbs-funnel *, .sbs-contact * { transition: none !important; } }
