/* Autos Esquivel — Vende tu auto / refresh premium octubre 2026
 * Capa visual final. No altera lógica, tracking, validaciones ni envío al CRM.
 */

/* --------------------------------------------------------------------------
   Página
   -------------------------------------------------------------------------- */
.ae-sell-page--refresh {
    --ae-sell-page-bg: #f3f3f0;
    --ae-sell-page-panel: #ffffff;
    --ae-sell-page-panel-soft: #e9e9e5;
    --ae-sell-page-ink: #0b0c0e;
    --ae-sell-page-text: #35393e;
    --ae-sell-page-muted: #747a80;
    --ae-sell-page-line: #d7d8d4;
    --ae-sell-page-line-strong: #bfc1bc;
    --ae-sell-page-inverse: #090a0c;
    --ae-sell-page-inverse-text: #f7f7f5;
    background: var(--ae-sell-page-bg);
    color: var(--ae-sell-page-ink);
}

html[data-theme="dark"] .ae-sell-page--refresh {
    --ae-sell-page-bg: #090a0c;
    --ae-sell-page-panel: #101216;
    --ae-sell-page-panel-soft: #17191e;
    --ae-sell-page-ink: #f4f4f1;
    --ae-sell-page-text: #d6d8db;
    --ae-sell-page-muted: #92979e;
    --ae-sell-page-line: #272a2f;
    --ae-sell-page-line-strong: #41454c;
    --ae-sell-page-inverse: #f3f3f0;
    --ae-sell-page-inverse-text: #0b0c0e;
}

.ae-sell-page--refresh :where(a, button, input, textarea) {
    -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.ae-sell-page--refresh .ae-sell-page__hero {
    position: relative;
    min-height: min(800px, calc(100svh - 24px)) !important;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    background: #07080a !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

.ae-sell-page--refresh .ae-sell-page__hero-media {
    position: absolute;
    inset: 0 !important;
    z-index: -3;
    opacity: 1 !important;
    transform: none !important;
    background-image:
        linear-gradient(90deg, rgba(5,6,8,.98) 0%, rgba(5,6,8,.88) 38%, rgba(5,6,8,.34) 67%, rgba(5,6,8,.16) 100%),
        linear-gradient(180deg, rgba(5,6,8,.06) 0%, rgba(5,6,8,.12) 55%, rgba(5,6,8,.72) 100%),
        url('/images/comercial/agencia-vende-tu-auto.webp') !important;
    background-size: cover !important;
    background-position: center, center, 58% 50% !important;
    filter: saturate(.78) contrast(1.06) !important;
}

.ae-sell-page--refresh .ae-sell-page__hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .17 !important;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px) !important;
    background-size: 74px 74px !important;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.78) 46%, transparent 84%);
}

.ae-sell-page--refresh .ae-sell-page__hero::after {
    content: "";
    position: absolute;
    right: -9vw;
    bottom: -18vw;
    z-index: -1;
    width: 52vw;
    height: 52vw;
    border: 1px solid rgba(255,255,255,.08);
    transform: rotate(18deg);
    pointer-events: none;
}

.ae-sell-page--refresh .ae-sell-page__hero-inner {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .58fr) !important;
    align-items: end !important;
    gap: clamp(34px, 6vw, 94px) !important;
    padding-top: clamp(130px, 16vh, 190px) !important;
    padding-bottom: clamp(58px, 7vw, 92px) !important;
}

.ae-sell-page--refresh .ae-sell-page__hero-copy {
    max-width: 860px !important;
}

.ae-sell-page--refresh .ae-sell-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.68) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.ae-sell-page--refresh .ae-sell-page__eyebrow i {
    width: 26px;
    height: 1px;
    background: rgba(255,255,255,.82) !important;
    box-shadow: none !important;
}

.ae-sell-page--refresh .ae-sell-page__hero h1 {
    margin: 0;
    max-width: 820px;
    color: #fff !important;
    font-size: clamp(54px, 7.2vw, 112px) !important;
    font-weight: 780 !important;
    line-height: .86 !important;
    letter-spacing: -.065em !important;
    text-transform: uppercase;
}

.ae-sell-page--refresh .ae-sell-page__hero h1 span {
    display: block;
}

.ae-sell-page--refresh .ae-sell-page__hero h1 em {
    display: block;
    margin-top: 8px;
    color: transparent !important;
    font-style: normal;
    -webkit-text-stroke: 1px rgba(255,255,255,.72) !important;
}

