/* ===================================
   IPEX CAPITAL PARTNERS
   Professional International Theme
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* IPEX Capital — brand palette */
    --seq-black:   #1C2444;
    --seq-white:   #ffffff;
    --seq-green:   #1C2444;
    --seq-green-dark: #0B0F1E;
    --seq-gray:    #9ca3af;
    --seq-gray-mid:#4b5563;
    --seq-border:  #e5e7eb;

    /* Core IPEX navy */
    --navy-purple: #1C2444;
    --navy-dark:   #0B0F1E;
    --green-primary: #1C2444;
    --green-light:   #0B0F1E;

    --white:    #ffffff;
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;

    --text-dark:   #111827;
    --text-medium: #4b5563;
    --text-light:  #9ca3af;

    --gradient-purple: linear-gradient(160deg, #0B0F1E 0%, #1C2444 100%);

    --shadow-sm: 0 1px 4px rgba(27,25,22,0.06);
    --shadow-md: 0 4px 16px rgba(27,25,22,0.08);
    --shadow-lg: 0 12px 36px rgba(27,25,22,0.10);
    --shadow-xl: 0 24px 56px rgba(27,25,22,0.12);

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-padding: 110px;
    --radius-card: 0px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

::selection { background: var(--navy-purple); color: var(--white); }

/* Global: all headings left-aligned */
h1, h2, h3, h4, h5, h6 { text-align: left; }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.06); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================================
   PAGE TRANSITION
   =================================== */
html { overflow-x: hidden; }

/* Page enters from the right on load */
@keyframes pageSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
/* Page exits to the left on navigate */
@keyframes pageSlideOut {
    from { transform: translateX(0); }
    to   { transform: translateX(-40px); opacity: 0; }
}

body.page-enter {
    animation: pageSlideIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.page-leaving {
    animation: pageSlideOut 0.32s cubic-bezier(0.4, 0, 1, 1) forwards;
    pointer-events: none;
}

/* Scroll-triggered */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    pointer-events: none;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease;
}
.navbar.nav-light {
    background: #ffffff;
    border-bottom-color: var(--seq-border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 84px;
    pointer-events: all;
    position: relative;
}

/* Logo: white on dark hero, color on light backgrounds */
.logo .logo-white { display: block; }
.logo .logo-color  { display: none; }
.navbar.nav-light .logo .logo-white { display: none; }
.navbar.nav-light .logo .logo-color  { display: block; }

.logo {
    display: flex;
    align-items: center;
    height: 84px;
    line-height: 0;
}
.logo img {
    height: 46px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}
.logo img:hover { opacity: 0.75; }

/* ── Dropdown trigger button ── */
.nav-dropdown-wrap { position: relative; }

.nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: opacity 0.2s ease;
    padding: 0;
}
.nav-menu-btn:hover { opacity: 0.6; }
.navbar.nav-light .nav-menu-btn {
    background: transparent;
    border: none;
    color: var(--seq-black);
}
.navbar.nav-light .nav-menu-btn:hover { opacity: 0.55; }

/* ── Dropdown panel ── */
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: var(--seq-white);
    border: 1px solid var(--seq-border);
    border-radius: 0;
    list-style: none;
    padding: 6px 0;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}
.nav-dropdown-wrap.open .nav-dropdown { display: block; }

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--seq-black);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.15s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
    color: var(--seq-green);
    background: transparent;
}
.nav-dropdown li + li { margin-top: 0; }
.nav-dropdown-divider {
    height: 1px;
    background: var(--seq-border);
    margin: 4px 0;
}
.nav-dropdown-cta a {
    background: var(--seq-black);
    color: var(--seq-white) !important;
    text-align: center;
    margin: 6px 12px 4px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 16px;
}
.nav-dropdown-cta a:hover { opacity: 0.8; }

.mobile-menu-toggle { display: none; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===================================
   HERO — Image Carousel
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-purple);
    overflow: hidden;
}
.hero-background {
    position: absolute;
    inset: 0;
}

/* Image slides */
@keyframes kenBurns {
    0%   { transform: scale(1.04); }
    100% { transform: scale(1.12); }
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 2.6s ease-in-out;
    pointer-events: none;
    overflow: hidden;
}
/* Inner wrapper — this is what gets the Ken Burns animation.
   Animating a div (not a video) is reliable across all browsers. */
.hero-slide-inner {
    position: absolute;
    inset: 0;
    transform: scale(1.04);
    will-change: transform;
    overflow: hidden;
}
.hero-slide img,
.hero-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-slide.leaving {
    opacity: 0;
    z-index: 1;
    transition: opacity 2.6s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slide.active .hero-slide-inner {
    animation: kenBurns 10s ease-out forwards;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,14,12,0.30) 0%,
        rgba(10,14,12,0.55) 60%,
        rgba(10,14,12,0.72) 100%);
    z-index: 10;
    pointer-events: none;
}

