/* ==========================================================================
   Tritcal International — Architectural Design System
   Low-payload single CSS file (zero frameworks / zero external bloat)
   ========================================================================== */

:root {
    --bg: #ffffff;
    --bg-stone: #f6f7f9;
    --bg-limestone: #efece6;
    --bg-charcoal: #222528;
    --bg-charcoal-deep: #181a1d;

    --text: #1b1e21;
    --text-muted: #525860;
    --text-subtle: #6e7681;
    --text-light: #e6e8eb;

    --cobalt: #0948b3;
    --cobalt-hover: #073990;
    --cobalt-tint: #eaf1fb;

    --emerald: #157347;
    --emerald-hover: #105c39;
    --emerald-tint: #e9f6ef;

    --terracotta: #b4693e;
    --whatsapp: #128c7e;
    --whatsapp-hover: #0d6e63;
    --danger: #b42318;

    --border: #e2e5e9;
    --border-strong: #cbd2d9;
    --border-dark: rgba(255, 255, 255, 0.14);

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 12px 28px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 24px 48px rgba(17, 24, 39, 0.14);

    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --container-max: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.62;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

pre, table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

a {
    color: var(--cobalt);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: inherit;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0 0 0.7rem;
}

h1 { font-size: clamp(2rem, 3.6vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 1rem; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    clip: auto;
    background: var(--bg-charcoal);
    color: #fff;
    padding: 10px 16px;
    z-index: 9999;
    border-radius: var(--radius-sm);
}

.icon-inline {
    display: inline-block;
    vertical-align: -0.18em;
    flex-shrink: 0;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cobalt);
    margin-bottom: 0.65rem;
}

.eyebrow--light { color: #93c5fd; }
.eyebrow--emerald { color: var(--emerald); }
.text-cobalt { color: var(--cobalt); }
.small-muted { font-size: 0.875rem; color: var(--text-muted); }
.lead-para { font-size: 1.08rem; color: var(--text-muted); line-height: 1.72; }
.hairline { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.mono-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    padding: 3px 8px;
    background: var(--bg-stone);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}
.mono-small { font-family: var(--font-mono); font-size: 0.8rem; }

.mt-xs { margin-top: 0.6rem; }
.mt-sm { margin-top: 1.1rem; }
.mt-md { margin-top: 2rem; }

/* Buttons & Actions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    padding: 11px 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.btn--lg { padding: 14px 24px; font-size: 0.98rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-hover); }

.btn--emerald { background: var(--emerald); color: #fff; }
.btn--emerald:hover { background: var(--emerald-hover); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-hover); }

.btn--outline-dark {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--outline-dark:hover { border-color: var(--text); background: var(--bg-stone); }

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.icon-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.link-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--cobalt);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.link-action:hover { text-decoration: underline; }
.link-action--light { color: #93c5fd; }

/* Sections */
.section { padding: 76px 0; }
.section--stone { background: var(--bg-stone); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--limestone { background: var(--bg-limestone); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--charcoal { background: var(--bg-charcoal); color: #fff; }
.section--charcoal p { color: var(--text-light); }
.section--slate { background: #0b1120; color: #f8fafc; border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.section--slate p { color: #94a3b8; }
.section--slate .section-head h2 { color: #f8fafc; }
.section--slate .section-head__lead { color: #cbd5e1; }
.eyebrow--cobalt { color: #60a5fa; }

/* ERP Spotlight & Bento Grid */
.erp-spotlight {
    position: relative;
    overflow: hidden;
}
.erp-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 32px;
}
.erp-bento-card {
    background: #111c33;
    border: 1px solid #1e293b;
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.16s ease, border-color 0.16s ease;
}
.erp-bento-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
}
.erp-bento-card h3 {
    color: #f8fafc;
    font-size: 1.2rem;
    margin: 12px 0 8px;
    line-height: 1.35;
}
.erp-bento-card p {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.erp-bento-card--lead {
    grid-column: span 2;
}
.erp-bento-card--lead .check-list {
    margin-top: 14px;
}
.erp-bento-card--lead .check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.erp-bento-card--lead .check-list li .icon-inline {
    color: #60a5fa;
    flex-shrink: 0;
}
.erp-bento-card--wide {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #132247 0%, #0c1529 100%);
    border-color: rgba(59, 130, 246, 0.4);
    gap: 24px;
    padding: 28px 32px;
}
.erp-bento-wide__content {
    flex: 1;
}
.erp-bento-wide__content h3 {
    font-size: 1.25rem;
    margin: 8px 0 6px;
}
.erp-bento-wide__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.erp-bento-wide__actions .btn--outline-dark {
    color: #f8fafc;
    border-color: #334155;
    background: transparent;
}
.erp-bento-wide__actions .btn--outline-dark:hover {
    background: #1e293b;
    border-color: #64748b;
}
.mono-tag--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.mono-tag--indigo {
    background: rgba(99, 102, 241, 0.15);
    color: #c7d2fe;
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.mono-tag--cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #a5f3fc;
    border: 1px solid rgba(6, 182, 212, 0.3);
}
.mono-tag--amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.erp-tech-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}
.erp-tech-strip__label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #64748b;
    margin-right: 6px;
}
.erp-tech-tag {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    background: #111c33;
    color: #cbd5e1;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #1e293b;
}

.section-head { margin-bottom: 36px; max-width: 680px; }
.section-head--split {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head__lead { max-width: 480px; margin: 0; color: var(--text-muted); }
.section--charcoal .section-head__lead { color: #cbd2d9; }
.section-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Top Bar & Header */
.top-bar {
    background: var(--bg-charcoal-deep);
    color: #d1d5db;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border-dark);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 4px;
    padding-bottom: 4px;
}

.top-bar__promo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
}

.top-bar__claim {
    background: rgba(21, 115, 71, 0.25);
    color: #86efac;
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 2px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.top-bar__claim:hover { background: var(--emerald); color: #fff; }

.top-bar__meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-bar__link {
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.77rem;
}
.top-bar__sep { color: #4b5563; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 20px;
    position: relative;
}

.brand-mark { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-mark__img { width: auto; height: 36px; }

.main-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--cobalt);
    background: var(--cobalt-tint);
    text-decoration: none;
}

.main-nav__item { position: static; }
.main-nav__item.has-dropdown { position: relative; }

.mega-panel,
.drop-panel {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 950;
}

.mega-panel {
    left: 0;
    right: 0;
    top: 74px;
    border-left: 0;
    border-right: 0;
    padding: 28px 0;
}

.drop-panel {
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    border-radius: var(--radius);
    padding: 8px;
}

.main-nav__item.is-open > .mega-panel,
.main-nav__item.is-open > .drop-panel {
    display: block;
}

.mega-panel__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.mega-panel__intro p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.mega-promo-box {
    margin-top: 16px;
    padding: 14px;
    background: var(--emerald-tint);
    border: 1px solid rgba(21, 115, 71, 0.25);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
}

.mega-panel__links--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mega-link,
.drop-link {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
}
.mega-link:hover,
.drop-link:hover {
    background: var(--bg-stone);
    text-decoration: none;
}
.mega-link.is-featured {
    background: var(--emerald-tint);
    border: 1px solid rgba(21, 115, 71, 0.22);
}
.mega-link__title { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.mega-link__desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.drop-link { font-size: 0.9rem; font-weight: 500; }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.site-header__actions .btn--sm {
    padding: 8px 14px;
    min-height: 36px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    cursor: pointer;
    color: var(--text);
    min-width: 42px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.mobile-menu-toggle:hover {
    background: var(--bg-stone);
    border-color: var(--border-strong);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 2500;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}
.mobile-nav[hidden] {
    display: none !important;
}
.mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}
.mobile-nav__close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-stone);
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease;
}
.mobile-nav__close:hover {
    background: #e2e8f0;
}
.mobile-nav__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 20px 48px;
    gap: 3px;
}
.mobile-nav__section-title {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 14px 10px 4px;
    margin-top: 4px;
}
.mobile-nav__link {
    display: block;
    padding: 11px 12px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
}
.mobile-nav__link:hover,
.mobile-nav__link.is-active {
    background: var(--bg-stone);
    color: var(--cobalt);
    text-decoration: none;
}
.mobile-nav__link--accent {
    color: var(--emerald);
    font-weight: 700;
    background: var(--emerald-tint);
}
.mobile-nav__cta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.mobile-nav__direct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}
.mobile-nav__direct-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-stone);
}
.mobile-nav__direct-link--wa {
    color: #128c7e;
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
}

/* Hero */
.hero {
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
    align-items: center;
}

.hero__lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 24px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.stat-cell strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
}
.stat-cell span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.hero__visual {
    display: grid;
    gap: 16px;
}

.hero-photo-frame {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
}
.hero-photo-frame img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}
.hero-photo-frame__cap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    font-size: 0.82rem;
    background: #fff;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    gap: 10px;
}
.hero-photo-frame__cap a { font-family: var(--font-mono); font-weight: 600; }

