/*
Theme Name: BitBiz Consulting Theme
Theme URI: http://bitbiz-consulting-services.local
Author: Brian Wanyoike
Author URI: http://bitbiz-consulting-services.local
Description: Multi-page WordPress theme for Bitbiz Consulting and Services Limited
Version: 3.5.1
License: GPL v2 or later
Text Domain: bitbiz-theme
*/

:root {
    --navy: #0b1f3a;
    --accent: #086AD8;
    --accent-soft: #1e84f6;
    --accent-deep: #0a3c74;
    --text: #0e2b3d;
    --text-body: #666666;
    --gray: #666666;
    --muted: #888888;
    --line: #e7e7e7;
    --surface: #f5f8fb;
    --white: #ffffff;
    --shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    --max-width: 1140px;
    --media-band: clamp(280px, 34vw, 440px);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-display: var(--font-stack);
    --font-ui: var(--font-stack);
    --font-body: var(--font-stack);
    --font-label: var(--font-stack);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-stack);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-body);
    line-height: 1.5;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}
a:hover { color: var(--accent-soft); }

.container {
    width: 100%;
    max-width: var(--max-width);
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.section { padding: 88px 0; }
.section--surface { background: var(--surface); }
.section--compact { padding: 64px 0; }

.subsection-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--text);
    margin: 36px 0 12px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-stack);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: 0;
}

.section-kicker {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 18px;
}

.section-lead {
    font-size: 1rem;
    color: var(--gray);
    max-width: 700px;
    line-height: 1.5;
}

.eyebrow {
    font-family: var(--font-label);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
}

/* Shared banner image size — top heroes and bottom strips match */
.media-band,
.page-hero__media img,
.feature-tile img,
.service-media img {
    width: 100%;
    height: var(--media-band);
    object-fit: cover;
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-stack);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary,
.btn-theme {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover,
.btn-theme:hover,
.btn-theme.effect:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-circle,
.btn.circle {
    border-radius: 40px;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Top bar — inspired by bitbiz.co.ke */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-ui);
    font-size: 0.88rem;
}
.topbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.topbar a { color: rgba(255, 255, 255, 0.92); }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Header — white */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 0;
}
.logo-mark {
    height: 48px;
    width: auto;
}
.logo-word {
    height: 34px;
    width: auto;
}
.logo-full {
    height: 48px;
    width: auto;
    max-width: 100%;
}
@media (max-width: 480px) {
    .logo-full { height: 40px; }
}
.logo-img, .custom-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.main-nav .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav .nav-menu a {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.main-nav .nav-menu a:hover,
.main-nav .nav-menu .current-menu-item > a {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: transform 0.25s var(--ease), opacity 0.25s;
}
/* Mobile tray pieces — hidden on desktop */
.main-nav__head,
.main-nav__extra,
.nav-backdrop { display: none; }

/* Page hero — light with photo */
.page-hero {
    position: relative;
    background: var(--surface);
    color: var(--text);
    padding: 48px 0 56px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    max-width: 18ch;
}
.page-hero p {
    margin-top: 14px;
    color: var(--gray);
    font-size: 1.22rem;
    max-width: 560px;
}
.page-hero__media {
    margin-top: 36px;
    overflow: hidden;
}
.page-hero__media img {
    width: 100%;
    height: var(--media-band);
    object-fit: cover;
    display: block;
}

/* Home hero */
.hero {
    position: relative;
    background: var(--white);
    color: var(--text);
    padding: 0;
    overflow: hidden;
}

.hero__visual {
    position: relative;
    background: var(--white);
    width: 100%;
}

.hero__visual-inner {
    position: relative;
    z-index: 1;
    min-height: clamp(480px, 68vh, 680px);
    display: flex;
    align-items: flex-end;
}

.hero__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__copy {
    position: relative;
    z-index: 1;
    padding-top: 56px;
    padding-bottom: 56px;
}

.hero__brand {
    font-family: var(--font-stack);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 16px;
}
.hero__brand::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--accent);
    margin-top: 12px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--text);
    max-width: 16ch;
    margin-bottom: 18px;
    font-weight: 700;
}
.hero h1 .soft {
    font-weight: 700;
    color: var(--accent-soft);
}