/* Edge labels */
.hero-edge-labels {
    position: absolute;
    z-index: 20;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    pointer-events: none;
}
.hero-edge-labels span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hero content — bottom-aligned, two columns */
.hero-content {
    position: absolute;
    z-index: 20;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-end;
}

.hero-text {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}
.hero-text h1 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}
.hero-text h1 em {
    font-style: italic;
    color: rgba(255,255,255,0.72);
}

.hero-body {
    animation: fadeInUp 1s ease-out 0.45s backwards;
}
.hero-body p {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: none;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: var(--seq-black);
    padding: 7px 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.04em;
    transition: opacity 0.2s ease;
}
.hero-cta::after { content: '→'; font-size: 15px; }
.hero-cta:hover { opacity: 0.82; }

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,0.82);
    padding: 13px 28px;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.28);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-cta-secondary:hover { border-color: rgba(255,255,255,0.65); color: #fff; }

/* ===================================
   STATS BAR
   =================================== */
.stats-bar {
    background: #ffffff;
    border-top: 1px solid var(--seq-border);
    border-bottom: 1px solid var(--seq-border);
    padding: 0;
}
.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 56px 40px;
    text-align: left;
    border-right: 1px solid var(--seq-border);
    transition: background 0.2s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--gray-100); }

.stat-value {
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 400;
    color: var(--navy-dark);
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    letter-spacing: -0.02em;
}
.stat-value em {
    font-style: normal;
    color: var(--navy-purple);
}
.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--seq-black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}
.stat-sublabel {
    font-size: 12px;
    color: var(--seq-gray);
    margin-top: 5px;
    display: block;
}

/* ===================================
   SECTION SHARED
   =================================== */
.section-label {
    color: var(--seq-green);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    display: block;
}
.section-header {
    text-align: left;
    margin-bottom: 56px;
}
.section-header > div { margin-bottom: 16px; }
.section-header h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    color: var(--seq-black);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.015em;
}
.section-header h2 em {
    font-style: italic;
    color: var(--seq-green);
}
.section-header p {
    font-size: 16px;
    color: var(--seq-gray-mid);
    max-width: none;
    margin: 0;
    line-height: 1.75;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: #ffffff;
    border-top: 1px solid var(--gray-200);
    position: relative;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 96px;
    row-gap: 0;
    align-items: start;
}
.about-content h2 {
    grid-column: 1;
    grid-row: 1 / -1;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
    color: var(--seq-black);
    margin-bottom: 0;
    line-height: 1.15;
    position: sticky;
    top: 100px;
    letter-spacing: -0.01em;
}
.about-content h2 em {
    font-style: italic;
    color: var(--seq-green);
}
.about-content p {
    grid-column: 2;
    font-size: 16px;
    color: var(--seq-gray-mid);
    line-height: 1.85;
    margin: 0;
    padding: 0 0 28px;
}
.about-content p + p {
    border-top: 1px solid var(--gray-200);
    padding: 28px 0 0;
}

/* ===================================
   SERVICES / CARDS
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: #ffffff;
    position: relative;
    border-top: 1px solid var(--seq-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--seq-border);
    border: 1px solid var(--seq-border);
}

.service-card {
    background: #ffffff;
    border: none;
    padding: 40px 36px;
    transition: background 0.2s ease;
    position: relative;
}
.service-card:hover { background: var(--gray-50); }

/* Card icon */
.card-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy-purple);
}
.card-icon svg { width: 22px; height: 22px; }

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--seq-black);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-card p {
    color: var(--seq-gray-mid);
    line-height: 1.75;
    font-size: 14px;
}

/* ===================================
   REGIONS STRIP
   =================================== */
