/* Formularios en pasos (BrandBook BASTET 2026): «Vender mi inmueble» y «Solicitar una propiedad» */
.sw-hidden { display: none !important; }
.sw-invisible { visibility: hidden; }
.sw-progress { margin: 0 0 16px; }
.sw-prog-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sw-prog-top b { font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 18px; color: var(--br-green, #3D4C3A); }
.sw-prog-top span { font-size: 13px; color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-bar { height: 6px; border-radius: 3px; background: rgba(30,38,41,.1); overflow: hidden; }
.sw-bar i { display: block; height: 100%; width: 0; background: var(--br-yellow, #F1BF46); border-radius: 3px; transition: width .3s ease; }
.sw-step-card { display: flex; flex-direction: column; gap: 14px; }
.sw-step-card h3 { margin: 0; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 22px; color: var(--br-green, #3D4C3A); }
.sw-sub { margin: -6px 0 2px; font-size: 14.5px; color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-ops { display: grid; gap: 10px; }
.sw-op { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; border: 1.5px solid var(--br-line, rgba(30,38,41,.14)); background: #fff; border-radius: 18px; padding: 16px 18px; font: inherit; color: var(--br-ink, #1E2629); cursor: pointer; min-height: 64px; transition: border-color .2s ease, background .2s ease; -webkit-tap-highlight-color: transparent; }
.sw-op b { display: block; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 18px; color: var(--br-green, #3D4C3A); }
.sw-op small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-op.is-on { border-color: var(--br-green, #3D4C3A); background: var(--br-pale, #EFF8E7); }
.sw-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(30,38,41,.3); position: relative; }
.sw-op.is-on .sw-radio { border-color: var(--br-green, #3D4C3A); background: var(--br-green, #3D4C3A); }
.sw-op.is-on .sw-radio::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sw-nav { margin-top: 18px; display: grid; gap: 10px; }
.sw-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEA; color: #8A2A22; font-size: 14px; }
.sw-nav-row { display: flex; gap: 12px; justify-content: space-between; }
.sw-prev, .sw-next { border-radius: 999px; padding: 14px 24px; font: inherit; font-family: var(--font-serif, 'Conso', serif); font-size: 16px; cursor: pointer; min-height: 50px; }
.sw-prev { border: 1.5px solid var(--br-green, #3D4C3A); background: #fff; color: var(--br-green, #3D4C3A); }
.sw-next { flex: 1; border: 0; background: var(--br-green, #3D4C3A); color: #fff; }
.sw-summary { display: grid; gap: 12px; }
.sw-sum-block { border: 1px solid var(--br-line, rgba(30,38,41,.14)); border-radius: 18px; padding: 12px 16px; background: #fff; }
.sw-sum-block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sw-sum-block h4 { margin: 0; font-size: 15px; color: var(--br-green, #3D4C3A); }
.sw-sum-block header button { border: 0; background: none; color: var(--br-green, #3D4C3A); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 6px; }
.sw-sum-block > div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-top: 1px solid rgba(30,38,41,.07); font-size: 14px; }
.sw-sum-block > div span { color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-sum-block > div b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
/* los pasos reemplazan los recuadros con borde del formulario largo */
.sell-form .sw-step.sell-section { border: 0; background: transparent; padding: 0; }
.sell-form .sw-step.sell-section legend { padding: 0; margin: 0 0 8px; font-size: 22px; }
@media (min-width: 640px) { .sw-ops { grid-template-columns: 1fr 1fr; } }

/* ── Solicitar una propiedad ── */
.rq-modal { max-width: 560px; }
.rq-step h3, .rq-h { margin: 0; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 22px; color: var(--br-green, #3D4C3A); }
.rq-label { display: block; margin: 4px 0 -4px; font-size: 13px; font-weight: 600; color: var(--br-green, #3D4C3A); }
.rq-chips, .rq-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-chip { border: 1.5px solid var(--br-line, rgba(30,38,41,.2)); background: #fff; color: var(--br-green, #3D4C3A); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14.5px; cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.rq-chip.is-on { background: var(--br-green, #3D4C3A); border-color: var(--br-green, #3D4C3A); color: #fff; }
.rq-step .agent-field-row { display: flex; gap: 12px; }
.rq-link { border: 0; background: none; color: var(--br-green, #3D4C3A); text-decoration: underline; font: inherit; font-size: 14.5px; cursor: pointer; padding: 10px; min-height: 44px; }
.rq-consent { margin-top: 6px; }
.rq-done { gap: 12px; }
.rq-check { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--br-green, #3D4C3A); margin: 0 auto 4px; position: relative; }
.rq-check::after { content: ''; position: absolute; left: 22px; top: 12px; width: 16px; height: 30px; border: solid var(--br-green, #3D4C3A); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rq-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.rq-list li { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--br-line, rgba(30,38,41,.14)); border-radius: 18px; padding: 14px 16px; background: #fff; }
.rq-list b { display: block; color: var(--br-ink, #1E2629); }
.rq-list small { display: block; margin-top: 2px; color: var(--br-muted, rgba(30,38,41,.66)); font-size: 13px; }
.rq-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.rq-badge { font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: var(--br-pale, #EFF8E7); color: var(--br-green, #3D4C3A); }
.rq-badge.is-in_progress { background: var(--br-cream, #FBE6AB); color: var(--br-ink, #1E2629); }
.rq-badge.is-finished { background: rgba(30,38,41,.08); color: var(--br-muted, rgba(30,38,41,.66)); }
.rq-cta { margin: 36px auto 0; max-width: 1080px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 24px clamp(18px, 4vw, 32px); border-radius: 28px; background: var(--br-green, #3D4C3A); color: #fff; }
.rq-cta h2 { margin: 0 0 4px; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: clamp(22px, 3vw, 28px); color: #fff; }
.rq-cta p { margin: 0; font-size: 15px; opacity: .85; max-width: 520px; }
.rq-cta-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.rq-cta .cta-button { background: var(--br-yellow, #F1BF46); color: var(--br-ink, #1E2629); }
.rq-cta .rq-link { color: #fff; }
@media (max-width: 520px) { .rq-step .agent-field-row { flex-direction: column; } .rq-list li { flex-direction: column; } .rq-side { flex-direction: row; align-items: center; } }

/* ── Paso «Fotos» de Vender ── */
.sell-photo-add { display: block; }
.sell-photo-add span { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 1.5px dashed var(--br-green, #3D4C3A); border-radius: 18px; color: var(--br-green, #3D4C3A); background: var(--br-pale, #EFF8E7); font-size: 16px; cursor: pointer; }
.sell-photo-add:focus-within span { outline: 2px solid var(--br-green, #3D4C3A); outline-offset: 2px; }
.sell-photo-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sell-photo-grid:empty { display: none; }
.sell-photo-grid li { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--br-pale, #EFF8E7); }
.sell-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sell-photo-cover { position: absolute; left: 6px; bottom: 6px; background: var(--br-green, #3D4C3A); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.sell-photo-rm, .sell-photo-star { position: absolute; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--br-green, #3D4C3A); font-size: 14px; line-height: 1; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(30,38,41,.5); }
.sell-photo-rm { top: 6px; right: 6px; }
.sell-photo-star { left: 6px; bottom: 6px; }