.hero__dek {
    max-width: 580px;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    min-height: 70px;
}

.hero__bottom {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
}

.hero__services {
    font-family: var(--font-label);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0;
    line-height: 1.7;
}

.hero__contact {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

/* Content patterns */
.split {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: start;
}

.split--who {
    align-items: stretch;
}

.split--who .prose {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.split--who .prose p:last-of-type {
    margin-bottom: 24px;
}

.split--who .prose .btn {
    margin-top: auto;
    align-self: flex-start;
}

.split--who .split__media {
    position: relative;
    min-height: var(--media-band);
}

.split--who .split__media .media-band {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.prose p + p { margin-top: 14px; }
.prose p { font-size: 1rem; line-height: 1.5; }
.prose--justify p { text-align: justify; }

.callout-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.callout {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    padding: 24px 22px;
}
.callout h3 { font-size: 1.5rem; margin-bottom: 8px; }
.callout p { font-size: 1.08rem; }

.glance { margin-top: 28px; border-top: 1px solid var(--line); }
.glance__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.glance__label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    padding-top: 4px;
}
.glance__value { font-size: 1.12rem; color: var(--text); }

.service-list { display: grid; gap: 0; }
.service-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.service-item:first-child { border-top: 1px solid var(--line); }
.service-item__meta { border-left: 4px solid var(--accent); padding-left: 16px; }
.service-item h3 { font-size: 1.65rem; margin-bottom: 8px; }
.service-item__for {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    color: var(--accent);
    font-weight: 500;
    line-height: 1.5;
}
.service-item ul { list-style: none; }
.service-item li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    font-size: 1.08rem;
}
.service-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
}

.service-media {
    margin: 8px 0 0;
    overflow: hidden;
}

.case {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.case:last-child { border-bottom: none; }
.case__label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
}
.case h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    border-left: 4px solid var(--accent);
    padding-left: 14px;
}
.case__hook {
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--accent);
    margin: 8px 0 12px;
}
.case p { max-width: 820px; }

.quote {
    background: var(--surface);
    padding: 20px 24px;
    margin-top: 16px;
    font-style: italic;
    color: var(--text);
}
.quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
}

