/* ============================================
   Avirato Payments — capa visual
   Alineada con avirato.com/gestion-de-pagos-segura
   No cambia textos: solo tipografía, color y composición.
   ============================================ */

:root {
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --ink: #101828;
    --blue: #1d6eeb;
    --orange: #f2871c;
    --gold: #ffc72b;
    --hero-gradient: #f6f7f9;
    --paper: #ffffff;
    --mist: #f4f5f7;
    --line: #e6e8ec;
    --dark-800: #101828;
    --dark-700: #1d2939;
    --dark-600: #344054;
    --dark-500: #475467;
    --primary-600: #1558c0;
    --primary-500: #1d6eeb;
    --primary-400: #4b8ef2;
    --primary-100: #e8f1fd;
}

body {
    color: var(--ink);
    letter-spacing: -0.011em;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Botones ---------- */
.btn {
    border-radius: 999px;
    font-weight: 600;
    border-width: 0;
}

.btn--primary {
    background: #111827;
    color: #fff;
    border: 0;
    box-shadow: none;
}

.btn--primary::before {
    display: none;
}

.btn--primary:hover {
    background: #000;
    box-shadow: none;
    transform: none;
}

.btn--outline {
    background: transparent;
    border: 0;
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.btn--outline:hover {
    color: #000;
    border-color: transparent;
}

/* ---------- Cabecera ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

.nav__logo-img--desktop {
    filter: none;
    height: 34px;
}

.nav__logo-img--mobile {
    filter: none;
    height: 38px;
    width: auto;
}

.nav__toggle span {
    background: #111827;
}

.lang-button {
    background: var(--mist);
    border: 1px solid var(--line);
    color: #111827;
    border-radius: 999px;
}

.lang-button:hover {
    background: #eceef2;
    border-color: #d0d5dd;
}

.lang-flag,
.lang-button .lang-arrow {
    color: #111827;
}

.btn--login,
.btn--ghost,
.btn--alta {
    color: #344054;
}

.btn--login:hover,
.btn--ghost:hover,
.btn--alta:hover {
    color: #111827;
}

@media (min-width: 1024px) {
    .nav__link {
        color: #344054;
        font-weight: 500;
    }

    .nav__link:hover {
        color: #111827;
    }

    .btn--login-text {
        display: inline;
    }

    .btn--login,
    .btn--alta {
        padding: 0.35rem 0.5rem !important;
        min-width: 0;
        gap: 0.4rem;
    }

    .btn--alta-text,
    .btn--login-text {
        display: inline;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background-color: #f4f5f7;
    color: #111827;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(6.5rem, 12vw, 8.25rem) 0 clamp(6rem, 10vw, 7.5rem);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero::before {
    content: none;
    display: none;
}

@media (min-width: 1024px) {
    .hero.hero--text-only .hero__container {
        grid-template-columns: 1fr;
    }
}

.hero.hero--text-only .hero__container {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1280px;
}

.hero.hero--text-only {
    min-height: auto;
    background-color: #f4f5f7;
    padding: clamp(5.75rem, 8vw, 7rem) 0 clamp(5rem, 8.5vw, 6.75rem);
    justify-content: flex-start;
    overflow: visible;
}

.hero--text-only .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.35rem, 2.75vw, 2.15rem);
    width: 100%;
    max-width: 100%;
    margin-top: calc(clamp(1.25rem, 3vw, 2.5rem) + 80px);
}

.hero--text-only .hero__title {
    margin-bottom: 0;
    line-height: 1.1;
    max-width: 18em;
    font-size: clamp(3rem, 7.25vw, 5.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero--text-only .hero__title.hero__title--stacked {
    width: 100%;
    max-width: 100%;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero--text-only .hero__title--stacked .hero__title-line {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.65rem, 5.4vw, 2.2rem);
    line-height: 1.12;
}

@media (min-width: 640px) {
    .hero--text-only .hero__title--stacked .hero__title-line {
        white-space: nowrap;
        font-size: clamp(1.85rem, calc((100vw - 3rem) / 21.25), 3.85rem);
    }
}

.hero--text-only .hero__title-line {
    display: block;
}

.hero--text-only .hero__description {
    max-width: 42rem;
    margin-bottom: 0;
    font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
    line-height: 1.78;
    text-align: left;
}

.hero--text-only .hero__tagline {
    margin: clamp(1rem, 2vw, 1.35rem) 0 0;
    max-width: 100%;
    font-size: clamp(1rem, 1.25vw, 1.0625rem);
    font-weight: 600;
    line-height: 1.55;
    color: #344054;
    text-align: left;
}

.hero--text-only .hero__highlights {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem clamp(1.5rem, 3.5vw, 2.75rem);
    margin: clamp(0.25rem, 0.5vw, 0.5rem) 0 0;
    max-width: 100%;
}

.hero--text-only .hero__highlights li {
    padding-left: 1.5rem;
    font-size: clamp(0.9375rem, 1.05vw, 1rem);
    font-weight: 600;
    color: #344054;
    line-height: 1.4;
}

.hero--text-only .hero__highlights li::before {
    top: 0.28em;
    width: 1rem;
    height: 1rem;
    border-radius: 0;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.hero--text-only .hero__cta {
    margin-top: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 0;
    gap: 1rem 1.35rem;
}

.hero--text-only .hero__trust {
    margin-top: 0;
    gap: 0.85rem;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__highlights {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 34rem;
}

.hero__highlights li {
    position: relative;
    padding-left: 1.35rem;
    color: #344054;
    font-size: 0.98rem;
    line-height: 1.45;
}

.hero__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #111827;
}

.hero__footnote {
    margin: -0.5rem 0 1.25rem;
    font-size: 0.875rem;
    color: #667085;
    max-width: 34rem;
}

.hero__footnote-sep {
    margin: 0 0.35rem;
    color: #98a2b3;
}

.hero-duo {
    position: relative;
    width: min(100%, 520px);
    min-height: clamp(340px, 42vw, 440px);
    margin-left: auto;
}

.hero-duo__cards {
    position: absolute;
    left: 0;
    bottom: 6%;
    width: min(100%, 400px);
    z-index: 1;
    transform: rotate(-1.5deg);
}

.hero-duo__cards .token-board {
    width: 100%;
}

.hero-duo__app {
    position: absolute;
    right: -2%;
    top: 0;
    width: min(52%, 240px);
    margin: 0;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 28px 56px rgba(16, 24, 40, 0.14);
}

.hero-duo__app img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

@media (min-width: 1024px) {
    .hero__content {
        max-width: none;
    }

    .hero__highlights,
    .hero__footnote {
        text-align: left;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    bottom: -4.5rem;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__bg-base,
.hero__bg-accent,
.hero__bg-icons {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100%;
    transform: translate(calc(-50% - 30px), calc(-46% + 52px));
    background-repeat: no-repeat;
    opacity: 0.45;
}

.hero__bg-base {
    background-image: url('/imag/hero-fondo.svg');
    background-size: cover;
    background-position: center center;
}

.hero__bg-accent {
    background-image: url('/imag/hero-fondo-accent.svg');
    background-size: cover;
    background-position: 42% 54%;
}

.hero__bg-icons {
    background-image: url('/imag/hero-fondo-icons.svg');
    background-size: min(92vw, 720px) auto;
    background-position: 40% 44%;
}

@media (min-width: 768px) {
    .hero__bg-icons {
        background-size: min(78vw, 980px) auto;
        background-position: 48% 42%;
    }

    .hero__bg-accent {
        background-position: 44% 52%;
    }
}

@media (min-width: 1024px) {
    .hero__bg-accent {
        background-size: cover;
        background-position: 46% 50%;
    }

    .hero__bg-icons {
        background-size: min(68vw, 1100px) auto;
        background-position: 50% 40%;
    }
}

@media (min-width: 1440px) {
    .hero__bg-accent {
        background-position: 46% 50%;
    }
}

@media (max-width: 767px) {
    .hero__bg-accent {
        background-size: cover;
        background-position: 42% 54%;
    }

    .hero__bg-icons {
        background-size: min(108vw, 520px) auto;
        background-position: 40% 44%;
    }
}

.hero__title {
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-size: clamp(2.6rem, 5.2vw, 4.5rem);
}

.hero .gradient-text {
    background: none;
    -webkit-text-fill-color: #111827;
    color: #111827;
    font-size: 1em;
    display: inline;
    white-space: normal;
}

.hero__description,
.hero__description strong {
    color: #475467;
    text-align: left;
    font-weight: 400;
    max-width: 34rem;
}

.hero--text-only .hero__description strong {
    font-weight: 600;
    color: #344054;
}

.hero__description strong {
    font-weight: 600;
}

.hero .btn--primary {
    background: #111827;
    color: #fff;
    box-shadow: none;
    padding: 0.9rem 1.75rem;
}

.hero .btn--primary:hover {
    background: #000;
    color: #fff;
    transform: none;
}

.hero .btn--outline {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero .btn--outline:hover {
    color: #000;
    opacity: 1;
}

.trust-badge {
    background: #fff;
    border: 1px solid var(--line);
    color: #344054;
    backdrop-filter: none;
}

.trust-text,
.trust-text strong {
    color: #475467;
}

.scroll-indicator {
    color: #475467;
}

.hero__visual {
    position: relative;
}

.hero__stage {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    aspect-ratio: 1 / 1.02;
    margin-left: auto;
}

.hero__phone {
    position: relative;
    display: block;
    width: min(72%, 320px);
    margin: 0 auto;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 28px 36px rgba(8, 20, 40, 0.22));
}

.token-board__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f2f4f7;
    color: #344054;
    flex-shrink: 0;
}

.hero__panel-row,
.token-board__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
}

.hero__panel-row + .hero__panel-row,
.token-board__row + .token-board__row {
    border-top: 1px solid #eef2f6;
}

.hero__panel-row strong,
.token-board__row strong {
    display: block;
    color: #101828;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero__panel-row > div span,
.token-board__row > div span {
    display: block;
    color: #667085;
    font-size: 0.78rem;
}

.hero__panel-row em,
.token-board__row em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    color: #079455;
    background: #ecfdf3;
    border-radius: 999px;
    padding: 4px 8px;
    white-space: nowrap;
}

.hero__panel-row em.is-muted {
    color: #175cd3;
    background: #eff4ff;
}



.pay-mark {
    width: 42px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1a1f71;
    background: #fff;
    border: 1px solid #e6ebf2;
    flex-shrink: 0;
}

.pay-mark--visa {
    color: #1a1f71;
    font-style: italic;
}

.pay-mark--mc {
    background:
        radial-gradient(circle at 35% 50%, #eb001b 0 8px, transparent 8.5px),
        radial-gradient(circle at 65% 50%, #f79e1b 0 8px, transparent 8.5px),
        #fff;
}

.pay-mark--amex {
    background: #1b6ca8;
    color: #fff;
    border-color: #1b6ca8;
    font-size: 0.55rem;
}

.pay-mark--link {
    color: #1d6eeb;
    font-size: 1rem;
    font-weight: 700;
}

.pay-mark--lg {
    width: 72px;
    height: 44px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.pay-methods-block {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: #f4f5f7;
    border-top: 1px solid #eef2f6;
}

.pay-methods-block__intro {
    text-align: center;
    max-width: 720px;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.pay-methods-block__tag {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.pay-methods-block__title {
    margin: 0.75rem 0 0;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #101828;
}

.pay-methods-block__title .gradient-text {
    display: block;
    margin-top: 0.15em;
}

.pay-methods-block__foot {
    text-align: center;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.pay-methods-block__text {
    margin: 0 auto;
    max-width: 52ch;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475467;
}

.pay-methods {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.pay-methods__track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    animation: pay-methods-marquee 32s linear infinite;
    will-change: transform;
}

.pay-methods:hover .pay-methods__track,
.pay-methods:focus-within .pay-methods__track {
    animation-play-state: paused;
}

.pay-methods__card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    padding: 0 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

@media (min-width: 640px) {
    .pay-methods__card {
        width: 190px;
        height: 96px;
        padding: 0 24px;
        border-radius: 18px;
    }
}

.pay-methods__card--dark {
    background: #0f172a;
    border-color: #0f172a;
}

.pay-methods__card--klarna {
    background: #ffb3c7;
    border-color: #ffb3c7;
}

.pay-methods__card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

@keyframes pay-methods-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


@media (prefers-reduced-motion: reduce) {
    .pay-methods__track {
        animation: none;
    }

    .pay-methods {
        overflow-x: auto;
    }
}

.brand-logo {
    width: 46px;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #eef2f6;
}

.token-board {
    width: min(100%, 440px);
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
    padding: 8px;
}

.feature-photo {
    position: relative;
    margin: 0;
    width: min(100%, 520px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(16, 24, 40, 0.16);
}

.feature-photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: 8% center;
}

.feature-photo img[src*='illustrations/'],
.feature-photo img[src*='/imag/app/'],
.use-cases__banner img[src*='illustrations/'],
.use-cases__banner img[src*='/imag/app/'] {
    object-fit: contain;
    object-position: center;
    background: #f4f6f8;
    padding: 1.5rem;
    height: auto;
    min-height: 280px;
    border-radius: 16px;
}

.use-cases__banner img[src*='illustrations/'] {
    width: 100%;
    min-height: 240px;
    max-height: 360px;
}

.feature-photo img[src*='illustrations/'],
.feature-photo img[src*='/imag/app/'],
.use-cases__banner img[src*='illustrations/'],
.use-cases__banner img[src*='/imag/app/'] {
    object-fit: contain;
    object-position: center;
    background: #f4f6f8;
    padding: 1.5rem;
    height: auto;
    min-height: 280px;
    border-radius: 16px;
}

.use-cases__banner img[src*='illustrations/'] {
    width: 100%;
    min-height: 240px;
    max-height: 360px;
}

.feature-photo .payment-success--card {
    position: absolute;
    left: 16px;
    bottom: 16px;
}

@media (max-width: 1023px) {
    .hero__stage {
        width: min(100%, 440px);
        margin: 0 auto;
    }

}

.hero__photo {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.hero__photo-meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__photo-meta .device__label {
    color: #667085;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8rem;
}

.hero__photo-meta .device__amount {
    color: #101828;
    font-size: 1.7rem;
    line-height: 1.1;
}

.hero__photo-meta .device__status {
    color: #079455;
    animation: none;
    font-weight: 600;
}

.hero__terminal {
    position: absolute;
    width: 96px;
    left: -10px;
    bottom: 92px;
    top: auto;
    z-index: 3;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.hero__float-card--1 {
    top: 2%;
    left: 4%;
    right: auto;
}

.hero__float-card--2 {
    bottom: 2%;
    right: -6px;
    left: auto;
    top: auto;
}

.hero__float-card--3 {
    bottom: 6%;
    left: 12px;
    right: auto;
    top: auto;
}

.hero__float-card {
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
    z-index: 4;
}

.hero__device-stack {
    max-width: 520px;
}

@media (max-width: 1023px) {
    .hero__visual {
        display: flex;
        min-height: 0;
        margin-top: 2.5rem;
        justify-content: center;
    }

    .hero-duo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__float-card--1,
    .hero__float-card--2 {
        display: none;
    }

    .hero__content,
    .hero__description,
    .hero__description strong {
        text-align: center;
    }

    .hero__description,
    .hero__highlights,
    .hero__footnote {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero__highlights li {
        padding-left: 0;
    }

    .hero__highlights li::before {
        display: none;
    }

    .hero__highlights {
        align-items: center;
    }

    .hero--text-only .hero__content,
    .hero--text-only .hero__description,
    .hero--text-only .hero__description strong {
        text-align: left;
    }

    .hero--text-only .hero__description,
    .hero--text-only .hero__highlights {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .hero--text-only .hero__highlights {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero--text-only .hero__highlights li {
        padding-left: 1.5rem;
        text-align: left;
    }

    .hero--text-only .hero__highlights li::before {
        display: block;
    }
}

/* ---------- Mega-menú productos (SumUp) ---------- */
.header {
    overflow: visible;
}

@media (min-width: 1024px) {
    .nav,
    .nav__menu,
    .nav__list {
        overflow: visible;
    }
}

.nav__item--mega {
    position: static;
    width: auto;
}

.nav__link--mega {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.nav__chevron {
    transition: transform 0.2s ease;
}

.nav__link--mega[aria-expanded='true'] .nav__chevron {
    transform: rotate(180deg);
}

.nav-mega[hidden] {
    display: none !important;
}

.nav-mega {
    z-index: 999;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.12);
    padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.5rem, 3vw, 2.25rem);
    max-height: calc(100vh - 80px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
    /* fixed: ancho completo y sin recorte por nav/ul (Chrome, Safari, Firefox) */
    .nav-mega {
        position: fixed;
        left: 0;
        right: 0;
        top: 80px;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        z-index: 1001;
    }

    .nav-mega::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -14px;
        height: 14px;
    }

    .header.mega-open {
        padding-bottom: 0;
        z-index: 1002;
    }

    .nav-mega.is-open:not([hidden]) {
        display: block;
        visibility: visible;
    }
}

.nav-mega__panel {
    display: grid;
    gap: 1.5rem 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .nav-mega__panel {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.12fr) minmax(0, 0.88fr) minmax(0, 0.88fr);
        align-items: stretch;
    }
}