.hero-promo-card {
    background: var(--bg-charcoal);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border: 1px solid #30353b;
}
.hero-promo-card__badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 8px;
}
.hero-promo-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.hero-promo-card__row h2 { font-size: 1.2rem; margin-bottom: 4px; }
.hero-promo-card__row p { font-size: 0.84rem; color: #cbd2d9; margin: 0; }
.hero-promo-card__row img {
    width: 112px;
    height: 74px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.hero-promo-card__links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-dark);
}

/* Client Sprite Strip */
.client-strip {
    padding: 28px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.client-strip__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.client-strip__top .eyebrow { margin: 0; }

.client-strip__viewport { overflow: hidden; }
.client-marquee { display: flex; width: max-content; }
.client-marquee__track {
    display: flex;
    gap: 14px;
    padding-right: 14px;
    animation: marquee-scroll 46s linear infinite;
}
.client-marquee:hover .client-marquee__track { animation-play-state: paused; }
.client-marquee__tile {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 216px;
    flex-shrink: 0;
}
.client-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.client-sprite-img {
    display: block;
    width: 100%;
    max-width: 192px;
    aspect-ratio: 240 / 95;
    background-image: url('../img/clients-sprite.webp');
    background-repeat: no-repeat;
    border-radius: var(--radius-sm);
}
.client-tile-caption {
    display: none;
}

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

/* Familiar POS Workbench */
.workbench {
    background: #2b2f33;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.workbench__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid var(--border-dark);
    background: #1b1e22;
}

.workbench__tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--border-dark);
    color: #9ca3af;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.workbench__tab:last-child { border-right: 0; }