.further-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.further-table th,
.further-table td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.further-table th {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
}
.further-table .country {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    white-space: nowrap;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 32px 0 40px;
}
.partner-groups {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0 48px;
}
.partner-group {
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}
.partner-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.partner-group__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-bottom: 16px;
}
.partner-group .partner-cell {
    flex: 0 1 auto;
    width: auto;
    min-width: 140px;
    min-height: 112px;
    padding: 10px 8px;
    border: none;
    background: transparent;
    overflow: visible;
}
.partner-group .partner-cell img {
    max-height: 80px;
    max-width: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* Partners page — logo box keeps the original logo sizes (80px tall, 260px wide max) */
.partner-cell__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
.partner-cell__logo img {
    max-height: 80px;
    max-width: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Domain filter */
.partner-filter {
    margin: 36px 0 8px;
    padding: 22px 24px;
    background: var(--surface);
    border-left: 4px solid var(--accent);
}
.partner-filter__label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.partner-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.partner-chip {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.partner-chip:hover { border-color: var(--accent); color: var(--accent); }
.partner-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.partner-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}
.partner-filter__status {
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--gray);
}
.partner-filter__status:empty { display: none; }

.partner-section-title {
    font-size: 1.85rem;
    margin: 56px 0 6px;
}
.partner-section-lead {
    color: var(--gray);
    margin-bottom: 8px;
    max-width: 640px;
}

/* Multi-domain vendors — one row each, logo beside their services */
.vendor-rows { border-top: 1px solid var(--line); margin-top: 20px; }
.vendor-row {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}
.vendor-row__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 10px;
    background: var(--surface);
    border-radius: 8px;
    align-self: start;
    min-height: 180px;
}
.vendor-row__with {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.vendor-row__reach {
    margin-top: 8px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}
.vendor-row__count {
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 0;
    margin-right: 2px;
}
.vendor-row__name { font-size: 1.5rem; margin-bottom: 4px; }
.vendor-row__intro {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 4px;
}
.vendor-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px 28px;
    margin-top: 18px;
}
.vendor-service {
    border-left: 3px solid var(--line);
    padding: 2px 0 2px 14px;
    transition: border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.vendor-service dt { margin-bottom: 4px; }
.vendor-service__domain {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.vendor-service__title {
    display: block;
    font-weight: 600;
    color: var(--text);
}
.vendor-service dd {
    margin: 0;
    color: var(--text-body);
    line-height: 1.5;
}
.vendor-row:hover .vendor-service { border-left-color: rgba(8, 106, 216, 0.35); }

/* Specialists — one job each; two logos only when the vendors do the same thing */
.specialist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.specialist-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    padding: 24px 28px 28px;
}
.specialist-card__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 36px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
/* Shared cards: logos sit side by side at the same height, never stacked */
.specialist-card__logos {
    flex-wrap: nowrap;
    min-height: 92px;
}
.specialist-card__logos .partner-cell__logo {
    flex: 0 1 calc(50% - 18px);
    height: 72px;
    justify-content: flex-start;
    min-width: 0;
}
.specialist-card__logos .partner-cell__logo img {
    max-height: 60px;
    max-width: 100%;
}
/* Practice groups — one wide card per practice, every vendor with its own job line */
.practice-groups {
    display: grid;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 56px;
}
.practice-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) 2.2fr;
    gap: 28px 40px;
    padding: 32px 32px 28px;
}
.practice-card__head h3 { font-size: 1.6rem; margin-bottom: 10px; }
.practice-card__head p:last-child { color: var(--text-body); }
.practice-card__members {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.practice-member {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s var(--ease);
}
.practice-member:hover { background: var(--surface); }
.practice-member .partner-cell__logo {
    height: 56px;
    justify-content: flex-start;
}
.practice-member .partner-cell__logo img {
    max-height: 44px;
    max-width: 100%;
}
.practice-member__focus {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-body);
    margin: 0;
}
@media (max-width: 860px) {
    .practice-card { grid-template-columns: 1fr; padding: 24px 20px; }
    .practice-card__members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.specialist-card__domains {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}
.specialist-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.specialist-card p:last-child { color: var(--text-body); }

/* Filter states */
.vendor-row,
.specialist-card { transition: opacity 0.3s var(--ease); }
.is-filtered-out { display: none !important; }
.partner-filtering .vendor-service:not(.is-match) { opacity: 0.38; }
.partner-filtering .vendor-service.is-match { border-left-color: var(--accent); }
.partner-empty { color: var(--gray); margin: 24px 0; }

@media (max-width: 860px) {
    .vendor-row { grid-template-columns: 1fr; gap: 20px; }
    .vendor-row__brand { min-height: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 4px 16px; padding: 14px 18px; }
    .vendor-row__reach { margin-top: 0; margin-left: auto; }
    .specialist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .partner-cell__logo img { max-width: 200px; }
    .partner-filter { padding: 18px 16px; }
}
.partner-marquee {
    overflow: hidden;
    width: 100%;
    margin: 32px 0 12px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partner-marquee__track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: partner-marquee-rtl 62s linear infinite;
}
.partner-marquee:hover .partner-marquee__track {
    animation-play-state: paused;
}
.partner-marquee__item {
    flex: 0 0 180px;
    width: 180px;
    border: none;
    background: transparent;
}
@keyframes partner-marquee-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .partner-marquee__track,
    .testimonial-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .testimonial-line {
        white-space: normal;
        max-width: 36rem;
        border-left: none;
        padding: 10px 16px;
    }
}
.partner-cell {
    border: 1px solid var(--line);
    background: var(--white);
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--text);
    text-align: center;
}
.partner-cell--logo { background: transparent; }
.partner-cell img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.partner-block + .partner-block { margin-top: 28px; }
.partner-block h3 { font-size: 1.3rem; margin-bottom: 8px; }

