@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    color: #1a2535;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:root {
    --blue: #1B6FBE;
    --blue-dk: #0D3560;
    --blue-lt: #2BA8E0;
    --blue-pale: #EBF4FB;
    --blue-xpale: #F4F9FE;
    --navy: #071E3D;
    --white: #ffffff;
    --off: #F7F9FC;
    --text: #1a2535;
    --mid: #3d5068;
    --muted: #6b7f96;
    --border: #DDE6EF;
    --border2: #C8D8E8;
    --r: 8px;
    --r-lg: 14px;
    --r-xl: 20px;
    --sh: 0 1px 3px rgba(13, 53, 96, 0.07), 0 4px 16px rgba(13, 53, 96, 0.08);
    --sh-md: 0 2px 8px rgba(13, 53, 96, 0.08), 0 8px 32px rgba(13, 53, 96, 0.12);
    --sh-lg: 0 8px 24px rgba(13, 53, 96, 0.1), 0 24px 64px rgba(13, 53, 96, 0.14);
}


/* ── TOPBAR ── */

.topbar {
    background: var(--navy);
    padding: 9px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-l,
.topbar-r {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar span,
.topbar a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.topbar a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.topbar .sep {
    color: rgba(255, 255, 255, 0.2);
}


/* ── HEADER ── */

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}

.hdr-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

nav ul a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--mid);
    text-decoration: none;
    padding: 8px 13px;
    border-radius: 6px;
    transition: color .18s, background .18s;
    display: flex;
    align-items: center;
    gap: 4px;
}

nav ul a:hover,
nav ul a.act {
    color: var(--blue);
    background: var(--blue-xpale);
}

.has-dd {
    position: relative;
}

.has-dd>a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: .45;
    margin-left: 2px;
    transition: transform .18s;
    vertical-align: middle;
}

.has-dd.open>a::after {
    transform: rotate(180deg);
}

.dd {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 8px;
    min-width: 232px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .18s, transform .18s;
}

.has-dd.open .dd {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.dd-inner {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 8px 32px rgba(13, 53, 96, 0.13);
    padding: 8px;
}

.dd a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: var(--mid) !important;
    text-decoration: none;
}

.dd a:hover {
    background: var(--blue-xpale) !important;
    color: var(--blue) !important;
}

.dd-ico {
    width: 28px;
    height: 28px;
    background: #f0f6fc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dd-ico svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-cta {
    background: var(--blue) !important;
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.nav-cta:hover {
    background: var(--blue-dk) !important;
}


/* ── TICKER ── */

.ticker {
    background: var(--blue-dk);
    padding: 10px 0;
    overflow: hidden;
}

.tk-track {
    display: flex;
    white-space: nowrap;
    animation: tick 35s linear infinite;
    width: max-content;
}

.tk-item {
    padding: 0 32px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tk-item::before {
    content: "";
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@keyframes tick {
    to {
        transform: translateX(-50%);
    }
}


/* ── BUTTONS ── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--r);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    border: none;
}

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

.btn-primary:hover {
    background: var(--blue-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(27, 111, 190, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--blue);
}

.btn-white:hover {
    background: var(--blue-pale);
    transform: translateY(-1px);
}

.btn-white-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}


/* ── LAYOUT ── */

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 5%;
}

.sec {
    padding: 88px 0;
}

.sec-sm {
    padding: 60px 0;
}

.sec-alt {
    background: var(--off);
}

.sec-blue {
    background: var(--blue-dk);
}

.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

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

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

.ga {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}


/* ── TYPOGRAPHY ── */

.lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--blue-lt);
    display: block;
    margin-bottom: 10px;
}

.lbl-dk {
    color: rgba(43, 168, 224, 0.7);
}

h1.disp {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.06;
    color: var(--blue-dk);
    letter-spacing: -.02em;
}

h1.disp span {
    color: var(--blue);
}

h2.hd {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--blue-dk);
    letter-spacing: -.015em;
    margin-bottom: 12px;
}

h2.hd span {
    color: var(--blue);
}

h2.hd-wh {
    color: #fff;
}

h3.sh {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--blue-dk);
    margin-bottom: 8px;
}

.sub {
    font-size: 16.5px;
    color: var(--muted);
    line-height: 1.72;
    max-width: 560px;
    margin-bottom: 44px;
}

.sub-wh {
    color: rgba(255, 255, 255, 0.65);
}


/* ── CARDS ── */

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: box-shadow .22s, border-color .22s, transform .2s;
}

.card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--border2);
    transform: translateY(-3px);
}