.nav-mega__col {
    min-width: 0;
}

.nav-mega__intro {
    background: var(--mist);
    border-radius: 16px;
    padding: 1.35rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border: 1px solid var(--line);
    min-width: 0;
}

.nav-mega__intro--models {
    padding-bottom: 0;
    overflow: hidden;
    gap: 0.5rem;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
}

.nav-mega__intro-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #667085;
    margin: 0;
}

.nav-mega__intro-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
    color: #101828;
}

.nav-mega__intro-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475467;
    margin: 0;
}

.nav-mega__intro-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #101828;
    margin-top: 0.25rem;
}

.nav-mega__intro-link:hover {
    color: #000;
}

.nav-mega__intro-visual {
    margin-top: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.nav-mega__intro-visual--fondo {
    min-height: 112px;
    max-height: 132px;
    background-color: var(--mist);
    background-image:
        url('/imag/hero-fondo-icons.svg'),
        url('/imag/hero-fondo.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: center 58%, center 42%;
    background-size: min(92%, 320px) auto, cover;
    border: 1px solid var(--line);
}

.nav-mega__heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #98a2b3;
    margin: 0 0 0.85rem;
}

.nav-mega__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.nav-mega__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #101828;
    line-height: 1.35;
}

.nav-mega__links a:hover {
    color: var(--primary-600, #0ea5e9);
}

.nav-mega__links--rich {
    gap: 0.85rem;
}

.nav-mega__rich-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0.35rem 0.4rem;
    margin: 0 -0.4rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.nav-mega__model-link.is-active,
.nav-mega__model-link:hover,
.nav-mega__model-link:focus-visible {
    background: rgba(6, 182, 212, 0.08);
    color: var(--primary-600, #0e7490);
}

.nav-mega__intro--models .nav-mega__intro-visual.nav-mega__intro-visual--photo {
    position: relative;
    flex: 1 1 auto;
    align-self: stretch;
    width: auto;
    min-height: 148px;
    margin: 0.5rem -1.26rem -1px;
    margin-top: auto;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    border: none;
    border-top: 1px solid var(--line);
    background-color: #c8d0da;
    background-image: var(--nav-mega-preview-bg, none);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 35%;
    isolation: isolate;
}

/* Overscan: la foto cubre esquinas y borde inferior sin dejar ver --mist */
.nav-mega__intro--models .nav-mega__intro-visual.nav-mega__intro-visual--photo::after {
    content: '';
    position: absolute;
    inset: -10px -8px -14px -8px;
    background-image: var(--nav-mega-preview-bg, none);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: inherit;
    pointer-events: none;
    z-index: 0;
}

.nav-mega__intro-visual--gyms {
    background-position: 42% 38%;
}

.nav-mega__intro-visual--restaurants {
    background-position: 48% 62%;
}

.nav-mega__intro-visual--home-services {
    background-position: 52% 45%;
}

.nav-mega__intro-visual--academies {
    background-position: 55% 40%;
}

.nav-mega__intro-visual--clinics,
.nav-mega__intro-visual--beauty {
    background-position: 48% 50%;
}

.nav-mega__intro-visual--retail {
    background-position: 55% 42%;
}

.nav-mega__rich-link:hover .nav-mega__rich-title {
    color: var(--primary-600, #0ea5e9);
}

.nav-mega__rich-title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #101828;
    line-height: 1.3;
}

.nav-mega__rich-desc {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #667085;
    line-height: 1.4;
}

.nav-mega__links--models {
    gap: 0.2rem;
}

.nav-mega__links--models .nav-mega__model-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.3rem 0.45rem;
    margin: 0 -0.45rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #344054;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-mega__model-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 9px;
    color: #475467;
    background: rgba(16, 24, 40, 0.05);
    border: 1px solid rgba(16, 24, 40, 0.06);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-mega__model-icon svg {
    display: block;
}

.nav-mega__model-label {
    flex: 1;
    min-width: 0;
}

.nav-mega__model-link.is-active .nav-mega__model-icon,
.nav-mega__model-link:hover .nav-mega__model-icon,
.nav-mega__model-link:focus-visible .nav-mega__model-icon {
    color: var(--primary-600, #0e7490);
    background: rgba(6, 182, 212, 0.14);
    border-color: rgba(6, 182, 212, 0.22);
}

.nav-mega__col--models {
    overflow-x: hidden;
    min-width: 0;
}

@media (min-width: 1024px) {
    .nav-mega__col--models {
        max-height: none;
        overflow: visible;
    }

}

@media (max-width: 1023px) {
    .nav-mega__col--models {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 1023px) {
    .nav__item--mega {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .nav__menu.active {
        max-height: min(90vh, 920px);
    }

    /* Acordeón: el panel va justo debajo de «Soluciones», dentro del menú */
    .nav-mega {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-height: none;
        z-index: auto;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: transparent;
        overflow: visible;
    }

    .nav-mega:not(.is-open) {
        display: none !important;
    }

    .nav-mega.is-open,
    .nav-mega[hidden].is-open {
        display: block !important;
    }

    .nav__link--mega {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: var(--space-4);
        background: var(--gray-100);
        border-radius: var(--radius-lg);
    }

    .nav-mega__panel {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.35rem 0 0.25rem;
    }

    .nav-mega__intro,
    .nav-mega__col:not(.nav-mega__col--models) {
        display: none;
    }

    .nav-mega__col--models {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        padding: 0.65rem 0.75rem 0.5rem;
    }

    .nav-mega__col--models .nav-mega__heading {
        margin-bottom: 0.5rem;
    }

    .nav-mega__links--models .nav-mega__model-link {
        margin: 0;
        padding: 0.55rem 0.5rem;
    }

    .nav-mega__intro-visual {
        display: none;
    }

    .header.mega-open {
        box-shadow: none;
    }
}

.header.mega-open {
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

/* Catálogo de productos (home + /solutions) */
.sol-index {
    display: grid;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .sol-index--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sol-index--page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .sol-index--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sol-index--page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sol-card--featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        align-items: stretch;
    }

    .sol-index--page .sol-card--featured {
        grid-column: span 3;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

@media (max-width: 1023px) {
    .sol-card--featured {
        grid-column: auto;
        display: flex;
        flex-direction: column;
    }
}

.sol-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.sol-card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}

.sol-card--featured .sol-card__media {
    min-height: 220px;
}

.sol-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1.5rem 1.25rem;
    background: #fff;
    text-decoration: none;
}

.sol-card__media img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.sol-card__media img[src*='/imag/products/'] {
    width: 100%;
    height: 220px;
    max-height: none;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
}

.sol-card--featured .sol-card__media img[src*='/imag/products/'] {
    height: 240px;
}

.sol-card__media img[src*='recurring-lifestyle'] {
    object-position: 52% 42%;
}

.sol-card__media img[src*='illustrations/'],
.sol-card__media img[src*='ttp-screen-'],
.sol-card__media img[src*='avp-visual-'],
.sol-card__media img[src*='avp-mockup-'] {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    object-position: center top;
    padding: 0.35rem;
    border-radius: 12px;
}

.sol-card__media img[src*='avp-visual-'],
.sol-card__media img[src*='avp-mockup-'] {
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    max-height: 220px;
}

.sol-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0c111d;
    background: #00c9b7;
    border-radius: 999px;
}

.sol-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sol-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.sol-card__title a {
    color: #101828;
    text-decoration: none;
}

.sol-card__title a:hover {
    color: var(--primary-600, #0ea5e9);
}

.sol-card__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475467;
    margin: 0 0 1rem;
    flex: 1;
}

.sol-card__list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.sol-card__list li {
    font-size: 0.8125rem;
    color: #344054;
    padding-left: 1rem;
    position: relative;
}

.sol-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00c9b7;
}

.sol-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #101828;
    margin-top: auto;
}

.sol-card__cta:hover {
    color: var(--primary-600, #0ea5e9);
}

.sol-index__more {
    text-align: center;
    margin: 2rem 0 0;
}

/* Home: grid uniforme (catálogo editorial) */
.sol-index--home {
    gap: 1.5rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 768px) {
    .sol-index--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .sol-index--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sol-index--home .sol-card--featured {
    grid-column: auto;
    display: flex;
    flex-direction: column;
}

.sol-index--home .sol-card {
    border-radius: 22px;
    border-color: #e6ebf2;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.sol-index--home .sol-card:hover {
    box-shadow: 0 20px 44px rgba(16, 24, 40, 0.09);
    transform: translateY(-2px);
}

.sol-index--home .sol-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #eef2f6;
}

.sol-index--home .sol-card--featured .sol-card__media {
    min-height: 0;
}

.sol-index--home .sol-card__media img {
    max-height: none;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 42%;
    padding: 0;
    box-sizing: border-box;
}

.sol-index--home .sol-card__badge {
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.625rem;
    background: #101828;
    color: #fff;
}

.sol-index--home .sol-card__body {
    padding: 1.35rem 1.5rem 1.25rem;
}

.sol-index--home .sol-card__title {
    font-size: 1.0625rem;
    line-height: 1.3;
}

.sol-index--home .sol-card__text {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sol-index--home .sol-card__cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f6;
    width: 100%;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
}

.solutions#solutions {
    background: #fff;
    padding-bottom: 0;
}

.solutions#solutions .section-header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.sol-page-hero {
    position: relative;
    padding: calc(5rem + 72px) 0 clamp(2rem, 4vw, 3rem);
    background-color: var(--mist);
    overflow: hidden;
    isolation: isolate;
}

.sol-page-hero:not(.page-hero-with-bg)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/imag/hero-fondo-accent.svg');
    background-repeat: no-repeat;
    background-position: center 46%;
    background-size: min(1440px, 96vw) auto;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.sol-page-hero > .container {
    position: relative;
    z-index: 1;
}

/* Solo capas hero-bg.php (misma imagen que la home); no altera padding ni layout del bloque */
.page-hero-with-bg::before {
    display: none !important;
    content: none !important;
}

/* Hub recursos/soluciones: poco texto → misma “lona” de fondo que la home (solo .hero__bg) */
.sol-page-hero.page-hero-with-bg {
    overflow: visible;
}

/* Misma lona en hubs + landings /panel-control, /seguridad-pagos, /crear-cuenta (no home one-page) */
.sol-page-hero.page-hero-with-bg > .hero__bg,
.topic-page-hero.page-hero-with-bg > .hero__bg {
    top: 0;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: none;
    height: clamp(30rem, 56vw, 36rem);
    min-height: clamp(30rem, 56vw, 36rem);
    bottom: auto;
    transform: translateX(-50%);
}

.sol-page-hero.page-hero-with-bg .hero__bg-base,
.sol-page-hero.page-hero-with-bg .hero__bg-accent,
.sol-page-hero.page-hero-with-bg .hero__bg-icons,
.topic-page-hero.page-hero-with-bg .hero__bg-base,
.topic-page-hero.page-hero-with-bg .hero__bg-accent,
.topic-page-hero.page-hero-with-bg .hero__bg-icons {
    transform: translate(calc(-50% - 30px), calc(-46% + 52px));
}

.sol-page-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.sol-page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0.75rem 0 1rem;
}