.checklist { list-style: none; margin-top: 12px; }
.checklist li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
}

/* Card grids — bitbiz.co.ke style alternating blue / white */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 18px 0 8px;
}
.info-cards--features {
    gap: 24px;
}
.info-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 28px;
    min-height: 140px;
    box-shadow: var(--shadow);
    transition: background 0.35s ease-in-out, color 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}
.info-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    transition: color 0.35s ease-in-out;
}
.info-card p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.5;
    transition: color 0.35s ease-in-out;
}
.info-card--accent {
    background: linear-gradient(90deg, rgba(8, 106, 216, 1) 0%, rgba(10, 60, 116, 1) 100%);
}
.info-card--accent h5,
.info-card--accent p {
    color: var(--white);
}
.info-card:not(.info-card--accent):hover {
    background: linear-gradient(90deg, rgba(8, 106, 216, 1) 0%, rgba(10, 60, 116, 1) 100%);
}
.info-card:not(.info-card--accent):hover h5,
.info-card:not(.info-card--accent):hover p {
    color: var(--white);
}
.info-card--accent:hover {
    background: var(--white);
}
.info-card--accent:hover h5,
.info-card--accent:hover p {
    color: #000000;
}

/* Testimonials — plain scrolling quotes */
.testimonial-marquee {
    overflow: hidden;
    width: 100%;
    margin-top: 28px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testimonial-marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 0;
    animation: partner-marquee-rtl 48s linear infinite;
}
.testimonial-marquee:hover .testimonial-marquee__track,
.testimonial-marquee:focus-within .testimonial-marquee__track {
    animation-play-state: paused;
}
.testimonial-line {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin: 0;
    padding: 8px 48px 8px 36px;
    white-space: nowrap;
}
.testimonial-line + .testimonial-line {
    border-left: 1px solid var(--line);
}
.testimonial-line__quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.5;
    align-self: flex-start;
}
.testimonial-line__cite {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
}

/* Features area (home why-choose) */
.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}
.why-us > h5 {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
    padding-left: 45px;
    color: var(--accent);
    font-size: 0.95rem;
}
.why-us > h5::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    margin-top: -1px;
    background: var(--accent);
}
.why-us h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 18px;
}
.why-us p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.why-us .video-play-button.relative {
    margin-top: 10px;
    top: 20px;
}
.features-box {
    padding-left: 10px;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.item-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.item-grid:first-child {
    margin-top: 0;
}
.features-area .item {
    padding: 50px 30px;
    background: var(--white);
    border-radius: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: background 0.35s ease-in-out, color 0.35s ease-in-out;
    text-align: center;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.features-area .item h5 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--text);
    transition: color 0.35s ease-in-out;
}
.features-area .item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-body);
    transition: color 0.35s ease-in-out;
}
.features-area .item.item--accent {
    background: linear-gradient(90deg, rgba(8, 106, 216, 1) 0%, rgba(10, 60, 116, 1) 100%);
}
.features-area .item.item--accent h5,
.features-area .item.item--accent p {
    color: var(--white);
}
.features-area .item:not(.item--accent):hover {
    background: linear-gradient(90deg, rgba(8, 106, 216, 1) 0%, rgba(10, 60, 116, 1) 100%);
}
.features-area .item:not(.item--accent):hover h5,
.features-area .item:not(.item--accent):hover p {
    color: var(--white);
}
.features-area .item.item--accent:hover {
    background: var(--white);
}
.features-area .item.item--accent:hover h5,
.features-area .item.item--accent:hover p {
    color: #000000;
}

