/* ============================================
   GROWVERN GX DESIGN SYSTEM (2026 redesign)
   All classes are prefixed gx- so they never
   collide with legacy page CSS.
   ============================================ */

:root {
    --gx-navy: #0a1430;
    --gx-navy-2: #111d42;
    --gx-navy-3: #1a2856;
    --gx-gold: #f8d102;
    --gx-gold-dark: #dcb800;
    --gx-gold-soft: #fff8cc;
    --gx-ink: #0b1226;
    --gx-body: #4a5468;
    --gx-muted: #6b7489;
    --gx-line: #e4e7ee;
    --gx-bg: #ffffff;
    --gx-soft: #f5f6fa;
    --gx-green: #16a34a;
    --gx-red: #dc2626;
    --gx-radius: 16px;
    --gx-radius-sm: 10px;
    --gx-shadow: 0 1px 2px rgba(11, 18, 38, 0.06), 0 8px 24px rgba(11, 18, 38, 0.06);
    --gx-shadow-lg: 0 24px 60px rgba(11, 18, 38, 0.16);
    --gx-font-head: 'Oswald', 'Arial Narrow', sans-serif;
    --gx-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --gx-header-h: 111px;
}

/* ============================================
   PAGE SHELL
   ============================================ */
.gx-page {
    background: var(--gx-bg);
    color: var(--gx-body);
    font-family: var(--gx-font-body);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: clip;
}

.gx-page *,
.gx-header *,
.gx-footer *,
.gx-drawer * {
    box-sizing: border-box;
}

.gx-page h1,
.gx-page h2,
.gx-page h3,
.gx-page h4 {
    font-family: var(--gx-font-head);
    color: var(--gx-ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0.2px;
    margin: 0;
}

.gx-page p { margin: 0; }
.gx-page a { text-decoration: none; }
.gx-page img { max-width: 100%; height: auto; }

.gx-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gx-section {
    padding: 96px 0;
}

.gx-section--soft { background: var(--gx-soft); }
.gx-section--navy { background: var(--gx-navy); color: rgba(255, 255, 255, 0.78); }
.gx-section--navy h2,
.gx-section--navy h3 { color: #fff; }
.gx-section--tight { padding: 56px 0; }

.gx-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.gx-head--left {
    margin-left: 0;
    text-align: left;
}

.gx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--gx-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a6d00;
    margin-bottom: 14px;
}

.gx-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--gx-gold);
}

.gx-section--navy .gx-eyebrow,
.gx-hero .gx-eyebrow,
.gx-final .gx-eyebrow,
.gx-tabs__proof .gx-eyebrow { color: var(--gx-gold); }

.gx-h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    margin-bottom: 16px !important;
}

.gx-h2 em,
.gx-h1 em {
    font-style: normal;
    color: var(--gx-ink);
    background: linear-gradient(transparent 62%, rgba(248, 209, 2, 0.75) 62%);
    padding: 0 2px;
}

.gx-section--navy .gx-h2 em,
.gx-hero .gx-h1 em,
.gx-final .gx-h2 em { color: var(--gx-gold); background: none; padding: 0; }

.gx-lead {
    font-size: 19px;
    color: var(--gx-muted);
}

.gx-section--navy .gx-lead { color: rgba(255, 255, 255, 0.72); }

/* ============================================
   BUTTONS
   ============================================ */
.gx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-family: var(--gx-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.gx-btn:hover { transform: translateY(-2px); }
.gx-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.gx-btn--gold {
    background: var(--gx-gold);
    color: var(--gx-navy) !important;
    box-shadow: 0 8px 20px rgba(248, 209, 2, 0.28);
}

.gx-btn--gold:hover { background: #ffdc1f; box-shadow: 0 12px 26px rgba(248, 209, 2, 0.38); }

.gx-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.gx-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.gx-btn--dark {
    background: var(--gx-navy);
    color: #fff !important;
}

.gx-btn--dark:hover { background: var(--gx-navy-3); }

.gx-btn--outline {
    background: #fff;
    color: var(--gx-ink) !important;
    border-color: var(--gx-line);
}

.gx-btn--outline:hover { border-color: var(--gx-ink); }

.gx-btn--lg { padding: 18px 32px; font-size: 17px; }
.gx-btn--block { width: 100%; }

.gx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--gx-ink) !important;
    border-bottom: 2px solid var(--gx-gold);
    padding-bottom: 2px;
}

