.oa-header, .oa-masthead, .oa-mobile {
    --oa-type: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-family: var(--oa-type);
    isolation: isolate;
    position: relative;
}
.oa-wrap { width: min(1320px, 88%); margin-inline: auto; }
.oa-masthead { color: #fff; background: #1a103e; }
.oa-waves, .oa-waves img, .oa-masthead::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.oa-waves { z-index: -2; overflow: hidden; }
.oa-waves img { object-fit: cover; object-position: center bottom; }
.oa-masthead::before {
    content: "";
    z-index: -1;
    background: linear-gradient(95deg, #1b0d29eb, #23112bd6 36%, #23112b59 68%, #29172d22);
}
.oa-header {
    position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #ffffff26;
    background: linear-gradient(105deg, #170e38, #2d1147 70%, #49144f);
}
#funciones, #app-movil { scroll-margin-top: 84px; }
.oa-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.oa-brand { display: inline-flex; align-items: center; }
.oa-brand img { width: clamp(145px, 13vw, 188px); height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.oa-menu { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 36px); }
.oa-menu > a, .oa-resources, .oa-login, .oa-menu-toggle {
    color: white;
    font: 650 14px/1.4 var(--oa-type);
    transition: background .3s, color .3s, border-color .3s;
}
.oa-menu > a, .oa-resources { display: inline-flex; align-items: center; min-height: 44px; }
.oa-menu > a:hover, .oa-resources:hover { color: #e0bdff; }
.oa-resources { background: transparent; border: 0; padding: 0; gap: 8px; }
.oa-resources i { font-size: 9px; }
.oa-menu .dropdown-menu { padding: 6px; border-radius: 14px; box-shadow: 0 12px 40px #170d3926; }
.oa-menu .dropdown-item { padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.oa-menu .dropdown-item:hover, .oa-menu .dropdown-item:focus { background: #f1e9fc; color: #412377; }
.oa-login, .oa-menu-toggle { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff66; }
.oa-login { gap: 12px; padding: 10px 21px; min-height: 44px; border-radius: 100px; background: #ffffff0d; }
.oa-login i { transform: rotate(-40deg); font-size: 12px; }
.oa-login:hover, .oa-menu-toggle:hover { color: #fff; background: #ffffff25; border-color: #ffffffaa; }
.oa-menu-toggle { display: none; background: transparent; }
.oa-header :is(a, button):focus-visible, .oa-masthead :is(a, button):focus-visible, .oa-mobile a:focus-visible { outline: 3px solid #efbdff; outline-offset: 4px; }
.oa-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(26px, 4vw, 80px);
    padding-block: clamp(58px, 5vw, 88px) clamp(72px, 7vw, 118px);
}
.oa-hero > *, .oa-mobile-inner > * { min-width: 0; }
.oa-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: #e6d3ff;
    font: 700 11px/1.5 var(--oa-type);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.oa-kicker > span { width: 29px; height: 2px; background: currentColor; }
.oa-hero h1 {
    margin: 0;
    color: #fff;
    font: 750 clamp(40px, 3.75vw, 62px)/1.06 var(--oa-type);
    letter-spacing: -.066em;
    overflow-wrap: break-word;
}
.oa-hero-title { display: block; font-size: .9em; text-wrap: balance; }
.oa-hero h1 em {
    display: grid;
    color: #e4bafa;
    font: italic 500 1.09em/.99 Georgia, "Times New Roman", serif;
    letter-spacing: -.062em;
}
.oa-shop-types > span { grid-area: 1 / 1; visibility: hidden; justify-self: start; padding: .04em .12em .08em 0; }
.oa-shop-types > .is-current { visibility: visible; }
.oa-intro, .oa-mobile-copy > p:not(.oa-kicker) {
    max-width: 42ch;
    margin: 27px 0 0;
    color: #ece6f8;
    font: 450 clamp(16px, 1.2vw, 19px)/1.63 var(--oa-type);
}
.oa-actions, .oa-downloads { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 25px; margin-top: 31px; }
.oa-intro { max-width: 54ch; margin-top: 18px; }
.oa-primary, .oa-secondary, .oa-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    font: 750 15px/1.3 var(--oa-type);
    transition: transform .3s ease-out, background .3s, color .3s;
}
.oa-primary { padding: 14px 24px; border-radius: 100px; background: #fff; color: #371a57; }
.oa-primary:hover { transform: translateY(-2px); background: #f2e7ff; color: #371a57; }
.oa-secondary { color: #fff; font-weight: 600; }
.oa-secondary i { font-size: 12px; }
.oa-secondary:hover { color: #ebc7ff; }

/* A scalable product illustration. Container units keep the complete device in frame. */
.oa-product { container-type: inline-size; position: relative; width: 100%; max-width: 660px; justify-self: center; }
.oa-stage { position: relative; aspect-ratio: 1.58; perspective: 1100px; user-select: none; }
.oa-stage[hidden] { display: none; }
.oa-computer {
    position: absolute;
    inset: 4% 14% 12% 3%;
    transform: rotateY(-9deg) rotateX(5deg) rotateZ(-2.5deg);
    transform-style: preserve-3d;
}
.oa-screen {
    height: 100%;
    overflow: hidden;
    padding: 0;
    border: max(4px, 1.15cqw) solid #252033;
    border-radius: 2.7cqw 2.7cqw 1.5cqw 1.5cqw;
    background: #f8f7fc;
    box-shadow: 0 0 0 1px #d9cfe5, 0 4cqw 8cqw #09051e60;
    color: #271b38;
    display: flex;
    flex-direction: column;
}
.oa-screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 1.6cqw 3cqw; background: #fff; border-bottom: 1px solid #e5e1ee; }
.oa-screen-bar img { width: 17cqw; height: auto; display: block; }
.oa-screen-bar > span { display: flex; align-items: center; gap: .7cqw; font: 650 1.5cqw/1.5 var(--oa-type); }
.oa-screen-bar > span b { width: .95cqw; aspect-ratio: 1; border-radius: 50%; background: #38926e; }
.oa-desk { display: flex; min-height: 0; flex: 1; }
.oa-rail { display: flex; flex-direction: column; align-items: center; padding: 2cqw 1cqw; gap: .6cqw; background: #fff; border-inline-end: 1px solid #e5e1ee; }
.oa-rail i { width: 4.5cqw; height: 4.5cqw; display: grid; place-items: center; color: #9689a5; font-size: 1.9cqw; }
.oa-rail i:first-child { border-radius: 1cqw; background: #eee4fc; color: #65359b; }
.oa-dashboard { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.9cqw; padding: 2.8cqw; }
.oa-screen-title { font: 750 3.5cqw/1.15 var(--oa-type); letter-spacing: -.055em; }
.oa-metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.3cqw; }
.oa-metrics > div, .oa-chart { border: 1px solid #e5dfed; background: #fff; border-radius: 1.4cqw; }
.oa-metrics > div { padding: 1.6cqw; display: grid; gap: .5cqw; }
.oa-metrics > div:first-child { background: linear-gradient(105deg,#662483,#443181); color: white; border-color: transparent; }
.oa-metrics small { color: #63586d; font: 600 1.5cqw/1.3 var(--oa-type); }
.oa-metrics > div:first-child small { color: #f1e4ff; }
.oa-metrics b { font: 750 3.3cqw/1.2 var(--oa-type); letter-spacing: -.05em; }
.oa-chart { display: flex; flex-direction: column; min-height: 0; flex: 1; padding: 1.5cqw 2.4cqw 1cqw; }
.oa-chart > strong { font: 700 1.85cqw/1.5 var(--oa-type); }
.oa-bars { flex: 1; margin-top: 1cqw; display: flex; align-items: end; gap: 1.65cqw; padding-inline: .8cqw; background: repeating-linear-gradient(to top, #eae5f1 0 1px, transparent 1px 32%); }
.oa-bars i { flex: 1; height: var(--bar); border-radius: .65cqw .65cqw 0 0; background: #c6aae7; transform-origin: bottom; }
.oa-bars i:nth-last-child(-n+5) { background: #9c72cb; }
.oa-bars i:last-child { background: #693596; }
.oa-axis { display: flex; justify-content: space-between; color: #716879; font: 500 1.3cqw/1.8 var(--oa-type); }
.oa-computer-base {
    position: absolute; top: 100%; left: -5%; width: 110%; height: 2.2cqw;
    border-radius: 2px 2px 35% 35% / 2px 2px 100% 100%;
    background: linear-gradient(#cfc8d9 15%, #887f98 57%, #514862);
    box-shadow: 0 1.5cqw 3cqw #10072866;
}
.oa-computer-base::before { content: ""; display: block; margin: 0 auto; width: 17%; height: 36%; background: #777080; border-radius: 0 0 1cqw 1cqw; }
.oa-printer {
    position: absolute;
    right: 0;
    bottom: -3%;
    width: 29%;
    height: auto;
    filter: drop-shadow(0 1.2cqw 1.4cqw #1709257a);
}
.oa-view-switch { display: flex; justify-content: center; gap: 3px; width: fit-content; margin: 0 auto 14px; padding: 3px; border: 1px solid #ffffff45; background: #241344cc; border-radius: 99px; }
.oa-view-switch button { padding: 6px 15px; border: 0; border-radius: inherit; background: transparent; color: #fff; font: 650 12px/1.4 var(--oa-type); }
.oa-view-switch button[aria-pressed="true"] { background: #f5ecff; color: #402359; }
.oa-equipment img { width: 100%; height: 100%; object-fit: contain; }

/* A daylight palette and a tiled grid distinguish the mobile app section. */
.oa-interface-tint { filter: url("../images/landing/paleta-interfaz.svg#acento-ordenalapp"); }
.oa-mobile { padding: 0; background: #f6f2e9; overflow: hidden; }
.oa-mobile-inner { display: grid; grid-template-columns: 1fr .95fr; gap: 6%; align-items: center; }
.oa-mobile-copy { padding-block: clamp(54px, 6.5vw, 100px); }
.oa-mobile .oa-kicker { color: #662483; margin-bottom: 18px; }
.oa-mobile h2 { max-width: 13ch; color: #31233b; font: 750 clamp(40px, 4.6vw, 76px)/1.04 var(--oa-type); letter-spacing: -.065em; overflow-wrap: break-word; }
.oa-mobile-copy > p:not(.oa-kicker) { color: #594e61; margin-top: 21px; }
.oa-downloads { gap: 12px; margin-top: 25px; }
.oa-download { padding: 12px 20px; color: #fff; border-radius: 12px; background: #302036; }
.oa-download i { font-size: 20px; }
.oa-download:hover { background: #512d66; color: #fff; transform: translateY(-2px); }
.oa-downloads { align-items: start; }
.oa-store-link { display: inline-flex; flex-direction: column; gap: 5px; color: #55445f; font: 600 12px/1.45 var(--oa-type); }
.oa-store-link img { display: block; height: clamp(40px, 10.6vw, 48px); width: auto; }
.oa-store-link:hover { color: #662483; }
.oa-store-link:hover img { opacity: .88; }
.oa-store-link span { text-decoration: underline; text-underline-offset: 3px; }
.oa-mobile a:focus-visible { outline-color: #662483; }
.oa-mobile-art {
    position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100%; padding: 42px 0;
    background-image: linear-gradient(#654d7312 1px, transparent 1px), linear-gradient(90deg,#654d7312 1px, transparent 1px);
    background-size: 29px 29px;
}
.oa-app-disc { position: absolute; z-index: -1; width: min(86%, 370px); aspect-ratio: 1; border-radius: 50%; background: #dfd0ed; }
.oa-app-disc::after { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid #987aa6; border-radius: inherit; }
.oa-phone {
    width: clamp(184px, 16.5vw, 236px); color: #372744; padding: 9px 12px 14px;
    border: 5px solid #2f2934; border-radius: 32px;
    background: linear-gradient(165deg,#fff 30%,#f2ebf8);
    box-shadow: 0 0 0 2px #a69da9, 6px 6px 0 #aaa1ad, 12px 22px 25px #49334f32;
    transform: rotate(7deg);
}
.oa-phone-top { display: flex; align-items: center; justify-content: space-between; padding: 0 3px; font: 700 10px/1.4 var(--oa-type); }
.oa-phone-top b { width: 30%; height: 11px; border-radius: 10px; background: #2f2934; }
.oa-phone-logo { display: block; width: 57%; height: auto; margin: 21px 0 19px; }
.oa-phone-title { display: block; font: 750 clamp(20px, 1.6vw, 26px)/1.2 var(--oa-type); letter-spacing: -.06em; }
.oa-phone-date { margin: 5px 0 12px; color: #706179; font: 550 11px/1.5 var(--oa-type); }
.oa-phone-order { display: flex; gap: 9px; align-items: center; margin-top: 7px; padding: 10px 8px; border: 1px solid #e4dce9; border-radius: 10px; background: #fff; }
.oa-order-icon { display: grid; place-items: center; width: 29px; height: 29px; color: #704392; background: #efe4fa; border-radius: 8px; font-size: 12px; }
.oa-ready { color: #3e7257; background: #e1f2e7; }
.oa-phone-order b, .oa-phone-order small { display: block; font: 700 12px/1.4 var(--oa-type); }
.oa-phone-order small { color: #6c6074; font-size: 10px; font-weight: 500; }
.oa-home-indicator { display: block; width: 34%; height: 4px; border-radius: 6px; margin: 18px auto 0; background: #413349; }

@media (prefers-reduced-motion: no-preference) {
    .oa-computer { animation: oa-arrive 1.1s cubic-bezier(.16,1,.3,1) backwards; transition: transform .6s ease-out; }
    .oa-bars i { animation: oa-sales .9s var(--delay) ease-out both; }
    .oa-printer { animation: oa-reveal .8s .25s ease-out backwards; }
    .oa-equipment img { animation: oa-reveal .6s ease-out both; }
    @keyframes oa-arrive {
        from { transform: translateY(18px) rotateY(-16deg) rotateX(8deg) rotateZ(-3deg); opacity: .2; }
    }
    @keyframes oa-sales { from { transform: scaleY(.07); } }
    @keyframes oa-reveal { from { transform: translateY(10px) scale(.97); opacity: .2; } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .oa-stage:hover .oa-computer { transform: rotateY(-4deg) rotateX(2deg) rotateZ(-1deg); }
}
@media (max-width: 1100px) {
    .oa-wrap { width: 91%; }
    .oa-hero { gap: 3%; }
}
@media (max-width: 920px) {
    #funciones, #app-movil { scroll-margin-top: 70px; }
    .oa-nav { min-height: 67px; gap: 12px; }
    .oa-brand { margin-inline-end: auto; }
    .oa-brand img { width: 150px; height: 36px; }
    .oa-login { order: 1; padding: 9px 16px; }
    .oa-menu-toggle { order: 2; display: grid; width: 44px; height: 44px; border-radius: 50%; }
    .oa-menu {
        display: none; position: absolute; top: calc(100% + 5px); inset-inline: 4.5%; align-items: stretch;
        padding: 10px; gap: 0; background: #25183d; border: 1px solid #ffffff33;
        border-radius: 18px; box-shadow: 0 16px 35px #120d2d45; max-height: 75vh; overflow-y: auto;
    }
    .oa-menu.is-open { display: flex; flex-direction: column; }
    .oa-menu > a, .oa-resources { padding: 10px 14px; }
    .oa-resources { width: 100%; justify-content: space-between; }
    .oa-menu .dropdown-menu { position: static !important; transform: none !important; margin-inline: 8px !important; }
    .oa-hero h1 { font-size: clamp(38px, 4.6vw, 48px); }
}
@media (max-width: 760px) {
    .oa-wrap { width: calc(100% - 40px); }
    .oa-waves { background: linear-gradient(140deg,#1a103e,#32134a 70%,#25153e); }
    .oa-waves img { object-position: center; }
    .oa-masthead::before { background: linear-gradient(160deg,#190c26df 4%,#201124cb 52%,#24152e50 90%); }
    .oa-hero { grid-template-columns: 1fr; gap: 38px; padding-block: 48px 64px; }
    .oa-hero h1 { font-size: clamp(34px, 8vw, 52px); }
    .oa-kicker { margin-bottom: 17px; font-size: 10px; }
    .oa-intro { margin-top: 20px; max-width: 39ch; }
    .oa-actions { margin-top: 23px; }
    .oa-product { width: min(100%, 480px); }
    .oa-mobile-inner { grid-template-columns: 1fr; gap: 0; }
    .oa-mobile-copy { padding: 51px 0 30px; }
    .oa-mobile-art { padding: 26px 0 38px; }
    .oa-mobile h2 { max-width: 15ch; }
    .oa-app-disc { width: min(84%,300px); }
}
@media (max-width: 370px) {
    .oa-wrap { width: calc(100% - 32px); }
    .oa-nav { gap: 8px; }
    .oa-brand img { width: 122px; }
    .oa-login { gap: 7px; padding-inline: 12px; }
    .oa-actions { gap: 14px; }
    .oa-primary { padding-inline: 17px; }
    .oa-primary, .oa-secondary { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .oa-header *, .oa-masthead *, .oa-mobile * { animation: none !important; transition: none !important; }
}
