.rcf {
    --rcf-accent: #087f8c;
    --rcf-accent-dark: #05626c;
    --rcf-ink: #17242b;
    --rcf-muted: #64737b;
    --rcf-border: #d9e1e4;
    width: 100%;
    max-width: 920px;
    margin: 32px auto;
    padding: clamp(22px, 4vw, 44px);
    box-sizing: border-box;
    overflow-x: hidden;
    color: var(--rcf-ink);
    background: #fff;
    border: 1px solid var(--rcf-border);
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(23, 36, 43, .1);
    font-family: inherit;
}

.rcf *, .rcf *::before, .rcf *::after { box-sizing: border-box; }
.rcf [hidden] { display: none !important; }
.rcf__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.rcf__intro, .rcf__wizard { animation: rcf-in .22s ease both; }
.rcf__header { text-align: center; margin-bottom: 28px; }
.rcf__header h2 { margin: 4px 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.rcf__header p { margin: 0; color: var(--rcf-muted); }
.rcf__eyebrow { color: var(--rcf-accent) !important; font-size: 14px; font-weight: 700; letter-spacing: .06em; }

.rcf__roadmap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 6px 0 34px;
}
.rcf__roadmap-card {
    position: relative;
    min-width: 0;
    min-height: 230px;
    padding: 18px 12px;
    text-align: center;
    background: #f8fbfb;
    border: 1px solid var(--rcf-border);
    border-radius: 14px;
}
.rcf__roadmap-card:nth-child(even) { margin-top: 26px; }
.rcf__roadmap-card:not(:last-child)::after {
    content: '←';
    position: absolute;
    top: 50%;
    left: -9px;
    z-index: 2;
    color: var(--rcf-accent);
    font-size: 25px;
    font-weight: 700;
    transform: translate(-50%, -50%);
}
.rcf__roadmap-card > strong { display: block; color: rgba(8, 127, 140, .34); font-size: 58px; line-height: 1; }
.rcf__roadmap-card h3 { margin: 12px 0; color: var(--rcf-ink); font-size: 18px; }
.rcf__roadmap-card svg { display: block; width: 62px; height: 62px; margin: 14px auto 0; fill: none; stroke: var(--rcf-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rcf__intro-action { margin-top: 8px; text-align: center; }
.rcf__button--start { min-width: min(100%, 320px); }

.rcf__progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}
.rcf__progress li { position: relative; color: var(--rcf-muted); text-align: center; font-size: 14px; }
.rcf__progress li::before { content: ''; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; background: var(--rcf-border); z-index: 0; }
.rcf__progress li:first-child::before { display: none; }
.rcf__progress span { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 8px; background: #eef3f4; border-radius: 50%; font-weight: 700; }
.rcf__progress .is-active, .rcf__progress .is-complete { color: var(--rcf-accent-dark); font-weight: 700; }
.rcf__progress .is-active span, .rcf__progress .is-complete span { color: #fff; background: var(--rcf-accent); }
.rcf__progress .is-complete::before, .rcf__progress .is-active::before { background: var(--rcf-accent); }

.rcf__step { animation: rcf-in .22s ease both; }
.rcf__customer-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 12px 0 8px;
    border: 0;
}
.rcf__customer-card { position: relative; display: block; margin: 0; cursor: pointer; }
.rcf__customer-card > input { position: absolute; opacity: 0; pointer-events: none; }
.rcf__customer-card-content {
    display: flex;
    min-height: 240px;
    padding: 24px 18px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--rcf-ink);
    text-align: center;
    background: #f5f9fa;
    border: 2px solid var(--rcf-border);
    border-radius: 14px;
    transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.rcf__customer-card:hover .rcf__customer-card-content { border-color: var(--rcf-accent); transform: translateY(-2px); }
.rcf__customer-card > input:checked + .rcf__customer-card-content { background: rgba(8, 127, 140, .08); border-color: var(--rcf-accent); box-shadow: 0 0 0 3px rgba(8, 127, 140, .12); }
.rcf__customer-card > input:focus-visible + .rcf__customer-card-content { outline: 3px solid rgba(8, 127, 140, .25); outline-offset: 3px; }
.rcf__customer-card svg { width: 76px; height: 76px; margin-bottom: 6px; fill: none; stroke: var(--rcf-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rcf__customer-card strong { font-size: 20px; }
.rcf__customer-card small { max-width: 170px; color: var(--rcf-muted); font-size: 15px; line-height: 1.4; }
.rcf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.rcf__field { display: grid; grid-template-rows: auto auto; align-content: start; gap: 7px; margin: 0; font-weight: 600; }
.rcf__field > span:first-child { display: block; margin: 0; line-height: 1.4; }
.rcf__field--wide { grid-column: 1 / -1; }
.rcf__field input, .rcf__field select, .rcf__field textarea {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 11px 14px;
    color: var(--rcf-ink);
    background: #fff;
    border: 1px solid var(--rcf-border);
    border-radius: 10px;
    font: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.rcf__field textarea { resize: vertical; }
.rcf__field > input, .rcf__field > select { height: 50px; }
.rcf__field input:focus, .rcf__field select:focus, .rcf__field textarea:focus { border-color: var(--rcf-accent); box-shadow: 0 0 0 3px rgba(8, 127, 140, .14); }
.rcf__phone {
    display: flex;
    width: 100%;
    height: 50px;
    min-height: 50px;
    direction: ltr;
    background: #fff;
    border: 1px solid var(--rcf-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.rcf__phone select {
    flex: 0 0 32%;
    width: 32%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-right: 1px solid var(--rcf-border);
    border-radius: 0;
    text-align: center;
}
.rcf__phone input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    text-align: left;
}
.rcf__phone:focus-within { border-color: var(--rcf-accent); box-shadow: 0 0 0 3px rgba(8, 127, 140, .14); }
.rcf__phone select:focus, .rcf__phone input:focus { border-color: transparent; box-shadow: none; }
.rcf__phone select:focus { border-right-color: var(--rcf-border); }
.rcf__field.is-invalid input, .rcf__field.is-invalid select, .rcf__field.is-invalid textarea {
    background: #fff7f7;
    border-color: #c73535 !important;
    box-shadow: 0 0 0 3px rgba(199, 53, 53, .14) !important;
}
.rcf__field.is-invalid .rcf__phone {
    background: #fff7f7;
    border-color: #c73535;
    box-shadow: 0 0 0 3px rgba(199, 53, 53, .14);
}
.rcf__field.is-invalid .rcf__phone input,
.rcf__field.is-invalid .rcf__phone select {
    background: transparent;
    box-shadow: none !important;
}

.rcf__choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.rcf__choice legend { width: 100%; margin-bottom: 8px; font-weight: 700; }
.rcf__choice label { cursor: pointer; }
.rcf__choice input { position: absolute; opacity: 0; pointer-events: none; }
.rcf__choice label span { display: block; padding: 11px 18px; border: 1px solid var(--rcf-border); border-radius: 999px; font-weight: 650; transition: .15s; }
.rcf__choice input:checked + span { color: #fff; background: var(--rcf-accent); border-color: var(--rcf-accent); }
.rcf__choice input:focus-visible + span { outline: 3px solid rgba(8, 127, 140, .25); }
.rcf__choice.is-invalid { padding: 10px; background: #fff7f7; border: 1px solid #c73535; border-radius: 12px; }

.rcf__waypoints { display: grid; gap: 10px; }
.rcf__waypoint-title { display: block; font-size: 15px; }
.rcf__waypoint-list { display: grid; gap: 14px; }
.rcf__waypoint-control { display: flex; gap: 8px; min-width: 0; }
.rcf__waypoint-control input { flex: 1 1 auto; min-width: 0; }
.rcf__remove-waypoint {
    flex: 0 0 50px;
    width: 50px;
    min-height: 50px;
    padding: 0;
    color: #8d1b1b;
    background: #fff7f7;
    border: 1px solid #efc5c5;
    border-radius: 10px;
    font: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.rcf__remove-waypoint:hover { color: #fff; background: #a72a2a; border-color: #a72a2a; }
.rcf button.rcf__add-waypoint {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    justify-self: start;
    width: auto !important;
    max-width: 100%;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    overflow: visible !important;
    color: var(--rcf-accent-dark) !important;
    background: #f5f9fa !important;
    border: 1px solid var(--rcf-accent) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    cursor: pointer;
    appearance: none;
    transform: none !important;
}
.rcf button.rcf__add-waypoint:hover,
.rcf button.rcf__add-waypoint:focus-visible { color: #fff !important; background: var(--rcf-accent) !important; }
.rcf__rental-end { padding: 12px 14px; background: #f5f9fa; border: 1px solid var(--rcf-border); border-radius: 10px; }
.rcf__rental-end .rcf__consent { margin-top: 0; font-weight: 650; }
.rcf__rental-end p { margin: 8px 28px 0 0; color: var(--rcf-muted); font-size: 13px; line-height: 1.5; }
.rcf__rental-hint { margin: -4px 0 0; padding: 11px 14px; color: #6e5100; background: #fff9e7; border: 1px solid #ecd99c; border-radius: 10px; font-size: 14px; }
.rcf__field input[readonly] { color: var(--rcf-muted); background: #f2f5f6; cursor: not-allowed; }

.rcf__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14px; font-weight: 400; }
.rcf__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rcf-accent); }
.rcf__consent a { color: var(--rcf-accent-dark); text-decoration: underline; }
.rcf__consent.is-invalid { padding: 8px 10px; color: #8d1b1b; background: #fff7f7; border: 1px solid #c73535; border-radius: 10px; }
.rcf__customer-card.is-invalid .rcf__customer-card-content { background: #fff7f7; border-color: #c73535; box-shadow: 0 0 0 3px rgba(199, 53, 53, .14); }
.rcf__actions { display: flex; gap: 12px; justify-content: flex-start; margin-top: 28px; }
.rcf__button { min-width: 140px; min-height: 48px; padding: 11px 22px; color: #fff; background: var(--rcf-accent); border: 0; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.rcf__button:hover { background: var(--rcf-accent-dark); transform: translateY(-1px); }
.rcf__button:disabled { opacity: .55; cursor: wait; transform: none; }
.rcf__button--secondary { color: var(--rcf-ink); background: #eef3f4; }
.rcf__button--secondary:hover { background: #e2e9eb; }
.rcf__message { margin-top: 22px; padding: 13px 16px; border-radius: 10px; font-weight: 650; }
.rcf__message.is-error { color: #8d1b1b; background: #fff0f0; border: 1px solid #f2caca; }
.rcf__message.is-success { color: #145c3a; background: #edf9f3; border: 1px solid #bce2ce; }
.rcf__success { padding: 30px 18px 12px; text-align: center; }
.rcf__success h3 { margin: 0 0 10px; font-size: 28px; }
.rcf__success p { margin: 0 0 22px; color: var(--rcf-muted); }
.rcf__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rcf.is-loading { opacity: .82; }

@keyframes rcf-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
    .rcf { margin: 16px auto; padding: 20px 16px; border-radius: 16px; }
    .rcf__roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 18px; }
    .rcf__roadmap-card { min-height: 180px; padding: 14px 8px; }
    .rcf__roadmap-card:nth-child(even) { margin-top: 0; }
    .rcf__roadmap-card:not(:last-child)::after { display: none; }
    .rcf__roadmap-card > strong { font-size: 42px; }
    .rcf__roadmap-card h3 { margin: 8px 0; font-size: 15px; }
    .rcf__roadmap-card svg { width: 50px; height: 50px; margin-top: 8px; }
    .rcf__progress { gap: 2px; }
    .rcf__progress li { font-size: 10px; }
    .rcf__progress span { width: 30px; height: 30px; }
    .rcf__progress li::before { top: 15px; }
    .rcf__customer-picker { grid-template-columns: 1fr; gap: 12px; }
    .rcf__customer-card-content { min-height: 150px; padding: 18px; }
    .rcf__customer-card svg { width: 58px; height: 58px; }
    .rcf__grid { grid-template-columns: 1fr; }
    .rcf__field--wide { grid-column: auto; }
    .rcf__waypoint-control { align-items: stretch; }
    .rcf__remove-waypoint { flex-basis: 46px; width: 46px; }
    .rcf__choice label { flex: 1 1 auto; text-align: center; }
    .rcf__actions { position: sticky; bottom: 0; padding-top: 12px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 22%); }
    .rcf__button { flex: 1; min-width: 0; }
}
