/* Services pages (/services, /services/pos) and the services strip of the home page. Builds on landing-2026.css. */

.services-hero { padding: 8rem 0 3rem; position: relative; }
.services-hero__title { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin: 0.9rem 0 1.1rem; }
.services-answer { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; line-height: 1.75; max-width: 46rem; margin: 0 0 1.5rem; }
.services-hero .hero-actions { margin-bottom: 1.5rem; }
.services-updated { margin: 2rem 0 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* breadcrumb */
.landing-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--text-muted); }
.landing-breadcrumb li + li::before { content: "/"; margin-inline-end: 0.35rem; opacity: 0.5; }
.landing-breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.landing-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.landing-breadcrumb [aria-current="page"] span { color: #fff; }

.landing-link { color: #ffb27a; font-weight: 600; text-decoration: none; }
.landing-link:hover { color: #fff; }

/* service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.service-card {
    position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem; border-radius: 1.4rem; color: #fff; text-decoration: none;
    background: var(--surface-card); border: 1px solid var(--border-subtle); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.service-card:hover, a.service-card:focus-visible { color: #fff; transform: translateY(-4px); border-color: rgba(238, 103, 24, 0.6); box-shadow: 0 18px 40px rgba(238, 103, 24, 0.18); outline: none; }
.service-card__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 1.2rem; background: linear-gradient(135deg, #ee1823, #efc10b); }
.service-card__title { margin: 0.4rem 0 0; font-size: 1.15rem; font-weight: 700; color: #fff; }
.service-card__text { margin: 0; flex: 1; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.service-card__cta { color: #ffb27a; font-weight: 600; font-size: 0.9rem; }
.service-card--soon { opacity: 0.75; border-style: dashed; }
.service-card--soon .service-card__icon { background: rgba(255, 255, 255, 0.12); }
.service-card__soon { align-self: flex-start; padding: 0.2rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.14); }
@media (prefers-reduced-motion: reduce) { .service-card { transition: none; } a.service-card:hover { transform: none; } }

/* key facts: a definition list */
.services-facts { max-width: 52rem; margin: 2rem auto 0; display: grid; border-radius: 1.2rem; overflow: hidden; border: 1px solid var(--border-subtle); background: var(--surface-card); }
.services-facts__row { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 1rem; padding: 0.9rem 1.25rem; }
.services-facts__row + .services-facts__row { border-top: 1px solid var(--border-subtle); }
.services-facts dt { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
.services-facts dd { margin: 0; color: #fff; }
@media (max-width: 575px) { .services-facts__row { grid-template-columns: 1fr; gap: 0.2rem; } }

/* feature grid */
.services-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.services-feature { padding: 1.5rem; border-radius: 1.2rem; background: var(--surface-card); border: 1px solid var(--border-subtle); }
.services-feature h3 { margin: 1rem 0 0.4rem; font-size: 1.05rem; font-weight: 700; color: #fff; }
.services-feature p { margin: 0; color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }

/* steps */
.services-steps { counter-reset: step; list-style: none; margin: 0 auto; padding: 0; max-width: 46rem; display: grid; gap: 1rem; }
.services-steps li { counter-increment: step; position: relative; padding: 1.2rem 1.4rem; padding-inline-start: 4.2rem; border-radius: 1.2rem; background: var(--surface-card); border: 1px solid var(--border-subtle); }
.services-steps li::before {
    content: counter(step); position: absolute; inset-inline-start: 1.1rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ee1823, #efc10b);
}
.services-steps h3 { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 700; color: #fff; }
.services-steps p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.services-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.services-who li { padding: 0.9rem 1.1rem; border-radius: 1rem; color: #fff; font-weight: 600; background: var(--surface-card); border: 1px solid var(--border-subtle); }
.services-who i { color: #25D366; margin-inline-end: 0.5rem; }

/* the drawn POS screen */
.pos-mock { max-width: 560px; margin-inline: auto; border-radius: 1.2rem; overflow: hidden; background: #14141b; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 90px rgba(238, 103, 24, 0.16); }
.pos-mock__bar { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pos-mock__brand { color: #fff; font-weight: 800; letter-spacing: 0.04em; }
.pos-mock__brand i { color: #ee6718; }
.pos-mock__chip { padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #1a1a1a; background: #efc10b; white-space: nowrap; }
.pos-mock__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.9rem; padding: 0.9rem; }
.pos-mock__label { display: block; margin-bottom: 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.pos-mock__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.pos-mock__tile { display: flex; align-items: flex-end; min-height: 64px; padding: 0.55rem 0.65rem; border-radius: 0.8rem; color: #fff; font-size: 0.82rem; }
.pos-mock__tile--0 { background: linear-gradient(135deg, #ee1823, #a3101a); }
.pos-mock__tile--1 { background: linear-gradient(135deg, #ee6718, #a8450c); }
.pos-mock__tile--2 { background: linear-gradient(135deg, #25a244, #146c2e); }
.pos-mock__tile--3 { background: linear-gradient(135deg, #7c4dff, #4a2db0); }
.pos-mock__tile--4 { background: linear-gradient(135deg, #1f9fb6, #12687a); }
.pos-mock__tile--5 { background: linear-gradient(135deg, #d6409f, #8d2468); }
.pos-mock__cart { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.75rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.05); }
.pos-mock__line { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.85); }
.pos-mock__line em { font-style: normal; font-variant-numeric: tabular-nums; }
.pos-mock__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 0.6rem; border-top: 1px dashed rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }
.pos-mock__total b { color: #fff; font-size: 1.4rem; }
.pos-mock__pay { padding: 0.7rem; border-radius: 0.8rem; text-align: center; font-weight: 800; color: #fff; background: #25D366; }
@media (max-width: 420px) { .pos-mock__body { grid-template-columns: 1fr; } }

/* footer: the services */
.footer-services { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; margin: 0.5rem 0 1rem; font-size: 0.9rem; }
.footer-services a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-services a:hover { color: #fff; text-decoration: underline; }
.footer-services__title { font-weight: 700; color: #ffb27a !important; }

/* the white primary button keeps its dark label inside the services hero (links and their children inherit a light colour otherwise) */
.services-hero .btn-hero-primary, .services-hero .btn-hero-primary .btn-inner--text, .services-hero .btn-hero-primary .btn-inner--icon { color: #0a0a0f !important; }

/* navbar: keep it on one line between 992px and 1200px */
@media (min-width: 992px) and (max-width: 1199px) {
    #navbar-main .navbar-nav .nav-link { padding-left: 0.55rem; padding-right: 0.55rem; font-size: 0.85rem; }
    #navbar-main .navbar-nav .btn { padding: 0.45rem 0.8rem; font-size: 0.8rem; }
}

/* home page: the services carousel (native scroll-snap, arrows added by landing-2026.js) */
.service-carousel { position: relative; }
.service-carousel__track {
    display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 0.25rem 1rem;
    scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.service-carousel__track::-webkit-scrollbar { display: none; }
.service-carousel__track:focus-visible { outline: 2px solid rgba(238, 103, 24, 0.7); outline-offset: 4px; border-radius: 1rem; }
.service-carousel__track .service-card { flex: 0 0 min(300px, 82%); scroll-snap-align: start; }
.service-carousel__btn {
    position: absolute; top: 45%; z-index: 3; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; background: rgba(20, 20, 27, 0.92); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    cursor: pointer; transition: opacity 0.2s ease, background 0.2s ease;
}
.service-carousel__btn--prev { inset-inline-start: -14px; }
.service-carousel__btn--next { inset-inline-end: -14px; }
html[dir="rtl"] .service-carousel__btn i { transform: scaleX(-1); }
.service-carousel__btn:hover:not(:disabled), .service-carousel__btn:focus-visible { background: rgba(238, 103, 24, 0.9); outline: none; }
.service-carousel__btn:disabled { opacity: 0; pointer-events: none; }
.service-carousel.is-static .service-carousel__btn { display: none; }
.service-carousel.is-static .service-carousel__track { justify-content: center; }
@media (max-width: 575px) { .service-carousel__btn--prev { inset-inline-start: -6px; } .service-carousel__btn--next { inset-inline-end: -6px; } }
@media (prefers-reduced-motion: reduce) { .service-carousel__track { scroll-behavior: auto; } }

/* the drawn delivery screen: an order and its steps */
.delivery-mock { max-width: 520px; margin-inline: auto; padding: 1.25rem; border-radius: 1.2rem; background: #14141b; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 90px rgba(238, 103, 24, 0.16); }
.delivery-mock__head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: #fff; font-weight: 800; }
.delivery-mock__chip { padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #fff; background: #25D366; white-space: nowrap; }
.delivery-mock__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.delivery-mock__steps li { position: relative; display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0; color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; }
.delivery-mock__steps li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06); z-index: 1; }
.delivery-mock__steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 6px; top: 1.6rem; bottom: -0.5rem; width: 2px; background: rgba(255, 255, 255, 0.12); }
.delivery-mock__steps li.is-done, .delivery-mock__steps li.is-now { color: #fff; }
.delivery-mock__steps li.is-done::before { background: #25D366; }
.delivery-mock__steps li.is-now::before { background: #efc10b; box-shadow: 0 0 0 5px rgba(239, 193, 11, 0.25); }
.delivery-mock__steps li.is-now b { font-weight: 800; }
.delivery-mock__driver { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; padding: 0.75rem 0.9rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.88rem; }
.delivery-mock__driver i { color: #ee6718; font-size: 1.2rem; }
.delivery-mock__note { margin: 0.9rem 0 0; color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; }
@media (min-width: 1200px) { .service-carousel__btn--prev { inset-inline-start: -26px; } .service-carousel__btn--next { inset-inline-end: -26px; } }

/* the drawn WiFi login page */
.wifi-mock { position: relative; max-width: 360px; margin-inline: auto; padding: 1.5rem 0 3.2rem; }
.wifi-mock__phone { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; padding: 1.6rem 1.3rem; border-radius: 2rem; text-align: center; color: #fff; background: #14141b; border: 6px solid #23232d; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 90px rgba(238, 103, 24, 0.16); }
.wifi-mock__brand { display: flex; align-items: center; gap: 0.6rem; align-self: stretch; }
.wifi-mock__logo { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, #ee1823, #efc10b); }
.wifi-mock__lines { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }
.wifi-mock__icon { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.6rem; background: rgba(238, 103, 24, 0.18); color: #ee6718; }
.wifi-mock__title { font-size: 1.1rem; }
.wifi-mock__field { align-self: stretch; padding: 0.7rem 0.9rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; text-align: start; }
.wifi-mock__button { align-self: stretch; padding: 0.75rem; border-radius: 0.9rem; font-weight: 800; background: #25D366; color: #fff; }
.wifi-mock__online { color: #7be3a1; font-weight: 600; }
.wifi-mock__lead { position: absolute; inset-inline-end: -4%; bottom: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 1rem; color: #fff; font-size: 0.82rem; font-weight: 700; background: #1d1d27; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); }
.wifi-mock__lead i { color: #efc10b; }
.wifi-mock__lead em { font-style: normal; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
@media (max-width: 575px) { .wifi-mock__lead { inset-inline-end: 0; } }

/* order caller: a drawn counter screen */
.caller-mock { position: relative; max-width: 360px; margin-inline: auto; padding: 1.5rem 0 3.2rem; }
.caller-mock__card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.3rem; border-radius: 1.6rem; color: #fff; background: #14141b; border: 6px solid #23232d; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 90px rgba(238, 103, 24, 0.16); }
.caller-mock__brand { display: flex; align-items: center; gap: 0.6rem; }
.caller-mock__logo { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, #ee1823, #efc10b); }
.caller-mock__lines { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }
.caller-mock__display { padding: 0.7rem 0.9rem 0.9rem; border-radius: 1rem; text-align: center; background: rgba(0, 0, 0, 0.38); border: 1px solid rgba(255, 255, 255, 0.1); }
.caller-mock__display small { display: block; color: rgba(255, 255, 255, 0.6); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }
.caller-mock__display b { display: block; font-size: 3rem; line-height: 1.15; letter-spacing: 0.08em; }
.caller-mock__bars { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.caller-mock__bars i { display: block; width: 4px; border-radius: 2px; background: #ee6718; }
.caller-mock__bars i:nth-child(1), .caller-mock__bars i:nth-child(5) { height: 8px; }
.caller-mock__bars i:nth-child(2), .caller-mock__bars i:nth-child(4) { height: 14px; }
.caller-mock__bars i:nth-child(3) { height: 20px; }
.caller-mock__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
.caller-mock__pad span { padding: 0.5rem 0; border-radius: 0.7rem; text-align: center; font-weight: 700; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); }
.caller-mock__call { padding: 0.75rem; border-radius: 0.9rem; text-align: center; font-weight: 800; background: #ee6718; color: #fff; }
.caller-mock__say { position: absolute; inset-inline-end: -4%; bottom: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 1rem; color: #fff; font-size: 0.82rem; font-weight: 700; background: #1d1d27; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); }
.caller-mock__say i { color: #efc10b; }
.caller-mock__say em { font-style: normal; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
@media (max-width: 575px) { .caller-mock__say { inset-inline-end: 0; } }

/* roadmap cards ("coming next") */
.services-features--next .services-feature { position: relative; border-style: dashed; opacity: 0.92; }
.services-feature__soon { position: absolute; top: 1rem; inset-inline-end: 1rem; padding: 0.15rem 0.65rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.14); }
