:root {
    --brand: #ff5a00;
    --brand-2: #ff7a1a;
    --ink: #101114;
    --muted: #4b5563;
    --line: #ded8d2;
    --paper: #fffaf6;
    --white: #ffffff;
    --green: #0f8b6f;
    --red: #b42318;
    --shadow: 0 18px 55px rgba(23, 23, 23, .11);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
    white-space: nowrap;
    font-size: 19px;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(255, 90, 0, .22);
}

.brand strong {
    color: var(--brand);
}

.nav {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.nav a,
.admin-sidebar nav a {
    padding: 9px 10px;
    border-radius: 8px;
    color: #383838;
    font-size: 13px;
    font-weight: 700;
}

.nav a.active,
.nav a:hover,
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: #fff1e8;
    color: var(--brand);
}

.header-actions,
.hero-actions,
.form-actions,
.setup-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 16px 36px rgba(255, 90, 0, .34);
}

.hero-actions .btn.primary {
    min-height: 48px;
    padding-inline: 22px;
    box-shadow: 0 20px 44px rgba(255, 90, 0, .38);
}

.btn.dark {
    background: var(--ink);
    color: #fff;
}

.btn.ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn.small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.cart-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
}

.cart-link span {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 20px;
}

.nav-backdrop,
.mobile-menu-head,
.mobile-drawer {
    display: none;
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: clamp(30px, 5vw, 76px);
    align-items: center;
    padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 70px);
    background:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        radial-gradient(ellipse at 78% 16%, rgba(255, 90, 0, .28), transparent 32%),
        linear-gradient(125deg, #101114 0%, #20242b 48%, #fff7f0 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
}

.hero h1,
.page-title h1 {
    margin: 12px 0 18px;
    max-width: 780px;
    font-size: clamp(46px, 7vw, 94px);
    line-height: .96;
    letter-spacing: 0;
}

.hero h1 {
    color: #fff;
    text-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

.page-title h1 {
    font-size: clamp(34px, 5vw, 62px);
}

.hero p,
.page-title p {
    max-width: 760px;
    margin: 0 0 26px;
    color: #3f3f46;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.hero .eyebrow {
    color: #ffb078;
}

.hero p {
    color: #eef2f7;
}

.corporate-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 90, 0, .16), transparent 30%),
        linear-gradient(135deg, #ffffff, #fff7f0 58%, #effaf5);
    box-shadow: var(--shadow);
}

.corporate-hero h1 {
    margin: 10px 0 16px;
    max-width: 920px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
}

.corporate-hero p {
    max-width: 830px;
    color: #374151;
    font-size: 18px;
    line-height: 1.7;
}

.corporate-logo-panel {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 90, 0, .22);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.corporate-logo-panel img {
    width: min(100%, 260px);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 24px 58px rgba(255, 90, 0, .2);
}

.corporate-logo-panel strong {
    max-width: 320px;
    font-size: 20px;
    line-height: 1.35;
}

.corporate-stats,
.corporate-split,
.corporate-values,
.works-feature {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.corporate-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.corporate-split,
.works-feature {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.corporate-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.corporate-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 28px;
}

.corporate-stats article,
.corporate-split article,
.corporate-values article,
.works-feature article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 23, 23, .05);
}

.corporate-stats strong {
    display: block;
    color: var(--brand);
    font-size: 34px;
    line-height: 1;
}

.corporate-stats span,
.works-feature span {
    display: block;
    margin: 8px 0;
    color: var(--ink);
    font-weight: 900;
}

.corporate-stats p,
.corporate-split p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.corporate-split h2 {
    margin: 10px 0 12px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
}

.corporate-values article {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.corporate-values span {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.corporate-values strong,
.works-feature strong {
    color: #1f2937;
    line-height: 1.45;
}

.works-feature {
    margin-bottom: 20px;
}

.works-feature article {
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .08), rgba(15, 139, 111, .07)),
        #fff;
}

.works-app-head {
    margin-top: 36px;
}

.eyebrow {
    display: inline-flex;
    color: var(--brand);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}

.top-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.top-ad span {
    color: #f3f4f6;
}

.top-ad a {
    color: #fff;
    border-bottom: 2px solid var(--brand);
}

.hero-slider,
.hero-panel {
    display: grid;
    gap: 22px;
    align-content: center;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        radial-gradient(ellipse at 78% 16%, rgba(255, 90, 0, .18), transparent 36%),
        linear-gradient(125deg, rgba(16, 17, 20, .8), rgba(32, 36, 43, .68));
    background-size: 34px 34px, 34px 34px, auto, auto;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .22);
}

.hero-slider {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.slides {
    position: relative;
    min-height: 420px;
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateX(18px);
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--slide-accent) 18%, transparent), transparent 42%),
        rgba(255, 255, 255, .06);
    z-index: -1;
}

.hero-panel img,
.hero-slider img {
    width: min(260px, 58%);
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(255, 90, 0, .25);
}

.hero-panel strong,
.hero-slider strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 24px;
}

.hero-panel span,
.hero-slider span {
    display: block;
    margin-bottom: 16px;
    color: #e5e7eb;
    line-height: 1.6;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-trust span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(23, 23, 23, .05);
}

