/* =====================================================================
   Here For You Miami — apply-lp-v2
   Design duplicated from the Webflow reference, rebuilt clean.
   Heading: Outfit · Body: DM Sans · Brand blue #015ae6 · Accent cyan #a2eaff
   Motion: Emil Kowalski easing (never ease-in), <260ms.
   ===================================================================== */

:root {
  --blue: #015ae6;
  --blue-600: #0164e4;
  --blue-700: #0b46b0;
  --blue-ink: #0e2a5d;
  --cyan: #a2eaff;
  --ink: #0e1320;
  --ink-2: #364153;
  --muted: #5d6c7b;
  --line: #e5e7eb;
  --line-2: #eef1f4;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef4ff;
  --white: #ffffff;
  --ok: #16a34a;
  --danger: #ef4444;

  --r-card: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(14,19,32,.06), 0 1px 1px rgba(14,19,32,.04);
  --shadow-md: 0 4px 12px rgba(14,19,32,.08), 0 2px 4px rgba(14,19,32,.05);
  --shadow-lg: 0 24px 60px -18px rgba(14,19,32,.28), 0 8px 20px -12px rgba(14,19,32,.18);
  --shadow-blue: 0 10px 24px -8px rgba(1,90,230,.5);

  --ease-out: cubic-bezier(.23,1,.32,1);
  --ease-io: cubic-bezier(.4,0,.2,1);

  --maxw: 1160px;
  --pad: 24px;

  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: "Outfit", sans-serif; font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
.tnum { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--bg-btn); color: #fff;
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 16px;
  border: 0; border-radius: var(--r-md);
  padding: 14px 22px; min-height: 50px;
  cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-blue);
  transition: transform .16s var(--ease-out), background .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.btn:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(1,90,230,.35); outline-offset: 2px; }
