/* ---------- survey: shared by the overlay and the /survey/ page (DESIGN.md section 4) ---------- */
.fzb-surveypage { min-height: 70vh; background: var(--bg); }
.fzb-survey__bar { height: 4px; background: var(--border); }
.fzb-survey__fill { height: 100%; width: 0; background: var(--fz-ink-accent); border-radius: 0 4px 4px 0; transition: width .4s var(--ease, ease); }
.fzb-surveypage__inner {
	max-width: 960px; margin-inline: auto;
	padding: clamp(28px, 4.5vw, 56px) var(--pad, 16px) clamp(56px, 7vw, 96px);
}
.fzb-survey__addr {
	display: flex; flex-direction: column; gap: 2px; max-width: 520px; margin: 0 auto clamp(24px, 4vw, 40px);
	background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-sm, 8px);
	padding: 12px 16px; font-size: .9375rem; color: var(--text);
}
.fzb-survey__addr[hidden] { display: none; }
.fzb-survey__addr span { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.fzb-survey__addr strong { font-weight: 600; color: var(--fz-heading); overflow-wrap: anywhere; }
.fzb-survey__step { text-align: center; animation: fzbRise .45s var(--ease, ease) both; }
.fzb-survey__addrform { max-width: 520px; margin: 0 auto; text-align: left; }
.fzb-survey__noscript { text-align: center; padding: 40px 0; }

.fzb-survey__count {
	font-family: var(--head-font); font-weight: 600; font-size: .75rem;
	letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .6rem;
}
.fzb-survey__q {
	font-family: var(--head-font); font-weight: var(--head-weight, 700); letter-spacing: var(--head-track, -0.02em);
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
	color: var(--fz-heading); margin: 0 0 .6rem; line-height: 1.18;
}
.fzb-survey__q:focus { outline: 0; }
.fzb-survey__sub { font-size: 1.0625rem; color: var(--text-secondary); margin: 0 auto 2rem; line-height: 1.6; max-width: 600px; }

/* ---- icon option cards ---- */
.fzb-survey__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin-inline: auto; }
.fzb-survey__opts--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.fzb-survey__opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; }
@media (max-width: 560px) {
	.fzb-survey__opts, .fzb-survey__opts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.fzb-survey__opt {
	font: inherit; font-weight: 500; font-size: .9688rem; line-height: 1.3;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
	gap: 12px; text-align: center; padding: 24px 12px 20px;
	border: 1px solid var(--border); border-radius: var(--r-lg, 14px); background: var(--surface); color: var(--text);
	cursor: pointer; min-height: 124px; min-width: 0; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent;
	transition: border-color .15s var(--ease-std, ease), background-color .15s var(--ease-std, ease), box-shadow .2s var(--ease-std, ease), transform .15s var(--ease, ease);
}
.fzb-survey__opt svg {
	width: 32px; height: 32px; flex: 0 0 auto;
	fill: none; stroke: var(--accent-ink); stroke-width: 1.6;
	stroke-linecap: round; stroke-linejoin: round;
	transition: stroke .15s var(--ease-std, ease), transform .2s var(--ease, ease);
}
.fzb-survey__opt:hover { border-color: var(--accent-ink); background: var(--fz-soft); box-shadow: var(--e1); }
.fzb-survey__opt:hover svg { transform: translateY(-2px); }
.fzb-survey__opt:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fzb-survey__opt:active { transform: scale(.98); }
.fzb-survey__opt.is-on { border-color: var(--fz-ink-accent); background: var(--fz-ink-accent); color: var(--on-dark); box-shadow: var(--e2); }
.fzb-survey__opt.is-on svg { stroke: var(--on-dark); }
.fzb-survey__opt:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 380px) { .fzb-survey__opt { padding: 18px 8px 16px; font-size: .875rem; min-height: 112px; } }

.fzb-survey__opts--two .fzb-survey__opt { min-height: 118px; font-size: 1rem; }
.fzb-survey__opts--two .fzb-survey__opt svg { width: 34px; height: 34px; }

.fzb-survey__back {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; min-height: 44px; background: none; border: 0; border-radius: var(--r, 10px);
	color: var(--text-secondary); font: inherit; font-size: .9375rem; cursor: pointer; padding: 8px 10px;
	transition: color .15s var(--ease-std, ease);
}
.fzb-survey__back:hover { color: var(--fz-heading); }
.fzb-survey__back:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.fzb-survey__contact { max-width: 520px; margin-inline: auto; text-align: left; }
.fzb-survey__contact .fzb-field { margin-bottom: 12px; }
.fzb-survey__consent { font-size: .75rem; line-height: 1.55; color: var(--text-tertiary); margin: 14px 0 0; }
.fzb-survey__consent a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; }
.fzb-survey__err { margin: 12px 0 0; color: var(--error); font-size: .875rem; font-weight: 600; }

/* ---------- overlay ---------- */
.fzb-ov {
	position: fixed; inset: 0; z-index: 9999; background: var(--bg); --focus: var(--fz-ink-accent);
	display: flex; flex-direction: column;
	opacity: 0; transform: translateY(12px); transition: opacity .22s var(--ease-std, ease), transform .3s var(--ease, ease);
}
.fzb-ov[hidden] { display: none; }
.fzb-ov.is-in { opacity: 1; transform: none; }
.fzb-ov__top {
	flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 64px; padding: 10px var(--pad, 16px); background: var(--fz-head-bg, var(--fz-deep)); color: var(--fz-head-fg, var(--on-dark));
	border-bottom: 1px solid var(--fz-head-line, transparent);
}
.fzb-ov__brand { font-family: var(--head-font); font-weight: var(--head-weight, 700); letter-spacing: -.015em; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fzb-ov__close {
	flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r, 10px);
	background: color-mix(in srgb, var(--fz-head-fg, var(--on-dark)) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--fz-head-fg, var(--on-dark)) 22%, transparent);
	color: inherit; cursor: pointer; transition: background-color .15s var(--ease-std, ease);
}
.fzb-ov__close:hover { background: color-mix(in srgb, var(--fz-head-fg, var(--on-dark)) 14%, transparent); }
.fzb-ov__close:focus-visible { outline: 2px solid var(--fz-head-hover); outline-offset: 2px; }
.fzb-ov__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fzb-ov .fzb-survey__bar { flex: 0 0 auto; }
.fzb-ov__scroll { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* Google Places dropdown sits above the overlay */
.pac-container { z-index: 100000 !important; border-radius: var(--r, 10px); border: 1px solid var(--border); box-shadow: var(--e2); font-family: var(--body-font); }

@media (prefers-reduced-motion: reduce) {
	.fzb-ov, .fzb-survey__step, .fzb-survey__fill { transition: none !important; animation: none !important; }
}