.regions-strip {
    padding: 64px 0;
    background: #ffffff;
    border-top: 1px solid var(--seq-border);
    border-bottom: 1px solid var(--seq-border);
    text-align: left;
}
.regions-strip .section-label { margin-bottom: 24px; }
.regions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}
.region-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--seq-border);
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 400;
    color: var(--seq-gray-mid);
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.region-tag:hover {
    border-color: var(--seq-green);
    color: var(--seq-green);
    background: transparent;
}
.region-tag::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--seq-green);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.5;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 90px 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}
.cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
}
.cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.7;
    max-width: none;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.btn-secondary::after {
    content: '→';
    font-size: 16px;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--seq-black);
    border-top: none;
    padding: 80px 0 0;
    color: rgba(243,243,242,0.55);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap {
    display: inline-block;
    margin-bottom: 24px;
}
.footer-logo { height: 40px; display: block; width: auto; filter: brightness(0) invert(1); }
.footer-col > p { color: rgba(243,243,242,0.45); line-height: 1.8; font-size: 13px; }
.footer-col h4 {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    color: rgba(243,243,242,0.35);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(243,243,242,0.55);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: #f3f3f2; }

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.footer-contact-item svg {
    width: 15px; height: 15px;
    color: var(--seq-green);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item span {
    color: rgba(243,243,242,0.55);
    font-size: 13px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: rgba(243,243,242,0.6);
}
.footer-social a:hover { background: rgba(255,255,255,0.14); color: #f3f3f2; }
.footer-social svg { width: 15px; height: 15px; }

.footer-partnership {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
}
.footer-partnership-text {
    font-size: 11px;
    color: rgba(243,243,242,0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}
.footer-partnership-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
}
.footer-partnership-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 12px; color: rgba(243,243,242,0.3); }
.footer-disclaimer {
    font-size: 11px;
    color: rgba(243,243,242,0.25);
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}

/* ===================================
   PAGE HERO (Internal Pages) — Editorial split
   =================================== */
.page-hero {
    padding: 156px 0 80px;
    background: #ffffff;
    border-bottom: 1px solid var(--seq-border);
    position: relative;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.page-hero .section-label {
    margin-bottom: 18px;
    color: var(--seq-green) !important;
    font-size: 11px;
    letter-spacing: 0.14em;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 400;
    color: var(--seq-black);
    margin-bottom: 18px;
    line-height: 1.1;
    letter-spacing: -0.015em;
}
.page-hero h1 em {
    font-style: italic;
    color: var(--seq-green);
}
.page-hero p {
    font-size: 18px;
    color: var(--seq-gray-mid);
    line-height: 1.72;
    font-weight: 400;
    margin-bottom: 0;
    max-width: none;
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--seq-white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-form-col h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 8px;
}
.contact-form-col > p {
    color: var(--text-medium);
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-weight: 500;
    color: var(--navy-dark);
    margin-bottom: 8px;
    font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--seq-border);
    border-radius: 0;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--seq-black);
    background: #ffffff;
    transition: border-color 0.2s ease;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--seq-green);
    box-shadow: 0 0 0 3px rgba(0,160,113,0.1);
}
.form-group textarea { resize: vertical; }
.btn-primary {
    background: var(--seq-black);
    color: #f3f3f2;
    padding: 14px 36px;
    border: none;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--seq-green); }

/* Contact info sidebar */
.contact-info-col { padding-top: 12px; }
.contact-info-col h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 28px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.contact-info-icon {
    width: 44px; height: 44px;
    background: rgba(28,36,68,0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-purple);
    flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 4px;
}
.contact-info-text a,
.contact-info-text span {
    font-size: 14px;
    color: var(--text-medium);
    text-decoration: none;
    display: block;
    transition: color 0.25s ease;
    line-height: 1.6;
}
.contact-info-text a:hover { color: var(--green-primary); }

/* ===================================
   LEADERSHIP
   =================================== */
.leadership-section {
    padding: var(--section-padding) 0;
    background: var(--seq-white);
    border-top: 1px solid var(--gray-200);
}
/* Indent "Meet Our Founder" to align with Robert Shinka (right column) */
.leadership-section .section-header {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    margin-bottom: 40px;
}
.leadership-section .section-header > * {
    grid-column: 2;
}
.leadership-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}
.leader-image {
    border-radius: 0;
    overflow: hidden;
    position: relative;
}
.leader-image img {
    width: 100%; height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.leader-image:hover img { transform: scale(1.04); }

.leader-info h3 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 6px;
}
.leader-title {
    font-size: 16px;
    color: var(--green-primary);
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.leader-bio p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 18px;
}
.leader-credentials {
    margin-top: 36px;
    padding: 28px 30px;
    background: var(--seq-white);
    border-left: 3px solid var(--navy-purple);
    border-top: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.leader-credentials h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 18px;
}
.leader-credentials ul { list-style: none; }
.leader-credentials li {
    padding: 9px 0 9px 24px;
    position: relative;
    color: var(--text-medium);
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.leader-credentials li:last-child { border-bottom: none; }
.leader-credentials li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--navy-purple);
    border-radius: 50%;
}

/* ===================================
   VALUES
   =================================== */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--seq-white);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--seq-border);
    border: 1px solid var(--seq-border);
}
.value-card {
    background: var(--seq-white);
    padding: 36px 32px;
    transition: background 0.2s ease;
}
.value-card:hover { background: var(--gray-50); }
.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--seq-black);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.value-card p { color: var(--seq-gray-mid); line-height: 1.75; font-size: 14px; }

/* ===================================
   IMPACT STATS
   =================================== */
.impact-stats-section {
    padding: var(--section-padding) 0;
    background: var(--seq-white);
    border-top: 1px solid var(--gray-200);
}
.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.impact-stat-card {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-100);
    border-radius: 20px;
    padding: 48px 40px;
    transition: all 0.3s ease;
    text-align: left;
}
.impact-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28,36,68,0.15);
}
.stat-icon {
    width: 64px; height: 64px;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28,36,68,0.06);
    border-radius: 50%;
    color: var(--navy-purple);
}
.stat-icon svg { width: 32px; height: 32px; }
.impact-stat-card h3 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 10px;
}
.impact-stat-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 20px;
}
.impact-stat-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
    text-align: left;
}

