/* Cash For Cars Las Cruces - online offer pages */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.sf-body { margin: 0; background: #fffaf1; color: #2a2a2a; font-family: 'Montserrat', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.sf-body a { color: #11348f; }
.sf-body a.lc-logo { color: #1e2235; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #1f69ff; outline-offset: 2px; }

/* ---------- top bar ---------- */
.sf-top { background: linear-gradient(180deg, #fdc35e, #fbae38); border-bottom: 4px solid #2a2a2a; position: relative; }
.sf-top-in { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-phone { font-size: 15px; padding: 9px 16px; }
.on-offer .sf-phone { display: none; }
.sf-meter { position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: #2a2a2a; }
.sf-meter span { display: block; height: 100%; width: 0; background: #1f69ff; transition: width .3s ease; }

/* ---------- frame ---------- */
.sf-main { padding: 32px 16px 64px; min-height: 60vh; }
.sf-stage { max-width: 640px; margin: 0 auto; }
.sf-pane { background: #fff; border-radius: 20px; padding: 28px 32px 32px; box-shadow: 0 18px 40px -26px rgba(30,34,53,.45); border: 1px solid #f1e5cf; }
.sf-stage:has(.sf-pane-wide) { max-width: 1080px; }
.sf-pane-wide { background: transparent; border: 0; box-shadow: none; padding: 0; }
.sf-in-fwd { animation: sfFwd .22s ease both; }
.sf-in-back { animation: sfBack .22s ease both; }
@keyframes sfFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes sfBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.sf-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px 4px; margin: -8px 0 6px -4px; color: #11348f; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 44px; }
.sf-back svg { width: 18px; height: 18px; }
.sf-chip { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #fff1d6; color: #6b4a00; font-weight: 700; font-size: 14px; }
.sf-q { font-size: 26px; line-height: 1.25; font-weight: 800; color: #1e2235; margin: 0 0 8px; outline: none; }
.sf-help { color: #545866; margin: 0 0 18px; font-size: 16px; }
.sf-lead { font-size: 18px; color: #3a3d48; }
.sf-faint { color: #5d6170; font-size: 15px; }

/* ---------- fields ---------- */
.sf-form { margin-top: 18px; }
.sf-f { margin-bottom: 16px; position: relative; }
.sf-f label, .sf-lab-row label { display: block; font-weight: 700; font-size: 14px; color: #3d4150; margin-bottom: 6px; }
.sf-f label { text-transform: none; letter-spacing: 0; }
.sf-lab-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sf-in { width: 100%; height: 52px; padding: 0 14px; border: 2px solid #d9d4ca; border-radius: 12px; font-size: 17px; color: #2a2a2a; background: #fff; }
.lc-field .sf-in { padding-right: 40px; }
.sf-f:not(.lc-field) .sf-in { background-image: none; }
.sf-in:focus { outline: none; border-color: #1f69ff; box-shadow: 0 0 0 3px rgba(31,105,255,.2); }
.sf-in[aria-invalid="true"] { border-color: #b42318; }
.sf-in:disabled { background-color: #f3f1ec; color: #6b6f7c; }
.sf-in-short { max-width: 240px; }
.sf-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: 1.5px; text-transform: uppercase; }
.sf-vin-meta { display: flex; justify-content: flex-end; }
.sf-count { font-size: 13px; color: #5d6170; margin-top: 4px; }
.sf-ferr { color: #b42318; font-weight: 600; font-size: 14px; margin: 6px 0 0; }
.sf-ferr:empty { display: none; }
.sf-op-err { margin: 0 0 12px; font-size: 15px; }
.sf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sf-check { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; font-weight: 600; cursor: pointer; min-height: 44px; }
.sf-check input { width: 22px; height: 22px; accent-color: #1f69ff; }

.sf-link { background: none; border: 0; padding: 0; color: #11348f; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.sf-center { display: block; margin: 14px auto 0; min-height: 44px; }

/* ---------- buttons ---------- */
.sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 12px 20px; margin-top: 4px;
  border: 0; border-radius: 14px; background: #1f69ff; color: #fff !important; font-weight: 800; font-size: 18px; text-decoration: none !important; cursor: pointer;
  box-shadow: 0 5px 0 #1450d8; transition: transform .1s, box-shadow .1s;
}
.sf-btn:hover { background: #2b74ff; }
.sf-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #1450d8; }
.sf-btn:disabled { cursor: progress; opacity: .85; }
.sf-btn.is-busy::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: sfSpin .8s linear infinite; }
.sf-btn-line { background: #fff; color: #1e2235 !important; border: 2px solid #1e2235; box-shadow: none; }
.sf-btn-line:hover { background: #fff6e6; }
.sf-btn-big { min-height: 60px; font-size: 19px; }
@keyframes sfSpin { to { transform: rotate(360deg); } }

/* ---------- segmented control ---------- */
.sf-seg { display: grid; grid-template-columns: 1fr 1fr; background: #f4efe5; border-radius: 14px; padding: 4px; gap: 4px; margin: 14px 0 6px; }
.sf-seg button { min-height: 46px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; color: #3d4150; cursor: pointer; }
.sf-seg button[aria-checked="true"] { background: #fff; color: #1e2235; box-shadow: 0 2px 6px rgba(30,34,53,.15); }
.sf-found { display: flex; gap: 12px; align-items: center; background: #ecf7ef; border: 1px solid #b8e0c2; border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.sf-found small { display: block; color: #3d5a45; }
.sf-tick { width: 28px; height: 28px; flex: none; border-radius: 50%; background: #1d8a46; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- answer rows ---------- */
.sf-opts { display: grid; gap: 10px; margin-top: 8px; }
.sf-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 60px; padding: 12px 16px; border: 2px solid #e1dbcf;
  border-radius: 14px; background: #fff; color: #1e2235; font-weight: 600; font-size: 17px; cursor: pointer; transition: border-color .15s, background .15s;
}
.sf-opt:hover { border-color: #1f69ff; }
.sf-opt-n { width: 26px; height: 26px; flex: none; border-radius: 8px; background: #f4efe5; color: #6b6f7c; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.sf-opt-t { flex: 1; }
.sf-opt-i { width: 10px; height: 10px; border-right: 2.5px solid #9aa0ad; border-top: 2.5px solid #9aa0ad; transform: rotate(45deg); flex: none; }
.sf-opt.is-on { border-color: #1f69ff; background: #eef4ff; }
.sf-opt.is-on .sf-opt-n { background: #1f69ff; color: #fff; }
.sf-opt.is-on .sf-opt-i { width: 14px; height: 8px; border: 0; border-left: 3px solid #1f69ff; border-bottom: 3px solid #1f69ff; transform: rotate(-45deg) translate(1px, -2px); }
.sf-opt.is-off { border-style: dashed; color: #8a8e9a; background: #faf8f4; cursor: not-allowed; }
.sf-opt.is-off em { font-style: normal; font-size: 13px; font-weight: 700; color: #8a8e9a; margin-left: 6px; }
.sf-opt.is-off .sf-opt-i { display: none; }
.sf-note { background: #f1f5fd; border: 1px solid #cfdcf6; border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; color: #26324d; font-size: 15px; }
.sf-note-warn { background: #fff4e5; border-color: #f3c27a; color: #5c3b00; margin: 0 0 14px; }
.sf-foot-act { margin-top: 18px; }
.sf-foot-act .sf-btn-line { width: auto; min-width: 180px; float: right; }
.sf-foot-act::after { content: ''; display: block; clear: both; }

/* ---------- area tiles (car seen from above, driver on the left) ---------- */
.sf-areas { border: 0; margin: 18px 0 0; padding: 16px; background: #faf6ee; border-radius: 16px; }
.sf-areas legend { font-weight: 800; color: #1e2235; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.sf-areas-end { clear: both; text-align: center; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #7a7e8a; margin: 6px 0; font-weight: 700; }
.sf-areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; margin: 0 auto; }
.sf-tile { position: relative; display: block; cursor: pointer; }
.sf-tile input { position: absolute; opacity: 0; inset: 0; }
.sf-tile span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 8px; border: 2px solid #ddd5c6; border-radius: 12px; background: #fff; font-weight: 700; font-size: 15px; }
.sf-tile input:checked + span { border-color: #1f69ff; background: #eef4ff; color: #11348f; }
.sf-tile input:focus-visible + span { outline: 3px solid #1f69ff; outline-offset: 2px; }

/* ---------- loading ---------- */
.sf-load { text-align: center; padding: 18px 0; }
.sf-sunspin { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: conic-gradient(#fbae38, #1f69ff, #fbae38); -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); animation: sfSpin 1.1s linear infinite; }
.sf-checks { list-style: none; padding: 0; margin: 18px auto; max-width: 260px; text-align: left; }
.sf-checks li { padding: 8px 0 8px 34px; position: relative; color: #8a8e9a; font-weight: 600; }
.sf-checks li::before { content: ''; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d4cfc4; }
.sf-checks li.is-done { color: #1e2235; }
.sf-checks li.is-done::before { background: #1d8a46; border-color: #1d8a46; }
.sf-checks li.is-done::after { content: ''; position: absolute; left: 7px; top: 13px; width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.sf-slow { color: #5d6170; }

/* ---------- offer page ---------- */
.sf-offer { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.sf-offer-main { background: #fff; border-radius: 20px; padding: 26px 32px 32px; border: 1px solid #f1e5cf; box-shadow: 0 18px 40px -26px rgba(30,34,53,.45); }
.sf-offer-h { font-size: 30px; line-height: 1.2; font-weight: 800; color: #1e2235; margin: 0 0 6px; outline: none; }
.sf-offer-h .js-amt { color: #11348f; white-space: nowrap; }
.sf-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 20px; counter-reset: st; }
.sf-steps li { counter-increment: st; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #f4efe5; color: #6b6f7c; }
.sf-steps li::before { content: counter(st) ' '; }
.sf-steps li.is-now { background: #eef4ff; color: #11348f; }
.sf-steps li.is-done { background: #ecf7ef; color: #1d6b3a; }
.sf-steps li.is-done::before { content: '\2713  '; }
.sf-sec { border-top: 1px solid #eee6d6; padding-top: 20px; margin-top: 8px; }
.sf-sec:first-of-type { border-top: 0; padding-top: 0; }
.sf-sec h2 { font-size: 20px; font-weight: 800; color: #1e2235; margin: 0 0 14px; outline: none; }
.sf-summary { display: flex; align-items: center; gap: 12px; background: #f6fbf7; border: 1px solid #cde6d4; border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.sf-summary div { flex: 1; min-width: 0; }
.sf-summary small { display: block; color: #4a4e5e; overflow-wrap: anywhere; }
.sf-disclose { font-size: 14px; color: #4a4e5e; line-height: 1.55; margin: 6px 0 14px; }
.sf-after { font-size: 14px; color: #5d6170; margin: 10px 0 0; text-align: center; }
.sf-ghosts { margin-top: 20px; display: grid; gap: 8px; }
.sf-ghosts div { border: 2px dashed #e3dccd; border-radius: 12px; padding: 12px 14px; color: #8a8e9a; font-weight: 700; display: flex; justify-content: space-between; }
.sf-ghosts span { font-weight: 600; font-size: 13px; }
.sf-final { border-top: 1px solid #eee6d6; margin-top: 18px; padding-top: 20px; }
.sf-sum { background: #fdf0ef; border: 1px solid #f1c3bf; color: #7a1d14; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 15px; }
.sf-opt-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #6b6f7c; background: #f4efe5; border-radius: 999px; padding: 3px 8px; vertical-align: middle; }
.sf-loading-line::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid #d4cfc4; border-top-color: #1f69ff; animation: sfSpin .8s linear infinite; }

/* pickup */
.sf-early { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; border: 2px solid #e1dbcf; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; color: #1e2235; }
.sf-early.is-on { border-color: #1f69ff; background: #eef4ff; }
.sf-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9aa0ad; flex: none; }
.sf-early.is-on .sf-radio { border: 7px solid #1f69ff; }
.sf-days-tog { margin: 12px 0 4px; min-height: 44px; }
.sf-pager { display: flex; align-items: center; justify-content: space-between; margin: 6px 0; font-weight: 700; font-size: 14px; }
.sf-pg { width: 44px; height: 44px; border-radius: 10px; border: 2px solid #e1dbcf; background: #fff; font-size: 22px; cursor: pointer; }
.sf-pg:disabled { opacity: .35; cursor: default; }
.sf-daystrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sf-day { min-height: 60px; border: 2px solid #e1dbcf; border-radius: 12px; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #1e2235; padding: 4px; }
.sf-day span { font-size: 12px; color: #6b6f7c; font-weight: 700; }
.sf-day strong { font-size: 14px; }
.sf-day.is-wkend { background: #faf6ee; }
.sf-day.is-on { border-color: #1f69ff; background: #eef4ff; }
.sf-wins { border: 0; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.sf-wins legend { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.sf-win { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 2px solid #e1dbcf; border-radius: 12px; cursor: pointer; font-weight: 600; }
.sf-win input { width: 20px; height: 20px; accent-color: #1f69ff; }
.sf-win.is-on { border-color: #1f69ff; background: #eef4ff; }
.sf-picked { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; background: #ecf7ef; border-radius: 12px; font-weight: 600; }
.sf-picked span:nth-child(2) { flex: 1; }

/* rail */
.sf-rail { position: sticky; top: 24px; }
.sf-rail-card { background: #1e2235; color: #fff; border-radius: 20px; padding: 24px; position: relative; overflow: hidden; }
.sf-rail-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(251,174,56,.55), rgba(251,174,56,0) 70%); }
.sf-rail-k { margin: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: #fbd38d; }
.sf-rail-amt { font-size: 44px; font-weight: 800; margin: 2px 0; line-height: 1.1; }
.sf-rail-car { margin: 0 0 12px; color: #d4d7e2; font-weight: 600; }
.sf-speed { background: rgba(251,174,56,.18); color: #ffe2ad; border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: 14px; }
.sf-rail-h { font-size: 15px; font-weight: 800; margin: 18px 0 8px; color: #fff; }
.sf-rail-list { margin: 0; padding-left: 20px; }
.sf-rail-list li { margin-bottom: 6px; font-size: 15px; }
.sf-rail-card .sf-rail-list li { color: #e6e8ef; }

/* ---------- dialogs ---------- */
.sf-locked { overflow: hidden; }
.sf-scrim { position: fixed; inset: 0; background: rgba(20,22,34,.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; animation: sfFade .18s ease; }
.sf-dialog { background: #fff; border-radius: 20px; padding: 26px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; outline: none; }
.sf-dialog h2 { font-size: 22px; font-weight: 800; color: #1e2235; margin: 0 0 10px; }
.sf-dialog h3 { font-size: 15px; font-weight: 800; margin: 0 0 6px; }
.sf-dialog ul { padding-left: 18px; margin: 0 0 12px; }
.sf-dlg-kicker { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: #11348f; }
.sf-newamt { background: #f6f3ec; border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.sf-newamt span { display: block; font-size: 13px; font-weight: 700; color: #6b6f7c; text-transform: uppercase; letter-spacing: 1px; }
.sf-newamt strong { display: block; font-size: 36px; color: #1e2235; }
.sf-newamt small { color: #7a7e8a; font-size: 14px; }
.sf-vin-sample { background: #f6f3ec; border-radius: 12px; padding: 12px; }
.sf-vin-sample code { display: block; font-size: 18px; letter-spacing: 2px; font-weight: 700; color: #1e2235; }
.sf-vin-sample span { font-size: 14px; color: #5d6170; }
.sf-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@keyframes sfFade { from { opacity: 0; } }

/* ---------- end screens ---------- */
.sf-end { text-align: center; }
.sf-end .sf-btn { margin-top: 18px; }
.sf-end-acts { max-width: 420px; margin: 0 auto; }
.sf-badge { width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%; background: #1d8a46; color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; }
.sf-end-card { text-align: left; background: #f6f3ec; border-radius: 14px; padding: 14px 18px; margin: 18px 0; }
.sf-end-card p { margin: 6px 0; }
.sf-end-h { font-size: 18px; font-weight: 800; text-align: left; margin: 0 0 6px; }
.sf-end .sf-rail-list { text-align: left; color: #2a2a2a; }

/* ---------- footer ---------- */
.sf-foot { background: #232323; color: #d9d9d9; }
.sf-foot-in { max-width: 1120px; margin: 0 auto; padding: 34px 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sf-foot h3 { color: #fbae38; font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.sf-foot p { margin: 0; }
.sf-foot a { color: #d9d9d9; text-decoration: none; }
.sf-foot-side { display: flex; flex-direction: column; gap: 12px; }
.sf-foot-side .fa-phone { margin-right: 8px; }
.sf-social { display: flex; gap: 8px; }
.sf-social a { width: 32px; height: 32px; border-radius: 6px; background: #3a3a3a; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .sf-offer { grid-template-columns: 1fr; }
  .sf-rail { position: static; order: -1; }
  .sf-rail-card { padding: 16px 18px; }
  .sf-rail-amt { font-size: 34px; }
  .sf-rail-h, .sf-rail-list { display: none; }
}
@media (max-width: 767px) {
  .sf-main { padding: 0 0 40px; }
  .sf-top-in { padding: 8px 16px; }
  .sf-phone { padding: 8px 12px; font-size: 14px; }
  .sf-pane, .sf-offer-main { border-radius: 0; border: 0; box-shadow: none; padding: 18px 16px 26px; }
  .sf-pane-wide { padding: 0; }
  .sf-q { font-size: 22px; }
  .sf-offer-h { font-size: 24px; }
  .sf-row2 { grid-template-columns: 1fr; }
  .sf-in-short { max-width: none; }
  .sf-rail { padding: 12px 16px 0; }
  .sf-rail-card .sf-rail-list { display: none; }
  .sf-scrim { align-items: flex-end; padding: 0; }
  .sf-dialog { border-radius: 20px 20px 0 0; max-height: 88vh; padding: 22px 18px 28px; animation: sfUp .22s ease; }
  .sf-twocol { grid-template-columns: 1fr; }
  .sf-daystrip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .sf-day { flex: 0 0 18%; min-width: 64px; scroll-snap-align: start; }
  .sf-foot-act .sf-btn-line { width: 100%; float: none; }
  .sf-opt-n { display: none; }
}
@keyframes sfUp { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sf-in-fwd, .sf-in-back, .sf-scrim, .sf-dialog { animation: none; }
  .sf-sunspin, .sf-btn.is-busy::before, .sf-loading-line::before { animation-duration: 3s; }
  .sf-meter span { transition: none; }
}
