/* Quotes customers make themselves (/quote, views/quote). Smarty Ears brand: coral #F16B68, blue #3C9BD5, ink #202B46. */
:root {
    --q-ink: #202B46;
    --q-text: #43566a;
    --q-muted: #6b7c90;
    --q-blue: #3C9BD5;
    --q-blue-dark: #2B7FB8;
    --q-blue-soft: #e8f3fb;
    --q-coral: #F16B68;
    --q-coral-dark: #e0524f;
    --q-coral-soft: #fff1f0;
    --q-green: #17734a;
    --q-green-soft: #eaf7f0;
    --q-line: #dfe8f0;
    --q-bad: #c8423f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.q { margin: 0; background: #f6f9fc; color: var(--q-text); font: 16px/1.55 Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.q a { color: var(--q-blue-dark); }
.q h1, .q h2, .q h3 { color: var(--q-ink); font-weight: 900; line-height: 1.2; }
.q [hidden] { display: none !important; }
.q-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 18px 24px; }
.q-top img { display: block; width: 150px; height: auto; }
.q-help { font-size: 14px; color: var(--q-muted); text-align: right; }
.q-help a { font-weight: 800; text-decoration: none; }

/* Hero */
.q-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #e8f3fb 0%, #fff1f0 100%); }
.q-hero-in { max-width: 1180px; margin: 0 auto; padding: 34px 24px 90px; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: center; }
.q-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--q-blue-dark); }
.q-hero h1 { margin: 0 0 10px; font-size: 40px; }
.q-hero p { margin: 0; max-width: 640px; font-size: 18px; }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.q-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; color: var(--q-ink); box-shadow: 0 2px 8px rgba(32, 43, 70, .06); }
.q-chips .fa { color: var(--q-green); }
.q-duck { width: 170px; height: auto; justify-self: end; }

/* Layout */
.q-wrap { max-width: 1180px; margin: -64px auto 0; padding: 0 24px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; position: relative; }
.q-main { display: grid; gap: 18px; }
.q-card { padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--q-line); box-shadow: 0 6px 20px rgba(32, 43, 70, .05); }
.q-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 21px; }
.q-card h2 .q-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--q-blue); color: #fff; font-size: 16px; }
.q-lead { margin: 0 0 18px; color: var(--q-muted); font-size: 15px; }
.q-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.q-field { margin: 0 0 16px; min-width: 0; }
.q-field > label, .q-label { display: block; margin: 0 0 6px; font-weight: 800; color: var(--q-ink); }
.q-field label small, .q-label small { font-weight: 600; color: var(--q-muted); }
.q-field input[type=text], .q-field input[type=email], .q-field input[type=tel], .q-field input[type=number], .q-field input[type=date], .q-field select, .q-field textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d3dfe9; border-radius: 12px; background: #fff; font: inherit; color: var(--q-ink);
}
.q-field textarea { min-height: 84px; resize: vertical; }
.q-field input:focus, .q-field select:focus, .q-field textarea:focus { outline: 0; border-color: var(--q-blue); box-shadow: 0 0 0 4px rgba(60, 155, 213, .16); }
.q-field.has-error input, .q-field.has-error select, .q-field.has-error textarea { border-color: var(--q-coral); }
.q-hint { margin: 6px 0 0; font-size: 13.5px; color: var(--q-muted); }
.q-error { margin: 6px 0 0; font-size: 14px; font-weight: 800; color: var(--q-bad); }
.q-error:empty { display: none; }

/* Choice chips and cards */
.q-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.q-choice { position: relative; margin: 0; cursor: pointer; }
.q-choice input { position: absolute; opacity: 0; pointer-events: none; }
.q-choice span { display: flex; align-items: center; gap: 9px; height: 100%; padding: 12px 14px; border: 1px solid #d3dfe9; border-radius: 14px; background: #fff; font-weight: 800; color: var(--q-text); transition: border-color .15s, background .15s; }
.q-choice span .fa { width: 18px; text-align: center; color: var(--q-muted); }
.q-choice:hover span { border-color: var(--q-blue); }
.q-choice input:checked + span { border-color: var(--q-blue); background: var(--q-blue-soft); color: var(--q-blue-dark); box-shadow: inset 0 0 0 1px var(--q-blue); }
.q-choice input:checked + span .fa { color: var(--q-blue-dark); }
.q-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(60, 155, 213, .25); }
.q-choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.q-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.q-years span { display: block; text-align: center; padding: 14px 10px; }
.q-years strong { display: block; font-size: 18px; color: var(--q-ink); }
.q-years em { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--q-green-soft); color: var(--q-green); font-size: 12.5px; font-style: normal; font-weight: 900; }
.q-years em.is-none { background: transparent; color: var(--q-muted); font-weight: 700; }
.q-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.q-pay span { padding: 10px 14px; }