.workbench__tab:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.workbench__tab.is-active {
    color: #fff;
    background: #2b2f33;
    box-shadow: inset 0 -3px 0 #34d399;
}
.workbench__num {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #34d399;
}

.workbench__panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    padding: 36px;
    align-items: center;
}
.workbench__panel[hidden] { display: none; }
.workbench__copy h3 { font-size: 1.5rem; margin-bottom: 12px; }
.workbench__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.workbench__media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
}

.city-pill-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}
.city-pill-row__label { font-size: 0.85rem; color: #cbd2d9; margin-right: 6px; }
.city-pill {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f3f4f6;
    font-size: 0.82rem;
}
.city-pill:hover { background: #fff; color: var(--bg-charcoal); text-decoration: none; }
.city-pill--more { border-color: #34d399; color: #86efac; }

/* Lists & Cards */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.check-list li svg { color: var(--emerald); margin-top: 3px; }
.check-list--light li svg { color: #34d399; }

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

.card {
    background: #fff;
    padding: 26px;
    border-radius: var(--radius-lg);
}
.card--border { border: 1px solid var(--border); }
.card--charcoal { background: var(--bg-charcoal); color: #fff; border-color: var(--bg-charcoal); }
.card--charcoal p { color: #cbd2d9; }

.sol-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.sol-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}
.sol-card__media {
    position: relative;
    display: block;
    background: var(--bg-stone);
}
.sol-card__media img {
    width: 100%;
    height: 205px;
    object-fit: cover;
}
.sol-card__badge {
    position: absolute;
    left: 14px;
    top: 14px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(24, 26, 29, 0.88);
    color: #fff;
    border-radius: var(--radius-sm);
}
.sol-card__badge.is-emerald { background: var(--emerald); }
.sol-card__badge.is-cobalt { background: var(--cobalt); }
.sol-card--highlighted {
    border: 2px solid var(--cobalt);
    box-shadow: 0 10px 30px rgba(27, 85, 226, 0.12);
    position: relative;
}
.sol-card--highlighted.sol-card--pos {
    border-color: var(--emerald);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}
.sol-card--highlighted.sol-card--erp {
    border-color: var(--cobalt);
    box-shadow: 0 10px 30px rgba(27, 85, 226, 0.18);
}
.sol-card__star-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.sol-card--pos .sol-card__star-tag {
    background: rgba(6, 78, 59, 0.95);
    color: #a7f3d0;
    border-color: rgba(5, 150, 105, 0.5);
}
.sol-card--erp .sol-card__star-tag {
    background: rgba(15, 23, 42, 0.95);
    color: #93c5fd;
    border-color: rgba(27, 85, 226, 0.5);
}
.sol-card__quote.btn--emerald {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
}
.sol-card__quote.btn--emerald:hover {
    background: var(--emerald-hover);
    border-color: var(--emerald-hover);
}
.sol-card__quote.btn--primary {
    background: var(--cobalt);
    border-color: var(--cobalt);
    color: #fff;
}
.sol-card__quote.btn--primary:hover {
    background: var(--cobalt-dark);
    border-color: var(--cobalt-dark);
}
.sol-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sol-card__kind {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.sol-card__title { font-size: 1.15rem; margin-bottom: 8px; }
.sol-card__title a { color: var(--text); }
.sol-card__desc { font-size: 0.92rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.sol-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.sol-card__quote {
    background: var(--bg-stone);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.sol-card__quote:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

.finance-core-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 22px 26px;
    margin-bottom: 28px;
    background: var(--cobalt-tint);
    border: 1px solid rgba(9, 72, 179, 0.22);
    border-radius: var(--radius-lg);
}
.finance-core-banner__copy { max-width: 660px; }
.finance-core-banner__copy h3 { margin: 8px 0 6px; font-size: 1.18rem; }
.finance-core-banner__copy p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.finance-core-banner__pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px;
}
.finance-core-banner__pills li {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid rgba(9, 72, 179, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cobalt);
}

.finance-included-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: var(--emerald-tint);
    border: 1px solid rgba(21, 115, 71, 0.22);
    border-radius: var(--radius);
    font-size: 0.84rem;
}
.finance-included-note strong { color: var(--emerald); }
.finance-included-note span { color: var(--text-muted); }

.alliance-spotlight {
    margin-top: 28px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(9, 72, 179, 0.24);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}
.alliance-spotlight__content h3 { font-size: 1.38rem; margin-bottom: 8px; }
.alliance-spotlight__content p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 18px; }
.alliance-spotlight__services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.alliance-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--cobalt-tint);
    border: 1px solid rgba(9, 72, 179, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
}
.alliance-service-pill svg { color: var(--cobalt); }
.alliance-spotlight__panel {
    background: var(--bg-stone);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: grid;
    gap: 16px;
}
.alliance-spotlight__partners { display: grid; gap: 8px; }
.alliance-partner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
}
.alliance-partner-row strong { color: var(--text); font-weight: 700; }
.alliance-partner-row span { color: var(--text-muted); text-align: right; font-size: 0.8rem; }
.alliance-spotlight__actions { display: grid; gap: 10px; text-align: center; }

.directory-strip {
    margin-top: 40px;
    padding: 28px;
    background: var(--bg-stone);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.directory-strip h3 { font-size: 1rem; margin-bottom: 12px; }
.directory-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.directory-links a {
    font-size: 0.84rem;
    padding: 5px 11px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}
.directory-links a:hover { border-color: var(--cobalt); color: var(--cobalt); text-decoration: none; }

/* Studio Mosaic & Principles */
.studio-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: center;
}
.studio-mosaic { display: grid; gap: 12px; }
.studio-mosaic img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.studio-mosaic__main img { height: 280px; }
.studio-mosaic__sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.studio-mosaic__sub img { height: 175px; }

.principles-list { display: grid; gap: 16px; margin: 24px 0; }
.principle-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.principle-item__num,
.principle-badge {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--terracotta);
}
.principle-item h3 { font-size: 1rem; margin-bottom: 4px; }
.principle-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.studio-copy__links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Interactive Scope Estimator */
.estimator {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    box-shadow: var(--shadow-sm);
}
.estimator__office-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 14px;
    background: var(--bg-stone);
    border-radius: var(--radius);
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-top: 16px;
}
.estimator__controls { display: grid; gap: 14px; }
.est-step__label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 5px; }
.est-select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.94rem;
    background: #fff;
}
.est-result {
    margin-top: 8px;
    padding: 20px;
    background: var(--cobalt-tint);
    border: 1px solid rgba(9, 72, 179, 0.22);
    border-radius: var(--radius);
}
.est-result__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 10px;
}
.est-result__meta span { display: block; font-size: 0.74rem; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-mono); }
.est-result__meta strong { font-size: 1rem; color: var(--text); }
.est-result p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.est-result__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Partners & Journal */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.partner-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
}
.partner-tile img { max-height: 44px; width: auto; object-fit: contain; }