/* Recursos — cabecera tipo blog (solo texto superior) */
.sol-page-hero--resources {
    padding-bottom: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.sol-page-hero--resources .sol-page-hero__inner--editorial {
    max-width: 38rem;
    margin: 0;
    text-align: left;
}

.res-hub-hero__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #667085;
}

.sol-page-hero--resources .sol-page-hero__title {
    margin: 0 0 1rem;
    text-align: left;
}

.sol-page-hero--resources .sol-page-hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
    line-height: 1.68;
    color: #475467;
}

.sol-page-hero__text {
    color: #475467;
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

.solutions--catalog {
    padding-top: 0;
}

/* Badges App Store / Google Play — cajas iguales (estilo Apple Pay / Google Pay) */
.store-badges--boxed {
    --store-box-w: 172px;
    --store-box-h: 52px;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
}

.store-badges__box {
    box-sizing: border-box;
    flex: 0 0 var(--store-box-w);
    width: var(--store-box-w);
    height: var(--store-box-h);
    min-width: var(--store-box-w);
    min-height: var(--store-box-h);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 12px;
    background: #fff;
    border: 1.5px solid #101828;
    border-radius: 14px;
    text-decoration: none;
    color: #101828;
    line-height: 1.1;
}

.store-badges__box:hover {
    background: #fafafa;
}

.store-badges__box:focus-visible {
    outline: 2px solid var(--accent, #06b6d4);
    outline-offset: 3px;
}

.store-badges__mark {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-badges__mark--apple {
    color: #101828;
}

.store-badges__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.store-badges__eyebrow {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #475467;
    white-space: nowrap;
}

.store-badges__name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #101828;
    white-space: nowrap;
}

.store-badges__box--google .store-badges__name {
    font-weight: 500;
    color: #3c4043;
}

@media (max-width: 380px) {
    .store-badges--boxed {
        --store-box-w: 158px;
        gap: 8px;
    }

    .store-badges__name {
        font-size: 14px;
    }
}

.ttp-hero__visual {
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    max-width: 960px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.ttp-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.ttp-hero__stores {
    margin: 0 0 var(--space-8);
}

.ttp-hero__stores .store-badges {
    justify-content: center;
}

/* Sección App (home + soluciones) */
.app-section {
    margin-top: -55px;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.app-section__layout {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-radius: 24px;
    background: linear-gradient(145deg, #f4f6f9 0%, #eef1f5 55%, #e8ecf2 100%);
    border: 1px solid var(--line, #e4e7ec);
    overflow: hidden;
}

@media (min-width: 960px) {
    .app-section__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 2.5rem 3.5rem;
        padding: clamp(2rem, 4vw, 3rem);
    }
}

.app-section__highlights {
    margin: 0 0 1.35rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 44ch;
}

.app-section__highlights li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #344054;
}

.app-section__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent, #00b4d8);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.18);
}

.app-section__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(0.5rem, 2vw, 1.25rem);
}

.app-section__visual img {
    display: block;
}

.app-section__visual .app-section__phone-shot {
    width: min(42vw, 168px);
    max-height: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

@media (min-width: 960px) {
    .app-section__visual .app-section__phone-shot {
        width: 168px;
    }
}

.app-section__visual--product {
    padding: 0;
    align-self: center;
}

.app-section__visual--product .app-section__photo-shot {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin-inline: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 22px 50px rgba(16, 24, 40, 0.11);
}

@media (min-width: 960px) {
    .app-section__visual--product .app-section__photo-shot {
        max-width: none;
    }
}

/* Bloques producto (home features, estilo pasarela) */
.platform-features {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 640px) {
    .platform-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .platform-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

.platform-feature {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line, #e4e7ec);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.platform-feature:hover {
    border-color: #d0d5dd;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.platform-feature__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    padding: 0;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
}

.platform-feature__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 42%;
    padding: 0;
    box-sizing: border-box;
}

.platform-feature__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.15rem 1.25rem;
}

.platform-feature__title {
    margin: 0 0 0.45rem;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.platform-feature__title a {
    color: #101828;
    text-decoration: none;
}

.platform-feature__title a:hover {
    color: var(--accent, #00b4d8);
}

.platform-feature__text {
    margin: 0 0 0.85rem;
    flex: 1;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #667085;
}

.platform-feature__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #101828;
    text-decoration: none;
}

.platform-feature__link:hover {
    color: var(--accent, #00b4d8);
}

.platform-feature__link svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.platform-feature__link:hover svg {
    transform: translateX(3px);
}

/* Tap to Pay — spotlight ilustrado */
.ttp-spotlight {
    padding: 0 0 clamp(2rem, 4vw, 3rem);
    margin-top: -0.5rem;
}

.ttp-spotlight__panel {
    border-radius: 24px;
    border: 1px solid var(--line, #e4e7ec);
    background: linear-gradient(160deg, #f0f3f7 0%, #fafbfc 45%, #fff 100%);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttp-spotlight__illus {
    width: min(100%, 640px);
    height: auto;
    display: block;
}

.app-section__card {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-radius: 24px;
    background: #eef0f3;
    border: 1px solid var(--line, #e4e7ec);
    overflow: hidden;
}

@media (min-width: 960px) {
    .app-section__card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 2.5rem 3rem;
        padding: clamp(2rem, 4vw, 3rem);
    }

    .app-section__card--text-only {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .app-section__card--text-only .app-section__content {
        align-items: center;
    }

    .app-section__card--text-only .app-section__text {
        max-width: none;
    }

    .app-section__card--text-only .store-badges {
        justify-content: center;
    }
}

.app-section__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.app-section__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0.65rem 0 0.75rem;
    color: #101828;
}

.app-section__text {
    margin: 0 0 1.25rem;
    max-width: 42ch;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475467;
}

.app-section__stores {
    margin-bottom: 1.25rem;
}

.app-section__stores .store-badges {
    gap: 10px 14px;
}

.app-section__cta {
    margin-top: 0.25rem;
}

.app-section__phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    min-width: 0;
    pointer-events: none;
}

.app-section__phones img {
    width: min(46%, 220px);
    height: auto;
    border-radius: 22px;
    box-shadow: 0 24px 56px rgba(16, 24, 40, 0.16);
}

.solutions--catalog + .app-section {
    padding-top: 0;
}

@media (max-width: 959px) {
    .app-section__content {
        align-items: center;
        text-align: center;
    }

    .app-section__text {
        max-width: none;
    }

    .app-section__highlights {
        align-self: center;
        text-align: left;
    }

    .app-section__stores .store-badges {
        justify-content: center;
    }

    .app-section__visual {
        order: -1;
    }
}

/* Franja app (solo en /solutions, estilo SumUp) */
.sol-app-strip {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 4vw, 2.75rem);
    border-radius: 24px;
    background: #eef0f3;
    border: 1px solid var(--line);
    overflow: hidden;
}

@media (min-width: 960px) {
    .sol-app-strip {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 2.5rem 3rem;
    }
}

.sol-app-strip__content,
.sol-app-strip__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 2;
    min-width: 0;
}

.sol-app-strip__phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    min-width: 0;
}

.sol-app-strip__phones img {
    width: min(42%, 200px);
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.14);
}


.sol-app-strip__title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: #101828;
}