.gx-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.gx-cta-note {
    font-size: 14px;
    color: var(--gx-muted);
}

/* ============================================
   HEADER
   ============================================ */
.gx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-family: var(--gx-font-body);
    transition: transform 0.25s ease;
}

.gx-topbar {
    background: var(--gx-gold);
    color: var(--gx-navy);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 9px 16px;
    line-height: 1.4;
}

.gx-topbar a {
    color: var(--gx-navy) !important;
    text-decoration: none !important;
}

.gx-topbar strong { font-weight: 800; }
.gx-topbar u { text-underline-offset: 3px; }

.gx-nav {
    background: var(--gx-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s ease;
}

.gx-header.is-scrolled .gx-nav { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }

.gx-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.gx-logo img {
    height: 34px;
    width: auto;
    display: block;
}

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

.gx-menu > li { position: relative; }

.gx-menu__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.gx-menu__link:hover,
.gx-menu__link.is-active { color: #fff !important; background: rgba(255, 255, 255, 0.06); }

.gx-menu__link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.gx-menu > li.is-open .gx-menu__link svg { transform: rotate(180deg); }

.gx-dd {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #fff;
    border-radius: var(--gx-radius);
    box-shadow: var(--gx-shadow-lg);
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 10;
}

.gx-dd::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.gx-menu > li.is-open .gx-dd {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.gx-dd--services { width: 640px; }
.gx-dd--industries { width: 620px; }

.gx-dd__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 22px;
}

.gx-dd__label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #98a0b3;
    margin: 10px 0 4px;
}

.gx-dd__label:first-child { margin-top: 0; }

.gx-dd__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    color: var(--gx-ink) !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
}

.gx-dd__link i {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--gx-soft);
    color: var(--gx-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.gx-dd__link:hover { background: var(--gx-soft); }
.gx-dd__link:hover i { background: var(--gx-gold); }

.gx-dd__link small {
    display: block;
    font-weight: 500;
    color: var(--gx-muted);
    font-size: 12.5px;
}

.gx-dd__foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gx-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: var(--gx-muted);
}

.gx-dd__foot a {
    color: var(--gx-ink) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.gx-nav__cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gx-nav__cta .gx-btn { padding: 11px 20px; font-size: 14.5px; }

.gx-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    cursor: pointer;
    margin-left: auto;
    position: relative;
}

.gx-burger span,
.gx-burger span::before,
.gx-burger span::after {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s, top 0.2s, opacity 0.2s;
}

.gx-burger span { top: 21px; }
.gx-burger span::before { content: ''; left: 0; top: -6px; }
.gx-burger span::after { content: ''; left: 0; top: 6px; }
.gx-burger[aria-expanded="true"] span { background: transparent; }
.gx-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.gx-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.gx-drawer {
    position: fixed;
    inset: var(--gx-header-h) 0 0 0;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: 12px 20px 120px;
    font-family: var(--gx-font-body);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.gx-drawer.is-open { transform: translateX(0); }

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

.gx-drawer__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 2px;
    font-size: 17px;
    font-weight: 700;
    color: var(--gx-ink) !important;
    text-decoration: none !important;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.gx-drawer__link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.gx-drawer__item.is-open .gx-drawer__link svg { transform: rotate(180deg); }

.gx-drawer__sub {
    display: none;
    padding: 0 0 14px;
}

.gx-drawer__item.is-open .gx-drawer__sub { display: block; }

.gx-drawer__sub a {
    display: block;
    padding: 9px 12px;
    color: var(--gx-body) !important;
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 8px;
}

.gx-drawer__sub a:hover { background: var(--gx-soft); }

.gx-drawer__sub .gx-dd__label { padding: 0 12px; }

.gx-drawer__cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--gx-line);
    display: grid;
    gap: 10px;
}

body.gx-menu-open { overflow: hidden; }

/* Offset for the fixed header (kept in sync with its real height by JS in header.php) */
body { padding-top: var(--gx-header-h) !important; }

/* Neutralise legacy global rules (global.css colours every <strong> gold, base.css uppercases h1) */
.gx-header strong,
.gx-page strong,
.gx-footer strong,
.gx-drawer strong { color: inherit !important; }