/* Video play / Start Now control */
.video-play-button {
    color: var(--accent);
    font-size: 30px;
    position: relative;
    z-index: 1;
    text-decoration: none;
}
.video-play-button.relative {
    position: relative;
    display: inline-block;
    left: 0;
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    margin-top: 0 !important;
    top: 0;
    margin-left: 10px;
}
.video-play-button.relative::before,
.video-play-button.relative::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.video-play-button.relative::before {
    background: var(--accent);
    animation: pulse-border 1500ms ease-out infinite;
    z-index: 0;
}
.video-play-button.relative::after {
    background: var(--accent);
    z-index: 1;
    transition: all 200ms;
}
.video-play-button__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #ffffff;
    transform: translate(-40%, -50%);
}
.video-play-button.relative span:not(.video-play-button__icon) {
    position: absolute;
    right: 0;
    top: 50%;
    font-size: 14px;
    line-height: 20px;
    width: auto;
    left: 100%;
    white-space: nowrap;
    text-transform: uppercase;
    margin-top: -7px;
    margin-left: 20px;
    text-align: left;
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-stack);
}
@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) scale(1.5);
        opacity: 0;
    }
}

.service-blocks {
    display: grid;
    gap: 48px;
}
.service-block {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.service-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.service-block__intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 20px;
}
.service-block h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}
.service-block .service-item__for {
    margin-bottom: 16px;
}
.service-block__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
    grid-template-areas: "copy media";
    gap: 36px;
    align-items: start;
}
.service-block__copy {
    grid-area: copy;
}
.service-block__sentences p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text-body);
}
.service-block__sentences p + p {
    margin-top: 10px;
}
.service-block__body .service-media {
    grid-area: media;
    margin: 0;
}
.service-block--flip .service-block__body {
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    grid-template-areas: "media copy";
}
.service-block__body .service-media img {
    width: 100%;
    height: var(--media-band);
    object-fit: cover;
    display: block;
}

/* Service block that shows a brand logo instead of a photo — same box size as the photos */
.service-block__body .service-media--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--media-band);
    background: var(--surface);
    border: 1px solid var(--line);
}
.service-block__body .service-media--logo img {
    width: 60%;
    max-width: 320px;
    height: auto;
    max-height: 50%;
    object-fit: contain;
}

.page-services .page-hero {
    background: var(--white);
    border-bottom: none;
    padding-bottom: 0;
}
.page-services .page-hero + .section {
    padding-top: 40px;
}
/* Services intro: two statements, same style, small gap */
.page-services .page-hero p {
    max-width: 720px;
}
.page-services .page-hero p + p {
    margin-top: 6px;
}