.tech-ribbon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: #2a2f36;
}

.tech-ribbon article {
    padding: clamp(22px, 4vw, 34px);
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .11), transparent),
        #111318;
    color: #fff;
}

.tech-ribbon span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--brand);
    font-weight: 900;
}

.tech-ribbon h3 {
    margin: 18px 0 10px;
    font-size: 24px;
}

.tech-ribbon p {
    margin: 0;
    color: #cdd5df;
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-controls button {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    cursor: pointer;
}

.slider-controls button.active {
    background: var(--brand);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-block: 1px solid var(--line);
}

.metrics div {
    padding: 28px clamp(18px, 4vw, 48px);
    background: #fff;
}

.metrics strong {
    display: block;
    color: var(--brand);
    font-size: clamp(28px, 4vw, 42px);
}

.metrics span,
.stat-card span,
.product-card small,
.reference span,
.project span {
    color: var(--muted);
    font-weight: 700;
}

.home-intro {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(46px, 7vw, 78px) clamp(18px, 5vw, 72px);
    background: var(--ink);
    color: #fff;
}

.home-intro h2,
.home-capabilities h2,
.home-cta h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.06;
}

.home-intro p,
.home-capabilities p,
.home-cta p {
    margin: 0;
    color: #d7d7d7;
    font-size: 18px;
    line-height: 1.7;
}

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

.industry-grid article,
.process-grid article {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 23, 23, .05);
}

.industry-grid article {
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .08), rgba(15, 139, 111, .05)),
        #fff;
}

.industry-grid h3,
.process-grid h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.15;
}

.industry-grid p,
.process-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.process-grid article {
    position: relative;
    overflow: hidden;
}

.process-grid article::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 90, 0, .1);
}

.process-grid span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
}

.home-capabilities {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .12), rgba(15, 139, 111, .08)),
        var(--paper);
    border-block: 1px solid var(--line);
}

.home-capabilities p,
.home-cta p {
    color: #4b5563;
}

.capability-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.capability-list span {
    padding: 12px 14px;
    border: 1px solid rgba(255, 90, 0, .22);
    border-radius: 8px;
    background: #fff;
    color: #343434;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(23, 23, 23, .05);
}

.home-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: clamp(26px, 5vw, 62px) clamp(18px, 5vw, 72px);
    padding: clamp(28px, 5vw, 48px);
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(255, 90, 0, .22);
    box-shadow: var(--shadow);
}

.home-cta h2 {
    max-width: 900px;
}

.section,
.page-shell {
    padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.section.band {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.section-head,
.page-title.split {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 8px 0 0;
    max-width: 760px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
}

.section-head a {
    color: var(--brand);
    font-weight: 900;
}

.service-grid,
.product-grid,
.reference-grid,
.project-grid,
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.store-layout .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
    gap: 12px;
}

.store-page {
    padding-top: 22px;
}

.store-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 90, 0, .2), transparent 26%),
        linear-gradient(135deg, #15161a, #30343a 58%, #173f35);
    color: #fff;
    box-shadow: 0 18px 48px rgba(23, 23, 23, .12);
}

.store-hero h1 {
    margin: 7px 0 8px;
    max-width: 820px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.04;
}

.store-hero p {
    max-width: 720px;
    color: #e5e7eb;
    font-size: 15px;
    line-height: 1.5;
}

.store-hero .hero-actions {
    margin-top: 12px;
}

.store-hero .btn {
    min-height: 42px;
}

.store-hero-count {
    display: grid;
    min-width: 178px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.store-hero-count strong {
    color: #fff;
    font-size: 40px;
    line-height: 1;
}

.store-hero-count span {
    margin-top: 4px;
    color: #fff;
    font-weight: 900;
}

.store-hero-count small {
    margin-top: 7px;
    color: #cbd5e1;
    font-weight: 800;
}

.store-mini-promos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
}

.store-mini-promos article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 90, 0, .22);
    border-radius: 8px;
    background: #fffaf7;
}

.store-mini-promos span {
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.store-mini-promos strong {
    grid-column: 2;
    color: var(--ink);
}

.store-mini-promos p {
    grid-column: 2;
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-mini-promos a {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: var(--brand);
    font-weight: 900;
    white-space: nowrap;
}

.store-promo {
    align-self: stretch;
    padding: 22px;
    border: 1px solid rgba(255, 90, 0, .28);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 14px 36px rgba(23, 23, 23, .07);
}

.store-promo span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.store-promo h2 {
    margin: 10px 0;
    font-size: 24px;
    color: var(--ink);
}

.store-promo p {
    margin: 0 0 14px;
    font-size: 15px;
    color: #374151;
    font-weight: 700;
}

.store-promo a {
    color: var(--brand);
    font-weight: 900;
}

.store-menu {
    position: sticky;
    top: 82px;
    z-index: 12;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 9px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 28px rgba(23, 23, 23, .05);
}

.store-menu a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 900;
}

.store-menu a.active {
    border-color: var(--brand);
    background: #fff1e8;
    color: var(--brand);
}

.featured-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: 0 0 14px;
    padding: 8px 0;
    border-block: 1px solid var(--line);
}