.gx-page h1,
.gx-page h2,
.gx-page h3,
.gx-page h4 { text-transform: none; }

/* base.css colours every <p> light for the old dark theme; let gx sections decide.
   :where() keeps specificity at a bare element so gx component classes still win. */
:where(.gx-page, .gx-footer) p { color: inherit; }

.gx-footer { text-align: left; }

@media (max-width: 1100px) {
    .gx-menu,
    .gx-nav__cta .gx-btn--ghost { display: none; }
    .gx-burger { display: block; }
    .gx-nav__cta { margin-left: auto; }
    .gx-burger { margin-left: 0; }
}

@media (max-width: 560px) {
    :root { --gx-header-h: 98px; }
    .gx-topbar { font-size: 12.5px; padding: 8px 12px; }
    .gx-nav__inner { padding: 0 16px; height: 64px; gap: 12px; }
    .gx-logo img { height: 28px; }
    .gx-nav__cta .gx-btn { padding: 10px 14px; font-size: 13.5px; }
}

/* ============================================
   HERO
   ============================================ */
.gx-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(248, 209, 2, 0.12) 0%, rgba(248, 209, 2, 0) 40%),
        radial-gradient(circle at 10% 90%, rgba(59, 91, 219, 0.25) 0%, rgba(59, 91, 219, 0) 45%),
        var(--gx-navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 84px 0 96px;
    position: relative;
    overflow: hidden;
}

.gx-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.gx-h1 {
    font-size: clamp(38px, 5.4vw, 68px);
    color: #fff !important;
    margin-bottom: 22px !important;
    line-height: 1.04 !important;
}

.gx-hero__sub {
    font-size: 19px;
    max-width: 580px;
    margin-bottom: 32px !important;
}

.gx-hero__sub strong { color: #fff !important; }

.gx-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    font-size: 14.5px;
}

.gx-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gx-hero__trust svg { width: 18px; height: 18px; color: var(--gx-gold); flex-shrink: 0; }

.gx-hero__visual {
    position: relative;
    max-width: 440px;
    margin-left: auto;
    width: 100%;
}