.card-ico {
    width: 46px;
    height: 46px;
    background: var(--blue-pale);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}


/* ── STATS BAR ── */

.stats-bar {
    background: var(--blue);
}

.stats-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
    border-right: none;
}

.stat-n {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-u {
    color: var(--blue-lt);
}

.stat-l {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}


/* ── PAGE HERO (inner) ── */

.pg-hero {
    background: linear-gradient(150deg, var(--navy) 0%, var(--blue-dk) 100%);
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}

.pg-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.bc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.bc a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.bc a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.bc-sep {
    color: rgba(255, 255, 255, 0.2);
}


/* ── FORM ── */

.f-group {
    margin-bottom: 18px;
}

.f-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--mid);
    margin-bottom: 6px;
    letter-spacing: .01em;
}

.f-group input,
.f-group select,
.f-group textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 111, 190, 0.1);
}

.f-group textarea {
    resize: vertical;
    min-height: 110px;
}

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* ── TESTI ── */

.testi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
}

.stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 12px;
}

.testi blockquote {
    font-size: 14.5px;
    color: var(--mid);
    line-height: 1.72;
    font-style: italic;
}

.t-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.t-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
}

.t-av-info h5 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--blue-dk);
}

.t-av-info span {
    font-size: 12px;
    color: var(--muted);
}


/* ── FOOTER ── */

footer {
    background: var(--navy);
}

.ft-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 64px 5% 48px;
}

.ft-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 48px;
}

.ft-brand p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-top: 18px;
    max-width: 260px;
}

.ft-col h5 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.ft-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-col a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 13.5px;
    transition: color .18s;
}

.ft-col a:hover {
    color: var(--blue-lt);
}

.ft-bot {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 5%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-bot p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

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

.soc a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background .18s;
}

.soc a:hover {
    background: var(--blue);
    color: #fff;
}

@media(max-width:1024px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ft-brand {
        grid-column: 1/-1;
    }
}

/* ── HAMBURGER BUTTON ── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    cursor: pointer;
    gap: 5px;
    padding: 0;
    transition: border-color .18s, background .18s;
    flex-shrink: 0;
}

.nav-burger:hover {
    border-color: var(--blue);
    background: var(--blue-xpale);
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--mid);
    border-radius: 2px;
    transition: transform .25s, opacity .2s, width .2s;
    transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE DRAWER ── */
.mob-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.mob-nav.open {
    display: block;
}

.mob-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 30, 61, 0.45);
    backdrop-filter: blur(2px);
    animation: fadeIn .2s ease;
}

.mob-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: -8px 0 40px rgba(13, 53, 96, 0.18);
    display: flex;
    flex-direction: column;
    animation: slideIn .25s ease;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.mob-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.mob-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s, border-color .18s;
    color: var(--mid);
}

.mob-close:hover {
    background: var(--blue-xpale);
    border-color: var(--blue);
    color: var(--blue);
}

.mob-links {
    flex: 1;
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mob-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--r);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mid);
    text-decoration: none;
    transition: background .15s, color .15s;
}

.mob-links a:hover,
.mob-links a.act {
    background: var(--blue-xpale);
    color: var(--blue);
}

.mob-links .mob-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--r);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mid);
    cursor: pointer;
    transition: background .15s, color .15s;
    user-select: none;
}

.mob-links .mob-parent:hover {
    background: var(--blue-xpale);
    color: var(--blue);
}

.mob-chevron {
    width: 16px;
    height: 16px;
    transition: transform .22s;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mob-chevron.open {
    transform: rotate(180deg);
}

.mob-sub {
    display: none;
    flex-direction: column;
    gap: 1px;
    padding: 4px 0 4px 12px;
}

.mob-sub.open {
    display: flex;
}

.mob-sub a {
    font-size: 13.5px;
    font-weight: 400;
    padding: 10px 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--r);
}

.mob-sub a:hover {
    background: var(--blue-xpale);
    color: var(--blue);
}

.mob-sub .dd-ico {
    width: 26px;
    height: 26px;
    background: #f0f6fc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mob-sub .dd-ico svg {
    width: 13px;
    height: 13px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mob-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 14px;
}

.mob-foot {
    padding: 16px 20px 28px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.mob-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.mob-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s;
}

.mob-contact a:hover {
    color: var(--blue);
}

.mob-contact svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue-lt);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

@media(max-width:1024px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ft-brand {
        grid-column: 1/-1;
    }
}