.store-page .featured-strip {
    margin-bottom: 12px;
}

.strip-title {
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.strip-window {
    min-width: 0;
    overflow: hidden;
}

.strip-track {
    display: flex;
    gap: 24px;
    min-width: 0;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
}

.strip-track a {
    color: #343434;
    font-weight: 800;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.store-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
}

.store-sidebar {
    position: sticky;
    top: 94px;
    align-self: start;
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.store-sidebar h2 {
    margin: 0 0 6px;
    font-size: 17px;
}

.store-search {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 90, 0, .18);
    border-radius: 8px;
    background: #fffaf7;
}

.store-search label {
    display: grid;
    gap: 7px;
    color: #374151;
    font-size: 12px;
    font-weight: 900;
}

.store-search input[type="search"] {
    width: 100%;
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    outline: none;
}

.store-search input[type="search"]:focus {
    border-color: rgba(255, 90, 0, .55);
    box-shadow: 0 0 0 3px rgba(255, 90, 0, .12);
}

.store-search div {
    display: flex;
    gap: 7px;
}

.store-search .btn {
    flex: 1 1 auto;
    justify-content: center;
}

.store-mobile-search {
    display: none;
    margin-bottom: 12px;
}

.store-sidebar a {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.store-sidebar a.active,
.store-sidebar a:hover {
    border-color: rgba(255, 90, 0, .26);
    background: #fff7f0;
}

.store-sidebar span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.store-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.store-toolbar span {
    color: var(--muted);
    font-weight: 800;
}

.store-contact-box {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.store-contact-box > span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.store-proof {
    padding-inline: 0;
    padding-bottom: 0;
}

.testimonial-grid,
.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card,
.app-showcase {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 23, 23, .05);
}

.testimonial-card {
    padding: 22px;
}

.stars {
    color: var(--brand);
    font-size: 18px;
    letter-spacing: 0;
}

.stars span {
    color: #d5d5d5;
}

.testimonial-card p {
    color: #4b5563;
    line-height: 1.62;
}

.testimonial-card strong,
.testimonial-card small {
    display: block;
}

.testimonial-card small {
    margin-top: 5px;
    color: var(--muted);
}

.app-showcase {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 18px;
    padding: 18px;
    align-items: center;
}

.app-showcase img {
    width: 132px;
    height: 132px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--paper);
}

.app-showcase span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.app-showcase h3 {
    margin: 8px 0;
    font-size: 22px;
}

.app-showcase p {
    color: var(--muted);
    line-height: 1.55;
}

.project-grid {
    margin-top: 22px;
}

.tile,
.product-card,
.reference,
.project,
.stat-card,
.panel-box,
.panel-form,
.contact-form,
.checkout-form,
.cart-box,
.contact-card,
.auth-card,
.setup-shell {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 23, 23, .05);
}

.tile,
.reference,
.project,
.stat-card {
    padding: 24px;
}

.tile .icon,
.service-list .icon {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
}

.tile h3,
.product-card h3,
.reference h3,
.project h3 {
    margin: 16px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.product-card h3 {
    display: -webkit-box;
    height: 40px;
    margin: 10px 0 7px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tile p,
.product-card p,
.reference p,
.project p {
    color: var(--muted);
    line-height: 1.58;
}

.product-card p {
    display: -webkit-box;
    height: 38px;
    margin: 0 0 10px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 0 12px;
}

.product-meta span {
    padding: 5px 7px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #4b5563;
    font-size: 11px;
    font-weight: 800;
}

.store-layout .product-card p,
.store-layout .product-meta span:nth-child(2),
.store-layout .product-actions [data-product-detail] {
    display: none;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 248px;
    padding: 12px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 90, 0, .28);
    box-shadow: 0 18px 42px rgba(23, 23, 23, .09);
}

.product-card small {
    min-height: 18px;
    font-size: 11px;
}

.product-media {
    display: grid;
    place-items: center;
    height: 92px;
    margin: -4px -4px 9px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .12), rgba(15, 139, 111, .08)),
        #fffaf6;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: none;
}