.sol-app-strip__text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475467;
    margin: 0 0 1.25rem;
    max-width: 36ch;
}

.sol-app-strip__stores {
    margin: 1.25rem 0 1rem;
    width: 100%;
}

.sol-app-strip__link {
    margin-top: 0.25rem;
}

.sol-app-strip__illus {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.sol-app-strip__illus img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.12);
}

@media (max-width: 959px) {
    .sol-app-strip__content,
    .sol-app-strip__copy {
        align-items: center;
        text-align: center;
    }

    .sol-app-strip__stores {
        display: flex;
        justify-content: center;
    }
}

/* Legacy dark panels (unused) */
.sol-suite {
    margin-top: 0.5rem;
}

/* ---------- Secciones ---------- */
.section-tag {
    background: var(--mist);
    color: #344054;
    letter-spacing: 0;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-description {
    text-align: center;
    color: #475467;
}

.solutions {
    background: #fff;
}

.solution-card {
    border-radius: 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.solution-card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.solution-card__description,
.feature-highlight__content p {
    text-align: left;
}

.pricing-perks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Home: perks de precio y testimonios comparten fondo gris */
.pricing:has(+ .client-logos) {
    padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.pricing + .client-logos {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.client-logos {
    padding-bottom: clamp(2rem, 4vw, 3rem);
    background: var(--gray-100, #f2f4f7);
}

.client-logos__lead {
    margin: 0 0 1.35rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #98a2b3;
}

.client-logos__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .client-logos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .client-logos__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.1rem 1.25rem;
    }
}

.client-logos__item {
    display: flex;
    min-width: 0;
}

.client-logos__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    height: 6.5rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.client-logos__mark img {
    display: block;
    width: 100%;
    height: 4rem;
    max-width: 10.5rem;
    max-height: 4rem;
    object-fit: contain;
    object-position: center center;
    filter: grayscale(100%) brightness(0.48);
    opacity: 0.92;
}

@media (min-width: 640px) {
    .pricing-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .pricing-perks {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.pricing-perk {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    padding: 1.45rem 1.2rem 1.35rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line, #e4e7ec);
    text-align: center;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-perk:hover {
    border-color: #d0d5dd;
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.07);
    transform: translateY(-2px);
}

.pricing-perk__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    padding: 0.35rem 0.65rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: var(--mist, #f2f4f7);
    border: 1px solid #eaecf0;
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #101828;
}

.pricing-perk__title {
    margin: 0 0 0.45rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #101828;
    line-height: 1.35;
}

.pricing-perk__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #667085;
    max-width: 16rem;
}

.solution-card__icon {
    background: var(--mist);
    color: #111827;
    border-radius: 16px;
}

.solution-card__photo {
    display: block;
    width: 140px;
    height: 170px;
    object-fit: contain;
    margin: 0 auto 4px;
}

.solution-card__photo + .solution-card__icon {
    display: none;
}

.solution-card--featured {
    background: var(--mist);
    border-color: var(--line);
}

.solution-card--featured:hover {
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.solution-card--featured .solution-card__title,
.solution-card--featured .solution-card__description,
.solution-card--featured .solution-card__features li {
    color: #111827;
}

.solution-card--featured .solution-card__icon {
    background: #fff;
    color: #111827;
}

.solution-card--featured .solution-card__features li::before {
    color: #111827;
}

.solution-card__badge {
    background: #111827;
    color: #fff;
}

.solution-card__link {
    background: transparent;
    color: #111827;
    padding-left: 0;
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.solution-card__link:hover {
    background: transparent;
    color: #000;
    transform: none;
}

.features {
    background: var(--mist);
}

.feature-highlight__content h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -0.03em;
}

.mini-stat__number {
    color: #111827;
}

.mini-stat__label {
    color: #667085;
}

.example-tag {
    background: #fff;
    border: 1px solid #e6ebf2;
    color: #344054;
}

.feature-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.9375rem;
    color: #475467;
    line-height: 1.45;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.feature-visual--phone {
    position: relative;
    width: min(100%, 320px);
    margin: 0 auto;
}

.feature-visual--phone .payment-success--card {
    position: absolute;
    left: 0;
    bottom: 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
}

.feature-visual--phone .payment-success--card .success-icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: inherit;
}

.use-case__icon,
.pricing-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6ebf2;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.pricing-feature__icon {
    margin-left: auto;
    margin-right: auto;
}

.recurring-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0891b2;
    font-weight: 600;
}

.recurring-status::after {
    content: '';
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230891b2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.recurring-showcase {
    position: relative;
    width: min(100%, 480px);
    margin: 0 auto;
}

.recurring-showcase__figure {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6ebf2;
    box-shadow: 0 24px 56px rgba(16, 24, 40, 0.1);
}

.recurring-showcase__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.recurring-showcase__card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #eef2f6;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
    backdrop-filter: blur(8px);
}

.recurring-showcase__label {
    margin: 0 0 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #667085;
}

.recurring-showcase__amount {
    margin: 0 0 6px;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #101828;
}

.recurring-showcase__status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0891b2;
}

.recurring-showcase__status::after {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230891b2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.use-cases__banner--illus {
    background: #fff;
    border: 1px solid #e6ebf2;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.use-cases__banner--illus img {
    height: auto;
    min-height: 0;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    padding: 0;
    background: transparent;
}

.shot-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-mockup--shot {
    width: 260px;
    padding: 8px;
    border-radius: 32px;
    background: #101828;
    box-shadow: 0 24px 50px rgba(16, 24, 40, 0.22);
}

.phone-shot {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: top;
    border-radius: 24px;
    background: #fff;
}

.payment-success--card {
    background: #fff;
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    min-width: 220px;
}

.payment-success--card .success-amount {
    color: #101828;
    font-size: 1.5rem;
}

.payment-success--card .success-text {
    color: #079455;
    font-weight: 600;
}

.payment-success--card .success-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
    background: #ecfdf3;
    color: #079455;
}

.tokenization-demo,
.recurring-demo {
    border: 1px solid #eef2f6;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
}

/* ---------- Casos de uso ---------- */
.use-cases {
    background: #fff;
}

.use-cases__banner {
    margin: 0 auto 3rem;
    max-width: 880px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.use-cases__banner img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 42%;
}

.use-cases__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .use-cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .use-cases__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

a.use-case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

a.use-case-card:hover {
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.08);
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.35);
}