@media(max-width:900px) {
    nav ul {
        display: none;
    }
    .nav-burger {
        display: flex;
    }
    .nav-cta-desktop {
        display: none !important;
    }
}

@media(max-width:768px) {
    .g2,
    .g3,
    .g4 {
        grid-template-columns: 1fr;
    }
    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }
    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .topbar-l {
        display: none;
    }
    .ft-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ft-brand {
        grid-column: 1/-1;
    }
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE — TABLET & MOBILE
   ============================================================ */

/* Tablet (769px – 1024px) */
@media (max-width: 1024px) {
    .sec { padding: 64px 0; }
    .hero { padding: 72px 0 60px; }
}

/* Mobile-first grid fix — override ANY inline grid that uses
   grid-template-columns on small screens via a utility class
   we inject via JS, but primarily handled by targeting known
   patterns in the shared layout selectors below */

@media (max-width: 768px) {

    /* ── General spacing ── */
    .sec { padding: 52px 0; }
    .sec-sm { padding: 40px 0; }
    .wrap { padding: 0 4%; }

    /* ── Page hero ── */
    .pg-hero { padding: 48px 0 40px; }
    .pg-hero h1 { font-size: clamp(26px, 7vw, 36px) !important; }
    .pg-hero p  { font-size: 15px !important; }

    /* ── Force any 2-col inline grid to single col ──
       These selectors target inline styles by matching
       the grid containers using the .g2-like pattern.
       We use .rsp-grid as a hook added via JS below,
       but also target known wrappers directly. */

    /* About page — story section */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:repeat(2"],
    [style*="grid-template-columns: repeat(2"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* Industries 1fr 1fr grid */
    [style*="grid-template-columns:1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Contact form .f-row 2-col → 1-col */
    .f-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* ── Stats bar ── */
    .stats-inner {
        grid-template-columns: 1fr 1fr !important;
    }
    .stat { padding: 28px 16px; }
    .stat-n { font-size: 32px; }

    /* ── Footer ── */
    .ft-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
    .ft-brand { grid-column: auto !important; }
    .ft-bot {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* ── CTA box buttons ── */
    .cta-box [style*="display:flex"],
    .cta-box [style*="display: flex"] {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ── Hero on index ── */
    .hero { padding: 52px 0 44px; }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .hero-kpi { gap: 20px; flex-wrap: wrap; }
    .hero-desc { font-size: 15.5px; }

    /* ── Dashboard visual — hide on small screens ── */
    .dash-wrap { display: none; }

    /* ── Blog subscribe input ── */
    [style*="display:flex"][style*="flex-wrap:wrap"] input[type="email"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ── About / Contact inline-flex boxes ── */
    [style*="display:inline-flex"] {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* ── Process grid (services page) ── */
    .proc-g {
        grid-template-columns: 1fr 1fr !important;
    }

    /* ── Industries grid (inline) ── */
    .sec .wrap > div[style*="display:grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* ── Blog post newsletter row ── */
    .sec div[style*="display:flex"][style*="justify-content:center"] {
        flex-wrap: wrap !important;
    }
    .sec div[style*="display:flex"][style*="justify-content:center"] input {
        width: 100% !important;
        max-width: 320px !important;
    }

    /* ── Topbar — show only phone on mobile ── */
    .topbar { padding: 8px 4%; }
    .topbar-r { gap: 10px; }

    /* ── Button size adjustments ── */
    .btn { padding: 11px 20px; font-size: 13.5px; }

    /* ── Section headings ── */
    h2.hd { font-size: clamp(22px, 5.5vw, 32px); }
    h1.disp { font-size: clamp(32px, 7vw, 48px); }

    /* ── Cards padding ── */
    .card { padding: 24px; }
}

/* Very small phones (< 480px) */
@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr !important; }
    .stat { border-bottom: 1px solid rgba(255,255,255,0.12); border-right: none; }
    .proc-g { grid-template-columns: 1fr !important; }
    .ft-grid { grid-template-columns: 1fr !important; }
    .hero-kpi { flex-direction: column; gap: 16px; }
    .btn { width: 100%; justify-content: center; }
    .pg-hero { padding: 40px 0 32px; }
    .sec { padding: 40px 0; }
    .wrap { padding: 0 5%; }
    .hdr-inner { padding: 0 4%; }
    .topbar { display: none; } /* hide topbar on tiny screens */
    
    /* Contact form full width button */
    #form .btn { font-size: 13px; padding: 13px; }

    /* Industries cards */
    [style*="display:flex"][style*="gap:7px"] {
        gap: 5px !important;
    }
}