/* 18 · How It Works · FAQ — Figma 394:4928 (Desktop 394:4929 · Mobile 395:5428)
   Line-heights follow Figma's text boxes, which round each line to a whole pixel
   (22.47 → 22, 26.4 → 26, 19.36 → 19, 18.15 → 18). */

/* How it works — 394:4984 / 395:5463 */
.hw-steps { background: var(--vt-semantic-slab); padding-block: 56px; }
.hw-steps__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 34px; letter-spacing: -0.68px;
  color: var(--vt-base-white);
}
.hw-steps__hairline { display: block; height: 1px; margin-top: 56px; background: var(--vt-raw-white-a16); }
.hw-steps__row { display: flex; flex-direction: column; }
.hw-step { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 0 26px; }
.hw-step + .hw-step { border-top: 1px solid var(--vt-raw-white-a16); }        /* divider 395:5476 */
.hw-step__num {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 56px; line-height: 56px; letter-spacing: -1.68px;
  color: var(--cliente-p1-rol-tertiary);   /* #1583D1 on the #1E1962 card = 3.79:1 (large text needs 3:1); was secondary #0460D9 = 2.68:1 (QA/UIUX S2, Juan's 10-20 ramp step) */
}
.hw-step__title {
  margin-top: 20px; min-height: 53px; align-self: stretch;                       /* h4wrap 394:4995 is 53 high (2 lines) */
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 22px; line-height: 26px; letter-spacing: -0.22px;
  color: var(--vt-base-white);
}
.hw-step__text { margin-top: 10px; font-size: 14.5px; line-height: 22px; color: var(--cliente-p1-rol-tint-200); }

/* What happens to your application — 394:5027 / 395:5500 */
.hw-flow { padding-block: 56px; }
.hw-flow__inner { display: flex; flex-direction: column; gap: 28px; }
.hw-flow__heading {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 34px; letter-spacing: -0.68px;
  color: var(--vt-semantic-ink);
}
.hw-flow__list { display: flex; flex-direction: column; gap: 12px; }
.hw-flow__step {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 24px;
  border-radius: var(--vt-radius-24);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.hw-flow__label {
  font-size: 12px; line-height: 15px; font-weight: 700;
  letter-spacing: 1.44px; text-transform: uppercase;
  color: var(--cliente-p1-rol-secondary);
}
.hw-flow__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 20px; line-height: 24px; letter-spacing: -0.2px;
  color: var(--vt-semantic-ink);
}
.hw-flow__detail { font-size: 14px; line-height: 17px; color: var(--vt-semantic-meta); }

/* Frequently asked questions — 394:5056 / 395:5529 */
.hw-faq { background: var(--cliente-p1-rol-surface); padding-block: 56px; }
.hw-faq__inner { display: flex; flex-direction: column; gap: 24px; }
.hw-faq__head { display: flex; flex-direction: column; gap: 16px; }
.hw-faq__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 34px; letter-spacing: -0.68px;
  color: var(--vt-semantic-ink);
}
.hw-faq__support { font-size: 18px; line-height: 22px; font-weight: 500; color: var(--vt-semantic-meta); }
.hw-faq__list {
  padding-inline: 22px;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.hw-faq__item { padding-block: 24px; }
.hw-faq__item + .hw-faq__item { border-top: 1px solid var(--vt-neutral-100); }  /* hairline 394:5066 */
.hw-faq__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 29px; text-align: left;
  font-size: 16px; line-height: 19px; font-weight: 600;
  color: var(--vt-neutral-700);
  transition: color var(--vt-dur-1) var(--vt-ease-soft);
}
.hw-faq__trigger[aria-expanded="true"] { color: var(--vt-semantic-ink); }
.hw-faq__trigger:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 4px; border-radius: 4px; }
.hw-faq__question { flex: 1 1 auto; min-width: 0; }
.hw-faq__toggle {
  flex: none; font-size: 24px; line-height: 29px; font-weight: 600;
  color: var(--cliente-p1-rol-secondary);
  transition: transform var(--vt-dur-2) var(--vt-ease-out);
}
.hw-faq__toggle::before { content: "+"; }
.hw-faq__trigger[aria-expanded="true"] .hw-faq__toggle::before { content: "–"; }
.hw-faq__answer { padding-top: 10px; font-size: 15px; line-height: 18px; color: var(--vt-semantic-meta); }
@media (hover: hover) and (pointer: fine) {
  .hw-faq__trigger:hover { color: var(--vt-semantic-ink); }
  .hw-faq__trigger:hover .hw-faq__toggle { transform: scale(1.2); }
}

/* Still need help — 394:5091 / 395:5564 */
.hw-closing .vt-cta-band__sub { line-height: 25px; }

@media (min-width: 1024px) {
  .hw-steps { padding-block: 104px; }
  .hw-steps__title { font-size: 56px; line-height: 56px; letter-spacing: -1.4px; }
  .hw-steps__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* equal tracks: padding must not skew them */
  .hw-step { min-width: 0; padding: 34px 30px 6px; }
  .hw-step:first-child { padding-left: 0; }
  .hw-step + .hw-step { border-top: 0; border-left: 1px solid var(--vt-raw-white-a16); }   /* divider 394:4999 */

  .hw-flow { padding-block: 110px; }
  .hw-flow__inner { gap: 44px; }
  .hw-flow__heading { font-size: 56px; line-height: 56px; letter-spacing: -1.4px; }
  .hw-flow__list { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
  .hw-flow__step { flex: 0 0 273px; padding: 24px; }

  .hw-faq { padding-block: 110px; }
  .hw-faq__inner { gap: 32px; }
  .hw-faq__title { font-size: 56px; line-height: 56px; letter-spacing: -1.4px; }
  .hw-faq__list { padding-inline: 32px; }
  .hw-faq__trigger { font-size: 18px; line-height: 22px; }
  .hw-faq__answer { font-size: 16px; line-height: 19px; }

  .hw-closing .vt-cta-band__title { max-width: 616px; }
  .hw-closing .vt-cta-band__sub { max-width: 418px; line-height: 29px; }
}