.btn .arrow { transition: transform .18s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { min-height: 56px; font-size: 17px; padding: 16px 26px; border-radius: var(--r-md); }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; min-height: 44px; padding: 10px 22px; box-shadow: var(--shadow-blue); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.btn-white:hover { background: #f3f6ff; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { background: #1b2333; }
.btn-ghost { background: var(--bg-tint); color: var(--blue); box-shadow: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; display: block; }
.footer .brand img { height: 28px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted);
  font-weight: 700; font-size: 13px; min-height: 40px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center;
  transition: background .16s var(--ease-out), color .16s var(--ease-out);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:focus-visible { outline: 3px solid rgba(1,90,230,.35); outline-offset: 2px; }
.form-back:focus-visible { outline: 3px solid rgba(1,90,230,.3); outline-offset: 2px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0b0f14; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(6,9,13,.92) 0%, rgba(6,9,13,.72) 42%, rgba(6,9,13,.32) 100%), url("assets/hero-cash.jpg");
  background-size: cover; background-position: center 38%;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-block: 68px 76px; min-height: 560px;
}
.hero-copy { color: #fff; }
.loc-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); margin-bottom: 20px;
}
.loc-pill svg { color: var(--cyan); }
.hero-copy h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.hero-copy h1 span { display: block; }
.hero-copy h1 .accent { color: var(--cyan); }
.hero-sub { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 30ch; }
.hero-bullets { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.hero-bullets li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: #fff; }
.hero-bullets .tick { display: inline-flex; width: 22px; height: 22px; border-radius: 999px; background: var(--blue); align-items: center; justify-content: center; }
.hero-bullets .tick svg { width: 14px; height: 14px; color: #fff; }

/* ---------- Form card (inline multi-step) ---------- */
.form-card {
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 20px;
  align-self: stretch;
  border: 1px solid rgba(255,255,255,.5);
}
.form-head { text-align: center; margin-bottom: 16px; }
.form-eyebrow { display: inline-block; color: var(--blue); font-family: "Outfit", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: none; }
.form-title { font-size: 24px; margin-top: 2px; }
.form-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }

.form-progress { margin-bottom: 16px; }
.form-track { height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.form-fill { height: 100%; width: 11%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #3b82f6); transition: width .4s var(--ease-out); }
.form-progress-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; min-height: 20px; }
.form-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; padding: 2px 4px 2px 0; }
.form-back:hover { color: var(--ink); }
.form-count { color: var(--muted); font-size: 13px; font-weight: 600; margin-left: auto; }

.form-stage { min-height: 232px; }
.form-q { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.form-help { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.form-step.anim { animation: stepIn .34s var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.opts { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.opts.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 52px; padding: 12px 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; text-align: left; color: var(--ink);
  transition: border-color .16s var(--ease-out), background .16s var(--ease-out), transform .1s var(--ease-out), box-shadow .16s var(--ease-out);
}
.opt:hover { border-color: var(--blue); background: var(--bg-tint); }
.opt:active { transform: scale(.98); }
.opt:focus-visible { outline: 3px solid rgba(1,90,230,.3); outline-offset: 1px; }
.opt .key { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-soft); color: var(--muted); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; transition: background .16s, color .16s; }
.opt .opt-label { font-weight: 600; font-size: 15px; flex: 1; }
.opt .opt-check { width: 20px; height: 20px; color: var(--blue); opacity: 0; transform: scale(.6); transition: opacity .16s var(--ease-out), transform .16s var(--ease-out); flex: none; }
.opt.selected { border-color: var(--blue); background: var(--bg-tint); box-shadow: 0 0 0 3px rgba(1,90,230,.12); }
.opt.selected .key { background: var(--blue); color: #fff; }
.opt.selected .opt-check { opacity: 1; transform: scale(1); }

/* contact form fields */
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-2); }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.field input::placeholder { color: #7a8794; }
.field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1,90,230,.14); }
.field .err { color: var(--danger); font-size: 12.5px; margin-top: 5px; min-height: 15px; font-weight: 600; }
.toggle-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.toggle-inline .opt { justify-content: center; min-height: 46px; }
.toggle-inline .opt .opt-label { flex: none; }

.form-foot:empty { display: none; }
.form-foot { margin-top: 14px; }
.consent { color: var(--muted); font-size: 11.5px; line-height: 1.5; margin-top: 12px; }

.form-trust { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.form-trust .chip { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.form-trust .chip svg { color: var(--ok); }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 10px; }
.form-privacy svg { color: var(--muted); flex: none; }

/* result screens (DQ / success / error) */
.form-result { text-align: center; padding: 8px 4px 4px; animation: stepIn .34s var(--ease-out) both; }
.result-badge { width: 58px; height: 58px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.result-badge svg { width: 30px; height: 30px; }
.result-badge.ok { background: rgba(22,163,74,.12); color: var(--ok); }
.result-badge.stop { background: rgba(239,68,68,.1); color: var(--danger); }
.form-result h2 { font-size: 22px; }
.form-result p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.form-result .sub { color: var(--muted); font-size: 13.5px; }
.result-card { text-align: left; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; margin-top: 16px; }
.result-card .row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; }
.result-card .row svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.result-actions { margin-top: 18px; }
.spinner { width: 20px; height: 20px; border-radius: 999px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Stats band (unused placeholder) ---------- */
.stats { display: none; }

/* ---------- Section base ---------- */
.section { padding-block: 84px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; color: var(--blue); font-family: "Outfit", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.lead { color: var(--muted); font-size: 17.5px; margin-top: 14px; line-height: 1.5; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #dbe6f7; }
.pnum { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--blue); font-family: "Outfit", sans-serif; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.pcard h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: 15px; }
.process-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; text-align: center; }
.process-stats { color: var(--muted); font-size: 15px; }
.process-stats .ps-strong { color: var(--ink); font-weight: 700; }
.process-stats .ps-dot { margin: 0 8px; color: var(--line); }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.why-media { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.1; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 24px; }
.feature { display: flex; gap: 14px; }
.feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Social proof ---------- */
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 52px; }
.pstat { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 20px; box-shadow: var(--shadow-sm); }
.pstat .num { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 44px; color: var(--blue-ink); letter-spacing: -.02em; line-height: 1; }
.pstat .num .stars { color: #f5a623; font-size: 22px; letter-spacing: 1px; }
.rating { position: relative; display: inline-block; font-size: 20px; line-height: 1; letter-spacing: 2px; vertical-align: -1px; }
.rating::before { content: "\2605\2605\2605\2605\2605"; color: #d9dee4; }
.rating::after { content: "\2605\2605\2605\2605\2605"; color: #f5a623; position: absolute; left: 0; top: 0; width: var(--fill, 100%); overflow: hidden; white-space: nowrap; }
.pstat .lbl { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.proof-thead { text-align: center; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 30px; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.tcard .stars { color: #f5a623; font-size: 16px; letter-spacing: 1px; }
.tcard .quote { color: var(--ink-2); font-size: 15px; line-height: 1.55; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who img { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; flex: none; }
.tcard .who .nm { font-weight: 700; font-size: 14.5px; }
.tcard .who .rl { color: var(--muted); font-size: 13px; }

/* ---------- Versus ---------- */
.versus-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v-col { border-radius: var(--r-card); padding: 30px 28px; }
.v-us { background: var(--blue-ink); color: #fff; box-shadow: var(--shadow-lg); }
.v-bank { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.v-col h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 20px; color: inherit; }
.v-badge { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.v-badge svg { width: 16px; height: 16px; }
.v-badge.ok { background: rgba(162,234,255,.2); color: var(--cyan); }
.v-badge.no { background: rgba(239,68,68,.12); color: var(--danger); }
.v-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.v-col li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; font-weight: 500; }
.v-col li svg { width: 21px; height: 21px; flex: none; margin-top: 1px; }
.v-us li svg { color: var(--cyan); }
.v-bank li svg { color: #b3bfca; }

/* ---------- Final CTA ---------- */
.final { padding-block: 0; }
.final .container { padding-inline: var(--pad); }
.final-inner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
  border-radius: 28px; padding: 60px 40px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.final-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 999px; background: rgba(162,234,255,.16); }
.final-inner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); position: relative; }
.final-inner p { color: rgba(255,255,255,.9); font-size: 18px; margin: 14px auto 26px; max-width: 46ch; position: relative; }
.final-inner .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 40px 48px; background: #fff; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer .brand { justify-content: center; }
.footer p { color: var(--muted); font-size: 14px; max-width: 60ch; }
.footer .legal { color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 74ch; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  transform: translateY(120%); transition: transform .3s var(--ease-out);
}
.mobile-cta.show { transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 46px; min-height: 0; }
  .hero-copy { text-align: left; }
  .hero-sub { max-width: none; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-media { order: 2; }
  .process-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; gap: 14px; }
  .testimonials { grid-template-columns: 1fr; }
  .versus-split { grid-template-columns: 1fr; }
  .section { padding-block: 60px; }
}
@media (max-width: 620px) {
  :root { --pad: 18px; }
  .brand img { height: 22px; }
  .header-actions { gap: 8px; }
  .btn-pill { padding: 9px 16px; }
  .hero-bg { background-image: linear-gradient(180deg, rgba(6,9,13,.86) 0%, rgba(6,9,13,.62) 100%), url("assets/hero-cash.jpg"); background-position: center; }
  .hero-inner { padding-block: 24px 28px; gap: 22px; }
  .hero-copy h1 { font-size: clamp(28px, 7.8vw, 38px); }
  .hero-sub { margin-top: 14px; font-size: 16.5px; }
  .hero-bullets { display: none; }            /* the form card repeats these trust signals */
  .form-card { padding: 20px 18px 18px; }
  .opts.grid-2 { grid-template-columns: 1fr 1fr; }
  .opt { padding: 11px 12px; gap: 10px; min-height: 50px; }
  .opt .key { width: 22px; height: 22px; }
  .opt .opt-label { font-size: 14.5px; }
  .features { grid-template-columns: 1fr; }
  .final-inner { padding: 44px 22px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
