/* Cambio de equipo: panel blanco y formulario ligero sobre azul SWAP. */
.flow.trade-in { display: block; max-width: none; margin: 0; padding: 70px 5vw; background: #2585ee; }
.swap-shell { max-width: 1180px; margin: 0 auto; padding: 44px 46px 30px; border-radius: 32px; background: #fff; box-shadow: 0 18px 55px #124da52b; }
.swap-main { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start; }
.trade-in .eyebrow { display: block; margin: 0 0 17px; color: #6580a2; font-size: 8px; font-weight: 500; letter-spacing: .16em; }
.flow.trade-in h2 { font-size: clamp(32px, 3.3vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; margin: 0; color: #172d4e; }
.swap-copy > p:not(.eyebrow) { max-width: 330px; margin: 17px 0 0; font-size: 12px; font-weight: 400; line-height: 1.8; color: #6c7c92; }
.swap-visual { position: relative; display: grid; place-items: center; width: 260px; max-width: 100%; height: 235px; margin-top: 22px; }
.swap-visual::before { content: ''; position: absolute; width: 188px; height: 188px; border-radius: 50%; background: #f1f6fd; border: 1px solid #e4edf9; }
.swap-visual img { position: relative; width: 156px; height: 229px; object-fit: contain; filter: drop-shadow(5px 12px 9px #183b7020); }
.swap-form-panel { background: #f5f6fa; padding: 28px; border-radius: 10px; min-width: 0; }
.trade-in .swap-field > label { display: block; color: #34455e; font-size: 10px; font-weight: 500; line-height: 1.5; }
.trade-in #swap-form > .swap-field { margin-bottom: 23px; }
.trade-in #swap-form > .swap-field--desired { margin-bottom: 0; }
.swap-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 25px; }
.trade-in input[type='text'], .trade-in select { display: block; width: 100%; min-width: 0; height: 40px; margin-top: 5px; padding: 5px 0; border: 0; border-bottom: 1px solid #c6ccd8; border-radius: 0; background: transparent; font-size: 12px; font-weight: 400; color: #263d5d; }
.trade-in input::placeholder { color: #8a94a5; }
.trade-in input[type='text']:focus, .trade-in select:focus { border-bottom-color: #2585ee; }
.trade-in input[type='text']:focus-visible, .trade-in select:focus-visible { outline: 2px solid #8dc2fb; outline-offset: 4px; }
.trade-in .swap-submit { display: inline-flex; align-items: center; gap: 22px; margin-top: 28px; padding: 11px 17px; min-height: 44px; border: 0; border-radius: 5px; background: #216ad1; color: #fff; font-size: 11px; font-weight: 500; transition: background .2s; }
.swap-submit svg { width: 15px; height: 15px; }
.trade-in .swap-submit:hover { background: #185bb9; }
.swap-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 620px; margin: 35px auto 0; text-align: center; }
.swap-steps span { display: block; margin-bottom: 6px; color: #8390a3; font-size: 8px; font-weight: 400; }
.swap-steps p { font-size: 10px; font-weight: 500; line-height: 1.6; color: #405471; margin: 0; }
.trade-in .flow-result h3 { font-size: 24px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 14px; color: #203858; }
.trade-in .flow-result p { font-size: 12px; font-weight: 400; line-height: 1.8; }
.trade-in .flow-result pre { border-left: 2px solid #438df1; background: #eaf0fa; color: #304a6c; border-radius: 4px; font-size: 11px; font-weight: 400; line-height: 1.9; padding: 17px; }
.trade-in .flow-result button { font-size: 11px; font-weight: 500; min-height: 44px; margin-top: 7px; }
@media (max-width: 1000px) {
  .swap-shell { padding: 36px 32px 28px; }
  .swap-main { gap: 32px; }
  .swap-form-panel { padding: 24px; }
  .swap-field-row { gap: 15px; }
}
@media (max-width: 760px) {
  .flow.trade-in { padding: 38px 20px; }
  .swap-shell { border-radius: 24px; padding: 32px 26px 26px; }
  .swap-main { grid-template-columns: 1fr; gap: 23px; }
  .flow.trade-in h2 { font-size: 36px; }
  .swap-copy > p:not(.eyebrow) { max-width: 420px; font-size: 12px; }
  .swap-visual { width: 100%; height: 185px; margin-top: 18px; }
  .swap-visual img { height: 180px; width: 123px; }
  .swap-visual::before { width: 150px; height: 150px; }
  .swap-steps { margin-top: 28px; gap: 15px; }
}
@media (max-width: 540px) {
  .swap-form-panel { padding: 23px 20px; }
  .swap-field-row { grid-template-columns: 1fr; gap: 22px; }
  .trade-in input[type='text'], .trade-in select { font-size: 16px; height: 44px; }
  .swap-steps { gap: 12px; }
  .swap-steps p { font-size: 9px; }
}
@media (max-width: 360px) {
  .flow.trade-in { padding-left: 14px; padding-right: 14px; }
  .swap-shell { padding-left: 20px; padding-right: 20px; }
  .flow.trade-in h2 { font-size: 32px; }
  .swap-form-panel { padding-left: 17px; padding-right: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .trade-in .swap-submit { transition: none; }
}