a.use-case-card:focus-visible {
    outline: 2px solid var(--primary-500, #06b6d4);
    outline-offset: 3px;
}

.use-case-card__media {
    aspect-ratio: 16 / 10;
    background: #f5f7fa;
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
}

.use-case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.use-case-card__media--contain {
    background: #fff;
}

.use-case-card__media--contain img {
    object-fit: contain;
    padding: 0.5rem 0.65rem;
    box-sizing: border-box;
}

/* Recorte sectorial: casos de uso + modelos de negocio (hub y landings) */
.bm-hub-card__media[class*="--"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero de cada modelo (/modelos/…): foto a sangre dentro del marco redondeado */
.ttp-hero__figure--cover {
    aspect-ratio: 16 / 10;
    position: relative;
    background: #c8d0da;
}

.ttp-hero__figure--cover img {
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: translate(-5%, -4%);
}

.use-case-card__media--gyms img,
.bm-hub-card__media--gyms img,
.ttp-hero__figure--cover.ttp-hero__figure--gyms img {
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: cover;
    object-position: 42% 38%;
    transform: translate(-6%, -4%);
}

.use-case-card__media--restaurants img,
.bm-hub-card__media--restaurants img,
.ttp-hero__figure--cover.ttp-hero__figure--restaurants img {
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: cover;
    object-position: 48% 62%;
    transform: translate(-5%, 2%);
}

.use-case-card__media--home-services img,
.bm-hub-card__media--home-services img,
.ttp-hero__figure--cover.ttp-hero__figure--home-services img {
    width: 112%;
    height: 112%;
    max-width: none;
    object-fit: cover;
    object-position: 52% 45%;
    transform: translate(-4%, 0);
}

.use-case-card__media--academies img {
    width: 115%;
    height: 115%;
    max-width: none;
    object-fit: cover;
    object-position: 55% 40%;
    transform: translate(-4%, -2%);
}

.use-case-card__media--beauty img,
.bm-hub-card__media--beauty img,
.ttp-hero__figure--cover.ttp-hero__figure--beauty img {
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 35%;
    transform: translate(-5%, -3%);
}

.use-case-card__media--clinics img,
.ttp-hero__figure--cover.ttp-hero__figure--clinics img {
    width: 112%;
    height: 112%;
    max-width: none;
    object-fit: cover;
    object-position: 48% 50%;
    transform: translate(-3%, 0);
}

.use-case-card__media--retail img,
.bm-hub-card__media--retail img,
.ttp-hero__figure--cover.ttp-hero__figure--retail img {
    width: 115%;
    height: 115%;
    max-width: none;
    object-fit: cover;
    object-position: 55% 42%;
    transform: translate(-5%, -2%);
}

.use-case-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 1.25rem 1.15rem 1.35rem;
}

.use-case-card__body > .use-case-card__title {
    margin-top: 0;
}

.use-case-card__title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    color: #101828;
    line-height: 1.35;
}

.use-case-card__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

.use-case-card__tags li {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #0f766e;
    line-height: 1.4;
}

.use-case-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #667085;
}

/* ---------- Precios ---------- */
.pricing {
    background: #fff;
}

.rate-card {
    border-radius: 28px;
    border: 1px solid #e6ebf2;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.rate-card--highlight {
    background: #111827;
    border-color: #111827;
}

.rate-card--highlight .rate-card__label,
.rate-card--highlight .rate-big,
.rate-card--highlight .rate-small,
.rate-card--highlight .rate-separator,
.rate-card--highlight .rate-card__model {
    color: #fff;
}

.rate-card__badge {
    background: var(--mist);
    color: #111827;
}

.pricing-feature,
.pricing__all-included {
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: none;
}

/* ---------- Prueba social y testimonios ---------- */
.social-proof {
    background: transparent;
    border: 0;
    margin-top: -72px;
    padding: 0 0 1rem;
    position: relative;
    z-index: 4;
}

.hero--text-only + .social-proof {
    margin-top: calc(clamp(-5.5rem, -10vw, -6.75rem) + 90px);
    padding: 0 0 clamp(3rem, 5.5vw, 4.25rem);
}

.proof-stats {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.06);
    padding: clamp(2.15rem, 3.5vw, 2.65rem) clamp(1.5rem, 3vw, 2.25rem);
}

.proof-stat__number {
    background: none;
    -webkit-text-fill-color: #101828;
    color: #101828;
    letter-spacing: -0.04em;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.proof-stat__label {
    max-width: 11rem;
    margin-inline: auto;
    line-height: 1.35;
}

.testimonials {
    background: #fff;
}

.testimonial-card {
    border: 1px solid #eef2f6;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.testimonial-card__quote {
    font-style: normal;
    color: #344054;
}

.testimonial-card__quote::before {
    color: #d0d5dd;
}

.author-avatar {
    background: #e4e7ec;
    color: #111827;
}

/* ---------- Contacto ---------- */
.cta__gradient {
    background: var(--mist);
}

.cta__pattern {
    display: none;
}

.cta__title {
    letter-spacing: -0.035em;
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #111827;
}

.cta__description {
    text-align: center;
    color: #475467;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.cta__form {
    border-radius: 20px;
    border: 1px solid #eceef2;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
    text-align: left;
}

.cta__form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #667085;
    text-align: left;
}

.cta__form .form-group input,
.cta__form .form-group textarea,
.cta__form .form-group select {
    background: #f4f5f7 !important;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    color: #111827 !important;
    padding: 12px 14px;
}

.cta__form .form-group select {
    background-color: #f4f5f7 !important;
}

.cta__form .form-group input:-webkit-autofill,
.cta__form .form-group input:-webkit-autofill:hover,
.cta__form .form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #f4f5f7 inset !important;
    -webkit-text-fill-color: #111827 !important;
}

.cta__form .form-group input:focus,
.cta__form .form-group textarea:focus,
.cta__form .form-group select:focus {
    border-color: #111827;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.cta__form .checkbox-label input[type="checkbox"] {
    accent-color: #111827;
}

.cta__form .checkbox-group .checkbox-text a {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.cta__form .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.cta__form .btn--primary {
    background: #111827;
    color: #fff;
    box-shadow: none;
    padding: 0.8rem 1.35rem;
}

.cta__form .btn--primary:hover {
    background: #000;
    box-shadow: none;
    transform: none;
}

.contact-item,
.contact-item svg {
    color: #344054;
}

.footer {
    position: relative;
    margin-top: 0;
    padding-top: clamp(3rem, 6vw, 4rem);
    padding-bottom: var(--space-8, 2rem);
    background: #e8ebf0;
    color: #475467;
    border-top: 1px solid #d0d5dd;
    box-shadow: 0 -10px 32px rgba(16, 24, 40, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.footer__top {
    border-bottom: 1px solid #d0d5dd;
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer__bottom {
    border-top: 1px solid #d0d5dd;
    margin-top: 0.5rem;
    padding-top: clamp(1.5rem, 3vw, 2rem);
}

.footer__badge {
    background: #fff;
    border: 1px solid #d0d5dd;
    color: #344054;
}

.footer__badge--img,
.payment-security__cert--img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
}

.footer__badge--img img,
.payment-security__cert--img img {
    display: block;
    width: auto;
    max-width: 118px;
    max-height: 40px;
    object-fit: contain;
}

.payment-security__certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer__logo-img {
    filter: none;
}

.footer__column h4,
.footer__tagline {
    color: #111827;
}

.footer__column a {
    color: #475467;
}

.footer__column a:hover {
    color: #111827;
}

.footer__bottom p {
    color: #667085;
}

.social-link {
    background: #fff;
    border: 1px solid var(--line);
    color: #344054;
}

.social-link:hover {
    background: #111827;
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 110, 235, 0.15);
}

/* Tap to Pay — landing estilo claro (referencia SumUp, solo Avirato) */
.ttp-hero--light {
    padding: calc(5rem + 72px) 0 2.5rem;
    background: var(--mist);
    color: #101828;
}

.ttp-hero--light .ttp-hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .ttp-hero--light .ttp-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 3rem;
    }
}

.ttp-hero--light .ttp-hero__content {
    max-width: none;
    margin: 0;
    text-align: left;
}

.ttp-hero--light .ttp-hero__tag {
    background: var(--mist);
    color: #344054;
    border: 1px solid var(--line);
}

.ttp-hero--light .ttp-hero__title {
    color: #101828;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.ttp-hero--light .ttp-hero__subtitle {
    color: #475467;
}

.ttp-hero--light .ttp-hero__badges {
    justify-content: flex-start;
}

.ttp-badge--light {
    background: #fff;
    border: 1px solid #e4e7ec;
    color: #344054;
}

.ttp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.ttp-hero__figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(16, 24, 40, 0.12);
}

.ttp-hero__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.ttp-hero__figure--cover img {
    display: block;
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: cover;
}

.wallet-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.wallet-brands__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.4rem 0.85rem;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.wallet-brands__item--dark {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.wallet-brands__item img {
    display: block;
    width: auto;
    height: 1.35rem;
    max-width: 4.5rem;
    object-fit: contain;
}

.ttp-hero__wallets {
    margin: 0.85rem 0 1.15rem;
}


.ttp-pay-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ttp-pay-icons__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475467;
}

.ttp-pay-icons__item svg {
    color: #101828;
}

.ttp-screens--light {
    padding: 3.5rem 0;
    background: #fff;
}

.ttp-screens__header {
    margin-bottom: 2rem;
}

.ttp-screens--light .ttp-screens__phone {
    border-color: #e4e7ec;
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.12);
}

.ttp-advantages--compact {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .ttp-advantages--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ttp-advantages--compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ttp-advantages--compact .ttp-adv {
    padding: 1.25rem;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transform: none !important;
    transition: none !important;
}

.ttp-advantages--compact .ttp-adv:hover {
    transform: none !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    border-color: #e4e7ec;
}

.ttp-platforms {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .ttp-platforms {
        grid-template-columns: 1fr 1fr;
    }
}

.ttp-platform {
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid #e4e7ec;
    background: #fafafa;
}

.ttp-platform__title {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #101828;
}

.ttp-platform__text {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475467;
}

.ttp-platform__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #101828;
    text-decoration: none;
}