.gx-hero__photo {
    position: relative;
    border-radius: 24px;
    background: radial-gradient(circle at 30% 20%, #ffe55c 0%, var(--gx-gold) 55%, #e6c000 100%);
    aspect-ratio: 1 / 1.05;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 28px;
}

.gx-hero__photo img {
    display: block;
    width: 88%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.gx-float {
    position: absolute;
    background: #fff;
    color: var(--gx-ink);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--gx-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.gx-float__num {
    font-family: var(--gx-font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--gx-green);
    line-height: 1;
}

.gx-float__label { font-size: 13px; line-height: 1.35; color: var(--gx-body); }
.gx-float__label strong { color: var(--gx-ink) !important; display: block; }

.gx-float--a { left: -56px; top: auto; bottom: 36%; }
.gx-float--b { right: -28px; bottom: 12%; }

.gx-float__name {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    background: var(--gx-navy-2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13.5px;
    white-space: nowrap;
}

.gx-float__name strong { color: var(--gx-gold) !important; }

/* ============================================
   PROOF STRIP + STATS
   ============================================ */
.gx-proof {
    background: #fff;
    border-bottom: 1px solid var(--gx-line);
    padding: 34px 0;
}

.gx-proof__label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gx-muted);
    margin-bottom: 18px !important;
}

.gx-proof__names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 48px;
}

.gx-proof__names span {
    font-family: var(--gx-font-head);
    font-size: 24px;
    font-weight: 600;
    color: #9aa1b2;
    letter-spacing: 0.5px;
}

.gx-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gx-stat {
    background: #fff;
    border: 1px solid var(--gx-line);
    border-radius: var(--gx-radius);
    padding: 26px 22px;
    text-align: left;
}

.gx-stat__num {
    font-family: var(--gx-font-head);
    font-size: 46px;
    font-weight: 700;
    color: var(--gx-ink);
    line-height: 1;
    margin-bottom: 8px;
}

.gx-stat__num span { color: var(--gx-gold-dark); }
.gx-stat__label { font-size: 15px; color: var(--gx-muted); }

/* ============================================
   COMPARE (problem section)
   ============================================ */
.gx-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gx-compare__col {
    border-radius: var(--gx-radius);
    padding: 32px;
    border: 1px solid var(--gx-line);
    background: #fff;
}

.gx-compare__col--us {
    background: var(--gx-navy);
    border-color: var(--gx-navy);
    color: rgba(255, 255, 255, 0.82);
}

.gx-compare__col h3 {
    font-size: 24px;
    margin-bottom: 18px !important;
}

.gx-compare__col--us h3 { color: #fff; }

.gx-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gx-checks li {
    position: relative;
    padding: 10px 0 10px 34px;
    border-top: 1px solid var(--gx-line);
}

.gx-compare__col--us .gx-checks li { border-top-color: rgba(255, 255, 255, 0.1); }
.gx-checks li:first-child { border-top: 0; }

.gx-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gx-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1430' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.gx-checks--x li::before {
    background: #fde8e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ============================================
   CARDS (services, cases, resources)
   ============================================ */
.gx-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.gx-card {
    background: #fff;
    border: 1px solid var(--gx-line);
    border-radius: var(--gx-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    color: var(--gx-body) !important;
}

a.gx-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gx-shadow-lg);
    border-color: transparent;
}

.gx-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gx-gold-soft);
    color: var(--gx-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.gx-card h3 {
    font-size: 23px;
    margin-bottom: 10px !important;
}

.gx-card p { font-size: 16px; }

.gx-card__more {
    margin-top: auto;
    padding-top: 20px;
    font-weight: 700;
    font-size: 15px;
    color: var(--gx-ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gx-card__more::after { content: '\2192'; transition: transform 0.15s; }
a.gx-card:hover .gx-card__more::after { transform: translateX(4px); }

.gx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.gx-tags span {
    font-size: 12.5px;
    font-weight: 600;
    background: var(--gx-soft);
    color: var(--gx-body);
    padding: 4px 10px;
    border-radius: 999px;
}

/* Case cards: big number first */
.gx-case {
    background: #fff;
    border: 1px solid var(--gx-line);
    border-radius: var(--gx-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    color: var(--gx-body) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.gx-case:hover { transform: translateY(-4px); box-shadow: var(--gx-shadow-lg); }

.gx-case__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gx-muted);
}

.gx-case__num {
    font-family: var(--gx-font-head);
    font-size: 52px;
    font-weight: 700;
    color: var(--gx-ink);
    line-height: 1;
    margin: 18px 0 6px;
}

.gx-case__metric {
    font-weight: 700;
    color: var(--gx-ink);
    margin-bottom: 14px;
}

.gx-case__client {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--gx-line);
    font-size: 15px;
}

.gx-case__client strong { color: var(--gx-ink); }

/* Case card with cover image + client logo */
.gx-case--media { padding: 0; overflow: hidden; }
.gx-case--media .gx-case__body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.gx-case--media .gx-case__num { margin-top: 10px; }
.gx-case__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--gx-soft);
    overflow: hidden;
    border-bottom: 1px solid var(--gx-line);
}
.gx-case__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}
a.gx-case:hover .gx-case__cover { transform: scale(1.05); }
.gx-case__logo {
    position: absolute;
    left: 14px;
    bottom: 14px;
    height: 46px;
    min-width: 46px;
    max-width: 62%;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(11, 18, 38, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gx-case__logo.is-dark { background: var(--gx-navy); }
.gx-case__logo img { max-height: 30px; max-width: 100%; width: auto; height: auto; display: block; }
.gx-case__logo--text {
    font-family: var(--gx-font-head);
    font-size: 17px;
    font-weight: 600;
    color: var(--gx-ink);
}

/* ============================================
   INDUSTRY TABS
   ============================================ */
.gx-tabs__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.gx-tabs__btn {
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--gx-line);
    background: #fff;
    font-family: var(--gx-font-body);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--gx-body);
    cursor: pointer;
}

.gx-tabs__btn[aria-selected="true"] {
    background: var(--gx-navy);
    border-color: var(--gx-navy);
    color: #fff;
}

.gx-tabs__panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gx-line);
    border-radius: 22px;
    padding: 44px;
}

.gx-tabs__panel[hidden] { display: none; }

.gx-tabs__panel h3 {
    font-size: 32px;
    margin-bottom: 14px !important;
}

.gx-tabs__panel .gx-checks { margin: 20px 0 28px; }