.ae-sell-page--refresh .ae-sell-page__hero-copy > p {
    display: block !important;
    max-width: 630px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.67) !important;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.68;
}

.ae-sell-page--refresh .ae-sell-page__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.ae-sell-page--refresh .ae-sell-page__primary,
.ae-sell-page--refresh .ae-sell-page__secondary {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.28) !important;
    border-radius: 0 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.01em;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ae-sell-page--refresh .ae-sell-page__primary {
    background: #fff !important;
    color: #090a0c !important;
    border-color: #fff !important;
}

.ae-sell-page--refresh .ae-sell-page__secondary {
    background: rgba(9,10,12,.38) !important;
    color: #fff !important;
    backdrop-filter: blur(12px);
}

.ae-sell-page--refresh .ae-sell-page__primary:hover,
.ae-sell-page--refresh .ae-sell-page__secondary:hover {
    transform: translateY(-2px);
}

.ae-sell-page--refresh .ae-sell-page__secondary:hover {
    border-color: rgba(255,255,255,.58) !important;
    background: rgba(255,255,255,.08) !important;
}

.ae-sell-page--refresh .ae-sell-page__hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 680px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.ae-sell-page--refresh .ae-sell-page__hero-proof span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.58) !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ae-sell-page--refresh .ae-sell-page__hero-proof b {
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
}

.ae-sell-page__hero-panel {
    align-self: end;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(7,8,10,.66);
    color: #fff;
    box-shadow: 0 28px 76px rgba(0,0,0,.30);
    backdrop-filter: blur(20px) saturate(110%);
    -webkit-backdrop-filter: blur(20px) saturate(110%);
}

.ae-sell-page__hero-panel > span {
    display: block;
    margin-bottom: 14px;
    color: rgba(255,255,255,.46);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ae-sell-page__hero-panel h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.ae-sell-page__hero-panel ol {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.ae-sell-page__hero-panel li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.11);
}

.ae-sell-page__hero-panel li b {
    color: rgba(255,255,255,.44);
    font-size: 10px;
    letter-spacing: .08em;
}

.ae-sell-page__hero-panel li strong {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 650;
}

.ae-sell-page__hero-panel li small {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.53);
    font-size: 10.5px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Rail de proceso
   -------------------------------------------------------------------------- */
.ae-sell-page--refresh .ae-sell-page__rail {
    background: var(--ae-sell-page-panel) !important;
    color: var(--ae-sell-page-ink) !important;
    border-bottom: 1px solid var(--ae-sell-page-line) !important;
}

.ae-sell-page--refresh .ae-sell-page__rail .site-shell {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 0;
    padding-bottom: 0;
}

.ae-sell-page--refresh .ae-sell-page__rail .site-shell > div {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px clamp(12px, 2vw, 26px);
    border-right: 1px solid var(--ae-sell-page-line);
}

.ae-sell-page--refresh .ae-sell-page__rail .site-shell > div:first-child {
    border-left: 1px solid var(--ae-sell-page-line);
}

.ae-sell-page--refresh .ae-sell-page__rail span {
    color: var(--ae-sell-page-muted) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ae-sell-page--refresh .ae-sell-page__rail strong {
    color: var(--ae-sell-page-ink) !important;
    font-size: 11px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Cabecera de valuación
   -------------------------------------------------------------------------- */
.ae-sell-page--refresh .ae-sell-page__configurator {
    scroll-margin-top: 92px;
    padding: clamp(70px, 8vw, 116px) 0 clamp(82px, 9vw, 132px) !important;
    background:
        linear-gradient(var(--ae-sell-page-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ae-sell-page-line) 1px, transparent 1px),
        var(--ae-sell-page-bg) !important;
    background-size: 76px 76px !important;
}

.ae-sell-page__valuation-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr);
    gap: clamp(30px, 6vw, 86px);
    align-items: end;
    margin-bottom: clamp(42px, 5vw, 70px);
}

.ae-sell-page__valuation-intro > div:first-child > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ae-sell-page-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ae-sell-page__valuation-intro > div:first-child > span::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.ae-sell-page__valuation-intro h2 {
    max-width: 760px;
    margin: 17px 0 0;
    color: var(--ae-sell-page-ink);
    font-size: clamp(42px, 5.4vw, 78px);
    font-weight: 760;
    line-height: .94;
    letter-spacing: -.058em;
}