/* ===================================
   INSIGHTS PAGE
   =================================== */
.ticker-section {
    background: var(--seq-white);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.market-data-section {
    padding: var(--section-padding) 0;
    background: var(--seq-white);
}
.market-data-section .section-header { text-align: left; margin-bottom: 40px; }
.market-data-section .section-header p { margin: 0; }

.market-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.tradingview-widget-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

/* News feed */
.news-section {
    padding: var(--section-padding) 0;
    background: var(--seq-white);
    border-top: 1px solid var(--gray-200);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.news-card {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-card);
    padding: 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28,36,68,0.2);
}
.news-source {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-primary);
    margin-bottom: 12px;
}
.news-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}
.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.news-card-loading {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-card);
    padding: 28px;
    animation: pulse 1.5s ease-in-out infinite;
}
.news-loading-bar {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    margin-bottom: 10px;
}
.news-loading-bar.short { width: 60%; }

/* Market mini-cards */
.commodity-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.commodity-card {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.commodity-card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-sm);
}
.commodity-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 8px;
}
.commodity-context {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.4;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--gray-200); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .market-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 72px; }

    .hero-content { grid-template-columns: 1fr; gap: 32px; bottom: 60px; }
    .hero-text h1 { font-size: 30px; }
    .hero-body p { font-size: 15px; max-width: 100%; }
    .hero-edge-labels { right: 16px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta, .hero-cta-secondary { text-align: center; width: 100%; }

    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-value { font-size: 40px; }

    .page-hero h1 { font-size: 38px; }
    .page-hero p { font-size: 16px; }
    .section-header h2 { font-size: 34px; }

    .services-grid { grid-template-columns: 1fr; }
    .leadership-grid { grid-template-columns: 1fr; gap: 36px; }
    .values-grid { grid-template-columns: 1fr; }
    .impact-stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .news-grid { grid-template-columns: 1fr; }
    .commodity-cards { grid-template-columns: repeat(2, 1fr); }

    .cta-content h2 { font-size: 36px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-disclaimer { text-align: center; max-width: 100%; }

    .form-row { grid-template-columns: 1fr; }

    .nav-dropdown {
        min-width: 200px;
    }
}

/* ===================================
   MAP PAGE LAYOUT
   =================================== */
body.map-page { overflow: hidden; }
body.map-page #footer-placeholder { display: none; }

.map-page-layout {
    display: flex;
    height: calc(100vh - 84px);
    margin-top: 84px;
    position: relative;
    overflow: hidden;
}

/* ── Main map area ── */
.map-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

#africa-map {
    flex: 1;
    position: relative;
    min-height: 400px;
    height: calc(100vh - 150px); /* fallback if flex height isn't resolved */
}

/* ── Controls bar ── */
.map-controls-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: var(--seq-white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 500;
    flex-wrap: wrap;
}

.map-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}
.map-search-wrap svg { width: 16px; height: 16px; color: var(--text-light); flex-shrink: 0; }
.map-search-wrap input {
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--text-dark);
    width: 100%;
    outline: none;
}
.search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--seq-white);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: none;
    overflow: hidden;
}
.search-result-item {
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-dark);
}
.search-result-item:hover { background: var(--gray-50); color: var(--navy-purple); }

/* ── Layer panel ── */
.map-layer-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.layer-panel-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}
.layer-toggle-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    white-space: nowrap;
}
.layer-toggle-item input[type="checkbox"] {
    width: 14px; height: 14px;
    accent-color: var(--navy-purple);
    cursor: pointer;
}
.layer-swatch {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.phase-badge {
    background: var(--gray-200);
    color: var(--text-light);
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 4px;
}

/* ── Action buttons ── */
.map-action-btns { display: flex; gap: 8px; margin-left: auto; }
.map-btn {
    width: 36px; height: 36px;
    background: var(--seq-white);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
    flex-shrink: 0;
}
.map-btn svg { width: 16px; height: 16px; }
.map-btn:hover { border-color: var(--navy-purple); color: var(--navy-purple); background: var(--gray-50); }

/* ── Loading overlay ── */
.map-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(249,250,251,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 800;
    gap: 14px;
    font-size: 14px;
    color: var(--text-medium);
}
.map-spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--navy-purple);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Map legend ── */
.map-legend {
    position: absolute;
    bottom: 32px;
    left: 16px;
    background: rgba(255,255,255,0.96);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    z-index: 500;
    box-shadow: var(--shadow-md);
    min-width: 160px;
}
.legend-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 8px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.legend-dot {
    width: 12px; height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}
.legend-divider { height: 1px; background: var(--gray-100); margin: 8px 0; }

