.home-hero .sales-hero-title {
    width: min(68vw, 980px);
    font-size: clamp(31px, 6.45vw, 108px);
    line-height: .99;
    letter-spacing: -.045em;
    white-space: normal;
    text-wrap: balance;
}

.home-hero .home-hero__seleccion {
    width: min(70vw, 1020px);
    height: clamp(110px, 15vw, 238px);
}

.sales-hero-title .sales-hello {
    animation: sales-hello-flash 700ms ease both;
}

.sales-hero-title.is-typing [data-sales-type]::after {
    content: '';
    display: inline-block;
    height: .82em;
    margin-inline-start: .07em;
    border-inline-start: .045em solid currentColor;
    vertical-align: -.04em;
    animation: sales-caret 800ms steps(2, start) infinite;
}

@keyframes sales-hello-flash {
    0%, 100% { opacity: 0; }
    20%, 75% { opacity: 1; }
}

@keyframes sales-caret {
    to { visibility: hidden; }
}

.sales-signal-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
    width: min(94%, 1260px);
    margin: clamp(2rem, 6vw, 6rem) auto 0;
    padding: .9rem;
    list-style: none;
    border: 1px solid #292929;
    border-radius: 12px;
    background: #000;
    color: #fff;
}

.sales-signal-strip li {
    display: flex;
    align-items: center;
    gap: .45em;
    padding: .55em .7em;
    --signal-color: hsl(calc(var(--signal-step) * 39 + 22) 90% 73%);
    color: var(--signal-color);
    border: 1px solid #333;
    border-left: 3px solid var(--signal-color);
    border-radius: 4px;
    font: 600 clamp(.7rem, 1.15vw, .95rem)/1.2 var(--wp--preset--font-family--jetbrains-mono, monospace);
    white-space: nowrap;
    animation: sales-signal 9s linear infinite both;
    animation-delay: calc(var(--signal-step) * 1s);
}

.sales-signal-strip li span {
    width: .42em;
    height: .42em;
    background: currentColor;
    transform: rotate(45deg);
}

@keyframes sales-signal {
    0%, 11%, 100% { background: transparent; }
    2%, 9% { background: color-mix(in srgb, var(--signal-color) 20%, black); border-color: var(--signal-color); transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
    .sales-signal-strip li { animation: none; }
}

.sales-answers {
    --faq-text: #181818;
    --faq-muted: #545454;
    --faq-row: #f7f7f7;
    --faq-accent: #b92769;
    width: min(calc(100% - 2rem), 900px);
    margin: clamp(2.5rem, 6vw, 5rem) auto;
    color: var(--faq-text);
}

body.is-dark .sales-answers {
    --faq-text: #f5f5f5;
    --faq-muted: #bababa;
    --faq-row: #181818;
    --faq-accent: #ff80b2;
}

.sales-answers .sales-faq-kicker {
    margin: 0 0 .55rem;
    color: var(--faq-accent);
    font-size: .8rem;
    font-weight: 600;
}

.sales-answers h2 {
    margin: 0 0 .55rem;
    color: var(--faq-text);
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    font-weight: 550;
    letter-spacing: -.05em;
    line-height: 1.1;
}

.sales-faq-intro {
    max-width: 34ch;
    margin: 0 0 1.5rem;
    color: var(--faq-muted);
    font-size: .9rem;
}

.sales-faq-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.sales-faq-columns > div {
    display: grid;
    align-content: start;
    gap: .65rem;
}

.sales-answers details {
    border-radius: 5px;
    background: var(--faq-row);
    scroll-margin-top: 6rem;
}

.sales-answers summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1rem;
    cursor: pointer;
    list-style: none;
    font-size: .94rem;
    font-weight: 600;
}

.sales-answers summary::-webkit-details-marker { display: none; }

.sales-faq-toggle {
    flex: none;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
}

.sales-faq-toggle::before { content: '+'; }
.sales-answers details[open] .sales-faq-toggle { color: var(--faq-accent); }
.sales-answers details[open] .sales-faq-toggle::before { content: '×'; }

.sales-answers details p {
    margin: 0;
    padding: 0 1rem .9rem;
    color: var(--faq-muted);
    font-size: .85rem;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .sales-faq-columns { grid-template-columns: 1fr; }
}

.sales-application-status {
    font-size: .9rem;
}

