/*
 * Sell-car operation cards — visual hierarchy and semantic treatment.
 * Loaded after the page/theme styles so it can act as a focused override.
 */

.ae-sell__operation-banners {
    gap: 22px;
}

.ae-sell__operation-banner {
    min-height: clamp(500px, 44vw, 590px);
    padding: 28px;
    border-radius: 30px;
}

/*
 * Give each option a compact visual explanation of the actual commercial
 * path. The regular card copy remains the accessible source of truth; this
 * strip is a visual aid that makes the three operations immediately distinct.
 */
.ae-sell__operation-banner::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 100px;
    left: 28px;
    max-width: calc(100% - 56px);
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(7, 9, 11, .62);
    color: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 820;
    line-height: 1.25;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: normal;
    pointer-events: none;
}

.ae-sell__operation-banner:nth-child(1)::after {
    content: "Compra directa · Revisión → oferta → compra";
}

.ae-sell__operation-banner:nth-child(2)::after {
    content: "Consignación · Publicación → prospectos → venta";
}

.ae-sell__operation-banner:nth-child(3)::after {
    content: "Toma a cuenta · Valuación → valor a favor → otra unidad";
}

.ae-sell__operation-banner::before {
    background: rgba(0, 0, 0, .54);
}

.ae-sell__operation-banner:hover::before,
.ae-sell__operation-banner:focus-visible::before {
    background: rgba(0, 0, 0, .42);
}

/* Crop each existing commercial photo with a different visual intention. */
.ae-sell__operation-banner:nth-child(1) .ae-sell__operation-media img {
    object-position: 50% 44%;
}

.ae-sell__operation-banner:nth-child(2) .ae-sell__operation-media img {
    object-position: 50% 38%;
}

.ae-sell__operation-banner:nth-child(3) .ae-sell__operation-media img {
    object-position: 50% 48%;
}

.ae-sell__operation-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .48);
}

.ae-sell__operation-icon svg {
    width: 26px;
    height: 26px;
}

.ae-sell__operation-number {
    font-size: 12px;
}

.ae-sell__operation-banner-copy {
    padding: 27px;
    border-radius: 22px;
    background: rgba(8, 10, 12, .82);
    backdrop-filter: blur(16px);
}

.ae-sell__operation-banner-copy > small {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: .14em;
}

.ae-sell__operation-banner-copy > strong {
    max-width: 330px;
    font-size: clamp(30px, 2.75vw, 40px);
    line-height: 1;
}

.ae-sell__operation-banner-copy > span:not(.ae-sell__operation-banner-benefits):not(.ae-sell__operation-banner-cta) {
    margin-top: 12px;
    color: rgba(255, 255, 255, .80);
    font-size: 13.5px;
    line-height: 1.55;
}

.ae-sell__operation-banner-benefits {
    gap: 9px;
    margin-top: 20px;
}

.ae-sell__operation-banner-benefits > span {
    gap: 9px;
    color: rgba(255, 255, 255, .90);
    font-size: 12px;
    font-weight: 740;
    line-height: 1.35;
}

.ae-sell__operation-banner-benefits svg {
    width: 15px;
    height: 15px;
}

.ae-sell__operation-banner-cta {
    margin-top: 23px;
    padding-top: 18px;
}

.ae-sell__operation-banner-cta b {
    font-size: 12px;
}

.ae-sell__operation-banner-cta > span {
    width: 36px;
    height: 36px;
}

.ae-sell__operation-banner-cta svg {
    width: 17px;
    height: 17px;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .ae-sell__operation-banners {
        gap: 16px;
    }

    .ae-sell__operation-banner {
        min-height: 540px;
        padding: 22px;
    }

    .ae-sell__operation-banner::after {
        top: 92px;
        left: 22px;
        max-width: calc(100% - 44px);
        font-size: 10px;
    }

    .ae-sell__operation-banner-copy {
        padding: 22px;
    }

    .ae-sell__operation-banner-copy > strong {
        font-size: clamp(28px, 2.7vw, 34px);
    }
}

