/* =====================================================================
  /* GenPower Global Equipment Export — Stylesheet
   Industrial B2B theme · Navy + Gold · Africa-focused export site
   ===================================================================== */

:root {
    --navy: #0a2540;
    --navy-2: #0f3358;
    --navy-3: #163d63;
    --gold: #d4a017;
    --gold-2: #e8b53a;
    --gold-soft: #f5e6b8;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f4f6fa;
    --bg-dark: #0a2540;
    --ink: #1a2332;
    --ink-2: #3a4555;
    --muted: #6a7686;
    --line: #e2e6ec;
    --line-2: #d4dae3;
    --ok: #1f9d57;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 2px 6px rgba(10,37,64,.05);
    --shadow: 0 6px 16px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.06);
    --shadow-lg: 0 20px 50px rgba(10,37,64,.18);
    --maxw: 1240px;
    --f-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --f-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; color: var(--ink); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .8em 1.6em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.btn--lg { padding: 1em 2.1em; font-size: 1.08rem; }
.btn--sm { padding: .55em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--accent:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: #06192c; color: #b9c5d6; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar__left { display: flex; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; }
.topbar__markets { color: #8fa1b8; }
.topbar a { color: #d4a017; }

/* ---------- Header / Nav ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo__mark {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--navy); color: var(--gold);
    font-family: var(--f-head); font-weight: 800; font-size: 1.6rem;
    border-radius: var(--radius); border: 2px solid var(--gold);
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.logo__tag { font-family: var(--f-body); font-weight: 600; font-size: .62rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.logo--light { color: #fff; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__tag { color: #9fb0c8; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: .5em 1em;
    border-radius: var(--radius);
    position: relative;
}
.nav__link:hover { color: var(--navy); background: var(--bg-alt); }
.nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after {
    content: ''; position: absolute; left: 1em; right: 1em; bottom: 2px;
    height: 3px; background: var(--gold); border-radius: 2px;
}
.nav__cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; display: block; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(6,25,44,.92) 0%, rgba(10,37,64,.78) 45%, rgba(10,37,64,.45) 100%); }
.hero__inner { position: relative; padding: 90px 0 70px; max-width: 760px; }
.hero__eyebrow {
    display: inline-block; font-family: var(--f-head); font-weight: 600;
    text-transform: uppercase; letter-spacing: .22em; font-size: .82rem;
    color: var(--gold-2); border-left: 3px solid var(--gold); padding-left: 12px; margin-bottom: 18px;
}
.hero__title { color: #fff; margin-bottom: 20px; }
.hero__title span { color: var(--gold-2); }
.hero__subtitle { font-size: 1.12rem; color: #d6e0ee; margin-bottom: 32px; max-width: 640px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--f-head); font-size: 2.2rem; color: var(--gold-2); line-height: 1; }
.hero__stats span { font-size: .82rem; color: #b9c9dd; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ---------- Trust strip ---------- */
.truststrip { background: var(--navy); color: #fff; padding: 28px 0; }
.truststrip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.truststrip__item { display: flex; gap: 14px; align-items: center; }
.truststrip__icon { width: 38px; height: 38px; fill: var(--gold-2); flex-shrink: 0; }
.truststrip__item strong { display: block; font-family: var(--f-head); font-size: 1.05rem; letter-spacing: .02em; }
.truststrip__item span { font-size: .85rem; color: #9fb0c8; }

/* ---------- Section base ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__eyebrow {
    display: inline-block; font-family: var(--f-head); font-weight: 600;
    text-transform: uppercase; letter-spacing: .2em; font-size: .82rem;
    color: var(--gold); margin-bottom: 12px;
}
.section__eyebrow--light { color: var(--gold-2); }
.section__title { color: var(--ink); margin-bottom: 14px; }
.section--dark .section__title, .section__title--light { color: #fff; }
.section__desc { color: var(--ink-2); font-size: 1.05rem; }
.section--dark .section__desc, .section__desc--light { color: #b9c9dd; }
.section__cta { text-align: center; margin-top: 44px; }

/* ---------- Category cards ---------- */
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.catcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    color: var(--ink);
}
.catcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.catcard__img { height: 220px; background-size: cover; background-position: center; position: relative; }
.catcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,37,64,.25) 100%); }
.catcard__body { padding: 26px 24px 28px; }
.catcard__tag {
    display: inline-block; font-family: var(--f-head); font-size: .74rem;
    text-transform: uppercase; letter-spacing: .18em; color: var(--gold);
    background: var(--gold-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.catcard h3 { margin-bottom: 10px; }
.catcard p { color: var(--ink-2); font-size: .96rem; margin-bottom: 16px; }
.catcard__link { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-size: .92rem; }
.catcard:hover .catcard__link { color: var(--gold); }
.catgrid__note { text-align: center; margin-top: 36px; color: var(--muted); font-size: .96rem; }
.catgrid__note a { color: var(--gold); font-weight: 600; }

/* ---------- Why section ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why__media::before {
    content: ''; position: absolute; top: -16px; left: -16px; right: 24px; bottom: 24px;
    border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.why__lead { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 28px; }
.why__list { display: grid; gap: 20px; }
.why__list li { display: flex; gap: 18px; }
.why__num {
    font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; color: var(--gold);
    line-height: 1; flex-shrink: 0; min-width: 38px;
}
.why__list strong { font-family: var(--f-head); font-size: 1.15rem; display: block; margin-bottom: 4px; }
.why__list p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Product cards ---------- */
.prodgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prodcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prodcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.prodcard__img { height: 210px; background-size: cover; background-position: center; position: relative; }
.prodcard__badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--navy); color: #fff;
    font-family: var(--f-head); font-weight: 600; font-size: .76rem;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 5px 12px; border-radius: 4px;
}
.prodcard__badge--accent { background: var(--gold); color: var(--navy); }
.prodcard__body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prodcard__cat {
    display: inline-block; font-family: var(--f-head); font-size: .76rem;
    text-transform: uppercase; letter-spacing: .16em; color: var(--gold);
    margin-bottom: 6px;
}
.prodcard h3 { font-size: 1.25rem; margin-bottom: 14px; }
.prodcard__spec { margin-bottom: 18px; }
.prodcard__spec li {
    font-size: .9rem; color: var(--ink-2); padding: 5px 0;
    border-bottom: 1px dashed var(--line); display: flex; align-items: center;
}
.prodcard__spec li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-right: 10px; flex-shrink: 0; }
.prodcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prodcard__more { font-family: var(--f-head); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }

/* ---------- Markets ---------- */
.markets { position: relative; color: #fff; }
.markets__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,25,44,.88), rgba(6,25,44,.9)); }
.markets__inner { position: relative; }
.markets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 40px; }
.markets__col h3 {
    color: var(--gold-2); font-size: 1.2rem; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 2px solid rgba(212,160,23,.4);
}
.markets__col li { padding: 6px 0; color: #d6e0ee; font-size: .98rem; }
.markets__col li::before { content: '\25B8'; color: var(--gold-2); margin-right: 8px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process__step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.process__step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.process__num {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy); color: var(--gold-2);
    font-family: var(--f-head); font-weight: 700; font-size: 1.4rem;
    margin-bottom: 18px; border: 2px solid var(--gold);
}
.process__step h3 { margin-bottom: 8px; }
.process__step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px 28px; margin: 0; position: relative;
}
.quote::before {
    content: '\201C'; font-family: Georgia, serif; font-size: 4.5rem; color: var(--gold-soft);
    position: absolute; top: 6px; right: 22px; line-height: 1;
}
.quote blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--ink-2); position: relative; z-index: 1; }
.quote figcaption { border-top: 1px solid var(--line); padding-top: 16px; }
.quote__name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.quote__role { display: block; font-size: .86rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: radial-gradient(circle at top right, rgba(212,160,23,.18), transparent 70%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #c5d2e2; }

/* ---------- Page hero ---------- */
.pagehero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 70px 0 56px; position: relative; overflow: hidden; }
.pagehero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(212,160,23,.18), transparent 70%); }
.pagehero__eyebrow {
    display: inline-block; font-family: var(--f-head); font-weight: 600;
    text-transform: uppercase; letter-spacing: .22em; font-size: .82rem;
    color: var(--gold-2); border-left: 3px solid var(--gold); padding-left: 12px; margin-bottom: 14px;
}
.pagehero__title { color: #fff; max-width: 820px; }
.pagehero__desc { font-size: 1.08rem; color: #c5d2e2; max-width: 720px; margin-bottom: 0; }
.pagehero__filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.filterchip {
    font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
    font-size: .86rem; padding: .55em 1.2em; border-radius: 30px;
    background: rgba(255,255,255,.08); color: #d6e0ee; border: 1px solid rgba(255,255,255,.15);
    transition: .2s;
}
.filterchip:hover { background: rgba(255,255,255,.15); color: #fff; }
.filterchip--accent { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.filterchip--accent:hover { background: var(--gold-2); color: var(--navy); }

/* ---------- Category header ---------- */
.cathead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.cathead .section__eyebrow { margin-bottom: 8px; }
.cathead .section__title { margin-bottom: 8px; }
.cathead .section__desc { margin: 0; }

/* ---------- Coming soon grid ---------- */
.cominggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comingcard {
    background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
    padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
    transition: .2s;
}
.comingcard:hover { border-color: var(--gold); border-style: solid; transform: translateY(-2px); }
.comingcard h3 { margin: 0; color: var(--navy); }
.comingcard p { margin: 0; color: var(--muted); font-size: .9rem; }
.comingcard span {
    align-self: flex-start; font-family: var(--f-head); font-size: .76rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em; color: var(--gold);
    background: var(--gold-soft); padding: 3px 10px; border-radius: 4px; margin-top: 6px;
}

/* ---------- Stats band ---------- */
.stats-band { padding: 56px 0; }
.stats-band__inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--f-head); font-size: 2.6rem; color: var(--gold-2); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: #b9c9dd; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- QA grid ---------- */
.qagrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qacard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px 24px; transition: .2s;
}
.qacard:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.qacard h3 { color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-soft); }
.qacard li { padding: 6px 0; color: var(--ink-2); font-size: .94rem; border-bottom: 1px dashed var(--line); }
.qacard li:last-child { border-bottom: 0; }
.qacard li::before { content: '\2713'; color: var(--ok); font-weight: 700; margin-right: 10px; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.contact__lead { color: var(--ink-2); margin-bottom: 28px; }
.contact__form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label { font-family: var(--f-head); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.form__field input, .form__field select, .form__field textarea {
    font-family: var(--f-body); font-size: .98rem; color: var(--ink);
    padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
    background: #fff; transition: .2s; width: 100%;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.15);
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field--check { margin: 4px 0; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.check span { font-size: .92rem; color: var(--ink-2); }
.form__success {
    background: #e8f5ed; border: 1px solid #b7dcc6; border-left: 4px solid var(--ok);
    color: #136c3a; padding: 14px 18px; border-radius: var(--radius); font-size: .94rem;
}

.contact__side { display: grid; gap: 18px; }
.contact__card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.contact__card h3 { color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-soft); }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.contact__list li:last-child { border-bottom: 0; }
.contact__list span { color: var(--muted); font-size: .9rem; }
.contact__list strong { font-family: var(--f-head); color: var(--navy); font-size: 1rem; text-align: right; }
.contact__ports { color: var(--ink-2); font-size: .92rem; line-height: 1.7; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: #06192c; color: #b9c9dd; padding: 64px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__col--brand p { color: #8fa1b8; font-size: .92rem; margin: 16px 0 18px; max-width: 360px; }
.footer__contact p { margin: 0 0 6px; font-size: .9rem; color: #c5d2e2; }
.footer__contact strong { color: var(--gold-2); }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col a { color: #b9c9dd; font-size: .92rem; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom { padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; font-size: .82rem; color: #6c819c; }

/* =====================================================================
   Chat widget
   ===================================================================== */
.chat-launcher {
    position: fixed; right: 24px; bottom: 24px; z-index: 99999;
    display: flex; align-items: center; gap: 10px;
    background: var(--gold); color: var(--navy);
    padding: 14px 20px 14px 16px; border-radius: 50px;
    font-family: var(--f-head); font-weight: 700; font-size: 1rem;
    letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(10,37,64,.25); border: 2px solid #fff;
    cursor: pointer; transition: .25s;
}
.chat-launcher:hover { background: var(--gold-2); transform: translateY(-2px); }
/* When chat is open, launcher becomes a compact round close button */
.chat-launcher.is-open-state {
    padding: 0;
    width: 56px; height: 56px;
    background: var(--navy); color: var(--gold-2);
    border-color: var(--gold);
}
.chat-launcher.is-open-state:hover { background: var(--navy-2); color: #fff; }
.chat-launcher.is-open-state .chat-launcher__text,
.chat-launcher.is-open-state .chat-launcher__pulse::after { display: none; }
.chat-launcher.is-open-state .chat-launcher__avatar {
    background: transparent; color: var(--gold-2);
}
.chat-launcher__close-icon { display: none; font-size: 1.6rem; line-height: 1; }
.chat-launcher.is-open-state .chat-launcher__close-icon { display: block; }
.chat-launcher.is-open-state .chat-launcher__avatar svg { display: none; }
.chat-launcher__avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy); color: var(--gold-2);
    display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0;
}
.chat-launcher__pulse { position: relative; }
.chat-launcher__pulse::after {
    content: ''; position: absolute; top: -2px; right: -2px; width: 14px; height: 14px;
    background: #e63946; border-radius: 50%; border: 2px solid #fff;
    animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: 1; } 50%{ transform: scale(1.25); opacity: .7; } }

.chat-window {
    position: fixed; right: 24px; bottom: 88px; z-index: 99998;
    width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px);
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
    font-family: var(--f-body);
}
.chat-window.is-open { display: flex; animation: chatIn .25s ease; }
@keyframes chatIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-header {
    background: linear-gradient(120deg, var(--navy), var(--navy-2));
    color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.chat-header__avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gold); color: var(--navy);
    display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.2rem;
    flex-shrink: 0; border: 2px solid #fff;
}
.chat-header__info { flex: 1; min-width: 0; }
.chat-header__name { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.chat-header__status { font-size: .78rem; color: #c5d2e2; display: flex; align-items: center; gap: 6px; }
.chat-header__status::before { content: ''; width: 8px; height: 8px; background: #4dd965; border-radius: 50%; box-shadow: 0 0 0 3px rgba(77,217,101,.25); }
.chat-close { background: none; border: 0; color: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 4px 8px; border-radius: 4px; }
.chat-close:hover { background: rgba(255,255,255,.12); }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 12px; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.chat-msg { max-width: 80%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; word-wrap: break-word; }
.chat-msg--bot { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-time { font-size: .7rem; color: var(--muted); margin-top: 4px; }
.chat-msg--user + .chat-time { text-align: right; }

.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }
.chat-quick button {
    font-family: var(--f-body); font-size: .8rem; padding: 6px 12px;
    background: #fff; color: var(--navy); border: 1px solid var(--gold);
    border-radius: 16px; cursor: pointer; transition: .15s;
}
.chat-quick button:hover { background: var(--gold); color: var(--navy); }

.chat-typing { display: flex; gap: 4px; padding: 12px 14px; align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing span { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; animation: typing 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{ transform: translateY(0); opacity: .4; } 30%{ transform: translateY(-4px); opacity: 1; } }

.chat-input { padding: 12px; border-top: 1px solid var(--line); background: #fff; display: flex; gap: 8px; }
.chat-input input {
    flex: 1; font-family: var(--f-body); font-size: .9rem;
    padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 20px;
    background: var(--bg-alt); color: var(--ink);
}
.chat-input input:focus { outline: none; border-color: var(--gold); background: #fff; }
.chat-send {
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--gold); color: var(--navy); display: grid; place-items: center; flex-shrink: 0;
    transition: .2s;
}
.chat-send:hover { background: var(--gold-2); transform: scale(1.05); }
.chat-send svg { width: 18px; height: 18px; fill: var(--navy); }

.chat-footnote { background: #f5f7fa; padding: 8px 14px; font-size: .72rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
    .why, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .why__media img { height: 360px; }
    .markets__grid, .stats-band__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .stats-band__inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; box-shadow: var(--shadow); border-top: 1px solid var(--line); gap: 4px; }
    .nav.is-open { display: flex; }
    .nav__link { padding: 14px 12px; border-radius: 0; border-bottom: 1px solid var(--line); }
    .nav__link.is-active::after { display: none; }
    .nav__cta { margin: 12px 0 0; text-align: center; }
    .nav-toggle { display: flex; }
    .topbar__right { display: none; }
    .topbar__inner { justify-content: flex-start; }
    .catgrid, .prodgrid, .cominggrid, .qagrid, .process { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__col--brand { grid-column: 1 / -1; }
    .chat-launcher { right: 16px; bottom: 16px; padding: 10px 14px 10px 10px; font-size: .82rem; }
    .chat-launcher__avatar { width: 32px; height: 32px; }
    .chat-launcher.is-open-state { width: 48px; height: 48px; }
    .chat-window { right: 16px; bottom: 76px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .section { padding: 56px 0; }
    .hero__inner { padding: 56px 0 44px; }
    .hero__stats { gap: 24px; }
    .hero__stats strong { font-size: 1.7rem; }
    .topbar__left { gap: 14px; font-size: .76rem; }
    .topbar__item:last-child { display: none; }
    .truststrip__inner { grid-template-columns: 1fr 1fr; gap: 18px; }
    .catgrid, .prodgrid, .cominggrid, .qagrid, .process, .form__row { grid-template-columns: 1fr; }
    .stats-band__inner { grid-template-columns: 1fr 1fr; }
    .markets__grid { grid-template-columns: 1fr 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
    .cathead { flex-direction: column; align-items: stretch; }
    .chat-launcher__text { display: none; }
    .chat-launcher { padding: 14px; }
    .chat-window { right: 8px; bottom: 8px; }
}

/* Print friendliness */
@media print { .chat-launcher, .chat-window, .nav-toggle, .topbar { display: none; } .header { position: static; } }