@media (max-width: 640px) {
    .home-hero .sales-hero-title {
        width: 86vw;
        font-size: clamp(27px, 7.7vw, 48px);
    }

    .home-hero .home-hero__seleccion {
        width: 90vw;
    }
}

.home-hero .sales-hero-title {
    z-index: 21;
}

.home-hero .home-hero__app--notion {
    top: calc(var(--hero-title-center) - clamp(150px, 11vw, 190px));
    left: 20%;
}

.home-hero .home-hero__cursores {
    --headline-clearance: clamp(66px, 8vw, 125px);
    mask-image: linear-gradient(
        to bottom,
        black 0 calc(var(--hero-title-center) - var(--headline-clearance)),
        transparent calc(var(--hero-title-center) - var(--headline-clearance)) calc(var(--hero-title-center) + var(--headline-clearance)),
        black calc(var(--hero-title-center) + var(--headline-clearance))
    );
}

.home-hero .home-hero__codigo-texto {
    color: #d5e3ff;
}

.home-hero .sales-code-tag {
    color: #82dcff;
}

.home-hero .sales-code-string {
    color: #a5efba;
}

.home-hero .home-hero__codigo-texto .js-typing-cursor {
    background: #f6aef2;
}

@media (max-width: 640px) {
    .home-hero .home-hero__app--notion {
        top: calc(var(--hero-title-center) - 115px);
        left: 15%;
    }
}

#process .card-servicio__tarjeta {
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 0;
    background: #25344c;
}

#process .sales-process-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#process .card-servicio__tarjeta::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgb(9 19 36 / 75%), transparent 54%);
    content: '';
    pointer-events: none;
}

.sales-process-title {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: clamp(16px, 2.5vw, 36px);
    color: #fff;
    font-size: clamp(28px, 4vw, 62px);
    line-height: 1;
    letter-spacing: -.04em;
}

.sales-process-copy p {
    margin: 0 0 .55em;
}

.sales-scroll-cue {
    position: absolute;
    z-index: 22;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    padding: .55rem .95rem;
    border: 1px solid #8885;
    border-radius: 99px;
    background: #fff;
    color: #181818;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    animation: sales-scroll-in 360ms ease both;
}

.sales-scroll-cue span {
    margin-inline-start: .2em;
}

.sales-scroll-cue:hover {
    border-color: currentColor;
}

body.is-dark .sales-scroll-cue {
    background: #181818;
    color: #fff;
}

@keyframes sales-scroll-in {
    from { opacity: 0; translate: 0 6px; }
    to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sales-scroll-cue { animation: none; }
}