/* Who will use it: a counter per role */
.q-rolelist { display: grid; gap: 8px; }
.q-role { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border: 1px solid #e3ebf2; border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.q-role.is-on { border-color: var(--q-blue); background: var(--q-blue-soft); }
.q-role label { margin: 0; min-width: 0; cursor: pointer; }
.q-role strong { display: block; color: var(--q-ink); font-weight: 900; }
.q-role label span { display: block; font-size: 13.5px; color: var(--q-muted); }
.q-mini { display: flex; flex: none; }
.q-mini button { width: 38px; height: 38px; border: 1px solid #d3dfe9; background: #fff; color: var(--q-blue-dark); font-size: 19px; font-weight: 900; cursor: pointer; }
.q-mini button:first-child { border-radius: 10px 0 0 10px; }
.q-mini button:last-child { border-radius: 0 10px 10px 0; }
.q-role .q-mini input[type=number] { width: 58px; min-height: 38px; height: 38px; padding: 0 4px; border: 1px solid #d3dfe9; border-left: 0; border-right: 0; border-radius: 0; text-align: center; font: 900 17px Lato, sans-serif; color: var(--q-ink); -moz-appearance: textfield; }
.q-mini input::-webkit-outer-spin-button, .q-mini input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q-mini input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--q-blue); }
.q-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: #f6f9fc; font-weight: 800; color: var(--q-ink); }
.q-sum a { margin-left: 8px; font-size: 14px; font-weight: 800; }
.q-sum strong { font-size: 22px; }
.q-field.has-error .q-rolelist .q-role { border-color: #f3b6b4; }

/* Educators stepper */
.q-stepper { display: flex; align-items: stretch; max-width: 260px; }
.q-stepper button { width: 54px; border: 1px solid #d3dfe9; background: #f6f9fc; font-size: 24px; font-weight: 900; color: var(--q-blue-dark); cursor: pointer; }
.q-stepper button:first-child { border-radius: 14px 0 0 14px; }
.q-stepper button:last-child { border-radius: 0 14px 14px 0; }
.q-stepper input { width: 100%; min-height: 56px; border: 1px solid #d3dfe9; border-left: 0; border-right: 0; text-align: center; font: 900 24px Lato, sans-serif; color: var(--q-ink); }
.q-stepper input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--q-blue); }
.q-more { margin: 4px 0 16px; padding: 12px 16px; border-radius: 14px; background: #f6f9fc; }
.q-more summary { cursor: pointer; font-weight: 800; color: var(--q-blue-dark); }
.q-more[open] summary { margin-bottom: 12px; }
.q-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 12px; }
.q-roles .q-field { margin-bottom: 10px; }
.q-roles label { font-size: 14px; }
.q-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--q-blue-soft); font-weight: 700; color: var(--q-ink); cursor: pointer; }
.q-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.q-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Price card */
.q-side { position: sticky; top: 18px; display: grid; gap: 16px; }
.q-price { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--q-line); box-shadow: 0 12px 34px rgba(32, 43, 70, .1); }
.q-price-label { margin: 0; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--q-muted); }
.q-total { margin: 4px 0 0; font-size: 40px; font-weight: 900; color: var(--q-ink); line-height: 1.1; }
.q-for { margin: 2px 0 14px; font-size: 15px; color: var(--q-muted); }
.q-lines { margin: 0 0 12px; padding: 12px 0 0; border-top: 1px solid #edf2f6; }
.q-lines div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 15px; }
.q-lines dt { color: var(--q-muted); }
.q-lines dd { margin: 0; font-weight: 800; color: var(--q-ink); white-space: nowrap; }
.q-lines .is-off dd { color: var(--q-green); }
.q-save { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--q-green-soft); color: var(--q-green); font-weight: 900; font-size: 15px; }
.q-per { margin: 0; font-size: 14px; color: var(--q-muted); }
.q-nudge { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff6e0; color: #6b4e0c; font-size: 14px; font-weight: 700; }
.q-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 16px 0 0; padding: 16px 20px; border: 0; border-radius: 999px; background: var(--q-coral) !important; color: #fff !important; font: 900 18px Lato, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(241, 107, 104, .32); }
.q-submit:hover { background: var(--q-coral-dark) !important; }
.q-submit[disabled] { opacity: .7; cursor: progress; }
.q-fine { margin: 10px 0 0; font-size: 13px; color: var(--q-muted); text-align: center; }
.q-included { padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--q-line); }
.q-included h3 { margin: 0 0 10px; font-size: 16px; }
.q-included ul { margin: 0; padding: 0; list-style: none; }
.q-included li { display: flex; gap: 9px; padding: 4px 0; font-size: 15px; }
.q-included .fa { margin-top: 4px; color: var(--q-green); }

