/**
 * ServixPro — Landing (identidad naranja, layout editorial)
 */

:root {
    --sp-orange: #f5821f;
    --sp-orange-soft: #ff9a3c;
    --sp-orange-dim: rgba(247, 143, 30, 0.14);
    --sp-ink: #0f1218;
    --sp-ink-2: #1a1f28;
    --sp-ink-3: #252b36;
    --sp-cream: #f6f3ee;
    --sp-cream-2: #ebe6dc;
    --sp-text: #e8eaef;
    --sp-muted: #9aa3b2;
    --sp-font: var(--rn-font);
    --sp-display: var(--rn-display);
}

.landing-page {
    font-family: var(--sp-font);
    color: var(--sp-text);
    background: var(--sp-ink);
    overflow-x: hidden;
}

/* —— Nav —— */
.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: background 0.25s, padding 0.25s;
}
.sp-nav.scrolled {
    background: rgba(15, 18, 24, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.35rem 0;
}
.sp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: clamp(140px, 20vw, 200px);
}
.sp-nav.scrolled .sp-nav__inner {
    min-height: clamp(100px, 14vw, 130px);
}
.sp-nav__logo {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}
.sp-nav__logo-img {
    height: clamp(132px, 26vw, 200px);
    width: auto;
    max-width: min(760px, 94vw);
    object-fit: contain;
    display: block;
    background: transparent !important;
}
.sp-nav.scrolled .sp-nav__logo-img {
    height: clamp(108px, 18vw, 150px);
    max-width: min(620px, 90vw);
}
.sp-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.sp-nav__link {
    color: var(--sp-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.sp-nav__link:hover { color: #fff; }

/* —— Buttons —— */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.sp-btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.sp-btn--primary {
    background: var(--sp-orange);
    color: #1a1008;
    border-color: var(--sp-orange);
}
.sp-btn--primary:hover {
    background: var(--sp-orange-soft);
    border-color: var(--sp-orange-soft);
    color: #1a1008;
    transform: translateY(-1px);
}
.sp-btn--ghost {
    background: transparent;
    color: var(--sp-text);
    border-color: rgba(255, 255, 255, 0.2);
}
.sp-btn--ghost:hover {
    border-color: var(--sp-orange);
    color: #fff;
}
.sp-btn--dark {
    background: var(--sp-ink);
    color: #fff;
    border-color: var(--sp-ink);
    white-space: nowrap;
}
.sp-btn--dark:hover {
    background: var(--sp-ink-3);
    color: #fff;
}

/* —— Hero —— */
.sp-hero {
    position: relative;
    padding: clamp(11rem, 18vw, 13rem) 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(165deg, var(--sp-ink) 0%, var(--sp-ink-2) 45%, #12151c 100%);
}
.sp-hero__glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(247, 143, 30, 0.12) 0%, transparent 65%);
    pointer-events: none;
}
.sp-hero__title {
    font-family: var(--sp-display);
    font-size: clamp(2.35rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.sp-hero__title em {
    font-style: italic;
    color: var(--sp-orange);
}
.sp-hero__lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--sp-muted);
    max-width: 32rem;
    margin-bottom: 2rem;
}
.sp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.sp-hero__stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}
.sp-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.sp-hero__stats strong {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sp-orange);
}
.sp-hero__stats span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-muted);
}

.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-orange);
    margin-bottom: 1rem;
}
.sp-eyebrow--dark { color: #b45309; }
.sp-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sp-orange);
    box-shadow: 0 0 12px var(--sp-orange);
}
.sp-eyebrow--dark .sp-eyebrow__dot {
    background: #b45309;
    box-shadow: none;
}

/* —— Board mockup —— */
.sp-board {
    background: var(--sp-ink-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 32px 64px rgba(0, 0, 0, 0.45);
}
.sp-board__bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: #0c0e12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sp-board__bar span:first-child,
.sp-board__bar span:nth-child(2),
.sp-board__bar span:nth-child(3) {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3d4450;
}
.sp-board__bar span:first-child { background: #ef4444; }
.sp-board__bar span:nth-child(2) { background: #eab308; }
.sp-board__bar span:nth-child(3) { background: #22c55e; }
.sp-board__bar-title {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--sp-muted);
    font-weight: 500;
}
.sp-board__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.sp-board__card {
    background: var(--sp-ink-2);
    padding: 1.1rem 1.15rem;
    min-height: 120px;
}
.sp-board__card header {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sp-muted);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.sp-board__card header i { color: var(--sp-orange); }
.sp-board__card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
}
.sp-board__card li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sp-board__card li em {
    font-style: normal;
    color: var(--sp-orange);
    font-size: 0.75rem;
    font-weight: 600;
}
.sp-board__big {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}
.sp-board__sub {
    font-size: 0.78rem;
    color: var(--sp-muted);
    margin: 0.25rem 0 0;
}
.sp-board__doc {
    font-family: ui-monospace, monospace;
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
}
.sp-board__card--kitchen { grid-column: span 2; }

/* —— Flow strip —— */
.sp-strip {
    background: var(--sp-orange);
    color: #1a1008;
    padding: 1.25rem 0;
}
.sp-strip__track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
}
.sp-strip__item span {
    display: inline-block;
    font-weight: 800;
    margin-right: 0.35rem;
    opacity: 0.55;
}
.sp-strip__arrow {
    opacity: 0.4;
    font-size: 1.1rem;
}

/* —— Sections —— */
.sp-section {
    padding: 5.5rem 0;
    background: var(--sp-ink);
}
.sp-section--cream {
    background: var(--sp-cream);
    color: var(--sp-ink);
}
.sp-section__head {
    max-width: 36rem;
    margin-bottom: 3rem;
}
.sp-section__head h2 {
    font-family: var(--sp-display);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.sp-section__head p {
    color: var(--sp-muted);
    font-size: 1.05rem;
    margin: 0;
}
.sp-title--dark {
    font-family: var(--sp-display);
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 700;
    color: var(--sp-ink);
}
.sp-text--dark {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* —— Bento —— */
.sp-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}
.sp-bento__cell {
    background: var(--sp-ink-2);
    padding: 1.75rem;
}
.sp-bento__cell--wide { grid-column: span 2; }
.sp-bento__cell--tall { grid-row: span 2; }
.sp-bento__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--sp-orange-dim);
    color: var(--sp-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.sp-bento__cell h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.sp-bento__cell p {
    font-size: 0.9rem;
    color: var(--sp-muted);
    margin: 0;
    line-height: 1.55;
}

.sp-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.sp-checklist li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: #374151;
    font-weight: 500;
}
.sp-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--sp-orange);
}