/* Pin legend icons */
.legend-icon {
    width: 14px; height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.legend-icon.mining { background: #2d3561; }
.legend-icon.agri   { background: #16a34a; }
.legend-icon.energy { background: #d97706; }
.legend-icon.trade  { background: #00a37a; }
.legend-icon.office { background: #f0b429; border-radius: 0; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }

/* ── Leaflet map pin styles ── */
.map-pin { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.map-pin svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.map-pin-office svg { width: 32px; height: 32px; }

/* ── Leaflet popup ── */
.ipex-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: 0;
}
.ipex-popup .leaflet-popup-content { margin: 0; }
.ipex-popup .leaflet-popup-tip { background: white; }

.map-popup { padding: 16px 18px; min-width: 200px; }
.map-popup-country {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 6px;
}
.map-popup-note {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-primary);
    margin-bottom: 10px;
}
.map-popup-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-medium);
}
.map-popup-row:last-child { border-bottom: none; }
.map-popup-row span:first-child { color: var(--text-light); }
.map-popup-row span:last-child { color: var(--text-dark); font-weight: 500; text-align: right; }
.map-popup-deal-detail { font-size: 13px; color: var(--text-medium); line-height: 1.7; margin-top: 8px; }
.country-tooltip {
    background: rgba(11,15,30,0.9);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.country-tooltip::before { display: none; }
.country-tooltip .tooltip-flag { font-size: 14px; margin-right: 5px; }

/* ── Map hint overlay ── */
.map-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
    background: rgba(11,15,30,0.82);
    color: rgba(255,255,255,0.88);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 7px;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 1.2s ease;
    letter-spacing: 0.02em;
}

/* ── Country tooltip with flag ── */
.tooltip-flag { font-size: 14px; margin-right: 4px; }

/* ── Zambia Sidebar ── */
.zambia-sidebar {
    width: 0;
    overflow: hidden;
    background: #ffffff;
    border-left: 1px solid var(--gray-200);
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    z-index: 400;
    display: flex;
    flex-direction: column;
}
.zambia-sidebar.open { width: 340px; }

.sidebar-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 30px; height: 30px;
    background: var(--gray-100);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    transition: all 0.2s;
    z-index: 1;
}
.sidebar-close:hover { background: var(--gray-200); color: var(--navy-dark); }
.sidebar-close svg { width: 14px; height: 14px; }

.sidebar-content {
    padding: 24px 20px 16px;
    overflow-y: auto;
    flex: 1;
    min-width: 340px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}
.sidebar-content::-webkit-scrollbar { width: 4px; }
.sidebar-content::-webkit-scrollbar-track { background: transparent; }
.sidebar-content::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.sidebar-flag-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-100);
}
.sidebar-flag-emoji {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}
.sidebar-flag {
    width: 36px; height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}
.sidebar-country-label {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--navy-dark);
    line-height: 1.2;
}
.sidebar-country-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
    padding: 2px 8px;
    border-radius: 3px;
}
.status-anchor  { background: rgba(11,15,30,0.08);  color: var(--navy-dark); }
.status-active  { background: rgba(28,36,68,0.08);  color: var(--navy-purple); }
.status-developing { background: var(--gray-100); color: var(--text-medium); }

