:root {
    --navy: #071b33;
    --navy2: #0c2748;
    --green: #0f9f6e;
    --sand: #f6f3fb;
    --ink: #142033;
    --muted: #5b6b80;
}
html {
    scroll-behavior: smooth;
}
body,
body * {
    font-family: 'Cairo', sans-serif !important;
}
body {
    margin: 0;
    background: #f7f4fb;
    color: var(--ink);
}
h1,
h2,
h3,
h4,
h5,
h6,
.display,
.btn,
.form-control,
.form-select {
    font-family: 'Cairo', sans-serif !important;
}
.container {
    max-width: 1180px;
}
.text-navy {
    color: var(--navy);
}
.text-muted {
    color: var(--muted) !important;
}
.bg-navy {
    background: var(--navy) !important;
}
.bg-sand {
    background: var(--sand);
}
.btn-primary {
    background: linear-gradient(#14b37c, #0d8a5e);
    border: 0;
    color: #fff;
    font-weight: 700;
}
.btn-primary:hover {
    background: #0b7a55;
    color: #fff;
}
.btn-outline {
    border: 1px solid #d5deea;
    background: #fff;
    color: var(--navy2);
    font-weight: 700;
}
.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}
.btn-selected {
    background: #0f9f6e !important;
    border-color: #0f9f6e !important;
    color: #fff !important;
}
.device-image {
    min-height: 210px;
    background: #fff !important;
}
.activity-card {
    min-height: 190px;
}
.pos-selection-summary {
    margin-top: 0.45rem;
    color: var(--green);
    font-size: 0.9rem;
}
.pos-selection-summary strong {
    font-weight: 800;
}
.selected-devices-summary {
    padding: 1rem 1.25rem;
    border: 1px solid #b7e4d1;
    border-radius: 0.8rem;
    background: #effaf5;
    color: var(--navy);
}
.selected-devices-summary > strong {
    display: block;
    margin-bottom: 0.5rem;
}
.selected-devices-summary > span {
    color: var(--muted);
}
.selected-devices-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.selected-devices-list span {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #d9f4e8;
    color: #08764f;
    font-size: 0.9rem;
    font-weight: 700;
}
.navbar {
    background: #fff;
    transition: 0.2s;
}
.navbar.scrolled {
    box-shadow: 0 3px 18px #071b3315;
}
.logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    object-fit: cover;
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    white-space: nowrap;
}
.footer-qr {
    display: block;
    width: 132px;
    height: 132px;
    object-fit: contain;
    background: #fff;
    padding: 0.25rem;
}
.selected-device-chip {
    position: relative;
    padding-inline-end: 2rem !important;
}
.remove-device {
    position: absolute;
    top: -0.45rem;
    inset-inline-end: -0.45rem;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
    cursor: pointer;
    box-shadow: 0 2px 5px #071b3340;
}
.remove-device:hover {
    background: #b02a37;
}
.ribbon {
    background: var(--navy);
    color: #fff;
    font-size: 0.78rem;
}
.hero {
    background:
        radial-gradient(ellipse 70% 55% at 88% 8%, #7a5ea760, transparent 58%),
        linear-gradient(180deg, #061526, #0a2544 55%, #071b33);
    color: #fff;
}
.hero-pattern {
    background-image:
        linear-gradient(#ffffff08 1px, transparent 1px),
        linear-gradient(90deg, #ffffff08 1px, transparent 1px);
    background-size: 42px 42px;
}
.hero img.dashboard {
    border-radius: 1.25rem;
}
.chip {
    border: 1px solid #ffffff22;
    background: #ffffff0d;
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}
.card {
    border: 1px solid #dfe6ef;
    border-radius: 1rem;
    background: #fff;
    transition: 0.25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px #071b3328;
}
.section {
    padding: 4rem 0;
}
.page-hero {
    background: linear-gradient(180deg, #071b33, #0c3159);
    color: #fff;
    padding: 4rem 0;
}
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #0f9f6e1a;
    color: var(--green);
    display: grid;
    place-items: center;
}
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.8rem;
    border-color: #d7e0ec;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.25rem #0f9f6e1f;
}
.contact-panel,
.contact-map-card {
    border: 1px solid #dfe6ef;
    border-radius: 1rem;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 14px 35px #071b3310;
}
.contact-panel {
    display: flex;
    flex-direction: column;
}
.contact-eyebrow {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.contact-panel h2 {
    font-size: 1.75rem;
}
.contact-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.contact-detail-icon,
.map-pin {
    display: grid;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.75rem;
    background: #0f9f6e14;
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 800;
}
.contact-detail strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--navy);
}
.contact-map-card {
    padding: 1rem;
}
.contact-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.75rem 1rem;
}
.contact-map {
    min-height: 390px;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #e9eef3;
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 390px;
    border: 0;
}
.whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 20;
    background: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 8px 22px #071b3340;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 28px #071b3352;
}
.whatsapp:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.whatsapp svg {
    width: 35px;
    height: 35px;
    display: block;
    fill: currentColor;
}
footer {
    position: relative;
    margin-top: 2rem;
    padding-top: 4.5rem !important;
    background: linear-gradient(135deg, var(--navy), var(--navy2)) !important;
}
footer > .container {
    position: relative;
}
footer h5,
footer h6 {
    color: #fff;
    font-weight: 800;
}
footer h6 {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
footer .row > div {
    min-width: 0;
}
footer .row > div:first-child {
    max-width: 340px;
}
footer .logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}
footer .row > div:first-child p {
    line-height: 1.9;
}
footer .row > div:nth-child(2) .my-2 {
    margin: 0 0 0.65rem !important;
}
footer .row > div:nth-child(3) {
    text-align: center;
}
footer .footer-contact {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
    text-align: center;
}
footer .footer-contact p {
    margin: 0 !important;
}
footer .footer-qr {
    width: 112px;
    height: 112px;
    padding: 0.4rem;
    background: #fff;
}
footer > .container > hr {
    margin-top: 3rem;
    border-color: #ffffff2e !important;
}
footer > .container > small {
    display: inline-block !important;
    margin-top: 0 !important;
    line-height: 1.8;
}
footer > .container > small + small {
    position: absolute;
    left: 1rem;
    margin: 0;
}
footer a {
    color: #aebbd0;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
.clients-viewport {
    overflow: hidden;
    direction: ltr;
}
.clients-track {
    display: flex;
    width: max-content;
    animation: clients-scroll 28s linear infinite;
}
.clients-group {
    display: flex;
    gap: 1rem;
    padding-inline-end: 1rem;
    flex-shrink: 0;
}
.client-card {
    width: 150px;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
}
.client-card img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}
.client-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
}
.clients-viewport:hover .clients-track,
.clients-track.is-touching {
    animation-play-state: paused;
}
@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .clients-track {
        animation: none;
    }
}
@media (max-width: 1199.98px) {
    .navbar .container {
        max-width: 100%;
    }
    .navbar-collapse {
        padding-top: 1rem;
    }
    .navbar-collapse .navbar-nav {
        gap: 0.25rem !important;
    }
    .navbar-collapse > [data-language-toggle],
    .navbar-collapse > a {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .hero .container {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}
@media (max-width: 767.98px) {
    html {
        overflow-x: hidden;
    }
    body {
        overflow-x: hidden;
    }
    .container {
        --bs-gutter-x: 1.25rem;
    }
    .ribbon {
        font-size: 0.68rem;
        line-height: 1.5;
        padding-inline: 0.75rem;
    }
    .navbar .container {
        padding-inline: 1rem;
    }
    .logo {
        width: 40px;
        height: 40px;
    }
    .hero .container {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.35;
    }
    .hero .lead {
        font-size: 1rem;
        line-height: 1.9;
    }
    .hero img.dashboard {
        margin-top: 0.5rem;
    }
    .page-hero {
        padding: 2.75rem 0;
    }
    .page-hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.4;
    }
    .page-hero .lead {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    .section {
        padding: 2.75rem 0;
    }
    .section h2 {
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.5;
    }
    .card:hover {
        transform: none;
    }
    .card-body,
    .card.p-4 {
        padding: 1.25rem !important;
    }
    .activity-card {
        min-height: 0;
    }
    .device-image {
        min-height: 190px;
    }
    .device-image img {
        height: 160px !important;
    }
    .pos-selection-summary {
        line-height: 1.9;
    }
    .contact-panel,
    .contact-map-card {
        padding: 1.25rem;
    }
    .contact-panel h2 {
        font-size: 1.5rem;
    }
    .contact-map {
        min-height: 300px;
    }
    .contact-map iframe {
        height: 300px;
    }
    .selected-devices-summary {
        padding: 1rem;
    }
    .selected-devices-list span {
        font-size: 0.8rem;
    }
    .whatsapp {
        width: 52px;
        height: 52px;
        bottom: 16px;
        left: 16px;
    }
    .whatsapp svg {
        width: 30px;
        height: 30px;
    }
    footer {
        padding-top: 2.5rem !important;
    }
    footer > .container > small + small {
        position: static !important;
        left: auto !important;
        display: block !important;
        margin-top: 0.35rem !important;
        text-align: center;
    }
    footer .row {
        row-gap: 2rem !important;
    }
    .client-card {
        width: 130px;
        min-height: 115px;
    }
    .client-card img {
        height: 50px;
    }
}
@media (max-width: 375px) {
    .navbar .btn {
        font-size: 0.8rem;
        padding-inline: 0.65rem;
    }
    .hero h1 {
        font-size: 1.85rem;
    }
    .chip {
        font-size: 0.72rem;
        padding: 0.3rem 0.55rem;
    }
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.65rem 0.9rem;
    }
    .page-hero {
        padding: 2.25rem 0;
    }
    .section {
        padding: 2.25rem 0;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.25rem);
    }
    .section {
        padding: 3.25rem 0;
    }
    .device-image {
        min-height: 200px;
    }
}