#training .home-bloque-dark-mode__pc {
    display: block;
    width: min(100%, 390px);
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
    aspect-ratio: auto;
}
#training .sales-deal-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(12px, 2vw, 24px);
    border-radius: 16px;
    background: #f8f8f8;
    color: #f5f5f5;
}
.sales-receipt-printer {
    position: relative;
    z-index: 1;
    width: min(100%, 345px);
    padding: .7rem .7rem 1.8rem;
    border: 2px solid #272727;
    border-radius: 1.45rem;
    background: #303030;
    box-shadow: inset 0 1px #ffffff25, 0 12px 22px #0003;
}
.sales-printer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: .65rem;
}
.sales-printer-home {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .65rem;
    border: 1px solid #ffffff1c;
    border-radius: .75rem;
    background: #484846;
    box-shadow: 0 2px #171717;
    color: #fff;
    font-size: .8rem;
    text-decoration: none;
}
.sales-printer-screen { padding: .85rem; border-radius: .8rem; background: #202020; }
.sales-printer-summary { display: flex; justify-content: space-between; gap: .5rem; }
.sales-printer-summary span, .sales-printer-summary strong { display: block; }
.sales-printer-summary span { color: #c4c4c4; font-size: .75rem; }
.sales-printer-summary > :last-child { text-align: right; }
.sales-printer-amount { font-size: 1rem; white-space: nowrap; }
.sales-deal-heading { font-size: .9rem; }
.sales-receipt-printer::after {
    position: absolute;
    inset: auto 6% .65rem;
    height: .45rem;
    border-radius: .25rem;
    background: #1b1b1b;
    content: '';
}
.sales-deal-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .65rem;
    color: #c4c4c4;
    font-size: .75rem;
}
.sales-printer-indicator {
    display: inline-grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    border: 2px solid #666;
    border-top-color: #ddd;
    border-radius: 50%;
    animation: sales-printer-spin .8s linear infinite;
}

.sales-deal-demo[data-stage="complete"] .sales-printer-indicator {
    border: 0;
    background: #65d989;
    color: #102b18;
    font-style: normal;
    animation: none;
}

.sales-deal-demo[data-stage="complete"] .sales-printer-indicator::before { content: '✓'; }

@keyframes sales-printer-spin { to { rotate: 360deg; } }

@media (prefers-reduced-motion: reduce) {
    .sales-printer-indicator { animation: none; }
}

.sales-deal-printing, .sales-deal-complete { display: none; }
.sales-deal-demo[data-stage="printing"] .sales-deal-printing,
.sales-deal-demo[data-stage="complete"] .sales-deal-complete { display: inline; }
.sales-deal-demo[data-stage] .sales-deal-ready { display: none; }

.sales-receipt-output {
    position: relative;
    z-index: 2;
    width: min(80%, 276px);
    margin-top: -1rem;
    overflow: hidden;
}
.sales-receipt-paper {
    display: grid;
    padding: 1.5rem clamp(.65rem, 1.55vw, 1.3rem) 1.65rem;
    background: linear-gradient(#d5d5d5, #fafafa .95rem);
    color: #252525;
    font: 500 clamp(.57rem, .85vw, .72rem)/1.5 ui-monospace, monospace;
    transform: translateY(-100%);
}
.sales-receipt-paper::after {
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: conic-gradient(from 45deg at 50% 0, #f8f8f8 90deg, transparent 0) 0 0 / 10px 5px repeat-x;
    content: '';
}
.sales-receipt-mark { margin: 0 auto .95rem; }
.sales-receipt-section { padding-block: .6rem; border-top: 1px dashed #bcbcbc; }
.sales-receipt-line { display: flex; justify-content: space-between; gap: .25rem; }
.sales-receipt-muted { color: #595959; }
.sales-receipt-total { margin-top: .45rem; align-items: baseline; }
.sales-receipt-total strong:last-child { font-size: 1.25em; }
.sales-receipt-barcode {
    width: 50%;
    height: 25px;
    margin: .6rem auto 0;
    background: repeating-linear-gradient(90deg, #252525 0 1px, transparent 1px 3px, #252525 3px 5px, transparent 5px 6px, #252525 6px 7px, transparent 7px 10px, #252525 10px 11px, transparent 11px 13px);
}
.sales-receipt-id { margin-top: .25rem; text-align: center; letter-spacing: .15em; }
.sales-deal-demo[data-stage="printing"] .sales-receipt-paper {
    animation: sales-receipt-feed 1.75s linear forwards;
}

.sales-deal-demo[data-stage="complete"] .sales-receipt-paper { transform: none; }

@keyframes sales-receipt-feed {
    0% { transform: translateY(-100%); }
    7.5% { transform: translateY(-91%); }
    10.5% { transform: translateY(-91%); }
    18% { transform: translateY(-81%); }
    21% { transform: translateY(-81%); }
    28.5% { transform: translateY(-70%); }
    31.5% { transform: translateY(-70%); }
    39% { transform: translateY(-58%); }
    42% { transform: translateY(-58%); }
    49.5% { transform: translateY(-45%); }
    52.5% { transform: translateY(-45%); }
    60% { transform: translateY(-32%); }
    63% { transform: translateY(-32%); }
    70.5% { transform: translateY(-20%); }
    73.5% { transform: translateY(-20%); }
    81% { transform: translateY(-10%); }
    84% { transform: translateY(-10%); }
    91.5% { transform: translateY(-3%); }
    94.5% { transform: translateY(-3%); }
    100% { transform: translateY(0%); }
}

@media (max-width: 1023px) {
    #training .home-bloque-dark-mode__pc {
        display: block;
        width: min(100%, 350px);
    }
}

.home-hero :is(.home-hero__wireframe, .home-hero__chat, .home-hero__codigo-fondo) img {
    object-fit: cover;
    border-radius: 9px;
}

.home-hero .home-hero__codigo-texto {
    top: 46%;
    left: 9%;
    right: auto;
    max-width: calc(100% - 30px);
    bottom: auto;
    padding: .45rem;
    border-radius: 5px;
    background: transparent;
}

.home-contacto .home-contacto__aa {
    top: 155px;
    left: 10px;
    width: calc(100% - 20px);
    font-size: 82px;
    line-height: .94;
    letter-spacing: -5px;
    color: transparent;
    -webkit-text-stroke: 1px #9aa4b64d;
    text-shadow: none;
}

.home-contacto__aa span { display: block; }

.home-contacto .home-contacto__tarjeta--1 {
    background: transparent;
}

.home-contacto .home-contacto__tarjeta-img--flat {
    border: 0;
}

@media (max-width: 640px) {
    .home-contacto .home-contacto__aa {
        top: 100px;
        font-size: 55px;
        letter-spacing: -3px;
    }
}

.sales-audience-switch {
    border: 1px solid #d8dce5;
    cursor: pointer;
    font: inherit;
}
.sales-audience-switch[aria-checked="false"] .home-hero__switch-toggle {
    justify-content: flex-start;
    background: #666;
}
.sales-audience-switch:focus-visible { outline: 3px solid #6a9dff; outline-offset: 4px; }
.home-hero .home-hero__switch { z-index: 24; }
body[data-audience="business"] .sales-process-copy { color: #c2c8d1; }
body[data-audience="business"] .home-quote-block__titulo,
body[data-audience="business"] .home-quote-block__subtitulo { color: #f4f6fb; }
body[data-audience="business"] .footer__wrapper { background: #111 !important; color: #bdc2cb; }
.sales-partner-form { width: 100%; max-width: 520px; margin-top: 1.5rem; }
.sales-partner-form[hidden] { display: none; }
.sales-partner-form h4 { margin: 0 0 1rem; font-size: 1.25rem; color: #f4f6fb; }
.sales-partner-form label { display: block; margin-bottom: .8rem; color: #c7cfdf; font-size: .85rem; }
.sales-partner-form :is(input, select, textarea) {
    display: block;
    width: 100%;
    margin-top: .3rem;
    padding: .65rem .75rem;
    border: 1px solid #46516a;
    border-radius: 8px;
    background: #171d29;
    color: #fff;
    font: inherit;
    box-sizing: border-box;
}
.sales-partner-form button {
    padding: .75rem 1rem;
    border: 0;
    border-radius: 8px;
    background: #c6ef83;
    color: #18230b;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.sales-partner-form :is(.sales-request-note, .sales-request-feedback) {
    margin-top: .7rem;
    color: #aeb8cc;
    font-size: .75rem;
}
@media (max-width: 640px) {
    .home-hero .home-hero__switch-label {
        max-width: 220px;
        white-space: normal;
        font-size: 11px;
        text-align: left;
    }
}

body[data-audience="business"] .header {
    background: #090909 !important;
}

body[data-audience="business"] .header-logo {
    color: #fff;
}

body[data-audience="business"] .header-logo__link {
    color: #fff;
}

body[data-audience="business"] :is(.home-hero__app, .home-portfolio__app, .home-contacto__app) {
    background: #fff;
}

body[data-audience="business"] .header__btn-call a {
    background: #f4f6fb !important;
    color: #111 !important;
}

.home-equipo .home-equipo__contenido {
    width: min(88%, 1120px);
}

.home-equipo .home-equipo__titulo-wrap {
    width: 100%;
    max-width: 100%;
}

.home-equipo .home-equipo__titulo {
    width: 100%;
    font-size: clamp(30px, 5.3vw, 76px);
    line-height: 1.08;
    letter-spacing: -.045em;
    white-space: normal;
    text-align: center;
}

.home-equipo .home-equipo__titulo-highlight {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.home-equipo .is-typing-title .home-equipo__titulo {
    animation: sales-skills-type 1.6s steps(32, end) both;
}

@keyframes sales-skills-type {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    .home-equipo .is-typing-title .home-equipo__titulo { animation: none; }
}

.sfb-header-wordmark {
    display: block;
    width: auto;
    height: var(--header-logo-height);
    border-radius: 4px;
}

@media (max-width: 640px) {
    .sfb-header-wordmark { height: var(--header-logo-height-mobile); }
}

body[data-audience="business"] :is(.wp-site-blocks, #sales-faq, .sales-answers, #get-started) {
    background-color: #090909;
    color: #f4f6fb;
}

body[data-audience="business"] .footer__wrapper :is(.texto-anio-actual, a) {
    color: #bdc2cb;
}
