/* Shop styles: layered on top of style.css. */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.86rem;
}

.num {
    text-align: right;
}

/* Top bar and header tools */

.topbar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.84rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.topbar-contact {
    display: flex;
    gap: 20px;
}

.topbar a {
    color: var(--white);
}

.site-nav {
    margin-left: auto;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    order: 3;
}

.cart-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--navy);
    transition: background 0.2s;
}

.cart-link:hover {
    background: var(--tint);
}

.cart-link svg {
    width: 26px;
    height: 26px;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--orange);
    color: var(--navy-deep);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

.flash {
    margin: 18px 0 0;
}

/* Extra buttons */

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-soft);
}

.btn-outline {
    background: var(--white);
    border-color: var(--navy);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--tint);
}

.btn-disabled {
    background: var(--tint);
    color: var(--muted);
    cursor: default;
}

.btn-disabled:hover {
    transform: none;
}

.link-arrow {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.link-arrow::after {
    content: " \2192";
    color: var(--orange);
}

.link-button {
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-size: 0.9rem;
    color: #b3261e;
    cursor: pointer;
    text-decoration: underline;
}

/* Home */

.hero-shop .hero-inner {
    padding-top: 76px;
    padding-bottom: 86px;
}

.hero-search {
    display: flex;
    gap: 8px;
    max-width: 560px;
    margin-top: 28px;
    padding: 6px;
    background: var(--white);
    border-radius: 999px;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    color: var(--ink);
    background: transparent;
}

.hero-search input:focus {
    outline: none;
}

.hero-search:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.45);
}

.hero-search .btn {
    padding: 11px 24px;
}

.hero-shop .hero-actions {
    margin: 22px 0 0;
}

.perks {
    border-bottom: 1px solid var(--line);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 14px;
}

.perk svg {
    flex: none;
    width: 34px;
    height: 34px;
    color: var(--orange-dark);
}

.perk strong {
    display: block;
    color: var(--navy);
}

.perk span {
    font-size: 0.9rem;
    color: var(--muted);
}

.section-head-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.section-head-row h2 {
    margin-bottom: 0;
}

.section-tight {
    padding: 48px 0 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-tile {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.category-tile:hover {
    text-decoration: none;
    transform: translateY(-4px);
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.category-tile .icon {
    margin-bottom: 16px;
}

.category-name {
    font-weight: 700;
    line-height: 1.3;
}

.category-count {
    margin-top: 4px;
    font-size: 0.86rem;
    color: var(--muted);
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band > div:first-child {
    max-width: 620px;
}

.cta-band p:last-child {
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Product cards */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
    border-color: #c9d2e0;
    box-shadow: var(--shadow);
}

.product-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--tint);
}

.product-thumb img,
.product-photo img,
.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
}

.thumb-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg, #eef2f8, #e3e9f3);
    color: #9aa9c2;
}

.thumb-placeholder svg {
    width: 38%;
    height: auto;
    max-width: 110px;
    stroke-width: 1.2;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--orange);
    color: var(--navy-deep);
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.product-cat {
    margin: 0 0 4px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-body h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.35;
}

.product-body h3 a {
    color: var(--navy);
}

.product-price {
    margin: auto 0 14px;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--navy);
}

.product-price s {
    margin-left: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
}

/* Inner page banner */

.page-hero {
    padding: 38px 0 42px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
}