.gx-tabs__proof {
    background: var(--gx-navy);
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--gx-radius);
    padding: 30px;
}

.gx-tabs__proof { overflow: hidden; }
.gx-tabs__proof .gx-case__media { margin: -30px -30px 22px; border-bottom: 0; aspect-ratio: 16 / 8; }
.gx-tabs__proof .gx-case__num { color: var(--gx-gold); margin-top: 6px; }
.gx-tabs__proof .gx-case__metric { color: #fff; }
.gx-tabs__proof .gx-case__tag { color: rgba(255, 255, 255, 0.55); }

.gx-niches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.gx-niches a {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 999px;
}

.gx-niches a:hover { border-color: var(--gx-gold); color: var(--gx-gold) !important; }

/* ============================================
   PROCESS
   ============================================ */
.gx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: gx-step;
}

.gx-step {
    position: relative;
    padding-top: 22px;
    border-top: 3px solid rgba(255, 255, 255, 0.15);
}

.gx-step::before {
    counter-increment: gx-step;
    content: '0' counter(gx-step);
    display: block;
    font-family: var(--gx-font-head);
    font-size: 40px;
    font-weight: 700;
    color: var(--gx-gold);
    line-height: 1;
    margin-bottom: 14px;
}

.gx-step h3 {
    font-size: 22px;
    margin-bottom: 8px !important;
}

.gx-step p { font-size: 15.5px; }

.gx-step__time {
    display: inline-block;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gx-gold);
}

/* ============================================
   GUARANTEE BAND
   ============================================ */
.gx-guarantee {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    background: var(--gx-gold);
    border-radius: 24px;
    padding: 40px 44px;
    color: var(--gx-navy);
}