.ttp-platform__link:hover {
    color: var(--accent, #00b4d8);
}

.ttp-list--check li::before {
    background: #00c9b7;
}

.ttp-faq {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 0.65rem;
}

.ttp-faq__item {
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    padding: 0.85rem 1rem;
}

.ttp-faq__item summary {
    cursor: pointer;
    font-weight: 600;
    color: #101828;
    list-style: none;
}

.ttp-faq__item summary::-webkit-details-marker {
    display: none;
}

.ttp-faq__item p {
    margin: 0.65rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475467;
}

@media (max-width: 959px) {
    .ttp-hero--light .ttp-hero__content {
        text-align: center;
    }

    .ttp-hero--light .ttp-hero__badges,
    .ttp-hero__actions {
        justify-content: center;
    }
}

/* Resources hub */
.resources-hero--hub {
    padding: calc(5rem + 72px) 0 2.5rem;
    background: var(--mist) !important;
    text-align: left;
}

.resources-hero--sub .resources-breadcrumb {
    justify-content: flex-start;
}

.resources-hero--sub .resources-hero__content {
    text-align: left;
    margin: 0;
    max-width: 720px;
}

.resources-hero--hub .resources-hero__content--left {
    max-width: 640px;
    margin: 0;
}

.resources-hero__tag {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.resources-section--hub {
    padding-top: 0;
    margin-top: -0.5rem;
}

.resources-hub-grid--four {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .resources-hub-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .resources-hub-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.resources-hub-card__meta {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #667085;
}

.resources-hub-card__icon--code {
    background: #eef2ff;
    color: #101828;
}

.resources-featured {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid #e4e7ec;
}

.resources-featured__head {
    margin-bottom: 1.75rem;
}

.resources-featured__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #101828;
}

.resources-featured__subtitle {
    margin: 0;
    color: #475467;
    font-size: 0.9375rem;
}

.resources-featured__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .resources-featured__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

.resources-featured__video {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    text-decoration: none;
    color: #fff;
    min-height: 220px;
}

.resources-featured__video img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.resources-featured__video:hover img {
    transform: scale(1.03);
}

.resources-featured__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 40, 0.05) 40%, rgba(16, 24, 40, 0.82) 100%);
}

.resources-featured__play {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #101828;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.resources-featured__video-label {
    position: absolute;
    z-index: 1;
    left: 1rem;
    bottom: 2.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.resources-featured__video-title {
    position: absolute;
    z-index: 1;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.resources-featured__downloads {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.resources-dl {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fafafa;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.resources-dl:hover {
    border-color: #d0d5dd;
    background: #fff;
}

.resources-dl__type {
    flex-shrink: 0;
    min-width: 2.75rem;
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    background: #101828;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
}

.resources-dl--link .resources-dl__type {
    background: #00c9b7;
    color: #0c111d;
}

.resources-dl__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.resources-dl__text strong {
    font-size: 0.9375rem;
    color: #101828;
}

.resources-dl__text em {
    font-style: normal;
    font-size: 0.8125rem;
    color: #667085;
    line-height: 1.45;
}

.resources-quick {
    padding: 2.5rem 0 3.5rem;
    background: #f4f6f8;
    border-top: 1px solid #e4e7ec;
}

.resources-quick__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e4e7ec;
}

.resources-quick__title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #101828;
}

.resources-quick__text {
    margin: 0;
    font-size: 0.9375rem;
    color: #475467;
}

.resources-quick__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* ---------- Sistema visual global (alineado con home) ---------- */
.page-hero-accent::before,
.terminals-hero::before,
.developers-hero::before,
.resources-hero::before,
.ttp-hero--light:not(.page-hero-with-bg)::before,
.terms-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/imag/hero-fondo-accent.svg');
    background-repeat: no-repeat;
    background-position: center 46%;
    background-size: min(1440px, 96vw) auto;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.terminals-hero,
.developers-hero,
.resources-hero,
.ttp-hero--light,
.terms-hero {
    position: relative;
    background: var(--mist) !important;
    background-image: none !important;
    color: #111827;
    overflow: hidden;
    isolation: isolate;
    border-bottom: none;
}

.terminals-hero {
    padding: calc(5rem + 72px) 0 clamp(2rem, 4vw, 3rem) !important;
}

.terminals-hero > .container,
.developers-hero > .container,
.resources-hero > .container,
.ttp-hero--light > .container,
.terms-hero > .container {
    position: relative;
    z-index: 1;
}

.developers-hero {
    padding: calc(5rem + 72px) 0 2.5rem !important;
}

.resources-hero {
    padding: calc(5rem + 72px) 0 2.5rem !important;
    text-align: left;
}

.resources-hero__title,
.terminals-hero__title,
.developers-hero__title,
.sol-page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    font-weight: 700;
    color: var(--ink);
}

.resources-hero__subtitle,
.terminals-hero__description,
.developers-hero__subtitle,
.sol-page-hero__text {
    color: #475467;
    line-height: 1.6;
}

.developers-hero__eyebrow,
.resources-hero__tag,
.ttp-hero__tag {
    display: inline-block;
    padding: var(--space-2, 0.35rem) var(--space-4, 0.85rem);
    background: var(--mist);
    color: #344054;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid var(--line);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0.75rem;
}

.terms-hero {
    padding: calc(5rem + 72px) 0 clamp(2rem, 4vw, 3rem) !important;
    text-align: center;
}

.terms-content {
    background: var(--paper);
}

.ttp-section--dark {
    background: var(--mist) !important;
    color: var(--ink);
}

.ttp-section--dark .ttp-section__title,
.ttp-section--dark .ttp-step__title {
    color: var(--ink) !important;
}

.ttp-section--dark .ttp-section__text,
.ttp-section--dark .ttp-step__text {
    color: #475467 !important;
}

.ttp-section--dark .ttp-step__number {
    background: #111827 !important;
    color: #fff !important;
}

.ttp-section--alt {
    background: var(--paper) !important;
}

.ttp-cta__box {
    background: var(--paper) !important;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.ttp-cta__title {
    color: var(--ink) !important;
}

.ttp-cta__text {
    color: #475467 !important;
}

.cta-section {
    background: var(--mist) !important;
}

.cta-box {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.cta-box__title {
    color: var(--ink) !important;
}

.cta-box__text {
    color: #475467 !important;
    opacity: 1 !important;
}

.cta-box .btn--primary {
    background: #111827;
    color: #fff;
}

/* Páginas legales y documentos */
.legal-page {
    padding: calc(5rem + 72px) 0 clamp(3rem, 6vw, 4rem);
    background: var(--mist);
    min-height: auto;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.legal-content h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--ink);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    color: var(--ink);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.125rem;
    color: #344054;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    color: #475467;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.legal-content strong {
    color: var(--ink);
    font-weight: 600;
}

.legal-content a {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-meta {
    font-size: 0.875rem;
    color: #667085;
    margin-bottom: 1.25rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.back-link:hover {
    color: #000;
}

.back-link svg {
    width: 20px;
    height: 20px;
}

.company-data,
.legal-content .highlight-box {
    background: var(--mist);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    margin: 1.5rem 0;
}

.company-data {
    border-left: 3px solid #111827;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.cookie-table th {
    background: #111827;
    color: #fff;
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.cookie-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
    color: #475467;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background: rgba(17, 24, 39, 0.02);
}

.terminals-section {
    background: var(--paper);
}

.solutions--catalog {
    background: var(--paper);
}

.company-data p {
    margin: 0.35rem 0;
}

.terms-document {
    border: 1px solid var(--line) !important;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04) !important;
}

.terms-section__title {
    color: var(--ink) !important;
}

.resources-hero--guide,
.resources-hero--info {
    background: var(--mist) !important;
}

/* ---------- Botones estáticos (sin movimiento en hover/active) ---------- */
.btn,
a.btn,
button.btn,
.cta__form .btn,
.ttp-cta__btn,
.terminal-buy-btn,
.resource-download-btn,
.success-notification__button,
.store-badges__box,
.order-info-btn.btn,
.nav__actions .btn,
.topic-teaser,
.topic-teaser__pill,
.ttp-adv,
.ttp-app-cards__card {
    transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
}

.ttp-adv,
.ttp-adv:hover,
.ttp-app-cards__card,
.ttp-app-cards__card:hover,
.terminals-order-card,
.terminals-order-card:hover {
    transition: none !important;
}

.btn:hover,
.btn:active,
.btn:focus-visible,
a.btn:hover,
a.btn:active,
button.btn:hover,
button.btn:active,
.hero .btn--primary:hover,
.cta__form .btn--primary:hover,
.resource-download-btn:hover,
.success-notification__button:hover,
.store-badges__box:hover,
.nav__actions .btn--primary:hover {
    transform: none !important;
}

.btn--primary::before,
.btn--primary:hover::before {
    display: none !important;
    content: none !important;
}

.btn--primary:hover,
.nav__actions .btn--primary:hover {
    box-shadow: none !important;
}

.order-info-btn:hover svg,
.btn:hover svg,
.btn:active svg {
    transform: none !important;
}

/* ---------- Recursos hub (rediseño alineado con home) ---------- */
.res-hub {
    padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    background: var(--paper);
    margin-top: -0.25rem;
}

.res-hub__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .res-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.res-hub__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1.75rem 1.65rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transform: none !important;
}

.res-hub__card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.07);
    transform: none !important;
}

.res-hub__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--mist);
    border: 1px solid var(--line);
    color: #101828;
}

.res-hub__meta {
    margin: 0.15rem 0 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #667085;
}

.res-hub__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.res-hub__desc {
    margin: 0;
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475467;
}

.res-hub__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #101828;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.res-hub__cta svg {
    flex-shrink: 0;
}

.res-hub__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.res-guides {
    padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    background: var(--paper);
}

.res-guides__head {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
}

.res-guides__grid {
    max-width: 72rem;
    margin-inline: auto;
}

.res-guides__pills {
    margin-top: clamp(2.5rem, 5vw, 3.25rem);
    padding-top: clamp(2rem, 4vw, 2.75rem);
    border-top: 1px solid var(--line);
    max-width: 72rem;
    margin-inline: auto;
}