.page-hero-lead {
    max-width: 40em;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.crumbs {
    margin: 0 0 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.crumbs a {
    color: #ffb066;
}

.crumbs-dark {
    margin-bottom: 26px;
    color: var(--muted);
}

.crumbs-dark a {
    color: var(--orange-dark);
}

/* Shop listing */

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.shop-side {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.side-search {
    display: flex;
    margin-bottom: 26px;
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
}

.side-search:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.side-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    border: 0;
    font: inherit;
    font-size: 0.96rem;
}

.side-search input:focus {
    outline: none;
}

.side-search button {
    display: grid;
    place-items: center;
    width: 46px;
    border: 0;
    background: var(--navy);
    color: var(--white);
    cursor: pointer;
}

.side-search svg {
    width: 20px;
    height: 20px;
}

.side-title {
    margin-bottom: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.side-cats {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-cats a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.96rem;
    color: var(--ink);
}

.side-cats a:hover {
    background: var(--tint);
    text-decoration: none;
}

.side-cats a.active {
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
}

.side-cats span {
    color: var(--muted);
    font-size: 0.86rem;
}

.side-cats a.active span {
    color: rgba(255, 255, 255, 0.7);
}

.shop-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.shop-bar p {
    margin: 0;
    color: var(--muted);
}

.shop-bar form {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.94rem;
}

.shop-bar select {
    padding: 8px 12px;
    border: 1.5px solid #cfd6e2;
    border-radius: 8px;
    font: inherit;
    font-size: 0.94rem;
    background: var(--white);
}

.pagination {
    display: flex;
    gap: 8px;
    margin-top: 34px;
}

.pagination a {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
    color: var(--navy);
}

.pagination a:hover {
    text-decoration: none;
    border-color: var(--navy);
}

.pagination a.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.empty-state {
    padding: 56px 24px;
    text-align: center;
    border: 1px dashed #cfd6e2;
    border-radius: var(--radius);
}

.empty-state p {
    color: var(--muted);
}

/* Product page */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.product-photo {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.product-info h1 {
    margin-bottom: 6px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.product-sku {
    font-size: 0.88rem;
    color: var(--muted);
}

.product-price-lg {
    margin: 18px 0 8px;
    font-size: 1.9rem;
}

.stock {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.stock-in {
    background: #e7f6ec;
    color: #17603a;
}

.stock-low {
    background: #fff1de;
    color: #8a4b00;
}

.stock-out {
    background: #fdecea;
    color: #9b2318;
}

.add-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 22px 0 10px;
}

.add-form label {
    font-weight: 600;
    color: var(--navy);
}

.add-form input,
.qty-input {
    width: 84px;
    padding: 12px 10px;
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
    font: inherit;
    text-align: center;
}

.product-assurances {
    margin-top: 26px;
}

.product-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.product-extra h2 {
    font-size: 1.3rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.spec-table th,
.spec-table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.spec-table th {
    width: 38%;
    color: var(--navy);
    background: var(--tint);
}

/* Cart and checkout */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    align-items: start;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    padding: 0 10px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    color: var(--muted);
    border-bottom: 2px solid var(--navy);
}

.cart-table th.num {
    text-align: right;
}

.cart-table td {
    padding: 16px 10px;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}

.cart-thumb {
    width: 84px;
}

.cart-thumb img,
.cart-thumb .thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.cart-name {
    display: block;
    font-weight: 700;
    color: var(--navy);
}

.cart-table .muted {
    display: block;
    font-size: 0.84rem;
}

.qty-input {
    padding: 9px 6px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.summary {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.summary h2 {
    font-size: 1.25rem;
}

.summary-list {
    margin: 0 0 20px;
}

.summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.summary-list .summary-total {
    border-bottom: 0;
    font-size: 1.2rem;
}

.summary-total dt,
.summary-total dd {
    font-weight: 800;
    color: var(--navy);
}

.summary-items {
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
    font-size: 0.94rem;
}

.summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.summary-items li span:last-child {
    white-space: nowrap;
    font-weight: 600;
}

.summary-items em {
    font-style: normal;
    color: var(--muted);
}

.summary .muted {
    margin: 14px 0 0;
}

.summary-back {
    display: block;
    margin-top: 16px;
    text-align: center;
}

.checkout-main {
    display: grid;
    gap: 22px;
}

.checkout-main fieldset {
    margin: 0;
    min-width: 0;
}

.checkout-main legend {
    padding: 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
}

.choice-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.choice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
    cursor: pointer;
}

.choice:has(input:checked) {
    border-color: var(--orange);
    background: #fff8f0;
}

.choice input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange-dark);
}

.choice span {
    flex: 1;
}

.choice strong {
    color: var(--navy);
    white-space: nowrap;
}

.field-error {
    margin: 6px 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #b3261e;
}

/* Order confirmation */

.order-wrap {
    max-width: 780px;
}

.order-thanks {
    margin-bottom: 30px;
    text-align: center;
}

.order-thanks h1 {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.order-tick {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e7f6ec;
    position: relative;
}

.order-tick::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 21px;
    width: 22px;
    height: 12px;
    border-left: 4px solid #17603a;
    border-bottom: 4px solid #17603a;
    transform: rotate(-45deg);
}

.order-table {
    margin-bottom: 8px;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 8px 0 0;
    padding-top: 20px;
    border-top: 2px solid var(--navy);
}

.order-meta dt {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.order-meta dd {
    margin: 4px 0 0;
    font-weight: 600;
}

.order-next {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Responsive */

@media (max-width: 1000px) {
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-layout,
    .product-detail,
    .product-extra {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .summary,
    .shop-side {
        position: static;
    }

    .shop-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .side-cats {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .side-cats a {
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 6px 14px;
    }

    .product-photo {
        max-width: 480px;
    }
}

@media (max-width: 820px) {
    .topbar-inner > span:first-child {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .site-nav {
        margin-left: 0;
    }

    .header-tools {
        margin-left: auto;
    }

    .perks-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .product-grid,
    .product-grid-3,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-body {
        padding: 12px;
    }

    .product-body h3 {
        font-size: 0.92rem;
    }

    .category-tile {
        padding: 16px;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 18px;
    }

    .topbar-contact {
        gap: 14px;
        font-size: 0.8rem;
    }

    /* Cart rows stack into labelled blocks on phones. */
    .cart-table:not(.order-table) thead {
        display: none;
    }

    .cart-table:not(.order-table) tr {
        display: grid;
        grid-template-columns: 76px 1fr;
        gap: 4px 12px;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
    }

    .cart-table:not(.order-table) td {
        padding: 0;
        border: 0;
        grid-column: 2;
        text-align: left;
    }

    .cart-table:not(.order-table) td.cart-thumb {
        grid-column: 1;
        grid-row: 1 / span 5;
    }

    .cart-table:not(.order-table) td[data-label="Price"]::before,
    .cart-table:not(.order-table) td[data-label="Total"]::before {
        content: attr(data-label) ": ";
        color: var(--muted);
    }

    .order-meta {
        grid-template-columns: 1fr;
    }
}

@media print {
    .topbar,
    .site-header,
    .site-footer,
    .order-next,
    .flash {
        display: none;
    }
}

/* ---- Kit Builder, quotations, tracking, reviews, WhatsApp ---- */

.perks-grid {
    grid-template-columns: repeat(4, 1fr);
}

.btn-whatsapp {
    background: #128c4b;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #0f7a41;
}

.summary .btn-block + .btn-block {
    margin-top: 10px;
}

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #128c4b;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 26px rgba(12, 26, 51, 0.28);
}

.wa-float:hover {
    background: #0f7a41;
    text-decoration: none;
}

.wa-float svg {
    width: 22px;
    height: 22px;
}

.inline-fields {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.inline-fields input,
.inline-fields select {
    flex: 1;
    min-width: 120px;
    padding: 10px 12px;
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
    font: inherit;
    font-size: 0.96rem;
    background: var(--white);
}

.hint {
    margin: 6px 0 0;
    font-size: 0.86rem;
    color: var(--muted);
}

.tag-bulk,
.tag-short {
    display: inline-block !important;
    margin-top: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.76rem !important;
    font-weight: 700;
}

.tag-bulk {
    background: #e7f6ec;
    color: #17603a;
}

.tag-short {
    background: #fdecea;
    color: #9b2318;
}

.bulk-hint {
    margin: -8px 0 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #17603a;
}

.coupon-form {
    margin-bottom: 18px;
}

/* Home: Kit Builder promo */

.kit-promo-wrap {
    padding: 0;
}

.kit-promo {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 44px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff4e8, #ffe6cc);
    border: 1px solid #ffd3a3;
}

.kit-promo h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.kit-promo p:last-child {
    margin-bottom: 0;
}

.kit-quick {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.kit-quick label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--navy);
}

/* Kit Builder page */

.kit-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 36px;
    align-items: start;
}

.kit-form {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.kit-form h2,
.kit-result > h2 {
    font-size: 1.3rem;
}

.kit-checks {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.kit-checks label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--navy);
}

.kit-checks input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange-dark);
}

.kit-table tfoot td {
    padding-top: 18px;
    border-bottom: 0;
    font-size: 1.1rem;
    color: var(--navy);
}

.kit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 22px 0 14px;
}

.kit-install {
    margin-top: 28px;
    border-left: 5px solid var(--orange);
}

.kit-install p {
    color: var(--muted);
}

/* Product page extras */

.tier-table {
    width: 100%;
    max-width: 420px;
    margin: 18px 0 6px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tier-table caption {
    margin-bottom: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    color: var(--muted);
}

.tier-table th,
.tier-table td {
    padding: 9px 12px;
    text-align: left;
    border: 1px solid var(--line);
}

.tier-table th {
    width: 38%;
    background: var(--tint);
    color: var(--navy);
}

.tier-best td {
    font-weight: 700;
    color: #17603a;
}

.tier-best span {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
}

.stars {
    color: var(--orange);
    letter-spacing: 1px;
}

.stars-off {
    color: #d5dbe6;
}

.review-summary {
    color: var(--muted);
}

.review-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    max-width: 780px;
}

.review-list li {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.review-list p {
    margin: 0 0 4px;
}

.review-form {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.review-form .inline-fields {
    margin-top: 8px;
}

.review-done {
    padding: 14px 0;
    margin: 0;
    border-top: 1px solid var(--line);
    color: #17603a;
}

/* Order progress, payment box, timeline */

.order-wrap > .card,
.order-wrap > .alert,
.order-wrap > .progress {
    margin-bottom: 22px;
}

.order-wrap .card > h2 {
    font-size: 1.2rem;
}

.progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.progress li {
    position: relative;
    padding-top: 38px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    counter-increment: step;
}

.progress li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    border-radius: 50%;
    background: #dfe4ec;
    color: var(--muted);
    line-height: 30px;
    font-weight: 800;
}

.progress li::after {
    content: "";
    position: absolute;
    top: 14px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #dfe4ec;
}

.progress li:first-child::after {
    display: none;
}

.progress li.done {
    color: var(--navy);
}

.progress li.done::before {
    background: var(--navy);
    color: var(--white);
}

.progress li.done::after {
    background: var(--navy);
}

.progress li.current::before {
    background: var(--orange);
    color: var(--navy-deep);
}

.pay-box {
    border: 2px solid #128c4b;
}

.pay-steps {
    margin: 0 0 16px;
    padding-left: 20px;
}

.pay-steps li {
    margin-bottom: 4px;
}

.timeline {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: none;
    border-left: 2px solid var(--line);
}

.timeline li {
    position: relative;
    padding: 0 0 16px 8px;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.timeline .muted {
    display: block;
    font-size: 0.84rem;
}

.timeline p {
    margin: 4px 0 0;
}

.track-form p:first-of-type {
    color: var(--muted);
}

.install-card .choice {
    align-items: flex-start;
}

.install-card .choice input {
    margin-top: 4px;
}

/* Printable documents (quotation) */

.doc {
    padding: 40px;
}

.doc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 3px solid var(--navy);
}

.doc-title {
    text-align: right;
}

.doc-title h1 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.doc-title p {
    margin: 4px 0 0;
}

.doc-parties {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 24px;
    margin: 24px 0;
    font-size: 0.95rem;
}

.doc-parties h2,
.doc-terms h2 {
    margin-bottom: 6px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.doc-parties p {
    margin: 0;
}

.doc-table tfoot td {
    border-bottom: 0;
    font-size: 1.1rem;
    color: var(--navy);
}

.doc-terms {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--muted);
}

.doc-terms ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 1000px) {
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kit-layout,
    .kit-promo {
        grid-template-columns: 1fr;
    }

    .kit-form {
        position: static;
    }
}

@media (max-width: 600px) {
    .perks-grid,
    .doc-parties {
        grid-template-columns: 1fr;
    }

    .kit-promo,
    .doc {
        padding: 22px;
    }

    .doc-head {
        flex-direction: column;
    }

    .doc-title {
        text-align: left;
    }

    .wa-float span {
        display: none;
    }

    .wa-float {
        padding: 14px;
    }

    .kit-table thead {
        display: none;
    }

    .kit-table tr {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 4px 12px;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

    .kit-table td {
        padding: 0;
        border: 0;
    }

    .kit-table td:first-child {
        grid-column: 1 / -1;
    }
}

@media print {
    .no-print,
    .wa-float,
    .page-hero {
        display: none !important;
    }

    .doc {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    body {
        font-size: 12pt;
    }
}

/* ---- Services / About / Contact pages ---- */

.reason-cta .btn {
    margin-top: 16px;
}

.contact-info .btn-whatsapp {
    margin-top: 6px;
}

@media (max-width: 1100px) and (min-width: 821px) {
    .site-nav {
        gap: 18px;
    }

    .site-nav a:not(.btn) {
        font-size: 0.92rem;
    }
}

/* When the "not sure what you need?" card ends up alone on a row, it becomes a full-width band. */
.services-grid .service-cta:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
}

.services-grid .service-cta:last-child:nth-child(3n + 1) p {
    margin: 0;
    flex: 1;
    min-width: 240px;
}

.services-grid .service-cta:last-child:nth-child(3n + 1) h3 {
    margin: 0;
}

/* The floating contact button when WhatsApp is switched off. */
.wa-float-email {
    background: var(--navy);
}

.wa-float-email:hover {
    background: var(--navy-soft);
}

/* ---- Share a product ---- */

.share {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.share-title {
    margin: 0 0 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1.5px solid #cfd6e2;
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.share-btn:hover {
    border-color: var(--navy);
    background: var(--tint);
    text-decoration: none;
}

/* A small dot in each network's own colour, so the row is easy to scan. */
.share-btn span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted);
}

.share-whatsapp span { background: #25d366; }
.share-facebook span { background: #1877f2; }
.share-x span { background: #000000; }
.share-linkedin span { background: #0a66c2; }
.share-telegram span { background: #26a5e4; }
.share-email span { background: var(--orange); }
.share-copy span { background: var(--navy); }

.share-native {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.share-native:hover {
    background: var(--navy-soft);
}

@media print {
    .share {
        display: none;
    }
}

/* ---- Custom Systems page ---- */

.services-grid .service-cta:last-child:nth-child(3n + 2) {
    grid-column: span 2;
}

.service-more {
    margin-top: 16px;
}

/* Opening: a dark stage that the preview window rises out of. */

.sx-hero {
    padding: 78px 0 250px;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(800px 420px at 85% -10%, rgba(255, 122, 0, 0.3), transparent 62%),
        radial-gradient(640px 420px at 5% 110%, rgba(42, 102, 201, 0.4), transparent 60%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
}

.sx-hero .eyebrow {
    color: #ffb066;
}

.sx-hero h1 {
    max-width: 16em;
    margin: 0 auto 18px;
    color: var(--white);
}

.sx-hero .lead {
    margin: 0 auto;
}

.sx-hero .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

.sx-show {
    position: relative;
    margin-top: -205px;
    padding-bottom: 30px;
}

/* Choose a system */

.sx-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1040px;
    margin: 0 auto 22px;
}

.sx-tab {
    --a: var(--orange);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top: 4px solid transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    font: inherit;
    text-align: left;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.sx-tab strong {
    font-size: 1.15rem;
}

.sx-tab span {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.74);
}

.sx-tab:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.sx-tab.on {
    background: var(--white);
    border-color: var(--white);
    border-top-color: var(--a);
    color: var(--navy);
    box-shadow: 0 14px 34px rgba(12, 26, 51, 0.28);
}

.sx-tab.on span {
    color: var(--muted);
}

.sx-mis { --a: #3b3f9e; --a-soft: #ecedf9; }
.sx-school { --a: #1d5fa8; --a-soft: #e8f1fb; }
.sx-pos { --a: #0f766e; --a-soft: #e3f4f2; }

/* The preview window */

.browser {
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #d5dbe6;
    box-shadow: 0 40px 90px rgba(12, 26, 51, 0.34);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    height: 46px;
    background: #e9edf3;
    border-bottom: 1px solid #d5dbe6;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ff5f57;
}

.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.screen-tabs {
    display: flex;
    align-self: flex-end;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.screen-tabs button {
    padding: 9px 20px;
    border: 0;
    border-radius: 10px 10px 0 0;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.screen-tabs button:hover {
    background: rgba(255, 255, 255, 0.6);
}

.screen-tabs button.on {
    background: var(--white);
    color: var(--a);
    box-shadow: inset 0 3px 0 var(--a);
}

.sample {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.stage {
    position: relative;
    height: 580px;
    overflow: hidden;
    background: #f5f7fb;
}

.screen {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
}

.screen.on {
    opacity: 1;
    visibility: visible;
}

.screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.canvas {
    width: 1000px;
    height: 580px;
    transform-origin: top left;
}

/* The drawn application screens. Drawn at 1000 x 580 and scaled by systems.js. */

.app {
    --a: #14284b;
    --a-deep: #0c1a33;
    --b: #ff7a00;
    --c: #8a94a6;
    display: flex;
    width: 1000px;
    height: 580px;
    font-size: 13px;
    line-height: 1.35;
    color: #2a3550;
    text-align: left;
}

.app-mis { --a: #3b3f9e; --a-deep: #23265f; --b: #19a39a; --c: #e0a11a; }
.app-school { --a: #1d5fa8; --a-deep: #123f72; --b: #f2a81d; --c: #3fb6a8; }
.app-pos { --a: #0f766e; --a-deep: #12202b; --b: #e2731a; --c: #8a8f8c; }

.app-side {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 188px;
    padding: 16px 12px;
    background: var(--a-deep);
    color: rgba(255, 255, 255, 0.76);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.app-brand i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--b), var(--a));
}

.app-side span {
    padding: 8px 10px;
    border-radius: 7px;
    font-weight: 600;
}

.app-side span.on {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: inset 3px 0 0 var(--b);
}

.app-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background: #f4f6fa;
}

.app-top {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 50px;
    padding: 0 18px;
    background: #ffffff;
    border-bottom: 1px solid #e3e8f0;
}

.app-top strong {
    flex: 1;
    font-size: 16px;
    color: #17233a;
}

.app-search {
    width: 170px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f4f8;
    color: #8792a4;
    font-size: 12px;
}

.app-user {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--a);
}

.app-body {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 16px 18px;
}

.app-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.app-kpis div {
    padding: 11px 13px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-left: 4px solid var(--a);
}

.app-kpis div:nth-child(2) { border-left-color: var(--b); }
.app-kpis div:nth-child(3) { border-left-color: var(--c); }

.app-kpis em,
.app-kpis small {
    display: block;
    font-style: normal;
    font-size: 11.5px;
    color: #7a869b;
}

.app-kpis b {
    font-size: 21px;
    color: #17233a;
}

.app-row {
    display: flex;
    gap: 13px;
}

.app-row .grow {
    flex: 1;
    min-width: 0;
}

.app-row .grow > .app-card + .app-card {
    margin-top: 13px;
}

.app-card {
    padding: 13px 15px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
}

.app h5 {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #17233a;
}

.app h5 mark {
    margin-left: 8px;
}

.hbars p {
    display: grid;
    grid-template-columns: 178px 1fr 58px;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
}

.hbars p:last-child {
    margin-bottom: 0;
}

.hbars i {
    height: 10px;
    border-radius: 5px;
    background: #edf0f5;
}

.hbars u {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: var(--a);
}

.hbars u.b { background: var(--b); }
.hbars u.c { background: var(--c); }

.hbars b {
    text-align: right;
    color: #17233a;
}

.donut {
    width: 104px;
    height: 104px;
    margin: 2px auto 10px;
    border-radius: 50%;
    background: conic-gradient(var(--a) 0 54%, var(--b) 54% 82%, var(--c) 82% 100%);
    -webkit-mask: radial-gradient(circle, transparent 37%, #000 38%);
    mask: radial-gradient(circle, transparent 37%, #000 38%);
}

.legend {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    min-width: 150px;
}

.legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 2px;
    background: var(--a);
}

.legend i.b { background: var(--b); }
.legend i.c { background: var(--c); }

.app table {
    width: 100%;
    border-collapse: collapse;
}

.app th,
.app td {
    padding: 7px 8px;
    text-align: left;
    border-bottom: 1px solid #edf0f5;
}

.app th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8792a4;
    background: #fafbfd;
}

.app tr:last-child td {
    border-bottom: 0;
}

.app table.grid td:not(:first-child),
.app table.grid th:not(:first-child) {
    text-align: center;
}

.app mark {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #eceff4;
    color: #445066;
}

.app mark.ok { background: #dff3e6; color: #17603a; }
.app mark.info { background: #e3ecfb; color: #1d4594; }
.app mark.warn { background: #fff1de; color: #8a4b00; }
.app mark.bad { background: #fdecea; color: #9b2318; }

.pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.pipeline div {
    position: relative;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-top: 4px solid var(--c);
}

.pipeline div.done {
    border-top-color: var(--a);
    background: #f3f4fc;
}

.pipeline em,
.pipeline small {
    display: block;
    font-style: normal;
    font-size: 11.5px;
    color: #7a869b;
}

.pipeline b {
    font-size: 24px;
    color: #17233a;
}

.track {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.track span {
    flex: 1;
    padding: 7px 10px;
    border-radius: 7px;
    background: #edf0f5;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    color: #7a869b;
}

.track span.on {
    background: var(--a);
    color: #ffffff;
}

.track b {
    margin-left: 4px;
}

.app-actions {
    display: flex;
    gap: 8px;
    margin: 12px 0 0;
}

.app-btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 8px;
    background: var(--a);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}

.app-btn.ghost {
    background: #ffffff;
    border: 1px solid #cfd6e2;
    color: #2a3550;
}

.app-btn.big {
    display: block;
    margin-top: 12px;
    padding: 13px;
    font-size: 14px;
    text-align: center;
}

.profile {
    width: 236px;
    text-align: center;
}

.profile p {
    margin: 0 0 8px;
    font-size: 12px;
    color: #7a869b;
}

.profile dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px 12px;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
    text-align: left;
    font-size: 12px;
}

.profile dt {
    color: #7a869b;
}

.profile dd {
    margin: 0;
    font-weight: 600;
}

.avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 4px auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a), var(--c));
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
}

.cols {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 190px;
    padding: 8px 6px 0;
    border-bottom: 2px solid #dfe5ee;
}

.cols i {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: var(--a);
}

.cols i.b {
    background: var(--b);
    margin-right: 14px;
}

.cols {
    height: 300px;
}

.legend.inline {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    min-width: 0;
}

.app-card.narrow {
    width: 290px;
}

.app-card.narrow .hbars p {
    grid-template-columns: 92px 1fr 40px;
}

/* The till has its own layout: products on the left, the sale on the right. */

.app.till .till-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background: #f4f6fa;
}

.till-cats {
    display: flex;
    gap: 7px;
    padding: 14px 18px 0;
}

.till-cats span {
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dfe5ee;
    font-weight: 600;
    font-size: 12px;
}

.till-cats span.on {
    background: var(--a-deep);
    border-color: var(--a-deep);
    color: #ffffff;
}

.till-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    padding: 14px 18px;
}

.till-grid span {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 144px;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    font-weight: 600;
}

.till-grid b {
    font-size: 17px;
    color: var(--a);
}

.till-ticket {
    width: 290px;
    padding: 18px;
    background: #ffffff;
    border-left: 1px solid #e3e8f0;
}

.till-ticket h5 {
    font-size: 15px;
}

.till-ticket p {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f5;
}

.till-ticket p.sum {
    margin-top: 6px;
    border-bottom: 0;
    border-top: 2px solid var(--a-deep);
    font-size: 19px;
    font-weight: 800;
    color: var(--a-deep);
}

.till-pay {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 8px;
}

.till-pay span {
    padding: 9px 4px;
    border-radius: 8px;
    border: 1.5px solid #cfd6e2;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
}

.till-pay span.on {
    border-color: var(--a);
    background: #e3f4f2;
    color: var(--a);
}

/* A few words under the preview */

.sx-story {
    display: grid;
    grid-template-columns: 0.85fr 1.5fr;
    gap: 44px;
    align-items: start;
    max-width: 1040px;
    margin: 40px auto 0;
}

.sx-title .sx-kind {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--a);
}

.sx-title h2 {
    margin-bottom: 10px;
    color: var(--navy);
}

.sx-title p {
    font-size: 1.08rem;
    color: var(--muted);
}

.sx-wins {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sx-wins li {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.sx-wins .icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    background: var(--a-soft);
    color: var(--a);
}

.sx-wins .icon svg {
    width: 24px;
    height: 24px;
}

.sx-wins strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
}

.sx-wins div span {
    font-size: 0.92rem;
    color: var(--muted);
}

/* The rest of the page: short and centred */

.sx-self-wrap {
    padding-top: 64px;
    padding-bottom: 72px;
}

.sx-self {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 1088px;
    padding: 34px 38px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff4e8, #ffe6cc);
    border: 1px solid #ffd3a3;
}

.sx-self > div {
    max-width: 660px;
}

.sx-self h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.sx-self p:last-child {
    margin-bottom: 0;
}

.sx-center {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sx-builds {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sx-builds li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--navy);
}

.sx-builds .icon {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
}

.sx-builds .icon svg {
    width: 20px;
    height: 20px;
}

.sx-builds .sx-more {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.sx-center p:last-child {
    color: var(--muted);
    font-size: 1.05rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.steps li {
    position: relative;
}

.steps li + li::before {
    content: "";
    position: absolute;
    top: 22px;
    right: calc(50% + 34px);
    width: calc(100% - 42px);
    height: 2px;
    background: #ffd3a3;
}

.step-num {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--navy-deep);
    font-size: 1.2rem;
    font-weight: 800;
}

.steps h3 {
    font-size: 1.1rem;
}

.steps p {
    margin: 0;
    font-size: 0.96rem;
    color: var(--muted);
}

.sx-cta {
    padding: 84px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
    background:
        radial-gradient(700px 360px at 50% 120%, rgba(255, 122, 0, 0.28), transparent 65%),
        var(--navy-deep);
}

.sx-cta h2 {
    color: var(--white);
}

.sx-cta p {
    font-size: 1.1rem;
    margin-bottom: 26px;
}

.sx-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.94rem;
}

.sx-trust li::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 6px;
    margin-right: 10px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-45deg) translateY(-3px);
}

@media (max-width: 900px) {
    .sx-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sample {
        display: none;
    }
}

@media (max-width: 700px) {
    .sx-hero {
        padding: 56px 0 210px;
    }

    .sx-show {
        margin-top: -180px;
    }

    .sx-tabs {
        gap: 8px;
    }

    .sx-tab {
        padding: 10px 12px;
    }

    .sx-tab strong {
        font-size: 0.95rem;
    }

    .sx-tab span {
        display: none;
    }

    .sx-wins,
    .steps {
        grid-template-columns: 1fr;
    }

    .steps li + li::before {
        display: none;
    }

    .screen-tabs button {
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    .dots {
        display: none;
    }

    .sx-self {
        padding: 24px;
    }
}

/* Home page teaser */

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.teaser {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--navy);
    color: var(--muted);
    transition: transform 0.2s, box-shadow 0.2s;
}

.teaser:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.teaser strong {
    font-size: 1.35rem;
    color: var(--navy);
}

.teaser-kind {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.teaser-mis { border-top-color: #3b3f9e; }
.teaser-mis .teaser-kind { color: #3b3f9e; }
.teaser-school { border-top-color: #1d5fa8; }
.teaser-school .teaser-kind { color: #1d5fa8; }
.teaser-pos { border-top-color: #0f766e; }
.teaser-pos .teaser-kind { color: #0f766e; }

@media (max-width: 1150px) and (min-width: 821px) {
    .site-nav {
        gap: 16px;
    }

    .site-nav a:not(.btn) {
        font-size: 0.9rem;
    }
}

@media (max-width: 1000px) {
    .sys-hero-inner,
    .case {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-flip .case-screen {
        order: 0;
    }

    .build-grid,
    .teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps li + li::before {
        display: none;
    }

    .services-grid .service-cta:last-child:nth-child(3n + 2) {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .build-grid,
    .teaser-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .case-screen {
        padding: 14px;
    }

    .case-self {
        padding: 24px;
    }

    .sys-hero-inner {
        padding-top: 56px;
        padding-bottom: 60px;
    }
}

/* Product photos of any shape sit inside their card without stretching it. */
.product-thumb img {
    position: absolute;
    inset: 0;
    padding: 14px;
}

.product-photo {
    position: relative;
}

.product-photo img {
    position: absolute;
    inset: 0;
    padding: 28px;
}

/* ---- Tell us your challenge (request form) ---- */

.site-nav a.nav-cta {
    padding: 9px 18px;
    color: var(--navy-deep);
    background: var(--orange);
    border-radius: 999px;
}

.site-nav a.nav-cta::after {
    display: none;
}

.site-nav a.nav-cta:hover {
    background: var(--orange-dark);
    color: var(--white);
}

.ask-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.ask-page {
    padding: 48px 0 64px;
    background: var(--tint);
}

.ask-intro h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
}

.ask-how {
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.ask-how li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-weight: 600;
    color: var(--navy);
}

.ask-how b {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 50%;
}

.ask-how li:last-child b {
    color: var(--navy-deep);
    background: var(--orange);
}

.ask-reach {
    color: var(--muted);
    font-size: 0.95rem;
}

.ask {
    padding: 28px;
}

.ask-title {
    margin: 0 0 18px;
    font-size: 1.35rem;
}

.ask-step {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    font-size: 0.78rem;
    color: var(--white);
    background: var(--orange-dark);
    border-radius: 50%;
}

.ask-needs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.ask-needs legend,
.ask-label {
    margin: 0 0 8px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.need {
    position: relative;
    cursor: pointer;
}

.need input {
    position: absolute;
    opacity: 0;
}

.need span {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
    transition: border-color 0.15s, background 0.15s;
}

.need svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.need:hover span {
    border-color: var(--navy-soft);
}

.need input:checked + span {
    background: #fff4e8;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16);
}

.need input:focus-visible + span {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

.ask .field textarea {
    min-height: 100px;
}

.ask-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.ask-contact input {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
}

.ask-contact input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.ask-send {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.05rem;
}

.ask-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.ask-done {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 0 auto;
    padding: 44px 32px;
    text-align: center;
}

.ask-done-tick {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    font-size: 2rem;
    color: var(--white);
    background: #1f8a4c;
    border-radius: 50%;
}

.ask-done-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.ask-home {
    background: var(--tint);
}

/* Home: categories as one row of chips */
.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.cat-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.cat-chips a:hover {
    text-decoration: none;
    border-color: var(--orange);
}

.cat-chips svg {
    width: 18px;
    height: 18px;
}

/* Services as short tiles, each opening the request form */
.page-hero-short {
    padding: 30px 0 32px;
}

.svc-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.svc-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.15s, transform 0.15s;
}

.svc-tile:hover {
    text-decoration: none;
    border-color: var(--orange);
    transform: translateY(-2px);
}

.svc-tile strong {
    font-size: 1.05rem;
    color: var(--navy);
}

.svc-tile em {
    margin-top: auto;
    padding-top: 8px;
    font-style: normal;
    font-weight: 700;
    color: var(--orange-dark);
}

.svc-tile em::after {
    content: " \2192";
}

.svc-tile-cta {
    color: rgba(255, 255, 255, 0.84);
    background: var(--navy);
    border-color: var(--navy);
}

.svc-tile-cta strong,
.svc-tile-cta em {
    color: var(--white);
}

/* About, short */
.about-short {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.value-chips li {
    padding: 8px 16px;
    font-weight: 600;
    color: var(--navy);
    background: var(--tint);
    border-radius: 999px;
}

@media (max-width: 860px) {
    .ask-wrap,
    .about-short {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ask-how {
        margin: 12px 0 0;
    }

    .ask-how li {
        padding: 6px 0;
    }
}

@media (max-width: 820px) {
    .site-nav a.nav-cta {
        margin-top: 12px;
        text-align: center;
        border-bottom: 0;
    }
}

@media (max-width: 520px) {
    .ask {
        padding: 20px 16px;
    }

    .ask-needs {
        grid-template-columns: 1fr 1fr;
    }

    .ask-contact {
        grid-template-columns: 1fr;
    }
}

.home-more {
    margin: 28px 0 0;
    text-align: center;
}