/* —— Ticket preview —— */
.sp-ticket {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.06),
        0 24px 48px rgba(26, 31, 40, 0.12);
    border: 1px solid var(--sp-cream-2);
    transform: rotate(-1deg);
}
.sp-ticket__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed var(--sp-cream-2);
    margin-bottom: 1rem;
}
.sp-ticket__logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}
.sp-ticket__row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #374151;
}
.sp-ticket__row--total {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sp-ink);
    border-top: 1px solid var(--sp-cream-2);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}
.sp-ticket__foot {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--sp-cream-2);
}

/* —— CTA —— */
.sp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 2.75rem;
    background: var(--sp-cream);
    border-radius: 16px;
    border: 1px solid var(--sp-cream-2);
}
.sp-cta__copy h2 {
    font-family: var(--sp-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--sp-ink);
    margin-bottom: 0.35rem;
}
.sp-cta__copy p {
    color: #4a5568;
    margin: 0;
    font-size: 1rem;
}

/* —— Footer —— */
.sp-footer {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sp-footer__inner {
    text-align: center;
}
.sp-footer__logo {
    width: min(720px, 94vw);
    height: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
    background: transparent !important;
}
.sp-footer p {
    color: var(--sp-muted);
    font-size: 0.875rem;
}

/* —— Modal login —— */
.sp-login-modal-wrap .modal-backdrop {
    background: rgba(5, 7, 10, 0.82);
    backdrop-filter: blur(6px);
}
.sp-login-modal {
    background: var(--sp-ink-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
    color: var(--sp-text);
}
.sp-login-modal .form-label {
    color: var(--sp-muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.sp-login-modal .form-control {
    background: var(--sp-ink);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.sp-login-modal .form-control:focus {
    border-color: var(--sp-orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 130, 31, 0.25);
}
.sp-login-modal__logo {
    height: clamp(72px, 14vw, 100px);
    width: auto;
    max-width: min(360px, 88vw);
    object-fit: contain;
    background: transparent !important;
}
.sp-login-modal__tagline {
    color: var(--sp-muted);
}
.sp-nav__link-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}
.sp-nav__link-btn:hover {
    color: #fff;
}

/* —— Responsive —— */
@media (max-width: 991.98px) {
    .sp-bento {
        grid-template-columns: 1fr 1fr;
    }
    .sp-bento__cell--wide { grid-column: span 2; }
    .sp-bento__cell--tall { grid-row: span 1; }
    .sp-cta { flex-direction: column; text-align: center; }
    .sp-nav__inner {
        min-height: auto;
        padding: 0.35rem 0;
    }
    .sp-nav__logo-img {
        height: clamp(56px, 14vw, 88px);
        max-width: min(280px, 52vw);
    }
    .sp-nav.scrolled .sp-nav__logo-img {
        height: clamp(48px, 12vw, 72px);
    }
    .sp-hero {
        padding-top: clamp(6.5rem, 16vw, 9rem);
    }
}

@media (max-width: 767.98px) {
    .sp-nav__inner {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .sp-nav__logo {
        flex: 1 1 auto;
        min-width: 0;
    }
    .sp-nav__logo-img {
        height: 48px;
        max-width: 100%;
    }
    .sp-nav.scrolled .sp-nav__logo-img {
        height: 42px;
    }
    .sp-nav__actions {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        max-width: 9.5rem;
    }
    .sp-nav__link-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.4rem 0.65rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 8px;
        white-space: nowrap;
    }
    .sp-nav__actions .sp-btn--primary {
        padding: 0.4rem 0.65rem;
        font-size: 0.78rem;
        background: #fff;
        color: var(--sp-ink);
        border-color: #fff;
        white-space: nowrap;
    }
    .sp-nav__actions .sp-btn--primary:hover {
        background: var(--sp-orange-soft);
        border-color: var(--sp-orange-soft);
        color: #1a1008;
    }
}

@media (max-width: 575.98px) {
    .sp-bento { grid-template-columns: 1fr; }
    .sp-bento__cell--wide { grid-column: span 1; }
    .sp-board__card--kitchen { grid-column: span 1; }
    .sp-strip__arrow { display: none; }
    .sp-strip__track { flex-direction: column; }
    .sp-nav__actions {
        max-width: 8.75rem;
    }
    .sp-nav__link-btn,
    .sp-nav__actions .sp-btn--primary {
        font-size: 0.72rem;
        padding: 0.35rem 0.5rem;
    }
}