/* Inquiry form */
.contact-layout {
    align-items: stretch;
    gap: 36px 48px;
}
.contact-copy {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.contact-copy .section-kicker {
    margin-bottom: 10px;
}
.contact-copy h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    max-width: 14ch;
    margin: 0 0 28px;
}
.contact-copy h1 .soft {
    font-weight: 500;
    color: var(--gray);
}
.contact-copy .contact-field {
    margin-bottom: 18px;
}
.contact-copy .contact-note {
    margin-top: 0;
    margin-bottom: 20px;
}
.contact-map {
    flex: 1 1 auto;
    min-height: 220px;
    margin-top: auto;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--white);
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
}
.inquiry-form-wrap {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 24px 22px 28px;
    margin-top: 0;
    height: 100%;
}
.inquiry-form {
    display: grid;
    gap: 16px;
}
.form-field {
    display: grid;
    gap: 8px;
    font-family: var(--font-ui);
}
.form-field span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}
.form-field em {
    color: var(--accent);
    font-style: normal;
}
.form-field .optional {
    color: var(--gray);
    font-weight: 500;
}
.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    background: var(--white);
}
.form-field textarea {
    resize: vertical;
    min-height: 140px;
}
.form-notice {
    padding: 14px 16px;
    margin-bottom: 18px;
    font-family: var(--font-ui);
    font-size: 0.98rem;
}
.form-notice--success {
    background: #e8f7ee;
    color: #146c3a;
    border: 1px solid #b7e4c7;
}
.form-notice--error {
    background: #fdecec;
    color: #9b1c1c;
    border: 1px solid #f5c2c2;
}
/* Google reCAPTCHA v2 widget (fixed 304×78) */
.form-captcha .g-recaptcha {
    margin-top: 2px;
    min-height: 78px;
}
@media (max-width: 360px) {
    .form-captcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: 0 0;
    }
}
.form-captcha__hint,
.form-captcha__error {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0;
}
.form-captcha__error {
    color: #9b1c1c;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Floating support bubble */
.support-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    font-family: var(--font-stack);
}
.support-bubble {
    position: relative;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(8, 106, 216, 0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.support-bubble:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 28px rgba(8, 106, 216, 0.45); }
.support-bubble:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.support-bubble::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    z-index: -1;
    animation: support-pulse 2s ease-out 1.5s 3;
}
@keyframes support-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}
.support-bubble__icon--close { display: none; }
.support-widget.is-open .support-bubble__icon--open { display: none; }
.support-widget.is-open .support-bubble__icon--close { display: block; }
.support-widget.is-open .support-bubble::before { animation: none; }