/* Meta row — GDP, ROI, Outlook */
.sidebar-meta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}
.sidebar-meta-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 10px 8px;
    text-align: center;
}
.sidebar-meta-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}
.sidebar-meta-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-dark);
}
.sidebar-outlook { color: #15803d; }

.sidebar-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.sidebar-stat {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
}
.sidebar-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--navy-dark);
    line-height: 1;
    margin-bottom: 4px;
}
.sidebar-stat-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-section { margin-bottom: 20px; }
.sidebar-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1.5px solid;
}
.sidebar-tag.mining { background: rgba(45,53,97,0.08);  border-color: rgba(45,53,97,0.2);  color: var(--navy-purple); }
.sidebar-tag.agri   { background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.2);  color: #15803d; }
.sidebar-tag.energy { background: rgba(217,119,6,0.08); border-color: rgba(217,119,6,0.2);  color: #b45309; }
.sidebar-tag.trade  { background: rgba(28,36,68,0.08); border-color: rgba(28,36,68,0.2);  color: var(--navy-purple); }

.sidebar-location-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-location-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.sidebar-location-list svg { width: 14px; height: 14px; color: var(--green-primary); flex-shrink: 0; margin-top: 2px; }
.sidebar-location-list strong { font-size: 13px; font-weight: 600; color: var(--navy-dark); display: block; }
.sidebar-location-list span  { font-size: 12px; color: var(--text-medium); }

.sidebar-desc { font-size: 13px; color: var(--text-medium); line-height: 1.75; }

.sidebar-cta {
    display: block;
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 13px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: 4px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.sidebar-cta:hover { transform: translateY(-2px); background: var(--navy-purple); }

.sidebar-reopen {
    position: absolute;
    bottom: 24px;
    right: 16px;
    background: var(--seq-white);
    color: var(--navy-dark);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
}
.sidebar-reopen:hover { border-color: var(--navy-purple); color: var(--navy-purple); transform: translateY(-2px); }
.sidebar-reopen svg { width: 14px; height: 14px; }

/* ===================================
   CURRENCY WIDGET (Solutions page)
   =================================== */
.currency-section {
    padding: 64px 0;
    background: var(--seq-white);
    border-top: 1px solid var(--gray-200);
}
.currency-widget-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.currency-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}
.currency-header h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--navy-dark);
}
.currency-updated {
    font-size: 12px;
    color: var(--text-light);
}
.currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.currency-card {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: border-color 0.25s ease;
}
.currency-card:hover { border-color: var(--green-primary); }
.currency-pair { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 6px; }
.currency-rate { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--navy-dark); line-height: 1; }
.currency-change { font-size: 11px; font-weight: 600; margin-top: 4px; }
.currency-change.up   { color: #16a34a; }
.currency-change.down { color: #dc2626; }
.currency-note { font-size: 11px; color: var(--text-light); margin-top: 16px; text-align: center; line-height: 1.5; }

/* ===================================
   CAT LIVE CLOCK (Contact page)
   =================================== */
.cat-clock-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28,36,68,0.06);
    border: 1px solid rgba(28,36,68,0.15);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy-dark);
    margin-top: 10px;
}
.cat-clock-dot {
    width: 6px; height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* ===================================
   LANGUAGE TOGGLE
   =================================== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--gray-100);
    border-radius: 6px;
    padding: 3px;
}
.navbar.nav-light .lang-toggle { background: var(--gray-100); }
.lang-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
    font-family: var(--font-main);
}
.navbar.nav-light .lang-btn { color: var(--text-light); }
.lang-btn.active {
    background: var(--seq-white);
    color: var(--navy-dark);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   MAP ABOUT TEASER (About page)
   =================================== */
.map-teaser {
    padding: 72px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    text-align: left;
}
.map-teaser-content { position: relative; z-index: 1; }
.map-teaser h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 14px;
}
.map-teaser p {
    font-size: 16px;
    color: var(--text-medium);
    max-width: none;
    margin: 0 0 28px;
    line-height: 1.7;
}
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy-dark);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.25s ease, background 0.25s ease;
}
.btn-map:hover { transform: translateY(-2px); background: var(--navy-purple); }
.btn-map svg { width: 16px; height: 16px; }

/* ===================================
   MAP PAGE RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    body.map-page { overflow: auto; }
    .map-page-layout {
        flex-direction: column;
        height: auto;
        margin-top: 88px;
    }
    #africa-map { height: 100vh; min-height: 400px; }
    .map-controls-bar { gap: 10px; }
    .map-layer-panel { display: none; }
    .map-search-wrap { max-width: 100%; flex: 1; }
    .zambia-sidebar {
        width: 100%;
        height: 0;
        max-height: 50vh;
        border-left: none;
        border-top: 1px solid var(--gray-200);
        transition: height 0.35s cubic-bezier(0.4,0,0.2,1);
    }
    .zambia-sidebar.open { width: 100%; height: 50vh; }
    .sidebar-content { min-width: 0; }
    .map-legend { display: none; }
    .sidebar-reopen {
        bottom: 80px;
        right: 16px;
    }
    .currency-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================
   SUPPLEMENTAL FIXES
   =================================== */
.currency-name-small {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
    text-align: center;
}
.lang-toggle { flex-shrink: 0; }

/* ===================================
   CHATBOT PANEL
   =================================== */
.chatbot-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px; height: 56px;
    background: var(--seq-white);
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: var(--navy-dark);
}
.chatbot-toggle:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.chatbot-toggle svg { width: 26px; height: 26px; }
.chatbot-toggle .chat-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--navy-dark);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.chatbot-panel {
    position: fixed;
    bottom: 0; right: 0;
    width: 420px;
    height: 620px;
    max-height: 90vh;
    background: var(--seq-white);
    border: 1px solid var(--gray-200);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
    z-index: 950;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}
.chatbot-panel.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--seq-white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
    width: 38px; height: 38px;
    background: rgba(28,36,68,0.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-dark);
    flex-shrink: 0;
}
.chatbot-avatar svg { width: 20px; height: 20px; }
.chatbot-title { font-weight: 600; color: var(--navy-dark); font-size: 14px; line-height: 1.2; }
.chatbot-subtitle { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.chatbot-close {
    background: var(--gray-100);
    border: none;
    color: var(--text-medium);
    width: 28px; height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.chatbot-close:hover { background: var(--gray-200); color: var(--navy-dark); }
.chatbot-close svg { width: 14px; height: 14px; }

.chatbot-query-bar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-light);
    flex-shrink: 0;
}
.chatbot-query-count { font-weight: 600; color: var(--navy-dark); }

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--gray-50);
    scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.chat-msg {
    max-width: 90%;
    font-size: 13.5px;
    line-height: 1.65;
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.chat-msg-bubble {
    padding: 12px 15px;
    border-radius: 12px;
}
.chat-msg.bot .chat-msg-bubble {
    background: var(--seq-white);
    border: 1px solid var(--gray-200);
    border-radius: 4px 12px 12px 12px;
    color: var(--text-dark);
}
.chat-msg.user .chat-msg-bubble {
    background: var(--navy-dark);
    color: var(--white);
    border-radius: 12px 4px 12px 12px;
}
.chat-msg-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    color: var(--text-light);
}
.chat-msg.user .chat-msg-label { text-align: right; }