.gx-guarantee__badge {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--gx-navy);
    color: var(--gx-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gx-guarantee__badge svg { width: 44px; height: 44px; }
.gx-guarantee h2 { font-size: clamp(26px, 3vw, 36px); color: var(--gx-navy); margin-bottom: 8px !important; }
.gx-guarantee p { font-size: 17px; color: rgba(10, 20, 48, 0.82); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.gx-quote {
    background: #fff;
    border: 1px solid var(--gx-line);
    border-radius: var(--gx-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.gx-quote__result {
    font-family: var(--gx-font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--gx-ink);
    line-height: 1.2;
    margin-bottom: 12px !important;
}

.gx-quote__stars {
    color: #f5b301;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 12px;
}

.gx-quote blockquote {
    margin: 0 0 22px;
    font-size: 16.5px;
    color: var(--gx-body);
}

.gx-quote__who {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
}

.gx-quote__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gx-navy);
    color: var(--gx-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.gx-quote__who strong { display: block; color: var(--gx-ink); }

/* ============================================
   RESOURCES (lead magnets)
   ============================================ */
.gx-resource {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gx-line);
    border-radius: var(--gx-radius);
    padding: 26px;
    color: var(--gx-body) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.gx-resource:hover { transform: translateY(-4px); box-shadow: var(--gx-shadow-lg); }

.gx-resource__cover {
    background: linear-gradient(180deg, #f7f7f5 0%, #e9ebef 100%);
    border-radius: 12px;
    padding: 12px 10px 4px;
}

.gx-resource__cover img { display: block; width: 100%; height: auto; }
.gx-resource h3 { font-size: 21px; margin-bottom: 8px !important; }
.gx-resource p { font-size: 15.5px; }

/* ============================================
   FAQ
   ============================================ */
.gx-faq {
    max-width: 860px;
    margin: 0 auto;
}

.gx-faq details {
    border-bottom: 1px solid var(--gx-line);
}

.gx-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 44px 22px 0;
    position: relative;
    font-family: var(--gx-font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--gx-ink);
}

.gx-faq summary::-webkit-details-marker { display: none; }

.gx-faq summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gx-soft);
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    font-weight: 600;
    color: var(--gx-ink);
}

.gx-faq details[open] summary::after { content: '\2212'; background: var(--gx-gold); }
.gx-faq details p { padding: 0 44px 22px 0; }

/* ============================================
   FINAL CTA
   ============================================ */
.gx-final {
    background:
        radial-gradient(circle at 15% 20%, rgba(248, 209, 2, 0.14) 0%, rgba(248, 209, 2, 0) 40%),
        var(--gx-navy);
    border-radius: 28px;
    padding: 64px 48px;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
}

.gx-final h2 {
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 16px !important;
}

.gx-final .gx-lead { color: rgba(255, 255, 255, 0.72); max-width: 640px; margin: 0 auto 32px; }
.gx-final .gx-cta-row { justify-content: center; }
.gx-final .gx-cta-note { color: rgba(255, 255, 255, 0.6); margin-top: 18px; }

/* ============================================
   FOOTER
   ============================================ */
.gx-footer {
    margin-top: 0 !important;
    background: #070e22;
    color: rgba(255, 255, 255, 0.66);
    font-family: var(--gx-font-body);
    font-size: 15px;
    padding: 72px 0 0;
}

.gx-footer a { color: rgba(255, 255, 255, 0.72) !important; text-decoration: none !important; }
.gx-footer a:hover { color: var(--gx-gold) !important; }

.gx-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 56px;
}

.gx-footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.gx-footer__brand p { margin: 0 0 20px; line-height: 1.6; }

.gx-footer h4 {
    font-family: var(--gx-font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
}

.gx-footer ul { list-style: none; margin: 0; padding: 0; }
.gx-footer li { margin-bottom: 10px; }

.gx-footer__social { display: flex; gap: 10px; }

.gx-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gx-footer__form {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 5px;
    margin: 14px 0 8px;
}

.gx-footer__form input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    padding: 0 14px;
    font-size: 15px;
    font-family: inherit;
}

.gx-footer__form button {
    border: 0;
    background: var(--gx-gold);
    color: var(--gx-navy);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.gx-footer .gv-footer__message { font-size: 13.5px; min-height: 20px; }
.gx-footer .gv-footer__message.success { color: #4ade80; }
.gx-footer .gv-footer__message.error { color: #f87171; }

.gx-footer__cta {
    margin-top: 22px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(248, 209, 2, 0.08);
    border: 1px solid rgba(248, 209, 2, 0.25);
}

.gx-footer__cta strong { color: #fff; display: block; margin-bottom: 8px; }
.gx-footer__cta a { color: var(--gx-gold) !important; font-weight: 700; }

.gx-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.gx-footer__bottom nav { display: flex; gap: 20px; }

/* ============================================
   ILLUSTRATIONS (inline SVG)
   ============================================ */
.gx-illus-wrap {
    margin: 0 auto 48px;
    max-width: 1080px;
}

.gx-illus {
    display: block;
    width: 100%;
    height: auto;
    font-family: var(--gx-font-body);
    overflow: visible;
}

.gx-illus .gx-flow path {
    stroke-dasharray: 8 10;
    animation: gx-flow 1.6s linear infinite;
}

.gx-illus .gx-drip path {
    animation: gx-drip 2.4s ease-in infinite;
    transform-box: fill-box;
}

.gx-illus .gx-drip path:nth-child(2) { animation-delay: 0.6s; }
.gx-illus .gx-drip path:nth-child(3) { animation-delay: 1.2s; }
.gx-illus .gx-drip path:nth-child(4) { animation-delay: 1.8s; }

@keyframes gx-flow { to { stroke-dashoffset: -36; } }
@keyframes gx-drip {
    0% { transform: translateY(0); opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(40px); opacity: 0; }
}

@media (max-width: 760px) {
    .gx-illus-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px 36px;
        padding: 0 20px 8px;
    }
    .gx-illus { min-width: 760px; }
    .gx-illus-hint {
        display: block;
        text-align: center;
        font-size: 13px;
        color: var(--gx-muted);
        margin: -26px 0 28px;
    }
}

.gx-illus-hint { display: none; }

@media (prefers-reduced-motion: reduce) {
    .gx-illus .gx-flow path,
    .gx-illus .gx-drip path { animation: none; }
}

/* ============================================
   MOTION (subtle, attention + scroll cues)
   Reveal styles only apply when gx.js adds .gx-anim,
   so content is never hidden without JavaScript.
   ============================================ */
.gx-anim .gx-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gx-anim .gx-reveal.is-in { opacity: 1; transform: none; }

/* Reading progress bar under the header */
.gx-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--gx-gold), #ffe55c);
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
}

/* Gold buttons: periodic light sweep + arrow nudge */
.gx-btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.gx-btn--gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: gx-shine 5.5s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}
.gx-btn svg { transition: transform 0.2s ease; }
.gx-btn:hover svg { transform: translateX(4px); }

/* Primary hero CTA: soft attention pulse */
.gx-hero .gx-btn--gold.gx-btn--lg { animation: gx-pulse 2.8s ease-out 1.2s infinite; }

/* Hero result cards gently float */
.gx-float--a { animation: gx-bob 5s ease-in-out infinite; }
.gx-float--b { animation: gx-bob 5s ease-in-out 1.6s infinite; }

/* Hero scroll cue */
.gx-scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55) !important;
}
.gx-scroll-cue svg { width: 18px; height: 18px; animation: gx-nudge-down 1.8s ease-in-out infinite; }