.ae-sell-page__valuation-intro p {
    max-width: 520px;
    margin: 0;
    color: var(--ae-sell-page-muted);
    font-size: 14px;
    line-height: 1.72;
}

.ae-sell-page__valuation-intro p strong {
    color: var(--ae-sell-page-ink);
    font-weight: 700;
}

/* React shell / selección */
.ae-sell-page--refresh .ae-sell-page__configurator [data-public-sell-car] > .ae-sell {
    padding: 0 !important;
    background: transparent !important;
}

.ae-sell-page--refresh .ae-sell-page__configurator [data-public-sell-car] > .ae-sell > .site-shell {
    display: block !important;
}

.ae-sell-page--refresh .ae-sell__selection {
    padding: clamp(26px, 3vw, 40px) !important;
    border: 1px solid var(--ae-sell-page-line-strong) !important;
    border-radius: 0 !important;
    background: color-mix(in srgb, var(--ae-sell-page-panel) 96%, transparent) !important;
    box-shadow: 0 28px 80px rgba(15,17,20,.07) !important;
}

html[data-theme="dark"] .ae-sell-page--refresh .ae-sell__selection {
    box-shadow: 0 30px 90px rgba(0,0,0,.24) !important;
}

.ae-sell-page--refresh .ae-sell__selection-heading {
    display: grid !important;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
    column-gap: 34px;
    align-items: start;
    padding-bottom: 26px !important;
    border-bottom: 1px solid var(--ae-sell-page-line) !important;
}