.chat-chart-wrap {
    background: var(--seq-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 14px;
    margin-top: 10px;
}
.chat-chart-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 10px;
}
.chat-chart-wrap canvas { max-height: 200px; }

.chat-suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.chat-chip {
    background: var(--seq-white);
    border: 1px solid var(--navy-purple);
    color: var(--navy-dark);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.chat-chip:hover { background: var(--navy-purple); color: var(--white); }

.chat-limit-banner {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin-top: 6px;
}
.chat-limit-banner p { color: var(--text-medium); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.chat-limit-cta {
    display: inline-block;
    background: var(--navy-dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
}
.chat-limit-cta:hover { background: var(--navy-purple); }

.chat-typing {
    align-self: flex-start;
    background: var(--seq-white);
    border: 1px solid var(--gray-200);
    border-radius: 4px 12px 12px 12px;
    padding: 12px 16px;
    display: flex;
    gap: 4px;
    align-items: center;
}
.chat-typing span {
    width: 6px; height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: chatTyping 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatTyping {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-input-area {
    padding: 14px 16px;
    background: var(--seq-white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}
.chatbot-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--gray-50);
    resize: none;
    outline: none;
    min-height: 42px;
    max-height: 100px;
    transition: border-color 0.2s;
    line-height: 1.5;
}
.chatbot-input:focus { border-color: var(--navy-purple); background: var(--seq-white); }
.chatbot-send {
    width: 42px; height: 42px;
    background: var(--navy-dark);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.chatbot-send:hover { background: var(--navy-purple); transform: scale(1.05); }
.chatbot-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.chatbot-send svg { width: 18px; height: 18px; }

.chatbot-disclaimer {
    text-align: center;
    font-size: 10px;
    color: var(--text-light);
    padding: 6px 16px 10px;
    background: var(--seq-white);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .chatbot-panel { width: 100%; border-radius: 16px 16px 0 0; }
    .chatbot-toggle { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ===================================
   INVESTMENT OPPORTUNITY BADGE (Map)
   =================================== */
.invest-opp-panel {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.85);
    padding: 20px;
    border-top: none;
    min-width: 340px;
    flex-shrink: 0;
}
.invest-opp-panel h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.01em;
}
.invest-opp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
}
.invest-opp-row:last-child { border-bottom: none; }
.invest-opp-label { color: rgba(255,255,255,0.5); }
.invest-opp-value { font-weight: 600; color: rgba(255,255,255,0.85); }
.invest-opp-value.up { color: #4ade80; }
.invest-opp-value.highlight { color: rgba(255,255,255,0.65); }

/* Horizontal scrollbar-width none for chatbot */
.chatbot-messages { scrollbar-width: thin; }

/* ===================================
   APPLY PAGE — CRITERIA CARDS
   =================================== */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.criteria-card {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.criteria-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28,36,68,0.12);
}

.criteria-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 14px;
}

.criteria-icon {
    width: 48px; height: 48px;
    background: rgba(28,36,68,0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--navy-purple);
    transition: background 0.3s ease;
}
.criteria-card:hover .criteria-icon { background: rgba(28,36,68,0.13); }
.criteria-icon svg { width: 22px; height: 22px; }

.criteria-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 10px;
}
.criteria-card p {
    font-size: 14.5px;
    color: var(--text-medium);
    line-height: 1.75;
}

/* ===================================
   APPLY PAGE — FINANCING PRODUCTS META
   =================================== */
.product-meta {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.product-meta span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
    letter-spacing: 0.03em;
}

/* ===================================
   APPLY PAGE — PROCESS STEPS
   =================================== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 28px;
    position: relative;
    padding-bottom: 40px;
}
.process-step:last-child { padding-bottom: 0; }

.step-connector {
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--navy-purple), var(--gray-200));
    z-index: 0;
}
.step-connector.last { display: none; }

.step-number {
    width: 48px; height: 48px;
    background: var(--seq-white);
    color: var(--navy-dark);
    border: 2px solid var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}
.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 8px;
}
.step-content p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.75;
}

/* ===================================
   APPLY PAGE — DISCLAIMER BOX
   =================================== */
.apply-disclaimer {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px 28px;
}
.apply-disclaimer svg {
    width: 22px; height: 22px;
    color: var(--text-light);
    flex-shrink: 0;
    margin-top: 2px;
}
.apply-disclaimer p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===================================
   DEALS PAGE — STATS BAR
   =================================== */
.deals-stats-bar {
    padding: 48px 0;
    background: var(--seq-white);
    border-bottom: 1px solid var(--gray-200);
}
.deals-stats-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.deals-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 48px;
    text-align: center;
}
.deals-stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--navy-dark);
    line-height: 1.1;
    margin-bottom: 6px;
}
.deals-stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-light);
    text-transform: uppercase;
}

