.contact-mobile { display: grid; gap: 12px; max-width: 544px; margin: 24px auto 0; }
.contact-desktop { display: none; }
.header-call.contact-mobile { display: block; margin: 0; }
.contact-page { max-width: 800px; padding-block: 48px 64px; text-align: center; }
.contact-quiz { margin-top: 56px; }
.contact-number { font: 500 32px/1.4 var(--font-heading); color: var(--primary); margin-bottom: 8px; }
.phone-bar { position: fixed; z-index: 20; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; gap: 0; padding: 12px 20px max(12px, env(safe-area-inset-bottom)); background: var(--background); border-top: 1px solid #8b9a90; }
.phone-bar a { display: grid; place-items: center; min-height: 48px; color: var(--primary); font-size: 16px; font-weight: 600; text-decoration: none; }
.phone-bar a + a { border-left: 1px solid #8b9a90; }
.quiz-dialog { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0 0 100px; border: 0; color: #182820; background: var(--background); overflow-y: auto; }
.quiz-dialog::backdrop { background: #18282060; }
.quiz-header { position: sticky; top: 0; z-index: 2; background: var(--background); }
.quiz-header-row { display: grid; grid-template-columns: 80px 1fr 64px; align-items: center; gap: 8px; min-height: 64px; padding-inline: 12px; }
.quiz-header .brand { font-size: 20px; justify-content: center; text-align: center; }
.quiz-header button { min-height: 48px; padding: 4px; border: 0; background: transparent; color: var(--primary); font-size: 14px; }
#quiz-progress { display: block; width: 100%; height: 4px; border: 0; appearance: none; background: #dce3dc; color: var(--primary); }
#quiz-progress::-webkit-progress-bar { background: #dce3dc; }
#quiz-progress::-webkit-progress-value { background: var(--primary); transition: width 300ms; }
#quiz-progress::-moz-progress-bar { background: var(--primary); }
.quiz-column { width: min(100% - 40px, 544px); margin: 32px auto 56px; }
#quiz-heading { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; margin: 0 0 28px; }
#quiz-heading:focus { outline: none; }
.step-count { color: #425b4e; margin-bottom: 20px; }
.quiz-contact { margin-top: 32px; }
.quiz-contact summary { font-weight: 400; color: var(--primary); }
.quiz-contact .contact-mobile { padding-bottom: 24px; }
.quiz-column > .notice { margin-top: 20px; }
.field { margin-bottom: 24px; }
.field > label, legend { display: block; font-size: 18px; margin-bottom: 8px; }
.field input:not([type=checkbox]), select { display: block; width: 100%; min-height: 52px; padding: 12px; border: 1px solid #708677; border-radius: 6px; background: white; color: #182820; font-size: 18px; }
.name-grid { display: grid; }
.question { padding: 0; margin: 0 0 24px; border: 0; min-width: 0; }
.choices { display: grid; gap: 10px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid #8b9a90; border-radius: 7px; background: #fdfcf9; cursor: pointer; }
.choices input:checked + span { background: #eaf0e9; border-color: var(--primary); }
.choices input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }
.checkbox-label { display: flex !important; align-items: start; gap: 14px; padding-block: 10px; }
.checkbox-label input { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 4px; accent-color: var(--primary); }
.field-error { margin-top: 8px; }
[aria-invalid=true] { border-color: #a12624 !important; }
.honeypot { position: absolute; left: -10000px; height: 1px; width: 1px; overflow: hidden; }
@media(min-width: 640px) { .name-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .choices { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 768px) and (pointer: fine) { .contact-mobile { display: none; } .header-call.contact-mobile { display: none; } .contact-desktop { display: block; margin-top: 24px; } .header-call.contact-desktop { margin-top: 0; } .quiz-dialog { padding-bottom: 40px; } }
@media(prefers-reduced-motion: no-preference) { .quiz-answers .answer, .quiz-column #intake-form:not([hidden]) { animation: question-enter 350ms ease-out both; } .quiz-answers .answer:nth-child(2) { animation-delay: 40ms; } .quiz-answers .answer:nth-child(3) { animation-delay: 80ms; } .quiz-answers .answer:nth-child(4) { animation-delay: 120ms; } }
@keyframes question-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
