/**
 * Landing /sell/ — misma tipografía del index (Inter) + FAQ igual al home.
 * Sin imagen del marketplace en el hero.
 */

body.landing-sell {
    --sell-onyx: #07191E;
    --sell-ink: #132E35;
    --sell-text: #1A3840;
    --sell-muted: #5A7279;
    --sell-line: rgba(7, 25, 30, 0.1);
    --sell-surface: #FFFFFF;
    --sell-soft: #F5F9F7;
    --sell-emerald: #0E8F66;
    --sell-emerald-deep: #087550;
    --sell-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sell-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #F7FAF8;
    color: var(--sell-text);
    font-family: var(--sell-font);
    overflow-x: clip;
}

body.landing-sell .public-nav {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: none !important;
    box-shadow: none !important;
}

.sell-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

/* —— Hero (solo copy; sin imagen del index) —— */
.sell-hero {
    position: relative;
    overflow: hidden;
}

.sell-hero__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 82% 12%, rgba(14, 143, 102, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9f7 100%);
}

.sell-hero__atmosphere::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(7, 25, 30, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 25, 30, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 72%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 72%);
}

.sell-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(3.25rem, 6vh, 4.75rem) 24px clamp(2.5rem, 5vh, 3.5rem);
    box-sizing: border-box;
}

.sell-hero__copy {
    max-width: 100%;
    min-width: 0;
}