.badge {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #e9faf4;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.product-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
    margin-top: auto;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.product-bottom .btn {
    min-height: 34px;
    padding-inline: 12px;
}

.product-bottom del {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.product-bottom strong {
    font-size: 17px;
    line-height: 1.08;
}

.reference strong {
    display: block;
    margin-top: 14px;
    color: var(--green);
    line-height: 1.4;
}

.page-shell.narrow {
    max-width: 980px;
    margin: 0 auto;
}

.service-list {
    display: grid;
    gap: 16px;
}

.service-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: #343434;
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    font: inherit;
    background: #fff;
}

textarea {
    resize: vertical;
}

.full {
    grid-column: 1 / -1;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check input {
    width: auto;
    min-height: auto;
}

.contact-form,
.checkout-form,
.cart-box,
.panel-form,
.panel-box {
    padding: 24px;
}

.contact-card {
    min-width: 280px;
    padding: 22px;
}

.contact-card strong,
.contact-card a {
    display: block;
    margin-bottom: 8px;
}

.cart-row,
.totals span {
    display: grid;
    grid-template-columns: 1fr 100px 130px;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.cart-row span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.totals {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.totals span {
    grid-template-columns: 1fr auto;
    border: 0;
    padding: 4px 0;
}

.auth-shell,
.setup-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #fff7f0, #ffffff 46%, #eefaf5);
}

.auth-card,
.setup-shell {
    width: min(100%, 480px);
    padding: 30px;
}

.auth-card img,
.setup-logo {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
}

.hidden {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 68;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(14, 16, 20, .62);
    backdrop-filter: blur(10px);
}

.product-dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    gap: 24px;
    width: min(100%, 880px);
    max-height: min(86vh, 720px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(255, 90, 0, .24);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.product-dialog-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .14), rgba(15, 139, 111, .12)),
        #fff8f3;
    overflow: hidden;
}

.product-dialog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-dialog-media span {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #e9faf4;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.product-dialog-info {
    display: flex;
    flex-direction: column;
    padding: 10px 8px 8px;
}

.product-dialog-info h2 {
    margin: 8px 34px 10px 0;
    font-size: clamp(26px, 3.4vw, 42px);
    line-height: 1.05;
}

.product-dialog-info p {
    color: var(--muted);
    line-height: 1.62;
}

.product-dialog-info .lead {
    color: #293241;
    font-size: 17px;
    font-weight: 800;
}

.product-dialog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.product-dialog-meta span {
    padding: 8px 10px;
    border-radius: 8px;
    background: #f4f6f8;
    color: #374151;
    font-size: 12px;
    font-weight: 900;
}

.product-dialog-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
}

.product-dialog-bottom del {
    display: block;
    color: var(--muted);
}

.product-dialog-bottom strong {
    display: block;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.05;
}

.product-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
}

.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(23, 23, 23, .52);
}

.promo-modal.hidden {
    display: none;
}

.promo-dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 30px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 90, 0, .12), rgba(15, 139, 111, .09)),
        #fff;
    box-shadow: var(--shadow);
}

.promo-dialog h2 {
    margin: 10px 0;
    font-size: 34px;
    line-height: 1.06;
}

.promo-dialog p {
    color: var(--muted);
    line-height: 1.6;
}

.promo-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 24px;
    cursor: pointer;
}

.auth-card form {
    display: grid;
    gap: 14px;
}

.flash,
.alert {
    margin: 16px clamp(18px, 5vw, 72px);
    padding: 13px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.flash.success,
.alert.success {
    background: #e9faf4;
    color: #08624f;
}

.flash.warning,
.alert.warning {
    background: #fff7df;
    color: #8a5b00;
}

.flash.error,
.alert.error {
    background: #fff0ee;
    color: var(--red);
}

.footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    padding: 36px clamp(18px, 5vw, 72px);
    background: var(--ink);
    color: #fff;
}

.footer img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.footer p,
.footer a {
    display: block;
    color: #d7d7d7;
    line-height: 1.6;
}

.mobile-bottom-nav {
    display: none;
}

.chat-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 55;
}

.chat-fab {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 35px rgba(255, 90, 0, .34);
    cursor: pointer;
}

.chat-panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 62px;
    width: min(370px, calc(100vw - 28px));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-widget.open .chat-panel {
    display: block;
}

.chat-panel header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: var(--ink);
    color: #fff;
}

.chat-panel header span {
    display: block;
    color: #d7d7d7;
    font-size: 12px;
    margin-top: 3px;
}

.chat-panel header button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.chat-messages {
    display: grid;
    gap: 10px;
    max-height: 330px;
    overflow-y: auto;
    padding: 14px;
    background: #fffaf6;
}

.chat-messages .bot,
.chat-messages .user {
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1.45;
    font-size: 14px;
}

.chat-messages .bot {
    background: #fff;
    border: 1px solid var(--line);
}

.chat-messages .thinking {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-messages .thinking span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    animation: chatPulse 1s infinite ease-in-out;
}

.chat-messages .thinking span:nth-child(2) {
    animation-delay: .16s;
}

.chat-messages .thinking span:nth-child(3) {
    animation-delay: .32s;
}

.chat-messages .thinking em {
    margin-left: 4px;
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
}

@keyframes chatPulse {
    0%, 80%, 100% { transform: scale(.72); opacity: .45; }
    40% { transform: scale(1); opacity: 1; }
}

.chat-messages .user {
    justify-self: end;
    background: var(--brand);
    color: #fff;
}

.chat-messages a {
    display: block;
    margin-top: 7px;
    color: var(--brand);
    font-weight: 900;
}

.chat-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
}

.chat-panel form button {
    border: 0;
    border-radius: 8px;
    padding: 0 12px;
    background: var(--ink);
    color: #fff;
    font-weight: 900;
}

