/* Vendabo Site 2026: tienda-integrada.html. Shared rules live in site.css. Manual: docs/design/vendabo-site-2026/DESIGN.md */
/* Hero: one checkout, and the four pieces that answer it (payment, shipping, e-CF, money in the bank) */
.stage--chain { padding: 64px 24px 72px; }
.chain { position: relative; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: center; text-align: left; }
.co { border-radius: 16px; background: #ffffff; overflow: hidden; box-shadow: 0 40px 90px rgba(140, 70, 10, 0.22), 0 4px 12px rgba(44, 62, 80, 0.06); }
.co__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #f2ece3; font-size: 13px; }
.co__head b { font-weight: 600; }
.co__head small { color: var(--text-3); }
.co__body { padding: 18px; }
.co__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.co__thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--orange-16); color: var(--orange); display: grid; place-items: center; font-family: var(--display); font-size: 18px; }
.co__item small { display: block; font-size: 12px; color: var(--text-3); }
.co__rows { margin-top: 14px; border-top: 1px solid #f2ece3; }
.co__rows div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f6f1ea; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.co__rows div:last-child { border-bottom: 0; font-weight: 600; color: var(--navy); }
.co__card { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--navy); box-shadow: 0 0 0 1px var(--navy); font-size: 13px; }
.co__card .logo-tile { width: 28px; height: 28px; border-radius: 7px; }
.co__card small { display: block; font-size: 12px; color: var(--text-3); }
.co__btn { margin-top: 12px; height: 44px; border-radius: 999px; background: var(--orange); color: #ffffff; display: grid; place-items: center; font-size: 14.5px; font-weight: 600; transition: transform 200ms var(--ease); }
.co__btn.is-press { transform: scale(0.97); }
.steps4 { display: grid; gap: 10px; }
.st4 { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #ffffff; font-size: 13.5px; box-shadow: 0 16px 40px rgba(140, 70, 10, 0.12); opacity: 0.45; transform: translateX(10px); transition: opacity 400ms var(--ease), transform 500ms var(--ease), box-shadow 400ms var(--ease); }
.st4.is-on { opacity: 1; transform: none; }
.st4.is-hot { box-shadow: 0 0 0 3px var(--orange-28), 0 16px 40px rgba(140, 70, 10, 0.12); }
.st4 .int-tile { --side: 22px; --max: 38px; --icon: 26px; width: 40px; min-width: 40px; height: 40px; padding: 0 4px; border-radius: 10px; border: 1px solid #f2ece3; }
.st4 .logo-tile { width: 40px; height: 40px; border-radius: 10px; color: var(--orange); }
.st4 .logo-tile .icon { width: 20px; height: 20px; }
.st4 b { display: block; font-weight: 600; }
.st4 small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.st4__ok { width: 22px; height: 22px; border-radius: 50%; background: var(--beige); color: #ffffff; display: grid; place-items: center; transition: background-color 300ms var(--ease); }
.st4__ok .icon { width: 12px; height: 12px; opacity: 0; transition: opacity 300ms var(--ease); }
.st4.is-on .st4__ok { background: var(--ok); }
.st4.is-on .st4__ok .icon { opacity: 1; }

.sec-head { max-width: 760px; margin: 0 auto; text-align: center; }
.sec-head h2 { margin: 18px 0 0; }
.sec-head .lead { margin: 18px 0 0; }
.proof--chain { margin-top: 0; padding-top: 112px; padding-bottom: 0; }

/* Four integrated pieces */
.conn { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: #ffffff; }
.ccard__logos { display: flex; flex-wrap: wrap; gap: 8px; min-height: 56px; }
.ccard__logos .int-tile { border: 1px solid #f2ece3; }
.ccard__logos .mini__icon { width: 56px; height: 56px; border-radius: 14px; }
.ccard__logos .mini__icon .icon { width: 24px; height: 24px; }
.ccard h3 { margin: 22px 0 0; font-size: 20px; font-weight: 600; }
.ccard p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.ccard .link-arrow { margin-top: 16px; align-self: flex-start; }

/* Steps */
.psteps { position: relative; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
/* From the centre of the first circle to the centre of the last: column width = (100% - 2 gaps) / 3 */
.psteps__rail { position: absolute; left: 36px; right: calc((100% - 96px) / 3 - 36px); top: 36px; height: 1.5px; background: var(--line); overflow: hidden; }
.psteps__rail::after { content: ''; position: absolute; top: -1px; left: -80px; width: 80px; height: 3.5px; border-radius: 999px; background: linear-gradient(90deg, rgba(230, 126, 34, 0), var(--orange)); animation: rail 3.2s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes rail { to { left: 100%; } }
.pstep__num { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: #ffffff; border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-variation-settings: var(--display-fvs); font-weight: var(--display-wght); font-size: 34px; color: var(--navy); }
.pstep:last-child .pstep__num { background: var(--orange); border-color: var(--orange); }
.pstep h3 { margin: 28px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.pstep p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.steps__cta { margin-top: 56px; display: flex; justify-content: center; }

/* Comparing with Shopify */
.cmp { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 16px; background: var(--cream); }
.cmp b { display: block; font-family: var(--display); font-variation-settings: var(--display-fvs); font-weight: var(--display-wght); font-size: calc(28px * var(--ds)); letter-spacing: var(--track-m); }
.cmp span { display: block; margin-top: 6px; font-size: 15.5px; color: var(--text-2); }
.cmp .link-arrow { flex-shrink: 0; }

@media (max-width: 960px) {
  .stage--chain { padding: 20px 12px 28px; }
  .chain { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .st4 { transform: none; padding: 12px; }
  .proof--chain { padding-top: 80px; }
  .sec-head { text-align: left; }
  .conn { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .ccard { padding: 24px; }
  .psteps { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .psteps__rail { display: none; }
  .pstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .pstep__num { width: 56px; height: 56px; font-size: 26px; grid-row: span 2; }
  .pstep h3 { margin: 4px 0 0; font-size: 19px; }
  .pstep p { margin-top: 6px; }
  .steps__cta { margin-top: 40px; }
  .cmp { flex-direction: column; align-items: flex-start; margin-top: 40px; padding: 24px 20px; }
}