@media (max-width: 980px) {
    .ae-sell__operation-banners {
        gap: 18px;
    }

    .ae-sell__operation-banner {
        min-height: 480px;
        padding: 24px;
    }

    .ae-sell__operation-banner::after {
        top: 94px;
        left: 24px;
        max-width: calc(100% - 48px);
    }

    .ae-sell__operation-banner-copy > strong {
        max-width: 420px;
    }
}

@media (max-width: 720px) {
    .ae-sell__operation-banner {
        min-height: 440px;
        padding: 20px;
        border-radius: 24px;
    }

    .ae-sell__operation-banner::after {
        top: 84px;
        left: 20px;
        max-width: calc(100% - 40px);
        padding: 9px 11px;
        font-size: 10px;
        letter-spacing: .035em;
    }

    .ae-sell__operation-icon {
        width: 50px;
        height: 50px;
    }

    .ae-sell__operation-icon svg {
        width: 23px;
        height: 23px;
    }

    .ae-sell__operation-banner-copy {
        padding: 21px;
    }

    .ae-sell__operation-banner-copy > small {
        font-size: 10px;
    }

    .ae-sell__operation-banner-copy > strong {
        font-size: clamp(29px, 9vw, 36px);
    }

    .ae-sell__operation-banner-copy > span:not(.ae-sell__operation-banner-benefits):not(.ae-sell__operation-banner-cta) {
        font-size: 13px;
    }

    .ae-sell__operation-banner-benefits > span,
    .ae-sell__operation-banner-cta b {
        font-size: 11.5px;
    }
}

@media (max-width: 420px) {
    .ae-sell__operation-banner {
        min-height: 460px;
    }

    .ae-sell__operation-banner::after {
        border-radius: 14px;
    }
}

/* --------------------------------------------------------------------------
   Refinamiento visual final: cards editoriales, legibles y distinguibles.
   Esta capa mantiene el mismo markup/flujo y sólo mejora la composición.
   -------------------------------------------------------------------------- */
.ae-sell-page .ae-sell-page__hero {
    isolation: isolate;
}

.ae-sell-page .ae-sell-page__configurator {
    isolation: isolate;
    background: #090a0c !important;
}