.res-guides--catalog {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Recursos: separar el grid del fondo del hero (iconos no pisan las tarjetas) */
.sol-page-hero--resources + .res-guides--catalog {
    position: relative;
    z-index: 2;
    margin-top: clamp(3.25rem, 9vw, 6.5rem);
    padding-top: clamp(0.5rem, 1.5vw, 1rem);
}

.resources-hub__grid {
    display: grid;
    gap: 1.15rem;
    max-width: 72rem;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .resources-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 960px) {
    .resources-hub__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

.resources-hub__tag {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #667085;
}

.resources-hub__card .topic-teaser__title {
    font-size: 1.0625rem;
}

.resources-hub__card .topic-teaser__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hub /resources: misma franja de imagen (ancho completo de tarjeta + ratio único) */
.resources-hub__grid {
    align-items: stretch;
}

.resources-hub__card .topic-teaser__body {
    flex: 1 1 auto;
    min-height: 11.5rem;
}

.resources-hub__card .topic-teaser__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0;
    aspect-ratio: 16 / 10;
    min-height: 0;
    background: #eef1f5;
}

.resources-hub__card .topic-teaser__media--panel,
.resources-hub__card .topic-teaser__media--signup,
.resources-hub__card .topic-teaser__media--checkout,
.resources-hub__card .topic-teaser__media--arn {
    aspect-ratio: 16 / 10;
    min-height: 0;
}

.resources-hub__card .topic-teaser__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    box-sizing: border-box;
}

/* Foto de producto con difuminado suave (pagos recurrentes) */
.topic-teaser__media--photo-blur,
.sol-card__media--photo-blur {
    overflow: hidden;
}

.topic-teaser__media--photo-blur img,
.sol-card__media--photo-blur img,
.ttp-hero__figure--photo-blur img {
    transform: scale(1.12);
    filter: blur(14px) saturate(0.72);
}

.res-pills-mini__head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto clamp(1.35rem, 3vw, 1.85rem);
}

.section-tag--inline {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.res-pills-mini__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--ink, #0f172a);
}

.res-pills-mini__desc {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.55;
    color: var(--ink-muted, #64748b);
}

.res-pill-hub {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.res-pill-row {
    display: grid;
    gap: 0.5rem 1rem;
    align-items: start;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-lg, 12px);
    background: var(--mist);
    border: 1px solid var(--line);
}

@media (min-width: 640px) {
    .res-pill-row {
        grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
        align-items: center;
        padding: 0.5rem 0.85rem;
    }
}

.res-pill-row__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink-muted, #64748b);
    line-height: 1.3;
}

.res-pill-row__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.res-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: inherit;
    text-decoration: none;
    line-height: 1.25;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.res-pill--sm {
    padding: 0.28rem 0.55rem 0.28rem 0.35rem;
    font-size: 0.8125rem;
}

.res-pill:hover {
    border-color: var(--accent, #2563eb);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.res-pill__badge {
    flex-shrink: 0;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink-muted, #64748b);
}

.res-pill--pdf .res-pill__badge {
    color: var(--navy, #1e3a5f);
}

.res-pill--dev .res-pill__badge {
    color: var(--accent, #2563eb);
}

.res-pill__label {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 639px) {
    .res-pill__label {
        white-space: normal;
    }
}

.res-dev-link {
    padding: 0 0 clamp(2rem, 4vw, 2.75rem);
    background: var(--paper);
}

.res-dev-link__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg, 12px);
    background: var(--mist);
}

.res-dev-link__label {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted, #64748b);
}

.res-dev-link__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 650;
    color: var(--ink, #0f172a);
}

.res-dev-link__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink-muted, #64748b);
    max-width: 36rem;
}

.res-featured {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: var(--mist);
    border-top: 1px solid var(--line);
}

.res-featured__head {
    margin-bottom: 2rem;
}

.res-featured__grid--no-video {
    display: block;
    max-width: 40rem;
    margin-inline: auto;
}

.res-featured__grid--no-video .res-featured__list {
    width: 100%;
}

.res-featured__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .res-featured__grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 1.5rem;
    }
}

.res-featured__video {
    position: relative;
    display: block;
    min-height: 260px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.res-featured__video img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
    transform: none !important;
}

.res-featured__video:hover img {
    transform: none !important;
}

.res-featured__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 40, 0.08) 35%, rgba(16, 24, 40, 0.85) 100%);
}

.res-featured__play {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #101828;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.res-featured__video-label {
    position: absolute;
    z-index: 1;
    left: 1.15rem;
    bottom: 2.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.92;
}

.res-featured__video-title {
    position: absolute;
    z-index: 1;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.res-featured__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.res-dl {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    transform: none !important;
}

.res-dl:hover {
    border-color: #d0d5dd;
    background: #fff;
}

.res-dl__badge {
    flex-shrink: 0;
    min-width: 2.75rem;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    background: #101828;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
}

.res-dl__badge--guide {
    background: var(--mist);
    color: #344054;
    border: 1px solid var(--line);
}

.res-dl__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.res-dl__body strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
}

.res-dl__body span {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #667085;
}

/* ---------- Panel / dashboard (home) ---------- */
.dashboard-spotlight {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.dashboard-spotlight__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 960px) {
    .dashboard-spotlight__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 2.75rem;
    }
}

.dashboard-spotlight__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--ink);
}

.dashboard-spotlight__text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #475467;
    max-width: 36rem;
}

.dashboard-spotlight__list {
    margin: 0 0 1.35rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.dashboard-spotlight__list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #344054;
}

.dashboard-spotlight__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #101828;
}

.dashboard-spotlight__cta {
    margin-top: 0.25rem;
}

.dashboard-spotlight__figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
    background: #fff;
}

.dashboard-spotlight__figure img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.dashboard-spotlight__figure--panel {
    background: #fff;
}

.dashboard-spotlight__figure--panel img {
    object-fit: contain;
    object-position: center center;
    padding: 0.35rem 0.5rem;
    box-sizing: border-box;
}

.dashboard-spotlight__figure--lifestyle {
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 20px;
}

.dashboard-spotlight__figure--lifestyle img {
    object-fit: cover;
    object-position: center center;
    padding: 0;
    border-radius: 20px;
    width: 100%;
    height: auto;
}

@media (max-width: 959px) {
    .dashboard-spotlight__copy {
        text-align: center;
    }

    .dashboard-spotlight__text {
        margin-left: auto;
        margin-right: auto;
    }

    .dashboard-spotlight__list {
        text-align: left;
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }

    .dashboard-spotlight__cta {
        display: inline-flex;
    }
}

/* ── Seguridad en pagos certificada (home) ── */
.payment-security {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.payment-security__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 960px) {
    .payment-security__grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 2.75rem;
        align-items: center;
    }
}

.payment-security__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--ink);
}

.payment-security__text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #475467;
    max-width: 36rem;
}

.payment-security__figure {
    margin: 0 0 1.25rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
    background: #eef1f5;
}

.payment-security__figure img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.payment-security__certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.payment-security__cert {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.45rem 0.85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.payment-security__cards {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 560px) {
    .payment-security__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

.payment-security__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.payment-security__card-title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 650;
    color: var(--ink);
}

.payment-security__card-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #64748b;
}

@media (max-width: 959px) {
    .payment-security__copy {
        text-align: center;
    }

    .payment-security__text {
        margin-left: auto;
        margin-right: auto;
    }

    .payment-security__certs {
        justify-content: center;
    }
}

/* ── Botón Alta (mismo estilo que Acceder) ── */
.btn--alta {
    background: transparent;
    border: 0;
    box-shadow: none;
    font-weight: 600;
}

.btn--alta::before {
    display: none;
}

.btn--alta:hover {
    background: transparent;
    box-shadow: none;
}

.btn--alta-icon {
    flex-shrink: 0;
}

.btn--alta.btn--large {
    padding: 0.5rem 0.65rem !important;
    font-size: 1rem;
    gap: 0.45rem;
}

.btn--alta.btn--large .btn--alta-text,
.btn--alta.btn--large .btn--login-text {
    display: inline !important;
}

.hero__cta .btn--alta.btn--large {
    padding: 0.55rem 0.75rem !important;
}

.onboarding-steps__hero-cta.btn--alta {
    margin-left: auto;
    margin-right: auto;
}

.pricing__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.pricing__cta p {
    width: 100%;
    max-width: 42rem;
    margin-bottom: 0;
}

.pricing__cta .btn--large + .btn--large {
    margin-top: 0;
}

/* ── Alta paso a paso (home #alta) ── */
.onboarding-steps {
    padding: clamp(3.25rem, 7vw, 5rem) 0;
    background: linear-gradient(180deg, #f0fdfa 0%, var(--paper) 42%, var(--paper) 100%);
    border-top: 1px solid var(--line);
}

.onboarding-steps__hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.25rem);
}

@media (min-width: 960px) {
    .onboarding-steps__hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
        gap: 2.75rem;
    }
}

.onboarding-steps__intro {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

@media (min-width: 960px) {
    .onboarding-steps__intro {
        text-align: left;
        margin: 0;
        max-width: none;
    }

    .onboarding-steps__hero-cta.btn--alta {
        margin-left: 0;
        margin-right: 0;
    }
}

.onboarding-steps__figure {
    margin: 0 auto;
    max-width: min(100%, 36rem);
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.1);
    background: #eef1f5;
}

.onboarding-steps__figure img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.onboarding-steps__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--ink);
}

.onboarding-steps__lead {
    margin: 0 0 1.35rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #475467;
}

.onboarding-steps__hero-cta {
    margin-bottom: 0.75rem;
}

.onboarding-steps__login-hint {
    margin: 0;
    font-size: 0.9375rem;
    color: #64748b;
}

.onboarding-steps__login-hint a {
    color: #0f766e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.onboarding-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 960px) {
    .onboarding-steps__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
        align-items: stretch;
    }
}

.onboarding-steps__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.35rem 1.35rem 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.onboarding-steps__badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 0.45rem;
}

.onboarding-steps__item-title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 650;
    color: var(--ink);
}

.onboarding-steps__item-sub {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #64748b;
}

.onboarding-steps__bullets {
    margin: 0;
    padding: 0 0 0 1.1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475467;
}

.onboarding-steps__bullets li + li {
    margin-top: 0.35rem;
}

.onboarding-steps__after {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    padding: clamp(1.35rem, 3vw, 1.75rem);
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(13, 148, 136, 0.22);
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.onboarding-steps__after-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--ink);
}