.admin-body {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
    background: #fafafa;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border-right: 1px solid var(--line);
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-main {
    min-width: 0;
    padding: 24px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
    padding: 28px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 16%, rgba(255, 90, 0, .22), transparent 28%),
        linear-gradient(135deg, #101114, #2b2f36);
    color: #fff;
    box-shadow: var(--shadow);
}

.admin-hero span {
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-hero h1 {
    max-width: 850px;
    margin: 10px 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.admin-hero p {
    max-width: 760px;
    margin: 0;
    color: #e5e7eb;
    line-height: 1.65;
}

.admin-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: end;
}

.admin-control-center,
.admin-section-head {
    margin: 22px 0;
}

.admin-section-head h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.admin-section-head p {
    margin: 0;
    color: var(--muted);
}

.admin-control-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-control-grid a {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23, 23, 23, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-control-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 90, 0, .34);
    box-shadow: 0 18px 38px rgba(23, 23, 23, .08);
}

.admin-control-grid strong {
    font-size: 18px;
}

.admin-control-grid span {
    color: var(--muted);
    line-height: 1.5;
}

.admin-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-mini-stats div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf6;
}

.admin-mini-stats span,
.admin-mini-stats strong {
    display: block;
}

.admin-mini-stats span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-mini-stats strong {
    margin-top: 6px;
    font-size: 24px;
}