.two-col-feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
}
.journal-stack { display: grid; gap: 16px; }
.journal-mini {
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.journal-mini__img img {
    width: 136px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.journal-mini__meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--cobalt); margin-bottom: 4px; }
.journal-mini h3 { font-size: 1.02rem; margin-bottom: 5px; }
.journal-mini h3 a { color: var(--text); }
.journal-mini p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 10px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.faq-item__q {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__icon { transition: transform 0.16s ease; flex-shrink: 0; }
.faq-item__a { padding: 0 20px 16px; color: var(--text-muted); font-size: 0.94rem; }
.faq-item__a p:last-child { margin: 0; }

/* CTA Band */
.cta-band__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band__copy { max-width: 640px; }
.cta-band__copy p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
    background: var(--bg-charcoal-deep);
    color: #cbd2d9;
    padding: 64px 0 30px;
    font-size: 0.9rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 0.95fr;
    gap: 36px;
}
.footer-brand__desc { margin: 14px 0 18px; color: #9ca3af; font-size: 0.88rem; }
.footer-offices { display: grid; gap: 10px; margin-bottom: 18px; }
.footer-office { font-size: 0.82rem; display: flex; flex-direction: column; }
.footer-office strong { color: #fff; }
.social-row { display: flex; gap: 10px; }
.social-row a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.social-row a:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 0.96rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: #9ca3af; font-size: 0.87rem; }
.footer-col a:hover { color: #fff; }
.footer-more { color: #93c5fd !important; font-weight: 600; }

.footer-cities {
    margin-top: 38px;
    padding: 20px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}
.footer-cities__label { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; color: #9ca3af; margin-bottom: 10px; }
.footer-cities__list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-cities__list a { color: #cbd2d9; font-size: 0.82rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    font-size: 0.82rem;
    color: #9ca3af;
}
.footer-bottom p { margin: 0; }
.footer-bottom__links { display: flex; gap: 18px; }
.footer-bottom__links a { color: #9ca3af; }

/* Subpages, Detail & Legal */
.page-hero {
    padding: 48px 0 56px;
    background: var(--bg-stone);
    border-bottom: 1px solid var(--border);
}
.page-hero--compact { padding: 40px 0 44px; }
.page-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}
.page-hero__lead { font-size: 1.06rem; color: var(--text-muted); max-width: 660px; }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.page-hero__media { margin: 0; }
.page-hero__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.breadcrumbs { margin-bottom: 14px; }
.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.breadcrumbs__sep { margin-left: 8px; color: var(--border-strong); }

.stat-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    background: #fff;
}
.stat-band__cell { padding: 22px; border-right: 1px solid var(--border); }
.stat-band__cell:last-child { border-right: 0; }
.stat-band__cell strong { display: block; font-size: 1.7rem; font-family: var(--font-display); }
.stat-band__cell span { font-size: 0.86rem; color: var(--text-muted); }

.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.office-card__meta { display: grid; gap: 8px; margin-top: 14px; font-size: 0.86rem; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.team-card__photo {
    width: 100%;
    aspect-ratio: 5 / 6;
    background: var(--bg-stone);
    overflow: hidden;
}
.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}
.team-card:hover .team-card__photo img {
    transform: scale(1.02);
}
.team-card__body { padding: 20px; }
.team-card__role { font-family: var(--font-mono); font-size: 0.78rem; color: var(--cobalt); margin-bottom: 8px; }
.team-card__body p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.partners-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; text-align: center; background: #fff; }
.partner-card__logo { height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.partner-card__logo img { max-height: 52px; width: auto; }
.partner-card__cat { font-size: 0.82rem; color: var(--text-muted); }

/* Consulting Partners */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.consulting-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.consulting-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--cobalt-light);
}
.consulting-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.consulting-card__logo {
    height: 60px;
    max-width: 240px;
    display: flex;
    align-items: center;
}
.consulting-card__logo img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}
.consulting-card__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--cobalt);
    background: rgba(30, 77, 183, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.consulting-card__body h3 {
    margin: 0 0 6px;
    font-size: 1.28rem;
}
.consulting-card__tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 500;
}
.consulting-card__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}
.consulting-card__services {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.consulting-card__services li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-dark);
}
.consulting-card__services li svg {
    color: var(--emerald);
    flex-shrink: 0;
}
.consulting-card__foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stack-sections { display: grid; gap: 48px; }
.stack-block__head { margin-bottom: 20px; max-width: 680px; }