.support-card {
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(11, 31, 58, 0.22);
    overflow: hidden;
    transform-origin: bottom right;
    animation: support-card-in 0.25s var(--ease);
}
.support-card[hidden] { display: none; }
@keyframes support-card-in {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
.support-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 14px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: var(--white);
}
.support-card__avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.support-card__title { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.support-card__status { font-size: 0.8rem; opacity: 0.85; }
.support-card__close {
    margin-left: auto;
    align-self: flex-start;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    opacity: 0.85;
}
.support-card__close:hover { opacity: 1; }
.support-card__body {
    padding: 16px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.support-card__bubble {
    align-self: flex-start;
    max-width: 92%;
    background: var(--white);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 4px 14px 14px 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.support-card__foot {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: center;
}
.support-card__cta { justify-content: center; border-radius: 40px; padding: 12px 20px; font-size: 0.9rem; }
.support-card__cta:hover { color: var(--white); }
.support-card__alt { font-size: 0.85rem; color: var(--gray); }
.support-card__alt:hover { color: var(--accent); }

@media (max-width: 600px) {
    .support-widget { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
    .support-bubble { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
    .support-bubble::before, .support-card { animation: none; }
}

/* Visually hidden honeypot — bots fill it, humans do not */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.steps { display: grid; gap: 0; }
.step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step__num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.step h3 { font-size: 1.55rem; margin-bottom: 6px; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.stat__number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: block;
}
.stat__label {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 10px;
    display: block;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 36px;
    margin-top: 32px;
}
.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.feature-tile {
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
}
.feature-tile__body { padding: 22px 20px 26px; }
.feature-tile h3 { font-size: 1.45rem; margin-bottom: 8px; }
.feature-tile p { font-size: 1.05rem; color: var(--gray); }
.feature-tile a {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-panel {
    background: var(--surface);
    padding: 48px 0 72px;
    border-bottom: 1px solid var(--line);
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
    max-width: 720px;
}
.contact-field__label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}
.contact-field__value {
    font-family: var(--font-ui);
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 500;
}
.contact-field__value a { color: var(--text); }
.contact-field__value a:hover { color: var(--accent); }
.contact-note {
    margin-top: 40px;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray);
}

.cta-band {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 72px 0;
}
.cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}
.cta-band__copy {
    min-width: 0;
}
.cta-band h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    max-width: 14ch;
    margin-bottom: 14px;
}
.cta-band p {
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 0;
    font-size: 1.18rem;
}
.cta-band .video-play-button.relative {
    flex: 0 0 auto;
    top: 0;
    margin-left: 0;
}

.site-footer {
    background: var(--white);
    color: var(--gray);
    padding: 40px 0 32px;
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}
.footer-brand {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}
.footer-meta { margin-top: 10px; font-size: 1rem; max-width: 360px; }
.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-nav a {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--gray);
}
.footer-nav a:hover { color: var(--accent); }

.site-main { min-height: 60vh; }

.partner-block h3 { font-size: 1.5rem; margin-bottom: 8px; }
.partner-block p { font-size: 1.1rem; }

@media (max-width: 992px) {
    .split, .callout-pair, .service-item, .why-grid, .contact-fields, .stats, .feature-grid, .service-block__intro,
    .features-layout, .features-grid, .service-block__body {
        grid-template-columns: 1fr;
    }
    .item-grid:first-child {
        margin-top: 0;
    }
    .service-block__body,
    .service-block--flip .service-block__body {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "copy";
    }
    .contact-map {
        min-height: 280px;
        flex: none;
    }
    .contact-map iframe {
        min-height: 280px;
    }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .glance__row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 768px) {
    /* Mobile: hide the top info bar — its details live in the menu tray instead */
    .topbar { display: none; }

    /* The blur on the header would trap the tray inside the header box */
    .site-header { backdrop-filter: none; background: var(--white); }
    .header-inner { min-height: 68px; }
    .logo-full { height: 40px; }

    .mobile-toggle { display: flex; border-radius: 8px; }

    /* Menu tray: slides in from the right, full height */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 360px);
        background: var(--white);
        box-shadow: -12px 0 40px rgba(11, 31, 58, 0.18);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
        z-index: 1200;
    }
    .main-nav.active {
        transform: none;
        visibility: visible;
        transition: transform 0.35s var(--ease), visibility 0s;
    }

    .main-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 16px 16px 24px;
        border-bottom: 1px solid var(--line);
        position: sticky;
        top: 0;
        background: var(--white);
    }
    .main-nav__title {
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--accent);
    }
    .nav-close {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: var(--white);
        color: var(--text);
        cursor: pointer;
        transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
    }
    .nav-close:hover,
    .nav-close:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--white); outline: none; }

    .main-nav .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
    }
    .main-nav .nav-menu li { border-bottom: 1px solid var(--line); }
    .main-nav .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text);
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    .main-nav .nav-menu a::after {
        content: '';
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.35;
    }
    .main-nav .nav-menu a:hover,
    .main-nav .nav-menu .current-menu-item > a {
        color: var(--accent);
        background: var(--surface);
        border-left-color: var(--accent);
        border-bottom-color: transparent;
    }

    .main-nav__extra {
        display: block;
        margin-top: auto;
        padding: 20px 24px 28px;
        background: var(--surface);
        border-top: 1px solid var(--line);
    }
    .main-nav__cta {
        display: flex;
        justify-content: center;
        width: 100%;
        border-radius: 40px;
        padding: 13px 20px;
        margin-bottom: 18px;
    }
    .main-nav__cta:hover { color: var(--white); }
    .main-nav__contact { list-style: none; display: grid; gap: 10px; }
    .main-nav__contact li {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 8px;
        font-size: 0.92rem;
        color: var(--text-body);
        line-height: 1.45;
    }
    .main-nav__contact span {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--gray);
        padding-top: 2px;
    }
    .main-nav__contact a { color: var(--text); word-break: break-word; }

    /* Dimmed page behind the tray */
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(11, 31, 58, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
        z-index: 1150;
    }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
    body.nav-open { overflow: hidden; }
    body.nav-open .support-widget { display: none; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .further-table thead { display: none; }
    .further-table tr {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    .further-table td {
        display: block;
        padding: 3px 0;
        border: none;
    }
    .section, .section--compact { padding: 48px 0; }
}
