/* City Choice NYC — care quiz card. Palette/radii from reference/design (red #DD4B37, green #1EAD5A, Poppins, pill inputs). */
.ccq { --q-red: #DD4B37; --q-green: #157A3F; --q-ink: #443C3A; --q-muted: #7A7A7A; font-family: "Poppins", system-ui, sans-serif; width: 100%; }
.ccq *, .ccq *::before, .ccq *::after { box-sizing: border-box; }
.ccq [hidden] { display: none !important; }

.ccq .ccq-card { position: relative; padding: 22px 24px 24px; border-radius: 20px; background: #fff; border: 1px solid #EAEAEA; box-shadow: 0 14px 40px rgba(0,0,0,.10); }
.ccq .ccq-head { display: flex; align-items: center; justify-content: space-between; min-height: 22px; margin-bottom: 10px; }
.ccq .ccq-count { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--q-muted); }
.ccq .ccq-back { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--q-ink); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; cursor: pointer; }
.ccq .ccq-back:hover, .ccq .ccq-back:focus { background: none; color: var(--q-red); }
.ccq .ccq-back svg { width: 16px; height: 16px; }
.ccq .ccq-bar { height: 5px; border-radius: 100px; background: #F0F0F0; overflow: hidden; margin-bottom: 18px; }
.ccq .ccq-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E5624D, #DD4B37); transition: width .3s ease; }

.ccq .ccq-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ccq .ccq-step legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--q-ink); }
.ccq .ccq-step legend + * { clear: both; }

.ccq .ccq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccq .ccq-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border: 1.5px solid #E4E4E4; border-radius: 14px; background: #fff; cursor: pointer; font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--q-ink); transition: border-color .15s, background-color .15s, transform .15s; }
.ccq .ccq-opt:hover { border-color: #E5624D; }
.ccq .ccq-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ccq .ccq-opt span { flex: 1; }
.ccq .ccq-opt i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #D6D6D6; display: flex; align-items: center; justify-content: center; color: #fff; transition: inherit; }
.ccq .ccq-opt i svg { width: 13px; height: 13px; opacity: 0; }
.ccq .ccq-opt:has(input:checked) { border-color: var(--q-red); background: #DD4B370D; }
.ccq .ccq-opt:has(input:checked) i { background: var(--q-red); border-color: var(--q-red); }
.ccq .ccq-opt:has(input:checked) i svg { opacity: 1; }
.ccq .ccq-opt:has(input:focus-visible) { outline: 2px solid var(--q-red); outline-offset: 2px; }

.ccq .ccq-field { display: flex; flex-direction: column; gap: 6px; }
.ccq .ccq-field label { font-size: 13px; font-weight: 600; color: #4C4C4C; }
.ccq .ccq-field label b { color: var(--q-red); font-weight: 600; }
.ccq .ccq-field label em { font-style: normal; font-weight: 400; color: var(--q-muted); }
.ccq .ccq-field input { height: 48px; width: 100%; padding: 0 20px; border: 1px solid #CDCBCC; border-radius: 100px; background: #fff; font-family: inherit; font-weight: 400; font-size: 15px; line-height: 1; color: #4C4C4C; }
.ccq .ccq-field input::placeholder { color: #B7B7B7; font-weight: 300; }
.ccq .ccq-field input:focus { outline: 2px solid var(--q-red); outline-offset: 1px; border-color: transparent; }
.ccq .ccq-field .ccq-btn { margin-top: 6px; }
.ccq .ccq-zip-ok { display: flex; align-items: center; gap: 6px; margin: 2px 0 0 6px; font-size: 13px; font-weight: 600; color: var(--q-green); }
.ccq .ccq-zip-ok svg { width: 15px; height: 15px; }
.ccq .ccq-copy { margin: -6px 0 0; font-size: 14px; line-height: 1.6; font-weight: 300; color: var(--q-muted); }

.ccq .ccq-btn { display: block; width: 100%; padding: 15px 24px; border: 0; border-radius: 100px; background: #DD4B37; color: #fff; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; box-shadow: 0 10px 24px -4px rgba(221,75,55,.22); transition: filter .15s; }
.ccq .ccq-btn:hover, .ccq .ccq-btn:focus { filter: brightness(1.06); color: #fff; background: #DD4B37; }
.ccq .ccq-btn:disabled { opacity: .7; cursor: wait; }
.ccq .ccq-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #DD4B3712; color: #C0392B; font-size: 13px; font-weight: 500; }
.ccq .ccq-note { margin: 0; text-align: center; font-size: 12px; font-weight: 300; color: #9A9A9A; }
.ccq .ccq-hp { position: absolute; left: -9999px; }

.ccq .ccq-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 24px; text-align: center; outline: 0; animation: ccq-pop .35s ease; }
.ccq .ccq-done__badge { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(225deg, #1EAD5A, #157A3F); color: #fff; box-shadow: 0 10px 24px rgba(30,173,90,.3); margin-bottom: 6px; }
.ccq .ccq-done__badge svg { width: 30px; height: 30px; }
.ccq .ccq-done h2 { margin: 0; font-size: 22px; font-weight: 600; color: var(--q-ink); }
.ccq .ccq-done p { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--q-muted); }
.ccq .ccq-done a { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--q-red); text-decoration: none; }
.ccq .ccq-step:not([hidden]) { animation: ccq-fade .25s ease; }
@keyframes ccq-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ccq-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.ccq .ccq-call { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 16px; font-weight: 600; color: var(--q-red); text-decoration: none; }
.ccq .ccq-call__btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.07); display: flex; align-items: center; justify-content: center; transition: box-shadow .15s; }
.ccq .ccq-call:hover .ccq-call__btn { box-shadow: 0 4px 14px rgba(221,75,55,.25); }

@media (max-width: 600px) {
  .ccq .ccq-card { padding: 18px 16px 20px; }
  .ccq .ccq-opts, .ccq .ccq-opts--many { grid-template-columns: 1fr; gap: 8px; }
  .ccq .ccq-opt { min-height: 48px; }
  .ccq .ccq-step legend { font-size: 18px; }
}