.client-filter-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.search-input-wrap {
    position: relative;
    flex: 1;
    max-width: 440px;
}
.search-input-wrap--sm { max-width: 340px; }
.search-input-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-input-wrap input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.93rem;
}
.client-filter-count { font-family: var(--font-mono); font-size: 0.84rem; color: var(--text-muted); }

.client-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.client-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    background: #fff;
}
.client-card__logo { display: flex; align-items: center; justify-content: center; min-height: 82px; margin-bottom: 6px; }
.client-card__name { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.empty-state { padding: 36px; text-align: center; background: var(--bg-stone); border-radius: var(--radius); }

.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.catalog-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.catalog-tab {
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
}
.catalog-tab.is-active { background: var(--bg-charcoal); border-color: var(--bg-charcoal); color: #fff; text-decoration: none; }

.detail-split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }
.hero-ext-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    font-size: 0.86rem;
    font-weight: 600;
}
.hero-ext-links a { color: var(--cobalt); }
.spec-strip {
    background: var(--bg-stone);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.spec-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.spec-strip__item {
    padding: 16px 18px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.spec-strip__item:last-child { border-right: 0; }
.spec-strip__label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.spec-strip__item strong { font-size: 0.94rem; color: var(--text); }

.detail-intro-bar {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 32px;
    align-items: center;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}
.detail-intro-bar__copy h2 {
    font-size: clamp(1.28rem, 2vw, 1.6rem);
    line-height: 1.38;
    font-weight: 600;
    margin-bottom: 14px;
}
.detail-cta-card { padding: 20px; }

.detail-bento-block { margin-top: 36px; }
.detail-bento-block__head { margin-bottom: 18px; }
.detail-bento-block__head h3 { margin: 0; font-size: 1.25rem; }

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.outcome-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.outcome-card:hover {
    border-color: var(--cobalt);
    box-shadow: var(--shadow-sm);
}
.outcome-card__num {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--cobalt);
    background: var(--cobalt-tint);
    padding: 5px 9px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.outcome-card p { margin: 0; font-size: 0.94rem; line-height: 1.5; color: var(--text); font-weight: 500; }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.capability-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 16px;
    background: var(--bg-stone);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.89rem;
    line-height: 1.45;
    color: var(--text);
}
.capability-card__icon {
    color: var(--emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.suite-card { padding: 22px; }
.suite-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.suite-card__head h3 { margin: 0; font-size: 1.05rem; }
.suite-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.suite-tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 10px;
    background: var(--bg-stone);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}

.module-pill-list { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.module-pill-list li {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 10px;
    background: var(--bg-stone);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.pkg-card.is-featured { border: 2px solid var(--emerald); }
.pkg-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pkg-card__head img { width: 76px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.pkg-card__ideal { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.pkg-card .check-list { margin-bottom: 18px; }

.industry-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-chip {
    padding: 9px 16px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
}

.district-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.district-card {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--text);
}
.district-card span { font-size: 0.78rem; color: var(--text-muted); }
.district-card.is-active,
.district-card:hover { border-color: var(--emerald); background: var(--emerald-tint); text-decoration: none; }

.job-card__meta,
.model-card__top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 0.82rem; margin-bottom: 10px; }
.job-card__actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.contact-card__sub { color: var(--text-muted); font-size: 0.92rem; }
.contact-aside { display: grid; gap: 16px; }
.contact-quick { padding: 24px; background: var(--bg-charcoal); color: #fff; border-radius: var(--radius-lg); }
.contact-lines { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 0.88rem; }
.contact-lines a { color: #93c5fd; }
.contact-office p { font-size: 0.88rem; margin: 4px 0 6px; color: var(--text-muted); }
.map-link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-stone);
    color: var(--text);
}
.map-link-card span { display: block; font-size: 0.8rem; color: var(--text-muted); }

.prose-container { max-width: 780px; margin: 0 auto; }
.prose-container h2 { margin-top: 2rem; font-size: 1.45rem; }
.article-hero-img { margin: 0 0 28px; }
.article-hero-img img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); }
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.article-cta-box {
    margin-top: 36px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-stone);
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.article-cta-box p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.not-found-box { text-align: center; max-width: 620px; padding: 48px 20px; }
.not-found-box__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Floating Dock & Lead Drawer */
.floating-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 850;
    display: flex;
    gap: 8px;
}
.dock-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.86rem;
    color: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}