.onboarding-steps__after-text {
    margin: 0 0 1.15rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #64748b;
}

/* Terminales — pedido en dos cajas */
.terminals-order-hub {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid #eaecf0;
}

.terminals-order-card--panel {
    max-width: 42rem;
    margin-inline: auto;
}

.terminals-order-card__models-label {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #344054;
}

.terminals-order-card {
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transform: none !important;
    transition: none !important;
}

.terminals-order-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #101828;
}

.terminals-order-card__lead {
    margin: 0 0 0.85rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #667085;
}

.terminals-order-card__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.terminals-order-card__steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
}

.terminals-order-card__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.terminals-order-card__steps strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 650;
    color: #101828;
    margin-bottom: 0.15rem;
}

.terminals-order-card__steps span {
    display: block;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #667085;
}

.terminals-order-card__facts {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.terminals-order-card__facts li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #344054;
}

.terminals-order-card__facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent, #00b4d8);
    box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
}

.terminals-order-card__models {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.terminals-order-card__model {
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #eef0f3;
    text-align: center;
}

.terminals-order-card__model-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
    color: #475467;
    margin-bottom: 0.15rem;
}

.terminals-order-card__model-price {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #101828;
    letter-spacing: -0.02em;
}

.terminals-order-card__note {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #667085;
    flex: 1;
}

.terminals-order-card__cta {
    align-self: flex-start;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin-top: auto;
}

@media (min-width: 960px) {
    .terminals-order-card__cta {
        width: auto;
        min-width: 12rem;
    }
}

.terminals-model-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #fff;
    overflow: hidden;
}

.terminals-model-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    box-sizing: border-box;
}

.terminals-model-card__price {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    font-weight: 650;
    color: #344054;
}

/* Tap to Pay — dos cajas app (compactas, fondo claro) */
.ttp-app-cards {
    padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.ttp-app-cards__grid {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 960px) {
    .ttp-app-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        align-items: start;
    }
}

.ttp-app-cards__card.topic-teaser {
    background: #fff;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transform: none !important;
    transition: none !important;
}

.ttp-app-cards__card.topic-teaser:hover {
    border-color: #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transform: none !important;
}

.ttp-app-cards__card .topic-teaser__body {
    padding: 1rem 1.1rem 1.05rem;
}

.ttp-app-cards__tag {
    margin-bottom: 0.45rem;
    font-size: 0.6875rem;
}

.ttp-app-cards .topic-teaser__title {
    font-size: 1.0625rem;
    margin-bottom: 0.4rem;
}

.ttp-app-cards .topic-teaser__text {
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ttp-app-cards__stores {
    margin-bottom: 0;
}

.ttp-app-cards__stores .store-badges {
    justify-content: flex-start;
    gap: 0.5rem;
}

.ttp-app-cards__stores .store-badges__box {
    padding: 0.35rem 0.65rem;
    min-height: 0;
}

.ttp-app-cards__stores .store-badges__name {
    font-size: 0.75rem;
}

.ttp-app-cards__stores .store-badges__eyebrow {
    font-size: 0.5625rem;
}

.ttp-app-cards__highlights {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ttp-app-cards__highlights li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #344054;
}

.ttp-app-cards__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent, #00b4d8);
    box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
}

.ttp-how-band {
    margin-top: 1rem;
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.ttp-how-band__title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #101828;
    text-align: center;
}

.ttp-how-band__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ttp-how-band__steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.75rem 1rem;
    }
}

.ttp-how-band__step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.45rem;
}

.ttp-how-band__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ttp-how-band__copy h3 {
    margin: 0 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 650;
    line-height: 1.3;
    color: #101828;
}

.ttp-how-band__copy p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #667085;
}

@media (max-width: 767px) {
    .ttp-how-band__step {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.65rem;
    }
}

/* ── Home: hub panel / seguridad / alta ── */
.home-topics {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.home-topics__grid {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 960px) {
    .home-topics__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
        align-items: stretch;
    }
}

.topic-teaser {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topic-teaser:hover {
    border-color: #d0d5dd;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
    transform: none;
}

.topic-teaser__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.35rem 1.1rem;
}

.topic-teaser__title {
    margin: 0 0 0.55rem;
    font-size: 1.125rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.topic-teaser__title a {
    color: #101828;
    text-decoration: none;
}

.topic-teaser__title a:hover {
    color: #111827;
}

.topic-teaser__text {
    margin: 0 0 1rem;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #667085;
}

.topic-teaser__pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #101828;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topic-teaser__pill:hover {
    border-color: #d0d5dd;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
    color: #101828;
    transform: none;
}

.topic-teaser__media {
    display: block;
    margin-top: auto;
    aspect-ratio: 16 / 10;
    background: #fff;
    border-top: 1px solid #eef2f6;
    overflow: hidden;
    text-decoration: none;
}

.topic-teaser__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.topic-teaser__media--panel {
    background: #eef1f5;
    aspect-ratio: 4 / 3;
    min-height: 12.5rem;
}

.topic-teaser__media--panel img {
    object-fit: cover;
    object-position: center center;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.sol-card__media img[src*='panel-control'],
.sol-card__media img[src*='dashboard-operations'],
.platform-feature__media img[src*='panel-control'],
.platform-feature__media img[src*='dashboard-operations'],
.sol-index--home .sol-card__media img[src*='panel-control'],
.sol-index--home .sol-card__media img[src*='dashboard-operations'] {
    object-fit: contain;
    object-position: center center;
    height: auto;
    max-height: 100%;
    padding: 0.5rem 0.65rem;
    box-sizing: border-box;
}

.topic-teaser__media--signup {
    background: #eef1f5;
    aspect-ratio: 4 / 3;
    min-height: 12.5rem;
}

.topic-teaser__media--signup img {
    object-fit: cover;
    object-position: center center;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.topic-teaser__media--checkout {
    background: #eef1f5;
    aspect-ratio: 4 / 3;
    min-height: 12.5rem;
}

.topic-teaser__media--checkout img {
    object-fit: cover;
    object-position: center center;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.resources-hub__card .topic-teaser__media--photo-blur img,
img.res-hub-photo-blur {
    transform: scale(1.12);
    filter: blur(14px) saturate(0.72);
}

/* /panel-control, /seguridad-pagos, /crear-cuenta: mismo padding/fondo que /resources; recorte sin solapar */
.topic-page-hero.sol-page-hero.page-hero-with-bg {
    overflow: hidden;
}

.topic-page-hero.page-hero-with-bg > .hero__bg {
    z-index: 0;
}

.topic-page-hero.page-hero-with-bg + .dashboard-spotlight,
.topic-page-hero.page-hero-with-bg + .payment-security,
.topic-page-hero.page-hero-with-bg + .onboarding-steps {
    position: relative;
    z-index: 2;
    isolation: isolate;
    margin-top: 0;
}

.topic-page-hero > .container {
    position: relative;
    z-index: 1;
}

.topic-page-hero .sol-page-hero__inner--editorial .topic-page-hero__back {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.topic-page-hero__back {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475467;
    text-decoration: none;
}

.topic-page-hero__back:hover {
    color: #101828;
}

.topic-page-hero .sol-page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.topic-page-hero .sol-page-hero__lead {
    max-width: 36rem;
}

.topic-page-footer-cta {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.topic-page-footer-cta__inner {
    text-align: center;
}

.topic-page-footer-cta__inner p {
    margin: 0 0 1rem;
    color: #667085;
    font-size: 0.9375rem;
}

.bm-hub-hero__links {
    margin: 1rem 0 0;
    font-size: 0.9375rem;
}

.bm-hub-hero__links a {
    font-weight: 600;
    color: var(--primary-600, #0e7490);
}

.bm-hub-hero__links a:hover {
    text-decoration: underline;
}

.bm-hub {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.bm-hub__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .bm-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .bm-hub__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bm-hub-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bm-hub-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.bm-hub-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--mist);
}

.bm-hub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-hub-card__body {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bm-hub-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--mist);
    margin-bottom: 0.15rem;
}

.bm-hub-card__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #101828;
}

.bm-hub-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #667085;
}

.bm-segments {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.bm-segments__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-align: center;
    color: #101828;
}

.bm-segments__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .bm-segments__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .bm-segments__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bm-segment-card {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.bm-segment-card__title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 600;
    color: #101828;
}

.bm-segment-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #667085;
}

.bm-products__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.bm-products__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.bm-products__intro {
    margin: 0;
    font-size: 0.9375rem;
    color: #667085;
    line-height: 1.55;
}

.bm-cta-band__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #101828;
}

/* Pagos recurrentes — chica + ~mitad del panel en el portátil */
.ttp-hero__figure--recurring-lifestyle {
    aspect-ratio: 18 / 10;
    background: #e8ecf1;
    margin-inline-start: auto;
    width: 100%;
}

@media (min-width: 960px) {
    .ttp-hero__figure--recurring-lifestyle {
        justify-self: end;
        max-width: 100%;
    }
}

.ttp-hero__figure--cover.ttp-hero__figure--recurring-lifestyle img {
    width: 106%;
    height: 106%;
    object-position: 52% 46%;
    transform: translate(-3%, -3%);
}

/* Chargebacks — capturas del panel en landing */

.ttp-hero__figure--panel-shot {
    align-self: center;
    width: 100%;
    max-width: min(440px, 88vw);
    margin-inline: auto;
}

.ttp-hero__figure--panel-shot img {
    width: 100%;
    height: auto;
    max-height: min(340px, 48vh);
    object-fit: contain;
    object-position: center top;
    border-radius: 12px;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.06),
        0 12px 40px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #fff;
}

.chargebacks-screens__lead {
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #667085;
}

.chargebacks-screens__grid {
    display: grid;
    gap: 1.75rem 2rem;
    grid-template-columns: 1fr;
    max-width: 44rem;
    margin-inline: auto;
    justify-items: center;
}

@media (min-width: 768px) {
    .chargebacks-screens__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 52rem;
    }
}

.chargebacks-screens__card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 17.5rem;
    width: 100%;
    text-align: center;
}

.chargebacks-screens__card img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 22rem;
    object-fit: contain;
    object-position: center top;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.07);
    background: #fff;
}

.chargebacks-screens__card figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #667085;
}

.chargebacks-screens__card figcaption strong {
    font-weight: 600;
    color: #101828;
}
