/* Public funnels: /find-care, /apply, /work-with-us, /contact */

html, body {
    scroll-snap-type: none;
}

.funnel {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 20px 80px;
}
.funnel a {
    display: inline;
    color: var(--c-1);
}

/* Progress */
.steps-bar {
    display: flex;
    gap: 6px;
    margin: 12px 0 28px;
}
.steps-bar i {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.1);
    transition: background .25s ease;
}
.steps-bar i.done {
    background: #0081ff;
}

/* Steps */
.step {
    display: none;
}
.step.active {
    display: block;
    animation: stepIn .25s ease;
}
@keyframes stepIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.step h1, .step h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
    margin: 0 0 8px;
}
.step .hint {
    color: var(--grey);
    line-height: 1.55;
    margin: 0 0 26px;
}

/* Choice cards */
.choices {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}
.choices.two {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.choice {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
    font: inherit;
    color: inherit;
}
.choice:hover {
    border-color: #0081ff;
    background: #f7fbff;
}
.choice.selected {
    border-color: #0081ff;
    background: #f0f7ff;
    box-shadow: inset 0 0 0 1px #0081ff;
}
.choice-title {
    display: block;
    font-weight: 600;
    line-height: 1.3;
}
.choice-sub {
    display: block;
    font-size: .875rem;
    color: var(--grey);
    margin-top: 3px;
}
.choice img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
    background: var(--bg-1);
}

/* Fields */
.field {
    margin-bottom: 20px;
}
.field > label {
    display: block;
    font-weight: 500;
    margin-bottom: 7px;
}
.field .sub {
    font-weight: 400;
    color: var(--grey);
    font-size: .875rem;
}
.field select,
.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--b-r);
    font: inherit;
    background: #fff;
}
.field select:focus,
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: #0081ff;
}
.field textarea {
    min-height: 96px;
    resize: vertical;
}
.field .err {
    display: block;
    color: var(--red);
    font-size: .85rem;
    margin-top: 5px;
}

/* Checkbox / radio rows */
.opt {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
}
.opt:hover {
    border-color: #0081ff;
}
.opt input {
    width: 18px;
    height: 18px;
    accent-color: #0081ff;
    flex: 0 0 auto;
    margin: 0;
}
.opt span {
    line-height: 1.35;
}

/* Nav */
.step-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}
.step-nav .back {
    background: none;
    border: none;
    color: var(--grey);
    cursor: pointer;
    font: inherit;
    padding: 12px 4px;
}
.step-nav .back:hover {
    color: var(--black);
}
.btn-next {
    flex: 1;
    padding: 13px 26px;
    border: none;
    border-radius: var(--b-r);
    background: #0081ff;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}
.btn-next:hover {
    background: #006ad2;
}
.btn-next:disabled {
    background: #b9d9f7;
    cursor: not-allowed;
}

/* Supply proof */
.supply {
    padding: 22px 24px;
    border-radius: 12px;
    background: #f0f7ff;
    border: 1px solid #cfe6ff;
    margin-bottom: 26px;
}
.supply strong {
    font-size: 1.9rem;
    display: block;
    line-height: 1.1;
    color: #0058ad;
}
.supply p {
    margin: 6px 0 0;
    color: #14486f;
    line-height: 1.5;
}
.supply.empty {
    background: var(--bg-2);
    border-color: rgba(0, 0, 0, 0.08);
}
.supply.empty strong,
.supply.empty p {
    color: var(--black);
}

/* Review list */
.review {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 6px 20px;
    margin-bottom: 24px;
}
.review div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.review div:last-child {
    border-bottom: none;
}
.review dt {
    color: var(--grey);
}
.review dd {
    margin: 0;
    font-weight: 500;
    text-align: right;
}

/* Reassurance strip under the CTA */
.reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 20px;
    font-size: .875rem;
    color: var(--grey);
}
.reassure span::before {
    content: '✓ ';
    color: #17a94a;
    font-weight: 700;
}

/* Done */
.done-box {
    text-align: center;
    padding: 40px 24px;
}
.done-box .tick {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #17a94a;
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Phone callout, used on funnels and the contact page */
.phone-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--bg-2);
    border: 1px solid rgba(0, 0, 0, 0.07);
    margin: 26px 0;
}
.phone-callout .lbl {
    color: var(--grey);
}
.phone-callout a.tel {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black) !important;
    text-decoration: none !important;
}

@media (max-width: 576px) {
    .funnel { padding: 4px 16px 60px; }
    .choice img { width: 52px; height: 52px; }
}