.q-alert { display: flex; gap: 12px; margin: 0 0 4px; padding: 14px 18px; border-radius: 16px; background: #fff4f3; border: 1px solid #f8d3d1; color: var(--q-ink); }
.q-alert .fa { margin-top: 3px; font-size: 20px; color: var(--q-bad); }

/* How SLPs lead the IEP team */
.q-hero-link { margin: 14px 0 0 !important; font-size: 16px !important; }
.q-hero-link a { font-weight: 900; text-decoration: none; }
.q-team { background: #fff; border-top: 1px solid var(--q-line); border-bottom: 1px solid var(--q-line); margin: 0 0 40px; }
.q-team-in { max-width: 1180px; margin: 0 auto; padding: 48px 24px; }
.q-team h2 { margin: 0 0 10px; max-width: 820px; font-size: 30px; }
.q-team-lead { margin: 0 0 26px; max-width: 820px; font-size: 17px; }
.q-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; position: relative; }
.q-week li { position: relative; padding: 16px 14px; border-radius: 18px; background: #f6f9fc; border: 1px solid var(--q-line); }
.q-week li:first-child, .q-week li:last-child { background: var(--q-coral-soft); border-color: #f8d3d1; }
.q-week-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0 0 8px; border-radius: 50%; background: #fff; color: var(--q-blue-dark); font-size: 17px; box-shadow: 0 2px 8px rgba(32, 43, 70, .08); }
.q-week li:first-child .q-week-icon, .q-week li:last-child .q-week-icon { color: var(--q-coral-dark); }
.q-week-day { display: block; font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--q-muted); }
.q-week strong { display: block; margin: 2px 0 4px; color: var(--q-ink); font-size: 16px; }
.q-week li > span:last-child { display: block; font-size: 14.5px; }
.q-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.q-feat-card { padding: 18px; border-radius: 18px; border: 1px solid var(--q-line); }
.q-feat-card .fa { font-size: 22px; color: var(--q-coral); }
.q-feat-card h3 { margin: 8px 0 4px; font-size: 17px; }
.q-feat-card p { margin: 0; font-size: 15px; }
.q-team-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0 0; padding: 18px 20px; border-radius: 18px; background: var(--q-blue-soft); }
.q-team-cta p { margin: 0; font-weight: 800; color: var(--q-ink); }
@media (max-width: 960px) {
    .q-week { grid-template-columns: 1fr; }
    .q-feat { grid-template-columns: 1fr 1fr; }
    .q-team h2 { font-size: 25px; }
}
@media (max-width: 560px) {
    .q-feat { grid-template-columns: 1fr; }
    .q-team-in { padding: 36px 16px; }
}

/* FAQ */
.q-faq { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
.q-faq h2 { margin: 0 0 14px; font-size: 26px; }
.q-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-faq details { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--q-line); }
.q-faq summary { cursor: pointer; font-weight: 900; color: var(--q-ink); }
.q-faq details p { margin: 10px 0 0; }
.q-foot { padding: 22px 24px 40px; text-align: center; font-size: 13.5px; color: var(--q-muted); }

/* Phone: price bar at the bottom */
.q-bar { display: none; }
@media (max-width: 960px) {
    .q-wrap { grid-template-columns: 1fr; }
    .q-side { position: static; }
    .q-hero-in { grid-template-columns: 1fr; padding-bottom: 80px; }
    .q-duck { display: none; }
    .q-hero h1 { font-size: 31px; }
    .q-faq-grid { grid-template-columns: 1fr; }
    .q-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--q-line); box-shadow: 0 -8px 24px rgba(32, 43, 70, .1); }
    .q-bar strong { display: block; font-size: 22px; color: var(--q-ink); }
    .q-bar span { font-size: 13px; color: var(--q-muted); }
    .q-bar a { padding: 11px 16px; border-radius: 999px; background: var(--q-coral); color: #fff; font-weight: 900; text-decoration: none; white-space: nowrap; }
    body.q { padding-bottom: 80px; }
}
@media (max-width: 560px) {
    .q-top, .q-wrap, .q-hero-in, .q-faq { padding-left: 16px; padding-right: 16px; }
    .q-card { padding: 20px 16px; border-radius: 18px; }
    .q-help span { display: none; }
    .q-years { grid-template-columns: 1fr; }
    .q-role { padding: 10px; }
    .q-role label span { font-size: 13px; }
    .q-total { font-size: 34px; }
}

/* Done page */
.q-done { max-width: 820px; margin: -64px auto 0; padding: 0 24px 60px; position: relative; display: grid; gap: 18px; }
.q-done-head { display: flex; gap: 16px; align-items: flex-start; }
.q-done-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--q-green-soft); color: var(--q-green); font-size: 24px; }
.q-done h1 { margin: 0 0 4px; font-size: 28px; }
.q-done-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.q-done-sum div { padding: 12px 14px; border-radius: 14px; background: #f6f9fc; }
.q-done-sum span { display: block; font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--q-muted); }
.q-done-sum strong { display: block; margin-top: 2px; font-size: 19px; color: var(--q-ink); }
.q-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.q-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 900; text-decoration: none; }
.q-btn.is-main { background: var(--q-coral); color: #fff !important; box-shadow: 0 10px 22px rgba(241, 107, 104, .3); }
.q-btn.is-ghost { background: #fff; border: 1px solid var(--q-line); color: var(--q-blue-dark) !important; }
.q-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.q-steps li { position: relative; padding: 0 0 14px 44px; counter-increment: s; }
.q-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--q-blue-soft); color: var(--q-blue-dark); font-weight: 900; text-align: center; line-height: 30px; }
.q-steps strong { color: var(--q-ink); }