.admin-title h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.admin-title p {
    margin: 0 0 22px;
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

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

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

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

.inline-form select {
    width: auto;
    min-width: 120px;
}

@media (max-width: 1120px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid,
    .reference-grid,
    .project-grid,
    .testimonial-grid,
    .app-showcase-grid,
    .tech-ribbon,
    .industry-grid,
    .process-grid,
    .dashboard-grid,
    .store-hero,
    .store-layout,
    .home-intro,
    .home-capabilities,
    .home-cta,
    .corporate-hero,
    .corporate-stats,
    .corporate-values,
    .works-feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-control-grid,
    .admin-mini-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-hero {
        grid-template-columns: 1fr;
    }

    .admin-hero-actions {
        justify-content: start;
    }
}

.home-cta .btn.primary {
    min-height: 52px;
    padding-inline: 26px;
    box-shadow: 0 24px 54px rgba(255, 90, 0, .42);
}

@media (max-width: 820px) {
    .site-header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        grid-template-columns: 1fr auto;
        min-height: 86px;
        padding: 12px 22px;
        box-shadow: 0 12px 28px rgba(23, 23, 23, .08);
    }

    .brand {
        font-size: 21px;
        font-weight: 900;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .nav-toggle {
        display: block;
    }

    .nav,
    .header-actions {
        grid-column: 1 / -1;
        display: none;
        justify-content: start;
    }

    .site-header.nav-open .nav,
    .site-header.nav-open .header-actions {
        display: flex;
    }

    .hero,
    .footer,
    .admin-body {
        grid-template-columns: 1fr;
    }

    body {
        padding-top: 86px;
        padding-bottom: 76px;
    }

    .hero {
        min-height: auto;
    }

    .metrics,
    .product-grid,
    .service-grid,
    .reference-grid,
    .project-grid,
    .testimonial-grid,
    .app-showcase-grid,
    .tech-ribbon,
    .industry-grid,
    .process-grid,
    .dashboard-grid,
    .store-hero,
    .store-layout,
    .home-intro,
    .home-capabilities,
    .home-cta,
    .corporate-hero,
    .corporate-stats,
    .corporate-split,
    .corporate-values,
    .works-feature,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .corporate-page,
    .works-page,
    .reference-page {
        padding-inline: 14px;
    }

    .corporate-hero,
    .corporate-stats article,
    .corporate-split article,
    .corporate-values article,
    .works-feature article {
        padding: 16px;
    }

    .corporate-hero h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .corporate-hero p {
        font-size: 15px;
    }

    .corporate-logo-panel img {
        width: 150px;
    }

    .admin-control-grid,
    .admin-mini-stats {
        grid-template-columns: 1fr;
    }

    .home-cta {
        margin-inline: 18px;
    }

    .hero-trust {
        gap: 8px;
    }

    .hero-trust span,
    .capability-list span {
        font-size: 12px;
    }

    .top-ad,
    .featured-strip,
    .store-toolbar {
        display: grid;
        justify-items: start;
    }

    .store-menu {
        top: 86px;
        margin-inline: -2px;
    }

    .store-page {
        padding: 16px 12px 92px;
    }

    .store-hero {
        gap: 14px;
        padding: 15px;
    }

    .store-hero p {
        font-size: 13px;
        line-height: 1.42;
    }

    .store-hero-count {
        display: none;
    }

    .store-page .featured-strip {
        display: none;
    }

    .store-mobile-search {
        display: grid;
    }

    .store-mini-promos {
        grid-template-columns: 1fr;
    }

    .store-mini-promos article {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .store-mini-promos a {
        grid-column: 2;
        grid-row: auto;
    }

    .store-layout .product-grid {
        grid-template-columns: repeat(2, minmax(142px, 1fr));
        gap: 10px;
    }

    .store-layout .product-card {
        min-height: 252px;
        padding: 10px;
    }

    .store-layout .product-media {
        height: 88px;
        margin-bottom: 8px;
    }

    .store-layout .product-card h3 {
        min-height: 35px;
        margin: 10px 0 7px;
        font-size: 14px;
    }

    .store-layout .product-card p {
        min-height: 34px;
        font-size: 12px;
    }

    .store-layout .product-meta span:nth-child(2) {
        display: none;
    }

    .store-layout .product-bottom {
        display: grid;
        gap: 8px;
    }

    .store-layout .product-actions {
        justify-content: stretch;
    }

    .store-layout .product-actions .btn,
    .store-layout .product-actions form {
        flex: 1 1 auto;
    }

    .store-layout .product-actions .btn {
        width: 100%;
    }

    .product-dialog {
        grid-template-columns: 1fr;
        gap: 14px;
        width: min(100%, 520px);
        max-height: 92vh;
        padding: 12px;
    }

    .product-dialog-media {
        min-height: 210px;
    }

    .product-dialog-bottom {
        display: grid;
        align-items: stretch;
    }

    .product-dialog-bottom .btn {
        width: 100%;
    }

    .hero-slider {
        min-height: 430px;
    }

    .slides {
        min-height: 350px;
    }

    .store-sidebar {
        display: none;
    }

    .app-showcase {
        grid-template-columns: 88px 1fr;
    }

    .app-showcase img {
        width: 88px;
        height: 88px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 54;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(12px);
    }

    .mobile-bottom-nav a {
        display: grid;
        justify-items: center;
        gap: 3px;
        color: #2f2f2f;
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-bottom-nav span {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: #fff1e8;
        color: var(--brand);
        font-size: 16px;
    }

    .chat-widget {
        right: 12px;
        bottom: 86px;
    }

    .chat-fab {
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }

    .chat-panel {
        position: fixed;
        inset: auto 10px 82px 10px;
        width: auto;
        max-height: 70vh;
    }

    .section-head,
    .page-title.split {
        display: block;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-main {
        padding: 16px;
    }
}

/* Mobile app experience */
@media (max-width: 820px) {
    :root {
        --mobile-gutter: 16px;
        --mobile-nav-height: 76px;
        --mobile-radius: 22px;
        --shadow: 0 10px 30px rgba(16, 17, 20, .08);
    }

    html { scroll-behavior: smooth; }

    body {
        padding-top: calc(68px + env(safe-area-inset-top));
        padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
        background: #f7f6f4;
        -webkit-tap-highlight-color: transparent;
        overscroll-behavior-y: none;
    }

    .site-header {
        min-height: calc(68px + env(safe-area-inset-top));
        padding: calc(10px + env(safe-area-inset-top)) var(--mobile-gutter) 10px;
        border: 0;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 1px 0 rgba(16, 17, 20, .07);
        backdrop-filter: blur(22px) saturate(180%);
    }

    .brand { gap: 10px; font-size: 17px; letter-spacing: -.3px; }
    .brand img { width: 40px; height: 40px; box-shadow: 0 5px 16px rgba(255,90,0,.2); }

    .nav-toggle {
        display: grid;
        place-content: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 14px;
        background: #f2f1ef;
    }
    .nav-toggle span { width: 19px; height: 2px; border-radius: 2px; background: var(--ink); transition: .2s ease; }
    .site-header.nav-open .nav-toggle span:first-child { transform: translateY(6px) rotate(45deg); }
    .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.nav-open .nav-toggle span:last-child { transform: translateY(-6px) rotate(-45deg); }

    body.nav-drawer-open { overflow: hidden; touch-action: none; }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 55;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(8, 10, 13, .48);
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(3px);
        transition: opacity .25s ease, visibility .25s ease;
    }
    .site-header.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

    .mobile-menu-head,
    .site-header .nav,
    .site-header .header-actions {
        position: fixed;
        right: 0;
        z-index: 56;
        display: flex;
        width: min(88vw, 370px);
        margin: 0;
        padding-inline: 20px;
        border: 0;
        background: #fff;
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .3s cubic-bezier(.22,.8,.25,1), visibility .3s ease;
    }
    .site-header.nav-open .mobile-menu-head,
    .site-header.nav-open .nav,
    .site-header.nav-open .header-actions { transform: translateX(0); visibility: visible; }

    .mobile-menu-head {
        top: 0;
        align-items: center;
        justify-content: space-between;
        height: calc(88px + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
        border-radius: 26px 0 0 0;
    }
    .mobile-menu-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
    .mobile-menu-brand img { width: 42px; height: 42px; border-radius: 14px; object-fit: cover; }
    .mobile-menu-brand div { display: grid; gap: 3px; min-width: 0; }
    .mobile-menu-brand strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-menu-brand span { color: #85858b; font-size: 11px; }
    .mobile-menu-head > button {
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 13px;
        background: #f2f1ef;
        color: var(--ink);
        font-size: 25px;
    }

    .site-header .nav {
        top: calc(88px + env(safe-area-inset-top));
        bottom: 128px;
        flex-direction: column;
        justify-content: flex-start;
        gap: 5px;
        overflow-y: auto;
        padding-top: 10px;
        padding-bottom: 16px;
    }
    .site-header .nav a {
        position: relative;
        flex: 0 0 auto;
        padding: 15px 16px;
        border-radius: 15px;
        color: #282a2e;
        font-size: 15px;
        font-weight: 750;
    }
    .site-header .nav a::after { content: '›'; position: absolute; right: 16px; color: #aaa; font-size: 22px; line-height: 16px; }
    .site-header .nav a.active { background: #fff0e7; color: var(--brand); }

    .site-header .header-actions {
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
        height: 128px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        border-radius: 0 0 0 26px;
        box-shadow: 0 -12px 24px rgba(16,17,20,.04);
    }
    .site-header .header-actions > * { width: 100%; min-height: 44px; border-radius: 14px; }
    .site-header .header-actions .cart-link { display: none; }

    .top-ad { padding: 9px 14px; gap: 4px; text-align: center; font-size: 12px; }
    .top-ad span { display: none; }

    .hero {
        min-height: 580px;
        padding: 42px var(--mobile-gutter) 34px;
        gap: 26px;
        background: radial-gradient(circle at 85% 12%, rgba(255,90,0,.38), transparent 32%), linear-gradient(150deg,#101114 0%,#22252b 70%,#3b281e 100%);
        border-radius: 0 0 30px 30px;
    }
    .hero h1, .page-title h1 { margin: 12px 0 16px; font-size: clamp(38px, 11vw, 52px); line-height: .98; letter-spacing: -1.8px; }
    .hero p, .page-title p { margin-bottom: 22px; font-size: 16px; line-height: 1.55; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-actions .btn { width: 100%; min-height: 50px; padding: 0 12px; border-radius: 15px; font-size: 13px; }
    .hero-trust { display: flex; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
    .hero-trust span { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); }
    .hero-slider { min-height: 360px; border-radius: 22px; }
    .slides { min-height: 300px; }

    .section, .page-shell { padding: 30px var(--mobile-gutter); }
    .section { overflow: hidden; }
    .section.band { margin: 10px; padding-inline: 12px; border-radius: 26px; }
    .section-head { margin-bottom: 18px; }
    .section-head h2, .home-intro h2 { font-size: 28px; line-height: 1.08; letter-spacing: -1px; }
    .eyebrow { font-size: 11px; letter-spacing: 1.2px; }

    .metrics {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 14px var(--mobile-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .metrics div { flex: 0 0 45%; min-width: 145px; padding: 18px 16px; border-radius: 18px; scroll-snap-align: start; background: #fff; box-shadow: 0 4px 18px rgba(16,17,20,.05); }
    .metrics strong { font-size: 26px; }

    .tech-ribbon, .service-grid, .industry-grid, .process-grid, .testimonial-grid, .reference-grid, .project-grid, .app-showcase-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-right: calc(var(--mobile-gutter) * -1);
        padding-right: var(--mobile-gutter);
    }
    .tech-ribbon > *, .service-grid > *, .industry-grid > *, .process-grid > *, .testimonial-grid > *, .reference-grid > *, .project-grid > *, .app-showcase-grid > * {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }
    .tech-ribbon > * { flex-basis: 44%; }
    .tile, .product-card, .reference, .project, .testimonial, .app-showcase, .panel-box, .contact-form, .cart-box, .contact-card, .auth-card {
        border-radius: var(--mobile-radius);
        box-shadow: 0 6px 24px rgba(16,17,20,.06);
    }
    .tile { padding: 20px; }

    .home-intro, .home-capabilities, .home-cta, .corporate-hero, .works-feature { border-radius: 26px; padding: 22px; }
    .home-cta { margin: 12px 10px 30px; }

    .page-title { padding: 8px 0 4px; }
    .page-title h1 { color: var(--ink); }
    .corporate-page, .works-page, .reference-page, .store-page { padding: 18px var(--mobile-gutter) 32px; }

    .store-hero { border-radius: 24px; padding: 22px; background: linear-gradient(145deg,#15171b,#292d34); }
    .store-hero h1 { font-size: 34px; }
    .store-menu {
        top: calc(68px + env(safe-area-inset-top));
        gap: 8px;
        margin: 14px calc(var(--mobile-gutter) * -1) 12px;
        padding: 8px var(--mobile-gutter);
        border: 0;
        background: rgba(247,246,244,.92);
        backdrop-filter: blur(18px);
        scrollbar-width: none;
    }
    .store-menu a { flex: 0 0 auto; padding: 10px 15px; border: 1px solid #e5e1dc; border-radius: 999px; background: #fff; }
    .store-menu a.active { border-color: var(--brand); background: var(--brand); color: #fff; }
    .store-mobile-search { padding: 7px; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(16,17,20,.05); }
    .store-mobile-search input { min-height: 44px; border: 0; background: transparent; }
    .store-mini-promos { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; }
    .store-mini-promos article { flex: 0 0 88%; border-radius: 18px; }
    .store-layout .product-grid { gap: 12px; }
    .store-layout .product-card { min-height: 300px; padding: 10px; border: 0; border-radius: 18px; background: #fff; }
    .store-layout .product-media { height: 120px; border-radius: 13px; }
    .store-layout .product-card h3 { font-size: 14px; line-height: 1.25; }
    .store-layout .product-actions .btn { min-height: 40px; border-radius: 12px; font-size: 12px; }

    input, select, textarea { min-height: 50px; border-radius: 14px !important; font-size: 16px !important; }
    textarea { min-height: 120px; }
    .form-actions { display: grid; grid-template-columns: 1fr; }
    .form-actions .btn, .checkout-form > .btn, .contact-form > .btn, .auth-card .btn { width: 100%; min-height: 52px; border-radius: 15px; }
    .cart-row { gap: 12px; padding: 16px 0; }
    .totals { border-radius: 16px; padding: 16px; background: #f8f6f3; }
    .auth-shell { min-height: calc(100dvh - 144px); padding: 18px var(--mobile-gutter); align-items: center; }
    .auth-card { padding: 24px 20px; }

    .footer { display: none; }
    .mobile-bottom-nav {
        height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
        padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 22px 22px 0 0;
        background: rgba(255,255,255,.94);
        box-shadow: 0 -8px 30px rgba(16,17,20,.09);
        backdrop-filter: blur(22px) saturate(180%);
    }
    .mobile-bottom-nav a { position: relative; align-content: center; gap: 2px; color: #7b7b80; font-size: 10px; font-weight: 700; transition: color .18s ease; }
    .mobile-bottom-nav a.active { color: var(--brand); }
    .mobile-bottom-nav span { position: relative; width: 32px; height: 30px; border-radius: 12px; background: transparent; color: currentColor; }
    .mobile-bottom-nav a.active span { background: #fff0e7; }
    .mobile-bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .mobile-bottom-nav b { position: absolute; top: -3px; right: -6px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; background: var(--brand); color: #fff; font-size: 9px; }

    .chat-widget { right: 12px; bottom: calc(var(--mobile-nav-height) + 12px + env(safe-area-inset-bottom)); }
    .chat-fab { width: 48px; height: 48px; min-height: 48px; padding: 0; overflow: hidden; border-radius: 16px; font-size: 0; box-shadow: 0 10px 28px rgba(255,90,0,.32); }
    .chat-fab::after { content: 'AI'; font-size: 13px; font-weight: 900; }
    .chat-panel { inset: auto 10px calc(var(--mobile-nav-height) + 8px + env(safe-area-inset-bottom)) 10px; max-height: min(72dvh, 620px); border-radius: 24px; }
}

@media (max-width: 370px) {
    .brand span { font-size: 15px; }
    .hero h1, .page-title h1 { font-size: 36px; }
    .hero-actions { grid-template-columns: 1fr; }
    .store-layout .product-grid { grid-template-columns: 1fr; }
    .store-layout .product-card { min-height: auto; }
}

/* Standalone mobile drawer: kept outside the sticky header for reliable viewport sizing */
@media (max-width: 820px) {
    .site-header .nav,
    .site-header .header-actions {
        display: none !important;
        position: static;
        transform: none;
        visibility: visible;
    }

    .nav-backdrop {
        z-index: 10000;
        transform: translateZ(0);
    }
    body.nav-drawer-open .nav-backdrop { opacity: 1; visibility: visible; }

    .mobile-drawer {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: min(88vw, 370px);
        height: 100dvh;
        height: 100svh;
        overflow: hidden;
        border-radius: 28px 0 0 28px;
        background: #fff;
        box-shadow: -18px 0 50px rgba(8,10,13,.18);
        transform: translate3d(105%, 0, 0);
        visibility: hidden;
        transition: transform .3s cubic-bezier(.22,.8,.25,1), visibility .3s ease;
        will-change: transform;
    }
    body.nav-drawer-open .mobile-drawer { transform: translate3d(0,0,0); visibility: visible; }

    .mobile-drawer .mobile-menu-head {
        position: static;
        z-index: auto;
        display: flex;
        width: 100%;
        height: auto;
        min-height: calc(82px + env(safe-area-inset-top));
        padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
        border-bottom: 1px solid #eeeae6;
        border-radius: 0;
        transform: none;
        visibility: visible;
    }

    .mobile-drawer-nav {
        display: flex;
        flex-direction: column;
        gap: 5px;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 12px 16px 20px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-drawer-nav a {
        position: relative;
        flex: 0 0 auto;
        padding: 15px 42px 15px 16px;
        border-radius: 15px;
        color: #282a2e;
        font-size: 15px;
        font-weight: 750;
    }
    .mobile-drawer-nav a::after {
        content: '›';
        position: absolute;
        top: 50%;
        right: 17px;
        color: #aaa;
        font-size: 22px;
        transform: translateY(-52%);
    }
    .mobile-drawer-nav a.active { background: #fff0e7; color: var(--brand); }

    .mobile-drawer-actions {
        display: grid;
        gap: 8px;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        border-top: 1px solid #eeeae6;
        background: #fff;
    }
    .mobile-drawer-actions .btn { width: 100%; min-height: 48px; border-radius: 15px; }

    .mobile-bottom-nav {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        z-index: 9999 !important;
        width: 100% !important;
        transform: translate3d(0, 0, 0);
        will-change: transform;
        backface-visibility: hidden;
        contain: layout paint;
    }
}
