/* Public landing only: navigation and product introduction. */
:root { --landing-nav-height: 84px; }
#beneficios, #funcionalidades, #tienda-web, #planes { scroll-margin-top: calc(var(--landing-nav-height) + 20px); }
#tienda-web.reveal { transform: none; }
.landing-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(34, 160, 102, .12); background: rgba(248, 255, 252, .92); backdrop-filter: blur(12px); transition: background-color .2s ease, box-shadow .2s ease; }
.landing-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 8px 26px rgba(15, 23, 42, .07); }
.landing-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--landing-nav-height); }
.landing-brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; color: #10251b; font-weight: 800; font-size: 1.2rem; letter-spacing: -.04em; }
.landing-brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 14px; box-shadow: 0 5px 15px rgba(27, 107, 69, .08); }
.landing-nav-links, .landing-nav-actions { display: flex; align-items: center; gap: .3rem; }
.landing-nav-actions { gap: 1rem; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .65rem .8rem; border-radius: .75rem; font-size: .875rem; font-weight: 700; color: #36473e; transition: background-color .18s ease, color .18s ease; }
.nav-link::after { position: absolute; right: .85rem; bottom: .3rem; left: .85rem; height: 2px; border-radius: 99px; background: #22a066; transform: scaleX(0); transition: transform .18s ease; content: ''; }
.nav-link:hover, .nav-link[aria-current="location"] { color: #17683f; background: #e9f7ef; }
.nav-link[aria-current="location"]::after { transform: scaleX(1); }
.landing-login { padding-block: .75rem; color: #496052; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.landing-login:hover { color: #17683f; }
.landing-start, .hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 46px; padding: .75rem 1.3rem; border-radius: 999px; color: #fff; font-size: .875rem; font-weight: 800; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.landing-start:hover, .hero-cta:hover { transform: translateY(-2px); }
.landing-header a:focus-visible, .landing-menu-toggle:focus-visible, .hero-cta:focus-visible { outline: 3px solid #22a066; outline-offset: 4px; }
.landing-menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #d5e8dd; border-radius: .75rem; color: #1b6b45; background: #fff; cursor: pointer; }
.landing-menu-toggle svg { width: 21px; height: 21px; }
.menu-close-icon, .landing-mobile-login { display: none; }
.landing-menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.landing-menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
.hero-layout { align-items: center; gap: 3rem; padding-block: clamp(3rem, 5vw, 5rem); }
.hero-copy { padding-block: 1rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem .9rem; border: 1px solid #d3ebdd; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #1b6b45; font-size: .76rem; font-weight: 700; }
.hero-eyebrow-dot { width: .45rem; height: .45rem; flex: 0 0 auto; border-radius: 50%; background: #22a066; box-shadow: 0 0 0 4px #e7f6ed; }
.hero-title { margin-top: 1.4rem; color: #0d1117; font-size: clamp(2.6rem, 4.3vw, 3.65rem); font-weight: 800; line-height: 1.12; letter-spacing: -.055em; }
.hero-description { max-width: 31rem; margin-top: 1.5rem; color: #526359; font-size: 1.1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-cta { min-height: 54px; padding: .9rem 1.55rem; }
.hero-cta-secondary { border: 1px solid #bddfcb; background: rgba(255, 255, 255, .88); color: #1b6b45; }
.hero-cta-secondary:hover { border-color: #22a066; background: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .55rem 1rem; padding: 0; margin-top: 1.4rem; list-style: none; color: #5a7062; font-size: .73rem; line-height: 1.6; }
.hero-trust li { display: inline-flex; align-items: center; gap: .3rem; }
.hero-trust svg { width: 16px; height: 16px; flex-shrink: 0; color: #1b8a54; }
.hero-product { position: relative; max-width: 47rem; margin: 0 auto; }
.mock-topbar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .7rem 1rem; font-size: .62rem; }
.mock-topbar > :first-child { color: #6ae0a9; font-size: .8rem; font-weight: 800; }
.mock-topbar strong { color: #fff; }
.mock-user { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #22a066; color: #fff; font-size: .6rem; font-weight: 800; }
.mock-layout { display: grid; grid-template-columns: 8.3rem minmax(0, 1fr); }
.mock-sidebar { padding: .95rem .7rem; }
.mock-sidebar-label { color: #a0b7a9; font-size: .5rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mock-company { display: block; margin-top: .3rem; color: #fff; font-size: .72rem; }
.mock-plan { display: block; margin-top: .15rem; color: #abc5b6; font-size: .55rem; }
.mock-sidebar-menu { display: grid; gap: .18rem; margin-top: .85rem; }
.hero-product .dashboard-preview-nav { gap: .35rem; padding: .42rem .4rem; border-radius: .55rem; font-size: .55rem; font-weight: 600; white-space: nowrap; }
.hero-product .dashboard-preview-nav svg { width: .75rem; height: .75rem; stroke-width: 1.7; }
.mock-sidebar-group { display: grid; gap: .05rem; padding-left: .55rem; }
.mock-chevron { margin-left: auto; font-size: .8rem; }
.mock-nav-count { display: inline-grid; place-items: center; min-width: 13px; height: 13px; margin-left: auto; border-radius: 99px; background: #fff2db; color: #8b5614; font-size: .45rem; font-weight: 800; }
.hero-product .mock-fiscal-nav { margin-top: .4rem; color: #e1eee7; }
.mock-fiscal-items { gap: .45rem; padding-block: .2rem; padding-left: 1.6rem; color: #b7ccbf; font-size: .48rem; }
.mock-main { min-width: 0; padding: 1rem; }
.mock-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .4rem; }
.mock-heading h2 { color: #14251c; font-size: 1.15rem; font-weight: 800; letter-spacing: -.04em; }
.mock-heading p { margin-top: .2rem; color: #718077; font-size: .6rem; }
.mock-heading > span { padding: .28rem .4rem; border-radius: 99px; background: #e9f7ef; color: #20774b; font-size: .45rem; font-weight: 700; white-space: nowrap; }
.mock-quick-row { margin-top: .85rem; padding: .55rem .6rem; }
.mock-quick-row > span { display: block; margin-bottom: .35rem; color: #6b7a71; font-size: .48rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mock-quick-row > div { display: flex; flex-wrap: wrap; gap: .3rem; }
.hero-product .mock-action-pill { padding: .3rem .4rem; font-size: .49rem; }
.hero-product .mock-dashboard-section { gap: .4rem; margin-top: .95rem; margin-bottom: .5rem; font-size: .48rem; letter-spacing: .07em; }
.mock-sales-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.mock-sales-grid .mock-metric-card { min-width: 0; padding: .7rem .55rem; border-radius: .75rem; }
.mock-sales-grid .mock-metric-card > span { display: block; color: #66786b; font-size: .49rem; font-weight: 700; line-height: 1.5; }
.mock-sales-grid strong { display: block; margin-top: .25rem; color: #193b28; font-size: clamp(.85rem, 1.1vw, 1.2rem); font-weight: 800; letter-spacing: -.04em; }
.mock-sales-grid small { display: block; margin-top: .25rem; color: #849188; font-size: .42rem; line-height: 1.5; }
.mock-operational-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.mock-operational-grid > div { padding: .55rem; border: 1px solid #e3ece6; border-radius: .6rem; background: #fff; }
.mock-operational-grid span { display: block; color: #76877c; font-size: .49rem; }
.mock-operational-grid strong { display: block; margin-top: .1rem; color: #263c2e; font-size: .85rem; }
.mock-operational-grid .mock-warning { color: #a36b12; }
.mock-ml-card { margin-top: .85rem; padding: .7rem; border: 1px solid #e3e9e4; border-top: 2px solid #dec86f; border-radius: .7rem; background: #fff; }
.mock-ml-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mock-ml-heading > strong { color: #314035; font-size: .65rem; }
.mock-ml-heading > span { padding: .15rem .35rem; border-radius: 99px; color: #7b6931; background: #faf6e8; font-size: .43rem; font-weight: 700; }
.mock-ml-card > p { margin-top: .2rem; color: #7b867f; font-size: .5rem; }
.mock-ml-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; margin-top: .5rem; }
.mock-ml-counts > span { color: #6a776e; font-size: .46rem; line-height: 1.6; }
.mock-ml-counts strong { display: block; color: #304437; font-size: .85rem; }
.hero-store-preview { position: relative; z-index: 1; width: 58%; max-width: 20rem; margin: -2.3rem -.45rem 0 auto; overflow: hidden; border: 5px solid #fff; border-radius: 1rem; background: #fff; box-shadow: 0 18px 45px rgba(21, 59, 38, .18); }
.hero-store-label { display: flex; align-items: center; gap: .55rem; padding: .55rem .45rem .75rem; }
.hero-store-icon { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; border-radius: .6rem; background: #e9f7ef; color: #1b6b45; }
.hero-store-icon svg { width: 18px; height: 18px; }
.hero-store-label strong, .hero-store-label div > span { display: block; }
.hero-store-label strong { color: #244330; font-size: .66rem; }
.hero-store-label div > span { margin-top: .1rem; color: #7d8a81; font-size: .5rem; }
.hero-store-status { width: 6px; height: 6px; flex: 0 0 auto; margin-left: auto; border-radius: 50%; background: #22a066; }
.hero-store-preview > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: .55rem; }
.hero-product > figcaption { max-width: 28rem; margin: .8rem auto 0; color: #708577; font-size: .6rem; line-height: 1.6; text-align: center; }
@media (min-width: 1120px) {
    .hero-layout { padding-block: 3.25rem; }
    .hero-product { max-width: none; }
    .hero-copy { padding-bottom: 3rem; }
    .hero-store-preview > img { aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
}
@media (max-width: 1119px) {
    :root { --landing-nav-height: 74px; }
    .landing-brand img { width: 46px; height: 46px; border-radius: 12px; }
    .landing-nav { flex-wrap: wrap; gap: 0 1rem; }
    .landing-nav-actions { margin-left: auto; gap: .65rem; }
    .landing-login { display: none; }
    .landing-mobile-login { display: block; padding: .85rem; color: #1b6b45; font-size: .875rem; font-weight: 700; border-top: 1px solid #e1eee6; }
    .landing-nav-links { order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: .2rem; padding-bottom: 1rem; }
    .landing-header.is-enhanced .landing-nav-links { display: none; }
    .landing-header.is-menu-open .landing-nav-links { display: flex; }
    .landing-header.is-enhanced .landing-menu-toggle { display: inline-flex; }
    .landing-header.is-enhanced .landing-menu-toggle[hidden] { display: none; }
    .nav-link { min-height: 46px; }
    .nav-link::after { display: none; }
    .hero-layout { gap: 2.3rem; }
    .hero-copy { max-width: 44rem; margin-inline: auto; text-align: center; }
    .hero-title { font-size: clamp(2.6rem, 6.6vw, 4rem); }
    .hero-description { max-width: 36rem; margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-product { width: min(100%, 42rem); }
    .mock-sales-grid strong { font-size: 1.15rem; }
}
@media (max-width: 599px) {
    :root { --landing-nav-height: 72px; }
    .landing-brand { gap: .45rem; font-size: 1rem; }
    .landing-brand img { width: 42px; height: 42px; border-radius: 11px; }
    .landing-start { min-height: 42px; padding: .6rem .85rem; font-size: .75rem; }
    .landing-nav-actions { gap: .5rem; }
    .landing-menu-toggle { width: 42px; height: 42px; }
    .hero-layout { gap: 2rem; padding-block: 2rem 2.5rem; }
    .hero-copy { padding-top: .5rem; text-align: left; }
    .hero-eyebrow { padding: .55rem .75rem; font-size: .67rem; }
    .hero-title { margin-top: 1.2rem; font-size: clamp(2.05rem, 8.4vw, 3rem); letter-spacing: -.05em; }
    .hero-description { margin-top: 1.15rem; font-size: 1rem; line-height: 1.8; }
    .hero-actions { flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
    .hero-cta { width: 100%; min-height: 50px; }
    .hero-trust { justify-content: flex-start; gap: .5rem; margin-top: 1.1rem; font-size: .7rem; }
    .mock-layout { grid-template-columns: minmax(0, 1fr); }
    .mock-sidebar { display: none; }
    .mock-main { padding: .85rem; }
    .mock-topbar { padding: .65rem .85rem; }
    .mock-heading h2 { font-size: 1.15rem; }
    .mock-heading p { font-size: .65rem; }
    .mock-heading > span { font-size: .5rem; }
    .mock-quick-row { padding: .55rem; }
    .hero-product .mock-action-pill { font-size: .55rem; }
    .mock-quick-row > span, .hero-product .mock-dashboard-section { font-size: .55rem; }
    .mock-sales-grid .mock-metric-card { padding: .65rem .5rem; }
    .mock-sales-grid .mock-metric-card > span { min-height: 2.8em; font-size: .57rem; }
    .mock-sales-grid strong { font-size: .98rem; }
    .mock-sales-grid small { display: none; }
    .mock-operational-grid span { font-size: .55rem; }
    .mock-ml-heading > strong { font-size: .7rem; }
    .mock-ml-heading > span, .mock-ml-card > p { font-size: .55rem; }
    .mock-ml-counts > span { font-size: .55rem; }
    .hero-store-preview { width: 77%; max-width: 19rem; margin-top: .75rem; margin-right: -.2rem; }
    .hero-store-label strong { font-size: .7rem; }
    .hero-store-label div > span { font-size: .53rem; }
}
@media (max-width: 359px) {
    .landing-brand > span { display: none; }
    .hero-title { font-size: 2.05rem; }
    .hero-product .mock-extra-action { display: none; }
    .mock-sales-grid strong { font-size: .86rem; }
    .hero-store-preview { width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-header, .nav-link, .nav-link::after, .landing-start, .hero-cta { transition: none; }
    .landing-start:hover, .hero-cta:hover { transform: none; }
}