.dock-pill--promo { background: var(--bg-charcoal); }
.dock-pill--wa { background: var(--whatsapp); }
.dock-pill--wa:hover { text-decoration: none; background: var(--whatsapp-hover); }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    z-index: 1300;
}
.lead-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(540px, 100vw);
    background: #fff;
    z-index: 1310;
    overflow-y: auto;
    padding: 24px 26px 36px;
    box-shadow: var(--shadow-lg);
}
.lead-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.lead-drawer__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 16px 0;
    background: var(--bg-stone);
    padding: 4px;
    border-radius: var(--radius);
}
.drawer-tab {
    background: transparent;
    border: 0;
    padding: 8px 6px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    color: var(--text-muted);
}
.drawer-tab.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

.lead-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row[hidden], .form-group[hidden] { display: none; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 5px; }
.req { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(9, 72, 179, 0.25);
    border-color: var(--cobalt);
}
.field-error { display: block; color: var(--danger); font-size: 0.78rem; min-height: 16px; margin-top: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__note { font-size: 0.8rem; color: var(--text-muted); margin: 0; text-align: center; }

.form-alert {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}
.form-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-alert--success { background: var(--emerald-tint); border: 1px solid #86efac; color: #065f46; }

.lead-success { text-align: center; padding: 28px 12px; display: grid; gap: 14px; }
.lead-success__badge { color: var(--emerald); }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .site-header__actions .hide-md { display: none; }
    .hero__grid,
    .page-hero__grid,
    .studio-split,
    .estimator,
    .two-col-feature,
    .detail-split,
    .detail-intro-bar,
    .contact-grid,
    .alliance-spotlight {
        grid-template-columns: 1fr;
    }
    .spec-strip__grid,
    .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-grid--3,
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .partners-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .consulting-grid { grid-template-columns: 1fr; }
    .spec-strip__item:nth-child(2n) { border-right: 0; }
    .spec-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .client-wall,
    .district-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .workbench__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workbench__panel { grid-template-columns: 1fr; padding: 24px; }
    .erp-bento-grid { grid-template-columns: 1fr 1fr; }
    .erp-bento-card--lead { grid-column: span 2; }
    .erp-bento-card--wide { grid-column: span 2; }
}

@media (max-width: 680px) {
    .section { padding: 48px 0; }
    .container { padding: 0 16px; }
    .hide-sm, .hide-md { display: none; }

    /* Top Bar & Site Header on Mobile */
    .top-bar__inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 6px 12px;
    }
    .top-bar__promo {
        justify-content: center;
        font-size: 0.78rem;
        text-align: center;
    }
    .top-bar__meta {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .site-header__inner {
        height: 62px;
        gap: 10px;
    }
    .brand-mark__img {
        height: 32px;
        max-width: 140px;
    }
    .site-header__actions {
        gap: 8px;
    }
    .site-header__actions .btn--sm {
        padding: 6px 12px;
        font-size: 0.82rem;
        min-height: 34px;
    }

    /* Grids & Cards */
    .hero__stats,
    .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-grid--3,
    .cards-grid--2,
    .outcome-grid,
    .capability-grid,
    .spec-strip__grid,
    .team-grid,
    .vision-mission-grid,
    .directory-strip,
    .form-row,
    .footer-top,
    .est-result__meta,
    .erp-bento-grid,
    .partners-detail-grid,
    .workbench__tabs,
    .studio-mosaic__sub,
    .consulting-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .workbench__tab {
        text-align: left;
        padding: 12px 14px;
        font-size: 0.88rem;
    }
    .workbench__panel {
        padding: 20px 16px;
    }
    .studio-mosaic__sub img {
        height: 180px;
    }
    .estimator {
        padding: 20px 16px;
    }
    .finance-core-banner {
        padding: 18px 16px;
    }
    .finance-core-banner__pills {
        grid-template-columns: 1fr;
    }
    .lead-drawer {
        width: 100vw;
        padding: 20px 16px 36px;
    }
    .client-strip__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .hero-photo-frame__cap {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .erp-bento-card--lead { grid-column: span 1; }
    .erp-bento-card--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .spec-strip__item { border-right: 0; border-bottom: 1px solid var(--border); }
    .spec-strip__item:last-child { border-bottom: 0; }
    .client-wall,
    .district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journal-mini { grid-template-columns: 1fr; }
    .journal-mini__img img { width: 100%; height: 170px; }
}

@media (max-width: 480px) {
    /* Critical small-device safeguards (< 480px / 360px phones) */
    .site-header__quote-btn {
        display: none;
    }
    .brand-mark__img {
        max-width: 125px;
        height: 28px;
    }
    .site-header__actions {
        gap: 6px;
    }
    .top-bar__promo span strong {
        display: inline;
    }
    .top-bar__claim {
        padding: 2px 8px;
        font-size: 0.72rem;
    }
    .top-bar__meta .top-bar__sep {
        display: none;
    }
    .stat-band {
        grid-template-columns: 1fr;
    }
    .stat-band__cell {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 14px 10px;
    }
    .stat-band__cell:last-child {
        border-bottom: 0;
    }
    .hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .stat-cell {
        padding: 10px 8px;
    }
    .stat-cell strong {
        font-size: 1.25rem;
    }
    .hero-promo-card__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hero-promo-card__row img {
        width: 100%;
        height: auto;
        max-height: 110px;
    }
    .hero-promo-card__links {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .hero-promo-card__links .btn,
    .hero-promo-card__links .link-action {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .floating-dock {
        right: 10px;
        bottom: 10px;
        gap: 6px;
    }
    .dock-pill {
        padding: 8px 12px;
        font-size: 0.76rem;
    }
    .lead-drawer__tabs {
        grid-template-columns: 1fr;
    }
    .est-result__meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .client-wall,
    .district-grid {
        grid-template-columns: 1fr;
    }
    .hero__actions {
        flex-direction: column;
    }
    .hero__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .page-hero__actions {
        flex-direction: column;
    }
    .page-hero__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