.ae-sell-page .ae-sell-page__configurator [data-public-sell-car] {
    background:
        radial-gradient(circle at 14% 8%, rgba(148,201,255,.08), transparent 28%),
        radial-gradient(circle at 88% 64%, rgba(242,192,120,.07), transparent 30%),
        linear-gradient(180deg, #0b0e12 0%, #090a0c 72%) !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner {
    --card-accent: #f2c078;
    --card-accent-soft: rgba(242, 192, 120, .22);
    min-height: clamp(452px, 29vw, 520px) !important;
    padding: 22px !important;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 28px !important;
    background: #11151a !important;
    box-shadow: 0 22px 48px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12) !important;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .3s ease !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:nth-child(2) {
    --card-accent: #94c9ff;
    --card-accent-soft: rgba(148, 201, 255, .22);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:nth-child(3) {
    --card-accent: #c7e79d;
    --card-accent-soft: rgba(199, 231, 157, .21);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner::before {
    background:
        linear-gradient(180deg, rgba(5,7,10,.12) 0%, rgba(5,7,10,.08) 32%, rgba(5,7,10,.84) 100%),
        linear-gradient(118deg, var(--card-accent-soft), transparent 52%) !important;
    transition: background .3s ease !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:hover,
.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:focus-visible {
    transform: translateY(-8px) !important;
    border-color: color-mix(in srgb, var(--card-accent) 72%, white 28%) !important;
    box-shadow: 0 34px 72px rgba(0,0,0,.34), 0 0 0 3px color-mix(in srgb, var(--card-accent) 20%, transparent), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:hover::before,
.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:focus-visible::before {
    background:
        linear-gradient(180deg, rgba(5,7,10,.08) 0%, rgba(5,7,10,.04) 32%, rgba(5,7,10,.78) 100%),
        linear-gradient(118deg, color-mix(in srgb, var(--card-accent) 25%, transparent), transparent 58%) !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner.is-active {
    border-color: var(--card-accent) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--card-accent) 20%, transparent), 0 30px 66px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner::after {
    top: 102px;
    left: 22px;
    max-width: calc(100% - 44px);
    padding: 8px 11px !important;
    border: 1px solid color-mix(in srgb, var(--card-accent) 54%, rgba(255,255,255,.18));
    border-radius: 10px;
    background: rgba(6,9,12,.58);
    color: rgba(255,255,255,.86);
    box-shadow: 0 8px 24px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px) saturate(125%);
    font-size: 9px !important;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.3;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-icon {
    width: 52px !important;
    height: 52px !important;
    border: 1px solid color-mix(in srgb, var(--card-accent) 64%, rgba(255,255,255,.45));
    border-radius: 15px !important;
    background: color-mix(in srgb, var(--card-accent) 16%, rgba(7,9,11,.72)) !important;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.16);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-icon svg {
    width: 23px;
    height: 23px;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-number {
    color: var(--card-accent);
    font-size: 10px !important;
    letter-spacing: .18em;
    text-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 36%, transparent);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy {
    position: relative;
    min-height: 238px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 21px 22px 18px !important;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 21px !important;
    background: linear-gradient(145deg, rgba(9,12,15,.72), rgba(9,11,14,.91)) !important;
    box-shadow: 0 15px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(18px) saturate(125%);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 54px;
    height: 2px;
    border-radius: 999px;
    background: var(--card-accent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 52%, transparent);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy > small {
    margin-bottom: 8px;
    color: color-mix(in srgb, var(--card-accent) 74%, white 26%);
    font-size: 9px !important;
    letter-spacing: .16em;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy > strong {
    max-width: 320px;
    color: #fff;
    font-size: clamp(27px, 2.35vw, 35px) !important;
    line-height: .98 !important;
    letter-spacing: -.045em;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy > span:not(.ae-sell__operation-banner-benefits):not(.ae-sell__operation-banner-cta) {
    max-width: 340px;
    margin-top: 10px;
    color: rgba(239,243,247,.72);
    font-size: 11px !important;
    line-height: 1.48;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-benefits {
    gap: 7px !important;
    margin-top: 15px !important;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-benefits > span {
    gap: 8px;
    color: rgba(247,249,251,.86);
    font-size: 10px !important;
    line-height: 1.3;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-benefits svg {
    width: 14px;
    height: 14px;
    color: var(--card-accent);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-cta {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top-color: rgba(255,255,255,.18);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-cta b {
    color: rgba(255,255,255,.92);
    font-size: 10px !important;
    letter-spacing: .01em;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-cta > span {
    width: 34px !important;
    height: 34px !important;
    border-color: color-mix(in srgb, var(--card-accent) 72%, rgba(255,255,255,.65));
    background: color-mix(in srgb, var(--card-accent) 15%, transparent);
    color: #fff;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:hover .ae-sell__operation-banner-cta > span,
.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner:focus-visible .ae-sell__operation-banner-cta > span {
    transform: translateX(3px);
    background: var(--card-accent);
    color: #0b0d10;
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-note {
    max-width: 940px;
    margin-top: 18px;
    padding: 13px 16px;
    border-color: rgba(255,255,255,.14);
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(24,28,33,.92), rgba(17,20,24,.72));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.ae-sell-page .ae-sell-page__configurator .ae-sell__operation-note svg {
    color: #fff;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner {
        min-height: 480px;
        padding: 19px;
    }

    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner::after {
        top: 94px;
        left: 19px;
        max-width: calc(100% - 38px);
        font-size: 8px;
    }

    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy {
        padding: 18px;
    }
}

@media (max-width: 720px) {
    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner {
        min-height: 438px;
        padding: 18px;
        border-radius: 23px;
    }

    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner::after {
        top: 84px;
        left: 18px;
        max-width: calc(100% - 36px);
        padding: 8px 10px;
        font-size: 8px;
        letter-spacing: .045em;
    }

    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy {
        min-height: 228px;
        padding: 19px;
        border-radius: 19px;
    }

    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-copy > strong {
        font-size: clamp(28px, 8.5vw, 35px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner,
    .ae-sell-page .ae-sell-page__configurator .ae-sell__operation-banner-cta > span {
        transition: none;
    }
}