.deals-stat-divider {
    width: 1px;
    height: 52px;
    background: var(--gray-200);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .deals-stat-divider { display: none; }
    .deals-stat-item { padding: 20px 24px; }
    .deals-stats-bar .container { gap: 0; }
}

/* ===================================
   DEALS PAGE — DEAL CARDS (TILES)
   =================================== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.deal-card {
    background: var(--seq-white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
                border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    outline: none;
}
.deal-card:hover, .deal-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28,36,68,0.15);
}

.deal-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.deal-card-sector-icon {
    width: 40px; height: 40px;
    background: rgba(28,36,68,0.07);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-purple);
    flex-shrink: 0;
}
.deal-card-sector-icon svg { width: 20px; height: 20px; }

.deal-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.deal-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.deal-badge--sector {
    background: rgba(28,36,68,0.08);
    color: var(--navy-purple);
}
.deal-badge--confidential {
    background: rgba(251,191,36,0.12);
    color: #92710a;
}
.deal-badge--open {
    background: rgba(34,197,94,0.1);
    color: #166534;
}

.deal-card-body {
    padding: 20px 24px 16px;
    flex: 1;
}

.deal-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.deal-country {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.deal-year {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.deal-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.deal-card-teaser {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.deal-card-footer {
    padding: 14px 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.deal-size {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
}

.deal-cta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-purple);
    transition: gap 0.2s ease;
}
.deal-card:hover .deal-cta { gap: 8px; }

/* ===================================
   DEALS PAGE — MODAL
   =================================== */
.deal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,15,30,0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.deal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.deal-modal-panel {
    background: var(--seq-white);
    border-radius: 20px;
    max-width: 760px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}
.deal-modal-overlay.active .deal-modal-panel {
    transform: translateY(0);
}

.deal-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dark);
    transition: background 0.2s ease;
    z-index: 1;
}
.deal-modal-close:hover { background: var(--gray-200); }
.deal-modal-close svg { width: 16px; height: 16px; }

.deal-modal-header {
    background: var(--seq-white);
    border-bottom: 1px solid var(--gray-200);
    padding: 48px 44px 36px;
    color: var(--navy-dark);
}

.deal-modal-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.modal-badge--sector {
    background: rgba(28,36,68,0.08);
    color: var(--navy-purple);
}
.modal-badge--type {
    background: var(--gray-100);
    color: var(--text-medium);
}
.modal-badge--country {
    background: var(--gray-100);
    color: var(--text-medium);
}
.modal-badge--confidential {
    background: rgba(251,191,36,0.12);
    color: #92710a;
}

.deal-modal-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    color: var(--navy-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.deal-modal-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.deal-modal-body {
    padding: 36px 44px 44px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.deal-modal-stat-card {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-100);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.deal-modal-stat-icon {
    width: 36px; height: 36px;
    background: rgba(28,36,68,0.07);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-purple);
    margin-bottom: 2px;
}
.deal-modal-stat-icon svg { width: 18px; height: 18px; }
.deal-modal-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
}
.deal-modal-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.deal-modal-overview h4,
.deal-modal-impact h4,
.deal-modal-structure h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 14px;
}

.deal-modal-overview p,
.deal-modal-structure p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
}

.modal-type-note {
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: var(--text-medium);
    margin-bottom: 14px;
}
.modal-type-note strong { color: var(--navy-dark); }

.modal-impact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal-impact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.65;
}
.impact-check {
    width: 22px; height: 22px;
    background: rgba(28,36,68,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-purple);
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA outline button for deals page */
.btn-outline-white {
    display: inline-block;
    padding: 15px 36px;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    letter-spacing: 0.02em;
    background: var(--seq-white);
}
.btn-outline-white:hover {
    border-color: var(--navy-purple);
    background: var(--gray-50);
}

/* ===================================
   RESPONSIVE — MODAL & DEALS
   =================================== */
@media (max-width: 700px) {
    .deal-modal-header { padding: 36px 24px 28px; }
    .deal-modal-body { padding: 28px 24px 36px; }
    .deal-modal-title { font-size: 21px; }
    .deal-modal-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .deal-modal-overlay { padding: 0; align-items: flex-end; }
    .deal-modal-panel { border-radius: 20px 20px 0 0; max-height: 92vh; overflow-y: auto; }
    .process-step { grid-template-columns: 40px 1fr; }
    .step-number { width: 40px; height: 40px; font-size: 14px; }
    .step-connector { left: 19px; }
    .criteria-grid { grid-template-columns: 1fr; }
}