.ae-sell-page--refresh .ae-sell__selection-heading > span {
    color: var(--ae-sell-page-muted) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.ae-sell-page--refresh .ae-sell__selection-heading h3 {
    grid-column: 2;
    margin: 0 !important;
    color: var(--ae-sell-page-ink) !important;
    font-size: clamp(28px, 3.2vw, 46px) !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
}

.ae-sell-page--refresh .ae-sell__selection-heading p {
    grid-column: 2;
    max-width: 650px !important;
    margin: 12px 0 0 !important;
    color: var(--ae-sell-page-muted) !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.ae-sell-page--refresh .ae-sale-routes {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 26px !important;
}

.ae-sell-page--refresh .ae-sale-route {
    position: relative !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 26px !important;
    padding: 24px !important;
    overflow: hidden !important;
    border: 1px solid var(--ae-sell-page-line) !important;
    border-radius: 0 !important;
    background: var(--ae-sell-page-panel) !important;
    color: var(--ae-sell-page-ink) !important;
    text-align: left !important;
    box-shadow: none !important;
    transition: transform 190ms ease, border-color 190ms ease, background-color 190ms ease, color 190ms ease, box-shadow 190ms ease !important;
}

.ae-sell-page--refresh .ae-sale-route::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ae-sell-page-ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease;
}

.ae-sell-page--refresh .ae-sale-route:hover,
.ae-sell-page--refresh .ae-sale-route:focus-visible {
    transform: translateY(-4px) !important;
    border-color: var(--ae-sell-page-ink) !important;
    box-shadow: 0 20px 46px rgba(12,14,18,.08) !important;
}

.ae-sell-page--refresh .ae-sale-route:hover::before,
.ae-sell-page--refresh .ae-sale-route:focus-visible::before,
.ae-sell-page--refresh .ae-sale-route.is-active::before {
    transform: scaleX(1);
}

.ae-sell-page--refresh .ae-sale-route.is-active {
    border-color: var(--ae-sell-page-ink) !important;
    background: var(--ae-sell-page-ink) !important;
    color: var(--ae-sell-page-panel) !important;
}

.ae-sell-page--refresh .ae-sale-route__top,
.ae-sell-page--refresh .ae-sale-route__cta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.ae-sell-page--refresh .ae-sale-route__icon {
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid currentColor !important;
    border-radius: 0 !important;
    opacity: .84;
}

.ae-sell-page--refresh .ae-sale-route__icon svg {
    width: 21px !important;
    height: 21px !important;
}

.ae-sell-page--refresh .ae-sale-route__number {
    color: currentColor !important;
    opacity: .42;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
}

.ae-sell-page--refresh .ae-sale-route__body {
    display: block !important;
}

.ae-sell-page--refresh .ae-sale-route__eyebrow {
    display: block !important;
    margin-bottom: 8px !important;
    color: currentColor !important;
    opacity: .5;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.ae-sell-page--refresh .ae-sale-route__title {
    display: block !important;
    max-width: 240px;
    color: currentColor !important;
    font-size: clamp(20px, 2vw, 27px) !important;
    font-weight: 730 !important;
    line-height: 1.06 !important;
    letter-spacing: -.04em !important;
}

.ae-sell-page--refresh .ae-sale-route__cta {
    padding-top: 16px !important;
    border-top: 1px solid currentColor !important;
    opacity: .7;
}

.ae-sell-page--refresh .ae-sale-route__cta b {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

.ae-sell-page--refresh .ae-sale-route__cta span {
    width: 20px !important;
    height: 20px !important;
}

.ae-sell-page--refresh .ae-sell__operation-note {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 20px !important;
    padding: 16px 18px !important;
    border: 1px solid var(--ae-sell-page-line) !important;
    border-radius: 0 !important;
    background: var(--ae-sell-page-panel-soft) !important;
    color: var(--ae-sell-page-muted) !important;
}

.ae-sell-page--refresh .ae-sell__operation-note svg {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px;
    color: var(--ae-sell-page-ink) !important;
}

.ae-sell-page--refresh .ae-sell__operation-note span {
    font-size: 11px !important;
    line-height: 1.55 !important;
}

.ae-sell-page--refresh .ae-sell__operation-note b {
    color: var(--ae-sell-page-ink) !important;
}

/* --------------------------------------------------------------------------
   Bloque de soporte
   -------------------------------------------------------------------------- */
.ae-sell-page__support {
    border-top: 1px solid var(--ae-sell-page-line);
    border-bottom: 1px solid var(--ae-sell-page-line);
    background: var(--ae-sell-page-panel);
}

.ae-sell-page__support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ae-sell-page__support-item {
    min-height: 180px;
    padding: clamp(24px, 3vw, 40px);
    border-right: 1px solid var(--ae-sell-page-line);
}

.ae-sell-page__support-item:first-child {
    border-left: 1px solid var(--ae-sell-page-line);
}

.ae-sell-page__support-item > span {
    display: block;
    color: var(--ae-sell-page-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ae-sell-page__support-item strong {
    display: block;
    margin-top: 28px;
    color: var(--ae-sell-page-ink);
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.ae-sell-page__support-item p {
    max-width: 360px;
    margin: 8px 0 0;
    color: var(--ae-sell-page-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.ae-sell-page--refresh .ae-sell-page__faq {
    padding: clamp(84px, 9vw, 132px) 0 !important;
    background: var(--ae-sell-page-bg) !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-inner {
    display: grid !important;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr) !important;
    gap: clamp(34px, 7vw, 100px) !important;
    align-items: start !important;
}

.ae-sell-page--refresh .ae-sell-page__faq header {
    position: sticky !important;
    top: 110px !important;
}

.ae-sell-page--refresh .ae-sell-page__faq header > span {
    color: var(--ae-sell-page-muted) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
}

.ae-sell-page--refresh .ae-sell-page__faq header h2 {
    margin: 14px 0 0 !important;
    color: var(--ae-sell-page-ink) !important;
    font-size: clamp(42px, 5vw, 72px) !important;
    line-height: .92 !important;
    letter-spacing: -.055em !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    border: 0 !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list details {
    min-height: 0 !important;
    border: 1px solid var(--ae-sell-page-line) !important;
    border-radius: 0 !important;
    background: var(--ae-sell-page-panel) !important;
    box-shadow: none !important;
    color: var(--ae-sell-page-ink) !important;
    transition: border-color 180ms ease, transform 180ms ease !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list details::before {
    display: none !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list details:hover,
.ae-sell-page--refresh .ae-sell-page__faq-list details[open] {
    transform: translateX(4px) !important;
    border-color: var(--ae-sell-page-line-strong) !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list summary {
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    padding: 18px 20px 18px 24px !important;
    color: var(--ae-sell-page-ink) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list summary span {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid var(--ae-sell-page-line-strong) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--ae-sell-page-ink) !important;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list details[open] summary span {
    transform: rotate(45deg);
    background: var(--ae-sell-page-ink) !important;
    color: var(--ae-sell-page-panel) !important;
}

.ae-sell-page--refresh .ae-sell-page__faq-list details p {
    max-width: 700px !important;
    margin: -4px 72px 24px 24px !important;
    color: var(--ae-sell-page-muted) !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
}

/* --------------------------------------------------------------------------
   Modal / wizard — capa final para que deje de sentirse administrativo
   -------------------------------------------------------------------------- */
body .ae-sell-modal.ae-sell-page {
    --sq-bg: #efefec !important;
    --sq-panel: #ffffff !important;
    --sq-panel-2: #f5f5f2 !important;
    --sq-field: #ffffff !important;
    --sq-line: #d7d8d4 !important;
    --sq-line-strong: #b9bcb6 !important;
    --sq-ink: #0b0c0e !important;
    --sq-text: #35393e !important;
    --sq-muted: #747a80 !important;
    --sq-accent: #0b0c0e !important;
    --sq-accent-ink: #ffffff !important;
    padding: 10px !important;
    background: rgba(4,5,7,.88) !important;
    backdrop-filter: blur(18px) saturate(.85) !important;
}

html[data-theme="dark"] body .ae-sell-modal.ae-sell-page {
    --sq-bg: #090a0c !important;
    --sq-panel: #111318 !important;
    --sq-panel-2: #17191e !important;
    --sq-field: #12151a !important;
    --sq-line: #292c31 !important;
    --sq-line-strong: #454950 !important;
    --sq-ink: #f4f4f1 !important;
    --sq-text: #d5d7da !important;
    --sq-muted: #92979e !important;
    --sq-accent: #f4f4f1 !important;
    --sq-accent-ink: #0b0c0e !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__dialog {
    width: min(1480px, 100%) !important;
    max-height: calc(100dvh - 20px) !important;
    border: 1px solid var(--sq-line-strong) !important;
    background: var(--sq-bg) !important;
    box-shadow: 0 46px 140px rgba(0,0,0,.58) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__topbar {
    min-height: 70px !important;
    padding: 12px 14px 12px 22px !important;
    border-bottom: 1px solid var(--sq-line) !important;
    background: color-mix(in srgb, var(--sq-panel) 96%, transparent) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__topbar span {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--sq-muted) !important;
    font-size: 8.5px !important;
    letter-spacing: .13em !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__topbar strong {
    font-size: 16px !important;
    font-weight: 760 !important;
    letter-spacing: -.025em !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__topbar button {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border: 1px solid var(--sq-line) !important;
    background: transparent !important;
    transition: background-color 170ms ease, color 170ms ease, transform 170ms ease !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__topbar button:hover {
    transform: rotate(4deg) !important;
    background: var(--sq-ink) !important;
    color: var(--sq-panel) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell-modal__content.ae-sell {
    padding: 20px !important;
    background-image: none !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__workspace {
    max-width: 1420px !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px) !important;
    gap: 18px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__form-card {
    border: 1px solid var(--sq-line) !important;
    background: var(--sq-panel) !important;
    box-shadow: 0 18px 50px rgba(9,11,14,.055) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress {
    padding: 20px 24px 18px !important;
    border-bottom: 1px solid var(--sq-line) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress-top {
    margin-bottom: 10px !important;
    font-size: 9px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress-top b {
    min-width: 50px !important;
    padding: 6px 9px !important;
    border: 0 !important;
    background: var(--sq-panel-2) !important;
    font-size: 11px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress-bar {
    height: 3px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress ol {
    gap: 6px !important;
    margin-top: 15px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress li {
    min-height: 38px !important;
    padding: 4px 6px !important;
    gap: 8px !important;
    font-size: 9px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__progress li > b {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
    font-size: 9px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__step {
    padding: 30px 30px 10px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__step-heading {
    margin-bottom: 24px !important;
    padding: 0 0 22px !important;
    border-bottom: 1px solid var(--sq-line) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__step-heading::before {
    display: none !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__step-heading > span {
    margin-bottom: 9px !important;
    color: var(--sq-muted) !important;
    font-size: 9px !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__step-heading h3 {
    max-width: 760px !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 760 !important;
    line-height: .98 !important;
    letter-spacing: -.05em !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__step-heading p {
    max-width: 720px !important;
    margin-top: 11px !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__fields {
    gap: 15px 14px !important;
}

body .ae-sell-modal.ae-sell-page :is(
    .ae-sell__fields input,
    .ae-sell__fields textarea,
    .ae-sell__select-trigger,
    .ae-sell__color-trigger,
    .ae-sell__catalog-input
) {
    min-height: 54px !important;
    border: 1px solid var(--sq-line) !important;
    background: var(--sq-field) !important;
    color: var(--sq-ink) !important;
    box-shadow: none !important;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease !important;
}

body .ae-sell-modal.ae-sell-page :is(
    .ae-sell__fields input,
    .ae-sell__fields textarea,
    .ae-sell__select-trigger,
    .ae-sell__color-trigger,
    .ae-sell__catalog-input
):focus,
body .ae-sell-modal.ae-sell-page :is(
    .ae-sell__fields input,
    .ae-sell__fields textarea,
    .ae-sell__select.is-open .ae-sell__select-trigger,
    .ae-sell__color-field.is-open .ae-sell__color-trigger,
    .ae-sell__catalog-field.is-open .ae-sell__catalog-input
) {
    border-color: var(--sq-ink) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sq-ink) 10%, transparent) !important;
    outline: none !important;
}

body .ae-sell-modal.ae-sell-page :is(.ae-sell__choice, .ae-sell__branch, .ae-sell__date-slot) {
    border: 1px solid var(--sq-line) !important;
    background: var(--sq-panel) !important;
    box-shadow: none !important;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease !important;
}

body .ae-sell-modal.ae-sell-page :is(.ae-sell__choice, .ae-sell__branch):hover {
    transform: translateY(-2px) !important;
    border-color: var(--sq-line-strong) !important;
}

body .ae-sell-modal.ae-sell-page :is(.ae-sell__choice.is-active, .ae-sell__branch.is-active) {
    border-color: var(--sq-ink) !important;
    background: var(--sq-panel-2) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary {
    position: sticky !important;
    top: 84px !important;
    padding: 26px !important;
    border: 1px solid #202226 !important;
    background: #0a0b0d !important;
    color: #fff !important;
    box-shadow: 0 22px 62px rgba(0,0,0,.12) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary :is(h3, dd, strong, b) {
    color: #fff !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary :is(p, dt, small, span) {
    color: rgba(255,255,255,.58) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary-head {
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary-head i {
    background: #fff !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary dl > div {
    border-color: rgba(255,255,255,.11) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__summary-note {
    border: 1px solid rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.055) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__nav {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 80 !important;
    margin-top: 18px !important;
    padding: 14px 30px !important;
    border-top: 1px solid var(--sq-line) !important;
    background: color-mix(in srgb, var(--sq-panel) 96%, transparent) !important;
    backdrop-filter: blur(16px) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__nav :is(.ae-sell__back, .ae-sell__next, .ae-sell__submit) {
    min-height: 52px !important;
    border: 1px solid var(--sq-line-strong) !important;
    box-shadow: none !important;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__nav :is(.ae-sell__next, .ae-sell__submit) {
    background: var(--sq-ink) !important;
    color: var(--sq-panel) !important;
    border-color: var(--sq-ink) !important;
}

body .ae-sell-modal.ae-sell-page .ae-sell__nav :is(.ae-sell__back, .ae-sell__next, .ae-sell__submit):hover {
    transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .ae-sell-page--refresh .ae-sell-page__hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr) !important;
        gap: 34px !important;
    }

    .ae-sell-page--refresh .ae-sell-page__faq header {
        position: static !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__workspace {
        grid-template-columns: minmax(0, 1fr) 300px !important;
    }
}

@media (max-width: 900px) {
    .ae-sell-page--refresh .ae-sell-page__hero {
        min-height: auto !important;
    }

    .ae-sell-page--refresh .ae-sell-page__hero-inner {
        grid-template-columns: 1fr !important;
        align-items: start !important;
        padding-top: 132px !important;
        padding-bottom: 48px !important;
    }

    .ae-sell-page--refresh .ae-sell-page__hero-media {
        background-image:
            linear-gradient(180deg, rgba(5,6,8,.54) 0%, rgba(5,6,8,.80) 56%, rgba(5,6,8,.98) 100%),
            url('/images/comercial/agencia-vende-tu-auto.webp') !important;
        background-position: center, 63% center !important;
    }

    .ae-sell-page__hero-panel {
        width: min(100%, 620px);
    }

    .ae-sell-page--refresh .ae-sell-page__rail .site-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ae-sell-page--refresh .ae-sell-page__rail .site-shell > div:nth-child(2) {
        border-right: 1px solid var(--ae-sell-page-line);
    }

    .ae-sell-page--refresh .ae-sell-page__rail .site-shell > div:nth-child(n+3) {
        border-top: 1px solid var(--ae-sell-page-line);
    }

    .ae-sell-page__valuation-intro,
    .ae-sell-page--refresh .ae-sell-page__faq-inner {
        grid-template-columns: 1fr !important;
    }

    .ae-sell-page--refresh .ae-sale-routes {
        grid-template-columns: 1fr !important;
    }

    .ae-sell-page--refresh .ae-sale-route {
        min-height: 190px !important;
    }

    .ae-sell-page__support-grid {
        grid-template-columns: 1fr;
    }

    .ae-sell-page__support-item,
    .ae-sell-page__support-item:first-child {
        min-height: 0;
        border-left: 1px solid var(--ae-sell-page-line);
        border-right: 1px solid var(--ae-sell-page-line);
        border-bottom: 1px solid var(--ae-sell-page-line);
    }

    .ae-sell-page__support-item:last-child {
        border-bottom: 0;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__workspace {
        grid-template-columns: 1fr !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__summary {
        position: static !important;
        order: 2;
    }
}

@media (max-width: 680px) {
    .ae-sell-page--refresh .ae-sell-page__hero-inner {
        padding-top: 110px !important;
        padding-bottom: 34px !important;
    }

    .ae-sell-page--refresh .ae-sell-page__hero h1 {
        font-size: clamp(48px, 17vw, 76px) !important;
    }

    .ae-sell-page--refresh .ae-sell-page__hero-copy > p {
        margin-top: 20px;
        font-size: 14px;
    }

    .ae-sell-page--refresh .ae-sell-page__hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .ae-sell-page--refresh .ae-sell-page__primary,
    .ae-sell-page--refresh .ae-sell-page__secondary {
        width: 100%;
    }

    .ae-sell-page--refresh .ae-sell-page__hero-proof {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ae-sell-page__hero-panel {
        padding: 22px;
    }

    .ae-sell-page--refresh .ae-sell-page__rail .site-shell {
        grid-template-columns: 1fr;
    }

    .ae-sell-page--refresh .ae-sell-page__rail .site-shell > div,
    .ae-sell-page--refresh .ae-sell-page__rail .site-shell > div:first-child {
        min-height: 66px;
        border-left: 1px solid var(--ae-sell-page-line);
        border-right: 1px solid var(--ae-sell-page-line);
        border-top: 1px solid var(--ae-sell-page-line);
    }

    .ae-sell-page--refresh .ae-sell-page__rail .site-shell > div:first-child {
        border-top: 0;
    }

    .ae-sell-page--refresh .ae-sell-page__configurator {
        padding: 64px 0 76px !important;
        background-size: 48px 48px !important;
    }

    .ae-sell-page__valuation-intro {
        margin-bottom: 32px;
    }

    .ae-sell-page__valuation-intro h2 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .ae-sell-page--refresh .ae-sell__selection {
        padding: 18px !important;
    }

    .ae-sell-page--refresh .ae-sell__selection-heading {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .ae-sell-page--refresh .ae-sell__selection-heading h3,
    .ae-sell-page--refresh .ae-sell__selection-heading p {
        grid-column: 1 !important;
    }

    .ae-sell-page--refresh .ae-sale-route {
        min-height: 176px !important;
        padding: 20px !important;
    }

    .ae-sell-page--refresh .ae-sell-page__faq {
        padding: 70px 0 84px !important;
    }

    body .ae-sell-modal.ae-sell-page {
        padding: 0 !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell-modal__dialog {
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        border: 0 !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell-modal__content.ae-sell {
        padding: 10px !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__progress {
        padding: 16px !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__progress ol {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 4px !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__progress li {
        justify-content: center !important;
        padding: 3px !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__progress li > span {
        display: none !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__step {
        padding: 24px 18px 8px !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__step-heading h3 {
        font-size: clamp(28px, 9vw, 38px) !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__fields {
        grid-template-columns: 1fr !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__nav {
        padding: 12px 18px max(12px, env(safe-area-inset-bottom)) !important;
    }

    body .ae-sell-modal.ae-sell-page .ae-sell__nav :is(.ae-sell__back, .ae-sell__next, .ae-sell__submit) {
        min-height: 50px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ae-sell-page--refresh *,
    body .ae-sell-modal.ae-sell-page * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
