/* Business sign-up page. Builds on site.css (colors, header, buttons, the sales form's fields). */
.start-page { min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(1100px 520px at 70% -10%, rgba(79, 140, 255, .18), transparent 70%), radial-gradient(800px 420px at 0% 10%, rgba(32, 245, 192, .10), transparent 70%), var(--bg); }
.start-page main { flex: 1; }
.start-page .top-actions { margin-left: auto; }
.su-main { padding-top: 34px; padding-bottom: 56px; }
.su-card { background: #0d1333; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); padding: 30px 30px 24px; position: relative; overflow: hidden; }
.su-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--aurora); }
/* The way out: back to the website, top right of the card. */
.su-x { position: absolute; top: 18px; right: 18px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); background: transparent; }
.su-x:hover, .su-x:focus-visible { color: #fff; border-color: rgba(255, 255, 255, .35); }
.su-head { padding-right: 52px; }
.su-head .kicker { margin: 0 0 6px; color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.su-head h1 { margin: 0 0 8px; font-size: clamp(28px, 4.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.su-lede { margin: 0; color: var(--muted); max-width: 60ch; }
.su-lede b { color: var(--text); }

/* steps */
.su-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 24px 0 22px; padding: 0; counter-reset: s; }
.su-steps[hidden] { display: none; }
.su-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; padding-top: 10px; border-top: 3px solid rgba(255, 255, 255, .1); color: var(--muted); font-size: 13.5px; }
.su-steps li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: rgba(255, 255, 255, .08); color: var(--muted); }
.su-steps li b { font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; } /* a long name ("Tu configuración") takes two lines */
.su-steps li.on { border-top-color: var(--blue); color: var(--text); }
.su-steps li.on span { background: var(--blue); color: #050816; }
.su-steps li.done { border-top-color: var(--teal); }
.su-steps li.done span { background: var(--teal); color: #050816; }

#su-form[hidden] { display: none; }
#su-body h2 { margin: 0 0 4px; font-size: 22px; }
.su-sub { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.su-grid label.bad input, .su-grid label.bad select, .su-grid label.bad textarea { border-color: #ff6b8b; box-shadow: 0 0 0 3px rgba(255, 107, 139, .22); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* system choice: three big options */
.su-pick { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-width: 0; }
.su-pick legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: #d5dbf7; }
.su-pick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.su-pick .su-opt { position: relative; display: block; cursor: pointer; }
.su-pick .su-opt input { position: absolute; opacity: 0; pointer-events: none; }
.su-pick .su-opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 14px; border: 1px solid #2a3468; background: #121a42; transition: border-color .15s, box-shadow .15s; }
.su-pick .su-opt b { font-size: 16px; }
.su-pick .su-opt small { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.35; }
.su-pick .su-opt input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79, 140, 255, .28); background: #16205a; }
.su-pick .su-opt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.su-pick.bad .su-opt span { border-color: #ff6b8b; }

/* review */
.su-review { display: block; width: 100%; text-align: left; margin: 0 0 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; cursor: pointer; }
.su-review:hover { border-color: rgba(79, 140, 255, .6); }
.su-review-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.su-review-head span { color: var(--blue); font-size: 14px; font-weight: 700; }
.su-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; }
.su-review-grid div { min-width: 0; }
.su-review-grid span { display: block; color: var(--muted); font-size: 12.5px; }
.su-review-grid b { display: block; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.su-agree { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 15px; cursor: pointer; }
.su-agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }

.su-error { min-height: 0; margin: 14px 0 0; color: #ff8fa6; font-size: 15px; font-weight: 600; }
.su-error:empty { margin: 0; }
.su-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.su-foot .btn[hidden] { display: none; }
.su-foot #su-next { margin-left: auto; min-width: 150px; }
.su-foot .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.su-saved { color: var(--muted); font-size: 13px; }

/* done */
.su-next { list-style: none; counter-reset: n; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.su-next li { counter-increment: n; position: relative; padding: 14px 16px 14px 56px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.su-next li::before { content: counter(n); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--aurora); color: #050816; font-weight: 800; font-size: 14px; }
.su-next b { display: block; }
.su-next span { color: var(--muted); font-size: 15px; }
.su-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (max-width: 640px) {
  .su-main { padding-top: 16px; padding-left: 12px; padding-right: 12px; }
  .su-card { padding: 22px 18px 18px; border-radius: 20px; }
  .su-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .su-steps li b { display: none; }
  .su-steps li { justify-content: center; }
  .su-pick-row { grid-template-columns: minmax(0, 1fr); }
  .su-grid { grid-template-columns: minmax(0, 1fr); }
  .su-foot { position: sticky; bottom: 0; background: #0d1333; margin-left: -18px; margin-right: -18px; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); }
  .su-saved { display: none; }
}
/* Phones: the top bar keeps the logo and the language; the demo link waits for a wider screen. */
@media (max-width: 520px) { .start-page .top-actions > a.btn { display: none; } }

/* What do you sell: pick one or more. A box in the corner shows each can be on. */
.su-pick-lede { margin: -2px 0 10px; color: var(--muted); font-size: 14px; }
.su-many .su-opt span { padding-right: 46px; }
.su-many .su-opt span::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #3a467d; background: transparent; }
.su-many .su-opt input:checked + span::after { content: "✓"; border-color: var(--blue); background: var(--blue); color: #050816; font-size: 14px; font-weight: 800; line-height: 20px; text-align: center; }
.su-review-grid em.su-v { font-style: normal; }
