/* Lo propio de demo.turbodato.com, encima de home.css (copia de la home).
 * Todo lo demás —tipografía, botones, nav, hero, matriz, setup, FAQ, footer—
 * sale de home.css para que la página se vea como turbodato.com. */

/* ---------- hero partido: copy + formulario ---------- */
.demo-hero { padding-bottom: 96px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: start; }
.demo-grid .h1 { font-size: clamp(38px, 4.6vw, 58px); }
.demo-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; max-width: 46ch; }
.demo-facts li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.demo-facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.demo-facts strong { color: var(--ink); font-weight: 600; }

.demo-card { padding: 28px; border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 15, 20, .04), 0 24px 48px rgba(16, 15, 20, .08); }
.demo-card h2 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.demo-card .sub { margin: 4px 0 22px; font-size: 14px; color: var(--muted); }

.demo-form { display: grid; gap: 14px; }
.demo-field { display: block; }
.demo-field > span, .demo-field > .lbl { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.demo-field > span em, .demo-field > .lbl em { font-style: normal; font-weight: 400; color: var(--faint); }
.demo-field input[type=email], .demo-field input[type=tel], .demo-field input[type=text], .demo-field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; width: 100%;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.demo-field textarea { min-height: 72px; resize: vertical; line-height: 1.45; }
.demo-field input::placeholder, .demo-field textarea::placeholder { color: var(--faint); }
.demo-field input:focus, .demo-field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-wash); }
.demo-field input[aria-invalid=true] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-wash); }
.hint { margin: 6px 0 0; font-size: 12px; color: var(--faint); }
.hint.error { color: var(--red-ink); }

.demo-products { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; gap: 10px; }
.demo-products .lbl { font-size: 12px; font-weight: 600; color: var(--ink); margin: 0; }
.demo-products .lbl em { font-style: normal; font-weight: 400; color: var(--faint); }
.demo-or { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.demo-or::before, .demo-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #cdd3dd; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--yellow); background: #fffbea; }
.drop:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-wash); }
.drop input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.drop .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--yellow-wash); display: grid; place-items: center; flex: none; }
.drop .name { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.drop .name small { display: block; font-weight: 400; font-size: 12px; color: var(--faint); }

.demo-form button[type=submit] { width: 100%; height: 48px; margin-top: 4px; }
.demo-form button[disabled] { opacity: .65; cursor: default; }
.demo-fine { margin: 0; font-size: 12.5px; color: var(--faint); text-align: center; }
.demo-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-status { margin: 0; font-size: 14px; color: var(--red-ink); }
.demo-status a { color: inherit; font-weight: 600; text-decoration: underline; }

.demo-done { padding: 4px 0; }
.demo-done .badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--green-wash); color: var(--green-ink); font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.demo-done .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.demo-done h2 { margin-bottom: 8px; }
.demo-done p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.demo-done p strong { color: var(--ink); }
.demo-done ol { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; }
.demo-done li { counter-increment: s; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.demo-done li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.demo-done a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.demo-hero .trusted { margin-top: 88px; }

/* ---------- matriz: segunda línea en las celdas ---------- */
.matrix td small { display: block; font-size: 10.5px; color: var(--faint); font-weight: 400; margin-top: 2px; }
.matrix td:first-child small { white-space: normal; }

/* ---------- pasos ---------- */
.demo-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: st; }
.demo-steps li { counter-increment: st; display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.demo-steps li::before { content: counter(st); width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: var(--yellow); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.demo-steps strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); }
.demo-steps p { margin: 4px 0 0; color: var(--muted); font-size: 15px; max-width: 44ch; }
.stage .setup { margin: 0; }

/* ---------- el Excel ---------- */
.xls { overflow-x: auto; }
.xls-file { display: flex; align-items: center; gap: 8px; }
.xls-file i { width: 18px; height: 18px; border-radius: 4px; background: #1f7a45; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; }
.xls table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.xls th, .xls td { padding: 9px 14px; border-top: 1px solid var(--line-2); text-align: left; white-space: nowrap; color: var(--ink); }
.xls th { font-weight: 500; color: var(--faint); font-size: 11px; border-top: 0; }
.xls th em { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); opacity: .8; }
.xls th, .xls td { padding: 9px 10px; }
.xls td:first-child { white-space: normal; min-width: 150px; }
.xls td.num { text-align: right; font-variant-numeric: tabular-nums; }
.xls th.num { text-align: right; }
.xls td.empty { color: var(--faint); }

/* ---------- lo que no es ---------- */
.nots { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.nots > div { padding: 26px 24px 28px; border-right: 1px solid var(--line); }
.nots > div:last-child { border-right: 0; }
.nots svg { display: block; margin-bottom: 18px; }
.nots strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.nots p { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- cierre ---------- */
.demo-final { text-align: center; }
.demo-final .h2 { max-width: 760px; margin: 0 auto; }
.demo-final .final-actions { justify-content: center; }

.footer.demo-foot { padding: 40px 0; }
.demo-foot .foot-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.demo-foot .foot-bottom img { height: 22px; }
.demo-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-hero .trusted { margin-top: 64px; }
  .nots { grid-template-columns: 1fr; }
  .nots > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .nots > div:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .demo-card { padding: 20px; }
  .demo-foot .foot-bottom { flex-direction: column; align-items: flex-start; }
}