/* Mobile sticky CTA */
.gx-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--gx-line);
    box-shadow: 0 -10px 30px rgba(11, 18, 38, 0.12);
    transform: translateY(110%);
    transition: transform 0.3s ease;
    display: none;
    font-family: var(--gx-font-body);
}
.gx-sticky-cta.is-visible { transform: translateY(0); }
@media (max-width: 760px) { .gx-sticky-cta { display: block; } }

@keyframes gx-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes gx-pulse {
    0% { box-shadow: 0 8px 20px rgba(248, 209, 2, 0.28), 0 0 0 0 rgba(248, 209, 2, 0.55); }
    70% { box-shadow: 0 8px 20px rgba(248, 209, 2, 0.28), 0 0 0 16px rgba(248, 209, 2, 0); }
    100% { box-shadow: 0 8px 20px rgba(248, 209, 2, 0.28), 0 0 0 0 rgba(248, 209, 2, 0); }
}
@keyframes gx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gx-nudge-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (prefers-reduced-motion: reduce) {
    .gx-btn--gold::after,
    .gx-hero .gx-btn--gold.gx-btn--lg,
    .gx-float--a,
    .gx-float--b,
    .gx-scroll-cue svg { animation: none; }
    .gx-sticky-cta { transition: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .gx-hero__grid { grid-template-columns: 1fr; gap: 56px; }
    .gx-hero__visual { margin: 0 auto; max-width: 400px; }
    .gx-float--a { left: -24px; bottom: 36%; }
    .gx-float--b { right: -16px; }
    .gx-grid-4, .gx-stats, .gx-steps { grid-template-columns: repeat(2, 1fr); }
    .gx-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gx-tabs__panel { grid-template-columns: 1fr; padding: 32px; }
    .gx-footer__top { grid-template-columns: 1fr 1fr 1fr; }
    .gx-footer__brand, .gx-footer__news { grid-column: span 3; }
}

@media (max-width: 760px) {
    .gx-page { font-size: 16px; }
    .gx-section { padding: 68px 0; }
    .gx-section--tight { padding: 44px 0; }
    .gx-head { margin-bottom: 36px; }
    .gx-hero { padding: 48px 0 72px; }
    .gx-hero__sub { font-size: 17px; }
    .gx-cta-row .gx-btn { width: 100%; }
    .gx-grid-3, .gx-grid-4, .gx-compare { grid-template-columns: 1fr; }
    .gx-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gx-stat { padding: 20px 16px; }
    .gx-stat__num { font-size: 36px; }
    .gx-steps { grid-template-columns: 1fr; }
    .gx-proof__names { gap: 10px 26px; }
    .gx-proof__names span { font-size: 19px; }
    .gx-guarantee { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 20px; }
    .gx-guarantee__badge { margin: 0 auto; }
    .gx-resource { grid-template-columns: 96px 1fr; gap: 18px; padding: 20px; }
    .gx-tabs__panel { padding: 24px; }
    .gx-tabs__btn { padding: 10px 16px; font-size: 14.5px; }
    .gx-final { padding: 48px 22px; border-radius: 20px; }
    .gx-float { min-width: 0; padding: 10px 12px; }
    .gx-float__num { font-size: 21px; }
    .gx-float--a { left: -8px; top: auto; bottom: 34%; }
    .gx-float--b { right: -8px; }
    .gx-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .gx-footer__brand, .gx-footer__news { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
    .gx-btn, .gx-card, .gx-case, .gx-resource, .gx-drawer, .gx-dd { transition: none; }
}