.sell-hero h1 {
    margin: 0;
    max-width: 16ch;
    color: var(--sell-onyx);
    font-size: clamp(2.4rem, 5vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -0.048em;
    line-height: 1.02;
}

.sell-hero__lead {
    margin: 1.2rem 0 0;
    max-width: 34rem;
    color: var(--sell-muted);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    font-weight: 500;
    line-height: 1.62;
}

.sell-hero__actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sell-hero__back {
    margin: 1.35rem 0 0;
    font-size: 0.9rem;
}

.sell-hero__back a {
    color: var(--sell-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 180ms var(--sell-ease), border-color 180ms var(--sell-ease);
}

.sell-hero__back a:hover {
    color: var(--sell-onyx);
    border-bottom-color: rgba(7, 25, 30, 0.28);
}

/* —— Buttons (compactos, como el index) —— */
.sell-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    transition:
        transform 180ms var(--sell-ease),
        background 180ms var(--sell-ease),
        color 180ms var(--sell-ease),
        border-color 180ms var(--sell-ease);
}

.sell-hero__actions .sell-btn {
    flex: 1 1 100%;
    width: 100%;
}

.sell-btn--primary {
    background: var(--sell-onyx);
    color: #fff;
    border: 1px solid var(--sell-onyx);
}

.sell-btn--primary:hover {
    background: #0c2429;
    color: #fff;
    transform: translateY(-1px);
}

.sell-btn--secondary {
    background: #fff;
    color: var(--sell-onyx);
    border: 1px solid var(--sell-line);
}

.sell-btn--secondary:hover {
    border-color: rgba(7, 25, 30, 0.22);
    background: var(--sell-soft);
}

.sell-btn--light {
    background: #fff;
    color: var(--sell-onyx);
    border: 1px solid transparent;
}

.sell-btn--light:hover {
    background: var(--sell-soft);
    color: var(--sell-onyx);
    transform: translateY(-1px);
}

.sell-btn--ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.sell-btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* —— Sections —— */
.sell-section {
    padding: clamp(3.25rem, 7vw, 4.75rem) 0;
}

.sell-section__head {
    max-width: 36rem;
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.sell-section__head h2 {
    margin: 0;
    color: var(--sell-onyx);
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 780;
    letter-spacing: -0.048em;
    line-height: 1.08;
}

.sell-section__head p {
    margin: 0.7rem 0 0;
    color: var(--sell-muted);
    font-size: 1.02rem;
    line-height: 1.55;
}

/* —— Benefits —— */
.sell-benefits {
    background: #fff;
    border-block: 1px solid var(--sell-line);
}

.sell-benefits__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.sell-benefits__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.45rem 1.25rem;
    border-bottom: 1px solid var(--sell-line);
}

.sell-benefits__item:nth-child(odd) {
    border-right: 1px solid var(--sell-line);
    padding-left: 0;
}

.sell-benefits__item:nth-child(even) {
    padding-right: 0;
}

.sell-benefits__item:nth-last-child(-n + 2) {
    border-bottom: none;
}

.sell-benefits__item h3 {
    margin: 0;
    color: var(--sell-onyx);
    font-size: 1.08rem;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.sell-benefits__item p {
    margin: 0.4rem 0 0;
    color: var(--sell-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.sell-benefits__item .landing-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: rgba(14, 143, 102, 0.08);
    color: var(--sell-emerald-deep);
    flex-shrink: 0;
}

.sell-benefits__item .landing-benefit-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* —— Steps —— */
.sell-steps {
    background: linear-gradient(180deg, var(--sell-soft) 0%, #F7FAF8 100%);
}

.sell-steps__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.sell-steps__item {
    position: relative;
}

.sell-steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.05rem;
    left: 3.1rem;
    right: -0.7rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(14, 143, 102, 0.4), rgba(14, 143, 102, 0.06));
}

.sell-steps__num {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--sell-emerald);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.sell-steps__item h3 {
    margin: 0;
    color: var(--sell-onyx);
    font-size: 1.05rem;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.sell-steps__item p {
    margin: 0.4rem 0 0;
    color: var(--sell-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* —— Categories —— */
.sell-categories__cloud {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sell-categories__cloud li {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--sell-line);
    border-radius: 999px;
    background: #fff;
    color: var(--sell-onyx);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* —— Final CTA —— */
.sell-final {
    padding: clamp(3.25rem, 6vw, 4.5rem) 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 20%, rgba(14, 143, 102, 0.28), transparent 55%),
        linear-gradient(145deg, var(--sell-onyx) 0%, #0F2B32 100%);
    color: #fff;
}

.sell-final__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.75rem;
}

.sell-final__copy h2 {
    margin: 0;
    max-width: 16ch;
    color: #fff;
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.sell-final__copy p {
    margin: 0.8rem 0 0;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.55;
}

.sell-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* —— FAQ: mismo look que el index —— */
body.landing-sell .vendly-faq-section {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
    background: #fff;
}

body.landing-sell .vendly-faq {
    width: min(720px, calc(100% - 48px));
    margin: 0 auto;
}

body.landing-sell .vendly-faq__header,
body.landing-sell .vendly-faq__header.landing-section-center {
    margin-bottom: 1.2rem;
    text-align: center;
}

body.landing-sell .landing-kicker {
    margin: 0;
    color: var(--sell-emerald-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body.landing-sell .vendly-faq__header h2 {
    margin: 0.6rem 0 0;
    color: var(--sell-onyx);
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 780;
    letter-spacing: -0.048em;
    font-family: inherit;
}

body.landing-sell .vendly-faq__lead {
    max-width: 34rem;
    margin: 0.65rem auto 0;
    color: var(--sell-muted);
    font-size: 0.86rem;
    line-height: 1.58;
}

body.landing-sell .vendly-faq__accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.landing-sell .vendly-faq__item {
    border: 0;
    border-bottom: 1px solid var(--sell-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background 180ms var(--sell-ease);
}

body.landing-sell .vendly-faq__item:last-child {
    border-bottom: none;
}

body.landing-sell .vendly-faq__item:hover {
    background: rgba(0, 0, 0, 0.015);
    border-color: var(--sell-line);
    box-shadow: none;
}

body.landing-sell .vendly-faq__item.is-open {
    border-color: var(--sell-line);
    box-shadow: none;
}

body.landing-sell .vendly-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 0.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--sell-onyx);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: color 180ms var(--sell-ease);
}

body.landing-sell .vendly-faq__trigger:hover {
    background: transparent;
    color: var(--sell-emerald);
}

body.landing-sell .vendly-faq__question {
    font-size: 0.95rem;
    font-weight: 640;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

body.landing-sell .vendly-faq__icon {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    border-radius: 0;
    background: transparent;
    color: var(--sell-muted);
    transition: color 180ms var(--sell-ease), transform 180ms var(--sell-ease);
}

body.landing-sell .vendly-faq__icon::before,
body.landing-sell .vendly-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.8rem;
    height: 1.5px;
    margin: -0.75px 0 0 -0.4rem;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.landing-sell .vendly-faq__icon::after {
    transform: rotate(90deg);
}

body.landing-sell .vendly-faq__item.is-open .vendly-faq__trigger {
    color: var(--sell-emerald);
}

body.landing-sell .vendly-faq__item.is-open .vendly-faq__icon {
    background: transparent;
    color: var(--sell-emerald);
    transform: rotate(135deg);
}

body.landing-sell .vendly-faq__item.is-open .vendly-faq__icon::before {
    transform: none;
}

body.landing-sell .vendly-faq__item.is-open .vendly-faq__icon::after {
    transform: rotate(90deg);
    opacity: 1;
}

body.landing-sell .vendly-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.landing-sell .vendly-faq__item.is-open .vendly-faq__panel {
    grid-template-rows: 1fr;
}

body.landing-sell .vendly-faq__panel-inner {
    overflow: hidden;
    opacity: 1;
}

body.landing-sell .vendly-faq__answer {
    margin: 0;
    padding: 0 0.25rem 0.85rem;
    color: var(--sell-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

body.landing-sell .vendly-faq__cta {
    display: none;
}

/* —— Reveal —— */
[data-sell-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--sell-ease), transform 700ms var(--sell-ease);
}

[data-sell-reveal].is-in {
    opacity: 1;
    transform: none;
}

[data-sell-delay="60"] { transition-delay: 60ms; }
[data-sell-delay="80"] { transition-delay: 80ms; }
[data-sell-delay="120"] { transition-delay: 120ms; }
[data-sell-delay="160"] { transition-delay: 160ms; }
[data-sell-delay="180"] { transition-delay: 180ms; }
[data-sell-delay="240"] { transition-delay: 240ms; }

/* —— Responsive —— */
@media (max-width: 900px) {
    .sell-benefits__list {
        grid-template-columns: 1fr;
    }

    .sell-benefits__item,
    .sell-benefits__item:nth-child(odd),
    .sell-benefits__item:nth-child(even) {
        border-right: none;
        padding-inline: 0;
    }

    .sell-benefits__item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--sell-line);
    }

    .sell-benefits__item:last-child {
        border-bottom: none;
    }

    .sell-steps__track {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.1rem;
    }

    .sell-steps__item:not(:last-child)::after {
        display: none;
    }

    .sell-final__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 641px) {
    .sell-hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .sell-hero__actions .sell-btn {
        flex: 0 1 auto;
        width: auto;
    }
}

@media (max-width: 640px) {
    .sell-hero__inner,
    .sell-container {
        padding-inline: 16px;
    }

    .sell-hero__inner {
        padding-top: clamp(2.5rem, 5vh, 3.5rem);
        padding-bottom: clamp(2rem, 4vh, 3rem);
    }

    .sell-steps__track {
        grid-template-columns: 1fr;
    }

    .sell-btn {
        display: flex;
        width: 100%;
        max-width: 100%;
        padding: 0.7rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-sell-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
