:root {
    --eaep-navy: #1e2754;
    --eaep-navy-800: #27325f;
    --eaep-navy-600: #3a4780;
    --eaep-orange: #ef7d30;
    --eaep-orange-dark: #d9622a;
    --eaep-orange-light: #f9a95f;
    --eaep-gold: #f6b93b;
    --eaep-ink: #141a33;
    --eaep-muted: #6b7590;
    --eaep-line: #e6e9f2;
    --eaep-bg: #f6f7fb;
    --eaep-white: #ffffff;
    --eaep-green: #1f9d55;
    --eaep-red: #d94a4a;
    --eaep-blue: #2f6fdb;

    --eaep-teal: #0f9b9b;
    --eaep-purple: #6c4bd1;

    --eaep-gradient: linear-gradient(135deg, var(--eaep-navy) 0%, #2c3a6e 45%, var(--eaep-orange) 130%);
    --eaep-gradient-warm: linear-gradient(120deg, var(--eaep-orange) 0%, var(--eaep-gold) 100%);

    /* Stat / metric card gradients — each card gets its own identity. */
    --eaep-grad-navy: linear-gradient(135deg, #1e2754 0%, #37457e 100%);
    --eaep-grad-orange: linear-gradient(135deg, #ef7d30 0%, #f6a94b 100%);
    --eaep-grad-green: linear-gradient(135deg, #15804a 0%, #26b56a 100%);
    --eaep-grad-blue: linear-gradient(135deg, #2457c4 0%, #4a8bec 100%);
    --eaep-grad-gold: linear-gradient(135deg, #c98a09 0%, #f6b93b 100%);
    --eaep-grad-teal: linear-gradient(135deg, #0b7a7a 0%, #16a9a9 100%);
    --eaep-grad-purple: linear-gradient(135deg, #5230b3 0%, #8259e6 100%);
    --eaep-grad-red: linear-gradient(135deg, #b93232 0%, #e26060 100%);

    --eaep-radius: 14px;
    --eaep-radius-lg: 22px;
    --eaep-shadow-sm: 0 2px 10px rgba(20, 26, 51, .07);
    --eaep-shadow: 0 14px 34px rgba(20, 26, 51, .12);
    --eaep-shadow-lg: 0 30px 66px rgba(20, 26, 51, .20);
    --eaep-shadow-xl: 0 40px 90px rgba(20, 26, 51, .26);
    --eaep-font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--eaep-font);
    color: var(--eaep-ink);
    background: var(--eaep-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-weight: 800; color: var(--eaep-navy); line-height: 1.22; letter-spacing: -.02em; }
a { text-decoration: none; transition: color .18s ease; }

.text-orange { color: var(--eaep-orange) !important; }
.text-navy { color: var(--eaep-navy) !important; }
.bg-navy { background: var(--eaep-navy) !important; }
.bg-soft { background: var(--eaep-bg) !important; }
.fw-black { font-weight: 900; }

/* ------------------------------------------------------------------ nav */
.eaep-topbar {
    background: var(--eaep-navy);
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    padding: .5rem 0;
}
.eaep-topbar a { color: rgba(255, 255, 255, .8); }
.eaep-topbar a:hover { color: var(--eaep-orange-light); }

.eaep-nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--eaep-line);
    transition: box-shadow .25s ease, padding .25s ease;
}
.eaep-nav.is-stuck { box-shadow: var(--eaep-shadow); }
.eaep-brand { display: flex; align-items: center; gap: .9rem; }
.eaep-brand img { height: 52px; width: auto; }
.eaep-brand-text { display: flex; flex-direction: column; justify-content: center; }
.eaep-brand-text .brand-line1 { color: var(--eaep-navy); font-size: .96rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; line-height: 1; }
.eaep-brand-text .brand-line2 { color: var(--eaep-orange); font-size: .58rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; line-height: 1; margin-top: .3rem; }

.eaep-nav .nav-link {
    color: var(--eaep-navy) !important;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .62rem .9rem !important;
    border-radius: 9px;
    position: relative;
}
.eaep-nav .nav-link:hover,
.eaep-nav .nav-link.active { color: var(--eaep-orange) !important; background: rgba(239, 125, 48, .08); }
.eaep-nav .nav-link.active::after {
    content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .32rem; height: 2px;
    border-radius: 2px; background: var(--eaep-orange);
}

/* --- mega dropdown ------------------------------------------------------- */
.eaep-nav .dropdown-menu {
    border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius);
    box-shadow: var(--eaep-shadow-lg);
    padding: .6rem;
    margin-top: .35rem;
    left: auto;
    right: 0;
    transform: none !important;
}
.eaep-nav .nav-item.dropdown { position: static; }
@media (min-width: 992px) {
    .eaep-nav .dropdown-menu.eaep-mega {
        left: 50%;
        right: auto;
        transform: translateX(-50%) !important;
        width: min(720px, 92vw);
    }
}
.eaep-nav .dropdown-item {
    border-radius: 9px; font-weight: 600; padding: .55rem .8rem;
    font-size: .86rem; color: var(--eaep-navy);
}
.eaep-nav .dropdown-item:hover { background: rgba(239, 125, 48, .1); color: var(--eaep-orange-dark); }

.eaep-mega { width: min(720px, 92vw); padding: .9rem; }
.eaep-mega .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.eaep-mega .mega-col-title {
    font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: var(--eaep-muted); padding: .5rem .8rem .35rem;
}
.eaep-mega .mega-item {
    display: flex; gap: .8rem; align-items: flex-start; padding: .6rem .8rem;
    border-radius: 11px; transition: background .18s ease, transform .18s ease;
}
.eaep-mega .mega-item:hover { background: rgba(239, 125, 48, .08); transform: translateX(3px); }
.eaep-mega .mega-item .mega-ico {
    width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    background: rgba(239, 125, 48, .12); color: var(--eaep-orange);
}
.eaep-mega .mega-item.navy .mega-ico { background: rgba(30, 39, 84, .1); color: var(--eaep-navy); }
.eaep-mega .mega-item.green .mega-ico { background: rgba(31, 157, 85, .12); color: var(--eaep-green); }
.eaep-mega .mega-item.blue .mega-ico { background: rgba(47, 111, 219, .12); color: var(--eaep-blue); }
.eaep-mega .mega-item strong { display: block; font-size: .88rem; color: var(--eaep-navy); font-weight: 700; }
.eaep-mega .mega-item span { font-size: .76rem; color: var(--eaep-muted); line-height: 1.4; }
.eaep-mega .mega-foot {
    margin-top: .5rem; padding: .7rem .8rem 0; border-top: 1px dashed var(--eaep-line);
    display: flex; flex-wrap: wrap; gap: .5rem;
}
.eaep-mega .mega-foot a {
    font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--eaep-navy); background: var(--eaep-bg); padding: .38rem .8rem; border-radius: 999px;
}
.eaep-mega .mega-foot a:hover { background: var(--eaep-navy); color: #fff; }

@media (max-width: 991.98px) {
    .eaep-mega { width: auto; padding: .3rem; box-shadow: none; border: 0; }
    .eaep-mega .mega-grid { grid-template-columns: 1fr; }
    .eaep-mega .mega-foot { display: none; }
    .eaep-nav .nav-link.active::after { display: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn { border-radius: 10px; font-weight: 600; letter-spacing: .01em; transition: all .2s ease; }
.btn-eaep {
    background: var(--eaep-orange);
    border: 1px solid var(--eaep-orange);
    color: #fff;
    padding: .68rem 1.5rem;
    box-shadow: 0 8px 20px rgba(239, 125, 48, .28);
}
.btn-eaep:hover { background: var(--eaep-orange-dark); border-color: var(--eaep-orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(239, 125, 48, .34); }
.btn-navy { background: var(--eaep-navy); border: 1px solid var(--eaep-navy); color: #fff; padding: .68rem 1.5rem; }
.btn-navy:hover { background: var(--eaep-navy-800); color: #fff; transform: translateY(-2px); }
.btn-outline-eaep { border: 2px solid var(--eaep-orange); color: var(--eaep-orange); background: transparent; padding: .6rem 1.4rem; }
.btn-outline-eaep:hover { background: var(--eaep-orange); color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); padding: .68rem 1.5rem; }
.btn-ghost-light:hover { background: #fff; color: var(--eaep-navy); border-color: #fff; }

/* ------------------------------------------------------------------ hero */
.eaep-hero { position: relative; overflow: hidden; background: var(--eaep-navy); }
.eaep-hero .carousel-item { height: clamp(420px, 62vh, 620px); position: relative; }
.eaep-hero .hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.06);
    animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.eaep-hero .hero-veil {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16, 22, 47, .92) 0%, rgba(16, 22, 47, .75) 26%, rgba(16, 22, 47, .38) 58%, rgba(16, 22, 47, .12) 100%);
    z-index: 2;
}
.eaep-hero .hero-body { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.eaep-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.75rem); font-weight: 900; }
.eaep-hero p { color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 620px; }
.eaep-hero .hero-kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(239, 125, 48, .2);
    border: 1px solid rgba(239, 125, 48, .45);
    color: var(--eaep-orange-light);
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.hero-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem 1.2rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .16); }
@media (max-width: 1399.98px){ .hero-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1199.98px){ .hero-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px){ .hero-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px){ .hero-stats { grid-template-columns: 1fr; } }
.hero-stats .stat { display: flex; align-items: center; gap: .9rem; }
.hero-stats .stat-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--eaep-orange), var(--eaep-gold)); color: #fff; box-shadow: 0 12px 30px rgba(239,125,48,.35); }
.hero-stats .stat strong { display: block; font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-stats .stat span { color: rgba(255, 255, 255, .72); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.eaep-hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .45); border: 0; }
.eaep-hero .carousel-indicators .active { background: var(--eaep-orange); width: 52px; }
.eaep-hero .carousel-control-prev, .eaep-hero .carousel-control-next { width: 6%; opacity: .6; }
.eaep-hero .carousel-control-prev:hover, .eaep-hero .carousel-control-next:hover { opacity: 1; }

/* -------------------------------------------------------------- sections */
.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head.text-start { margin-left: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--eaep-orange); font-weight: 800; font-size: .78rem;
    letter-spacing: .18em; text-transform: uppercase; margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--eaep-orange); border-radius: 2px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1rem; position: relative; padding-bottom: .85rem; }
/* Accent underline beneath every section heading (centred by default). */
.section-head h2::after {
    content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 68px; height: 3px; border-radius: 3px;
    background: var(--eaep-grad-orange);
}
.section-head.text-start h2::after { left: 0; transform: none; }
.section-head p { color: var(--eaep-muted); font-size: 1.03rem; }

/* Heading underline for standalone headings that are not in a .section-head,
   opt in with .h-underline (same accent bar, left aligned). */
.h-underline { position: relative; padding-bottom: .8rem; }
.h-underline::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 60px; height: 3px; border-radius: 3px;
    background: var(--eaep-grad-orange);
}
.h-underline.center::after { left: 50%; transform: translateX(-50%); }

/* ----------------------------------------------------------------- cards */
.card-eaep {
    background: #fff;
    border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius-lg);
    padding: 1.9rem 1.7rem;
    height: 100%;
    box-shadow: var(--eaep-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
}
.card-eaep::after {
    content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0;
    background: var(--eaep-gradient-warm); transition: width .35s ease;
}
.card-eaep:hover { transform: translateY(-7px); box-shadow: var(--eaep-shadow-xl); border-color: transparent; }
.card-eaep:hover::after { width: 100%; }
.card-eaep h3, .card-eaep h4 { font-size: 1.14rem; margin-bottom: .7rem; }
.card-eaep p { color: var(--eaep-muted); font-size: .95rem; margin-bottom: 0; }

.icon-badge {
    width: 60px; height: 60px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.55rem; margin-bottom: 1.2rem;
    background: rgba(239, 125, 48, .12); color: var(--eaep-orange);
}
.icon-badge.navy { background: rgba(30, 39, 84, .1); color: var(--eaep-navy); }
.icon-badge.green { background: rgba(31, 157, 85, .12); color: var(--eaep-green); }
.icon-badge.blue { background: rgba(47, 111, 219, .12); color: var(--eaep-blue); }

/* ------------------------------------------------------------ value cards */
.value-card {
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    padding: 1.7rem; height: 100%; position: relative; overflow: hidden;
    box-shadow: var(--eaep-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--eaep-shadow-xl); }
.value-card .value-index {
    position: absolute; right: 1.1rem; top: .7rem;
    font-size: 3.4rem; font-weight: 900; color: rgba(30, 39, 84, .07); line-height: 1;
}
.value-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.value-card p { color: var(--eaep-muted); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------- progress */
.progress-eaep { height: 9px; background: var(--eaep-line); border-radius: 999px; overflow: hidden; }
.progress-eaep .progress-bar { border-radius: 999px; background: var(--eaep-gradient-warm); transition: width .8s cubic-bezier(.4, 0, .2, 1); }
.progress-eaep.thin { height: 6px; }

.progress-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.progress-ring .track { stroke: var(--eaep-line); }
.progress-ring .fill { stroke: var(--eaep-orange); transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); }
.progress-ring .ring-value { position: absolute; font-size: 1.35rem; font-weight: 900; color: var(--eaep-navy); }

/* ------------------------------------------------------------- pipeline */
.pipeline { display: flex; align-items: flex-start; gap: 0; }
.pipeline-step { flex: 1; text-align: center; position: relative; }
.pipeline-step .dot {
    width: 42px; height: 42px; border-radius: 50%; margin: 0 auto .6rem;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 2px solid var(--eaep-line); color: var(--eaep-muted);
    font-weight: 800; font-size: .9rem; position: relative; z-index: 2;
}
.pipeline-step.done .dot { background: var(--eaep-green); border-color: var(--eaep-green); color: #fff; }
.pipeline-step.active .dot { background: var(--eaep-orange); border-color: var(--eaep-orange); color: #fff; box-shadow: 0 0 0 5px rgba(239, 125, 48, .18); }
.pipeline-step.rejected .dot { background: var(--eaep-red); border-color: var(--eaep-red); color: #fff; }
.pipeline-step .label { font-size: .78rem; font-weight: 700; color: var(--eaep-navy); }
.pipeline-step .when { font-size: .7rem; color: var(--eaep-muted); }
.pipeline-step::before {
    content: ''; position: absolute; top: 21px; left: -50%; width: 100%; height: 2px;
    background: var(--eaep-line); z-index: 1;
}
.pipeline-step:first-child::before { display: none; }
.pipeline-step.done::before, .pipeline-step.active::before { background: var(--eaep-orange); }

/* ------------------------------------------------------------- stat tiles */
.stat-tile {
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius);
    padding: 1.3rem 1.4rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease;
}
.stat-tile:hover { transform: translateY(-4px); box-shadow: var(--eaep-shadow); }
.stat-tile .stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.stat-tile .stat-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.stat-tile .stat-value { font-size: 1.85rem; font-weight: 900; color: var(--eaep-navy); line-height: 1; }
.stat-tile .stat-label { font-size: .8rem; color: var(--eaep-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-top: .35rem; }
.stat-tile .stat-hint { font-size: .78rem; color: var(--eaep-muted); margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--eaep-line); }
.tone-primary .stat-ico { background: rgba(47, 111, 219, .12); color: var(--eaep-blue); }
.tone-success .stat-ico { background: rgba(31, 157, 85, .12); color: var(--eaep-green); }
.tone-warning .stat-ico { background: rgba(246, 185, 59, .18); color: #b9820a; }
.tone-info .stat-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }
.tone-dark .stat-ico { background: rgba(30, 39, 84, .12); color: var(--eaep-navy); }
.tone-secondary .stat-ico { background: rgba(107, 117, 144, .14); color: var(--eaep-muted); }
.tone-danger .stat-ico { background: rgba(217, 74, 74, .12); color: var(--eaep-red); }

/* --------------------------------------------------------- metric cards -- */
/* System-coloured cards: white surface, navy count, theme-accent icon chip. */
.metric-card {
    position: relative; overflow: hidden; height: 100%;
    border-radius: var(--eaep-radius-lg);
    padding: 1.5rem 1.5rem 1.4rem;
    color: var(--eaep-ink);
    background: #fff;
    border: 1px solid var(--eaep-line);
    border-top: 3px solid var(--eaep-orange);
    box-shadow: var(--eaep-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.metric-card:hover { transform: translateY(-8px); box-shadow: var(--eaep-shadow-xl); }
.metric-card .metric-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.metric-card .metric-ico {
    width: 54px; height: 54px; flex: 0 0 auto; border-radius: 15px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    background: rgba(30, 39, 84, .08); color: var(--eaep-navy);
    border: 1px solid rgba(30, 39, 84, .12);
}
.metric-card .metric-trend {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark);
    padding: .28rem .6rem; border-radius: 999px; white-space: nowrap;
}
.metric-card .metric-value {
    font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 900; line-height: 1;
    letter-spacing: -.03em; color: var(--eaep-navy);
}
.metric-card .metric-label {
    margin-top: .5rem; font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .11em;
    color: var(--eaep-muted);
}
.metric-card .metric-hint {
    margin-top: .85rem; padding-top: .8rem; font-size: .78rem;
    color: var(--eaep-muted);
    border-top: 1px dashed var(--eaep-line);
}
.metric-card .metric-hint i { color: var(--eaep-orange); }

/* Accent variants — system/theme colours only. */
.metric-card.grad-navy   { border-top-color: var(--eaep-navy); }
.metric-card.grad-navy   .metric-ico { background: rgba(30, 39, 84, .08); color: var(--eaep-navy); }
.metric-card.grad-orange { border-top-color: var(--eaep-orange); }
.metric-card.grad-orange .metric-ico { background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark); }
.metric-card.grad-green  { border-top-color: var(--eaep-navy-600); }
.metric-card.grad-green  .metric-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }
.metric-card.grad-blue   { border-top-color: var(--eaep-navy-600); }
.metric-card.grad-blue   .metric-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }
.metric-card.grad-gold   { border-top-color: var(--eaep-gold); }
.metric-card.grad-gold   .metric-ico { background: rgba(246, 185, 59, .18); color: #b9820a; }
.metric-card.grad-teal   { border-top-color: var(--eaep-navy-600); }
.metric-card.grad-teal   .metric-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }
.metric-card.grad-purple { border-top-color: var(--eaep-navy-600); }
.metric-card.grad-purple .metric-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }
.metric-card.grad-red    { border-top-color: var(--eaep-red); }
.metric-card.grad-red    .metric-ico { background: rgba(217, 74, 74, .12); color: var(--eaep-red); }

/* Compact variant. */
.metric-card.metric-sm { padding: 1.15rem 1.25rem 1.1rem; border-radius: var(--eaep-radius); }
.metric-card.metric-sm .metric-ico { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; margin-bottom: .9rem; }
.metric-card.metric-sm .metric-top { margin-bottom: 0; }
.metric-card.metric-sm .metric-value { font-size: 2.05rem; }
.metric-card.metric-sm .metric-label { font-size: .72rem; letter-spacing: .09em; }

/* ------------------------------------------------------- elevated cards -- */
.card-elevated {
    background: #fff;
    border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius-lg);
    padding: 1.9rem 1.7rem;
    height: 100%;
    box-shadow: var(--eaep-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.card-elevated:hover { transform: translateY(-7px); box-shadow: var(--eaep-shadow-xl); }

/* Quick-access tiles with lift + theme icon chips. */
.quick-action {
    display: flex; align-items: center; gap: 1rem; height: 100%;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius);
    padding: 1.15rem 1.2rem; box-shadow: var(--eaep-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.quick-action:hover { transform: translateY(-6px); box-shadow: var(--eaep-shadow-lg); border-color: transparent; }
.quick-action .qa-ico {
    width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    background: rgba(30, 39, 84, .08); color: var(--eaep-navy);
    box-shadow: var(--eaep-shadow-sm);
}
.quick-action strong { display: block; color: var(--eaep-navy); font-size: .95rem; font-weight: 800; }
.quick-action span span { color: var(--eaep-muted); font-size: .8rem; }
.quick-action.qa-orange .qa-ico { background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark); }
.quick-action.qa-navy   .qa-ico { background: rgba(30, 39, 84, .08); color: var(--eaep-navy); }
.quick-action.qa-green  .qa-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }
.quick-action.qa-blue   .qa-ico { background: rgba(58, 71, 128, .12); color: var(--eaep-navy-600); }

/* ------------------------------------------------------- partner logos -- */
/* Rounded logo frame; the logo image itself is clipped to rounded corners. */
.partner-logo {
    width: 190px; height: 95px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; overflow: hidden;
    background: transparent;
    margin: 0 auto;
}
.partner-logo img {
    width: 100%; height: 100%; display: block;
    border-radius: 14px;
    object-fit: cover; object-position: center;
}
/* Emblems / crests must not be cropped — contain them inside the frame. */
.partner-logo.contain { background: #fff; border: 1px solid var(--eaep-line); box-shadow: var(--eaep-shadow-sm); }
.partner-logo.contain img { object-fit: contain; object-position: center; padding: 10px; }

/* Marquee variant on the homepage. */
.partners-section { background: linear-gradient(180deg, #f8f9fc 0%, #f3f5fa 100%); }
.partners-wrap { overflow: hidden; padding: 1.2rem 0 4rem; position: relative; }
.partners-wrap::before,
.partners-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2;
}
.partners-wrap::before { left: 0; background: linear-gradient(90deg, #f8f9fc 0%, transparent 100%); }
.partners-wrap::after { right: 0; background: linear-gradient(270deg, #f8f9fc 0%, transparent 100%); }
.marquee-partners { display: flex; align-items: flex-start; gap: 1.6rem; animation: partnerMarquee 38s linear infinite; width: max-content; }
.partners-wrap:hover .marquee-partners { animation-play-state: paused; }
.partner-item { flex: 0 0 auto; min-width: 200px; }
.partner-name { font-size: .84rem; font-weight: 800; color: var(--eaep-navy); }
.partner-cat { font-size: .74rem; color: var(--eaep-muted); }
@keyframes partnerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 767.98px) {
    .marquee-partners { gap: 1rem; animation-duration: 26s; }
    .partner-item { min-width: 170px; }
    .partner-logo { width: 150px; height: 75px; }
}
.partner-logo { width: 170px; height: 85px; }

/* Compact variant for admin lists. */
.partner-logo.sm { width: 130px; height: 66px; border-radius: 12px; }
.partner-logo.sm img { border-radius: 12px; }

/* --------------------------------------------------------------- badges */
.badge-soft { border-radius: 999px; font-weight: 700; font-size: .74rem; padding: .4rem .8rem; letter-spacing: .02em; }
.badge-soft.pending { background: rgba(246, 185, 59, .18); color: #a8730a; }
.badge-soft.under_review { background: rgba(47, 111, 219, .14); color: #2159b0; }
.badge-soft.approved { background: rgba(31, 157, 85, .14); color: #15803d; }
.badge-soft.rejected { background: rgba(217, 74, 74, .13); color: #b33636; }
.badge-soft.certified { background: rgba(30, 39, 84, .12); color: var(--eaep-navy); }
.badge-soft.valid { background: rgba(31, 157, 85, .14); color: #15803d; }
.badge-soft.expired { background: rgba(107, 117, 144, .16); color: var(--eaep-muted); }
.badge-soft.revoked { background: rgba(217, 74, 74, .13); color: #b33636; }
.badge-soft.info { background: rgba(47, 111, 219, .12); color: #2159b0; }

/* ----------------------------------------------------------------- table */
.table-eaep { background: #fff; border-radius: var(--eaep-radius); overflow: hidden; margin: 0; }
.table-eaep thead th {
    background: var(--eaep-navy); color: rgba(255, 255, 255, .86);
    font-size: .76rem; text-transform: uppercase; letter-spacing: .09em;
    font-weight: 700; border: 0; padding: 1rem 1.1rem; white-space: nowrap;
}
.table-eaep tbody td { padding: 1rem 1.1rem; border-color: var(--eaep-line); vertical-align: middle; font-size: .92rem; }
.table-eaep tbody tr:hover { background: rgba(239, 125, 48, .035); }
.table-eaep tbody tr:last-child td { border-bottom: 0; }

.avatar-sm { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.avatar-initials {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--eaep-gradient); color: #fff; font-weight: 800; font-size: .85rem; flex: 0 0 auto;
}

/* ------------------------------------------------------------------ cta */
.cta-band { background: var(--eaep-gradient); border-radius: var(--eaep-radius-lg); padding: clamp(2.2rem, 4vw, 3.4rem); position: relative; overflow: hidden; }
.cta-band::before {
    content: ''; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
    border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); }

/* ---------------------------------------------------------------- footer */
.eaep-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(239, 125, 48, .12), transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(58, 71, 128, .28), transparent 46%),
        #10162f;
    color: rgba(255, 255, 255, .68);
    margin-top: auto;
    position: relative;
    border-top: 3px solid var(--eaep-orange);
}
.eaep-footer::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}

/* ------------------------------------------------------- footer CTA band */
.footer-cta { padding: 2.6rem 0 0; }
.footer-cta-inner {
    background: linear-gradient(120deg, rgba(30, 39, 84, .92) 0%, rgba(44, 58, 110, .92) 55%, rgba(239, 125, 48, .28) 130%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--eaep-radius-lg);
    padding: 1.8rem 2rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem;
    box-shadow: var(--eaep-shadow-lg);
}
.footer-cta-text { flex: 1 1 320px; }
.footer-cta-eyebrow {
    display: inline-flex; align-items: center;
    font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    color: var(--eaep-orange-light); margin-bottom: .5rem;
}
.footer-cta-text h4 { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.footer-cta-text p { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.footer-cta-form { flex: 1 1 380px; min-width: 280px; }
.footer-cta-form .input-group { border-radius: 12px; overflow: hidden; box-shadow: var(--eaep-shadow); }
.footer-cta-form .input-group-text { background: #fff; border: 0; color: var(--eaep-orange); padding-right: .6rem; }
.footer-cta-form .form-control { border: 0; padding: 1rem 1rem 1rem .4rem; font-size: .92rem; }
.footer-cta-form .form-control:focus { box-shadow: none; }
.footer-cta-form .btn { border-radius: 0; padding-inline: 1.4rem; font-weight: 800; letter-spacing: .02em; }
.footer-cta-form small { color: rgba(255, 255, 255, .58); font-size: .76rem; }
.footer-cta-form small i { color: var(--eaep-green); }

/* ------------------------------------------------------- footer columns */
.footer-main { padding-top: 3.2rem; }
.eaep-footer h5 {
    color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em;
    margin-bottom: 1.25rem; font-weight: 800; position: relative; padding-bottom: .7rem;
}
.eaep-footer h5::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px;
    border-radius: 2px; background: var(--eaep-orange);
}
.eaep-footer a { color: rgba(255, 255, 255, .68); font-size: .9rem; }
.eaep-footer a:hover { color: var(--eaep-orange-light); }
.eaep-footer ul { list-style: none; padding: 0; margin: 0; }
.eaep-footer .footer-about { font-size: .9rem; line-height: 1.7; }
.eaep-footer .footer-motto {
    font-style: italic; color: var(--eaep-orange-light); font-weight: 600;
    display: flex; gap: .45rem; align-items: flex-start;
}
.eaep-footer .footer-motto i { opacity: .7; font-size: 1.1rem; line-height: 1.4; }

/* Link lists with animated chevrons. */
.footer-links li { margin-bottom: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .18s ease, transform .18s ease; }
.footer-links a::before {
    content: '\F285'; font-family: 'bootstrap-icons'; font-size: .68rem;
    color: var(--eaep-orange); transition: transform .18s ease;
}
.footer-links a:hover { transform: translateX(4px); }

/* Contact list with icon chips. */
.footer-contact li { display: flex; gap: .7rem; margin-bottom: 1rem; align-items: flex-start; font-size: .88rem; }
.footer-contact .fc-ico {
    width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(239, 125, 48, .16); color: var(--eaep-orange-light); font-size: .82rem;
}
.footer-contact a { font-size: .88rem; }

/* ------------------------------------------------------- trust badges */
.footer-badges {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: .6rem; margin-top: 2.6rem; padding: .5rem .8rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px; padding: .4rem .9rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .02em;
    color: rgba(255, 255, 255, .85);
    white-space: nowrap; line-height: 1.2;
}

/* ------------------------------------------------------- footer bottom */
.eaep-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    margin-top: 1.6rem; padding: 1.5rem 0 1.7rem; font-size: .85rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { font-size: .85rem; }
.footer-legal a:hover { color: var(--eaep-orange-light); }

.footer-social a {
    width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
    color: #fff !important; margin-right: .5rem; transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--eaep-orange); border-color: var(--eaep-orange); transform: translateY(-3px); }

@media (max-width: 767.98px) {
    .footer-cta-inner { padding: 1.4rem 1.3rem; }
    .footer-cta-form .btn { padding-inline: 1rem; }
    .footer-legal { gap: .9rem; }
}

/* ------------------------------------------------------------------- misc */
.page-hero {
    background: var(--eaep-navy); position: relative; overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.6rem, 5vw, 3.6rem);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 15% 20%, rgba(239, 125, 48, .3), transparent 45%),
                      radial-gradient(circle at 85% 80%, rgba(58, 71, 128, .6), transparent 50%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: .7rem; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 720px; margin: 0 auto; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); margin: 0; justify-content: center; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .74); }
.page-hero .breadcrumb a:hover { color: var(--eaep-orange-light); }
.page-hero .breadcrumb-item.active { color: var(--eaep-orange-light); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .38); }

.glass-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--eaep-radius); padding: 1.3rem; color: #fff; backdrop-filter: blur(10px); }

.alert-eaep { border: 0; border-radius: var(--eaep-radius); border-left: 4px solid; font-size: .93rem; }
.alert-eaep.alert-success { background: rgba(31, 157, 85, .09); border-color: var(--eaep-green); color: #14663a; }
.alert-eaep.alert-danger { background: rgba(217, 74, 74, .08); border-color: var(--eaep-red); color: #a83333; }
.alert-eaep.alert-info { background: rgba(47, 111, 219, .08); border-color: var(--eaep-blue); color: #1e4c94; }
.alert-eaep.alert-warning { background: rgba(246, 185, 59, .12); border-color: var(--eaep-gold); color: #8a6208; }

.form-control, .form-select {
    border-radius: 10px; border: 1px solid var(--eaep-line); padding: .72rem .95rem; font-size: .93rem;
}
.form-control:focus, .form-select:focus { border-color: var(--eaep-orange); box-shadow: 0 0 0 4px rgba(239, 125, 48, .13); }
.form-label { font-weight: 700; font-size: .84rem; color: var(--eaep-navy); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .04em; }

.accordion-eaep .accordion-item { border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius) !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-eaep .accordion-button { font-weight: 700; color: var(--eaep-navy); background: #fff; }
.accordion-eaep .accordion-button:not(.collapsed) { background: rgba(239, 125, 48, .07); color: var(--eaep-orange-dark); box-shadow: none; }
.accordion-eaep .accordion-button:focus { box-shadow: 0 0 0 4px rgba(239, 125, 48, .12); }

.ratio-media { border-radius: var(--eaep-radius-lg); overflow: hidden; box-shadow: var(--eaep-shadow); }
.ratio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ratio-media:hover img { transform: scale(1.05); }

.tile-hover { position: relative; overflow: hidden; border-radius: var(--eaep-radius); display: block; }
.tile-hover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .45s ease; }
.tile-hover:hover img { transform: scale(1.08); }
.tile-hover .tile-veil {
    position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.1rem;
    background: linear-gradient(to top, rgba(20, 26, 51, .92), rgba(20, 26, 51, .12) 60%, transparent);
    color: #fff; opacity: 0; transition: opacity .3s ease;
}
.tile-hover:hover .tile-veil { opacity: 1; }

.counter-value { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 900; color: var(--eaep-navy); line-height: 1; }
.counters-band { background: var(--eaep-navy); border-radius: var(--eaep-radius-lg); padding: 2.6rem 1.5rem; }
.counters-band .counter-value { color: #fff; }
.counters-band .counter-label { color: rgba(255, 255, 255, .66); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ==================================================== about page suite == */
/* Section rhythm helpers so paired columns keep matched heights.          */
.section-head.center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.prose p { line-height: 1.78; }
.prose p:last-child { margin-bottom: 0; }

/* --- highlight / feature strip ------------------------------------------ */
.feature-strip {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem; margin-top: 2rem;
}
.feature-strip .fs-item {
    display: flex; gap: .85rem; align-items: flex-start;
    background: var(--eaep-bg); border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius); padding: 1rem 1.1rem;
}
.feature-strip .fs-item i {
    width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark); font-size: 1rem;
}
.feature-strip .fs-item strong { display: block; font-size: .84rem; color: var(--eaep-navy); }
.feature-strip .fs-item span { font-size: .78rem; color: var(--eaep-muted); }
@media (max-width: 767.98px) { .feature-strip { grid-template-columns: 1fr; } }

/* --- narrative timeline (vertical, alternating-free) -------------------- */
.history-rail { position: relative; padding-left: 2.4rem; }
.history-rail::before {
    content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px;
    background: linear-gradient(var(--eaep-orange), var(--eaep-navy-600), var(--eaep-line));
}
.history-node { position: relative; padding-bottom: 1.9rem; }
.history-node:last-child { padding-bottom: 0; }
.history-node::before {
    content: ''; position: absolute; left: -2.4rem; top: 4px; width: 24px; height: 24px;
    border-radius: 50%; background: #fff; border: 3px solid var(--eaep-orange);
    box-shadow: 0 0 0 4px rgba(239, 125, 48, .14);
}
.history-node .hn-year {
    display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--eaep-orange-dark); background: rgba(239, 125, 48, .1);
    padding: .22rem .6rem; border-radius: 999px; margin-bottom: .4rem;
}
.history-node h5 { font-size: 1.02rem; margin-bottom: .3rem; }
.history-node p { color: var(--eaep-muted); font-size: .9rem; margin: 0; }

/* --- service pillar grid (advanced) ------------------------------------- */
.pillar-card {
    position: relative; overflow: hidden; height: 100%;
    background: #fff; border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius-lg); padding: 1.6rem;
    box-shadow: var(--eaep-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--eaep-shadow-xl); }
.pillar-card .pillar-ico {
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.1rem;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
    background: var(--eaep-grad-navy); box-shadow: var(--eaep-shadow-sm);
}
.pillar-card:nth-child(4n+1) .pillar-ico { background: linear-gradient(135deg, #ef7d30, #f6a94b); }
.pillar-card:nth-child(4n+2) .pillar-ico { background: linear-gradient(135deg, #1e2754, #37457e); }
.pillar-card:nth-child(4n+3) .pillar-ico { background: linear-gradient(135deg, #15804a, #26b56a); }
.pillar-card:nth-child(4n+4) .pillar-ico { background: linear-gradient(135deg, #2457c4, #4a8bec); }
.pillar-card h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.pillar-card p { color: var(--eaep-muted); font-size: .88rem; margin-bottom: 1rem; }
.pillar-card .pillar-meta {
    display: flex; flex-wrap: wrap; gap: .4rem;
    padding-top: .9rem; border-top: 1px dashed var(--eaep-line);
}
.pillar-card .pillar-meta span {
    font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--eaep-navy-600); background: rgba(58, 71, 128, .08);
    padding: .28rem .6rem; border-radius: 999px;
}

/* --- value pillars with big numerals ------------------------------------ */
.value-pillar {
    position: relative; height: 100%; overflow: hidden;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    padding: 1.6rem 1.5rem; box-shadow: var(--eaep-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}
.value-pillar:hover { transform: translateY(-7px); box-shadow: var(--eaep-shadow-xl); }
.value-pillar .vp-num {
    position: absolute; right: 1rem; top: .4rem; font-size: 3.6rem; font-weight: 900;
    line-height: 1; color: rgba(30, 39, 84, .06);
}
.value-pillar .vp-ico {
    width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1rem;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem;
    background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark);
}
.value-pillar h4 { font-size: 1rem; margin-bottom: .4rem; }
.value-pillar p { color: var(--eaep-muted); font-size: .86rem; margin: 0; }

/* ================================================== core values mosaic == */
/* A distinct layout: one featured value + a numbered mosaic of the rest.  */

/* --- featured value (large, split) -------------------------------------- */
.value-feature {
    position: relative; overflow: hidden; height: 100%;
    border-radius: var(--eaep-radius-lg); color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(239, 125, 48, .35), transparent 55%),
        linear-gradient(135deg, #1e2754 0%, #2c3a6e 62%, #3a4780 100%);
    padding: 2.2rem 2.1rem;
    box-shadow: var(--eaep-shadow-lg);
    display: flex; flex-direction: column;
}
.value-feature::after {
    content: ''; position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px;
    border-radius: 50%; background: rgba(239, 125, 48, .16);
}
.value-feature .vf-rank {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    color: var(--eaep-orange-light); margin-bottom: 1.1rem;
}
.value-feature .vf-ico {
    width: 74px; height: 74px; border-radius: 20px; margin-bottom: 1.3rem;
    display: inline-flex; align-items: center; justify-content: center; font-size: 2rem;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}
.value-feature h3 { color: #fff; font-size: 1.7rem; margin-bottom: .7rem; }
.value-feature p { color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.7; margin-bottom: 1.4rem; }
.value-feature .vf-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.value-feature .vf-tags span {
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
    padding: .35rem .8rem; border-radius: 999px; color: rgba(255, 255, 255, .88);
}
.value-feature .vf-bignum {
    position: absolute; right: 1.4rem; top: .6rem; font-size: 6.5rem; font-weight: 900;
    line-height: 1; color: rgba(255, 255, 255, .07);
}

/* --- mosaic tiles ------------------------------------------------------- */
.value-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; height: 100%; }
@media (max-width: 575.98px) { .value-mosaic { grid-template-columns: 1fr; } }

.value-tile {
    position: relative; overflow: hidden; height: 100%;
    background: #fff; border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius-lg); padding: 1.5rem 1.4rem;
    box-shadow: var(--eaep-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.value-tile::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
    background: var(--eaep-orange); transform: scaleY(0); transform-origin: top;
    transition: transform .32s ease;
}
.value-tile:hover { transform: translateY(-6px); box-shadow: var(--eaep-shadow-xl); border-color: transparent; }
.value-tile:hover::before { transform: scaleY(1); }
.value-tile .vt-num {
    position: absolute; right: 1.1rem; top: .5rem; font-size: 3.6rem; font-weight: 900;
    line-height: 1; color: rgba(30, 39, 84, .05);
}
.value-tile .vt-ico {
    width: 54px; height: 54px; border-radius: 15px; margin-bottom: 1rem;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
    background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark);
    transition: background .28s ease, color .28s ease, transform .28s ease;
}
.value-tile:hover .vt-ico { background: var(--eaep-grad-orange); color: #fff; transform: rotate(-4deg) scale(1.05); }
.value-tile h4 { font-size: 1.06rem; margin-bottom: .45rem; }
.value-tile p { color: var(--eaep-muted); font-size: .87rem; margin: 0; line-height: 1.65; }
.value-tile.navy::before { background: var(--eaep-navy); }
.value-tile.navy .vt-ico { background: rgba(30, 39, 84, .1); color: var(--eaep-navy); }
.value-tile.navy:hover .vt-ico { background: var(--eaep-grad-navy); color: #fff; }
.value-tile.green::before { background: var(--eaep-green); }
.value-tile.green .vt-ico { background: rgba(31, 157, 85, .12); color: var(--eaep-green); }
.value-tile.green:hover .vt-ico { background: var(--eaep-grad-green); color: #fff; }
.value-tile.blue::before { background: var(--eaep-blue); }
.value-tile.blue .vt-ico { background: rgba(47, 111, 219, .12); color: var(--eaep-blue); }
.value-tile.blue:hover .vt-ico { background: var(--eaep-grad-blue); color: #fff; }

/* --- values ribbon / manifesto bar -------------------------------------- */
.values-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: .6rem; padding: 1.1rem;
    background: var(--eaep-bg); border: 1px solid var(--eaep-line);
    border-radius: 999px;
}
.values-bar span {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .8rem; font-weight: 700; color: var(--eaep-navy);
    background: #fff; border: 1px solid var(--eaep-line);
    padding: .5rem 1rem; border-radius: 999px;
}
.values-bar span i { color: var(--eaep-orange); }
@media (max-width: 767.98px) { .values-bar { border-radius: var(--eaep-radius-lg); } }

/* ================================================ filter / catalogue UI == */
.filter-shell {
    background: #fff; border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius-lg); box-shadow: var(--eaep-shadow-sm);
    overflow: hidden;
}
.filter-shell .fs-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--eaep-line); background: var(--eaep-bg);
}
.filter-shell .fs-head h5 { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eaep-navy); }
.filter-shell .fs-body { padding: 1.3rem; }
.filter-group { margin-bottom: 1.4rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group > label,
.filter-group .fg-title {
    display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--eaep-muted); margin-bottom: .6rem;
}
.filter-chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .42rem .85rem; border-radius: 999px; border: 1px solid var(--eaep-line);
    background: #fff; font-size: .82rem; font-weight: 600; color: var(--eaep-navy);
    transition: all .18s ease; cursor: pointer;
}
.filter-chip:hover { border-color: var(--eaep-orange); color: var(--eaep-orange-dark); }
.filter-chip.active { background: var(--eaep-navy); border-color: var(--eaep-navy); color: #fff; }
.filter-chip .fc-count { background: rgba(0, 0, 0, .08); border-radius: 999px; padding: 0 .45rem; font-size: .72rem; }
.filter-chip.active .fc-count { background: rgba(255, 255, 255, .22); }

/* Price range inputs */
.price-range { display: flex; align-items: center; gap: .6rem; }
.price-range input { flex: 1; min-width: 0; }

/* Toggle switch rows */
.filter-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem 0; border-top: 1px dashed var(--eaep-line);
}
.filter-toggle:first-of-type { border-top: 0; }
.filter-toggle span { font-size: .86rem; font-weight: 600; color: var(--eaep-navy); }

/* Catalogue toolbar */
.catalogue-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: .8rem; padding: .9rem 1.2rem; background: #fff;
    border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius);
    box-shadow: var(--eaep-shadow-sm);
}
.catalogue-toolbar .ct-count { font-size: .88rem; color: var(--eaep-muted); }
.catalogue-toolbar .ct-count strong { color: var(--eaep-navy); }

/* Active filter pills */
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.active-filters .af-pill {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(239, 125, 48, .1); color: var(--eaep-orange-dark);
    border: 1px solid rgba(239, 125, 48, .28);
    padding: .35rem .5rem .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.active-filters .af-pill a { color: inherit; opacity: .7; font-size: .9rem; line-height: 1; }
.active-filters .af-pill a:hover { opacity: 1; }

/* Program card upgrade */
.program-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    overflow: hidden; box-shadow: var(--eaep-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.program-card:hover { transform: translateY(-7px); box-shadow: var(--eaep-shadow-xl); }
.program-card .pc-media { position: relative; overflow: hidden; }
.program-card .pc-media img { width: 100%; height: 190px; object-fit: cover; transition: transform .5s ease; }
.program-card:hover .pc-media img { transform: scale(1.06); }
.program-card .pc-badges { position: absolute; inset: 12px 12px auto 12px; display: flex; justify-content: space-between; gap: .4rem; }
.program-card .pc-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.program-card .pc-cat { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--eaep-orange); }
.program-card .pc-title { font-size: 1.05rem; margin: .35rem 0 .55rem; }
.program-card .pc-summary { color: var(--eaep-muted); font-size: .88rem; flex-grow: 1; }
.program-card .pc-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem; color: var(--eaep-muted); margin: .9rem 0; }
.program-card .pc-meta i { color: var(--eaep-orange); }
.program-card .pc-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .9rem; margin-top: auto; border-top: 1px solid var(--eaep-line); }

/* Sidebar sticky on large screens */
@media (min-width: 992px) { .filter-sticky { position: sticky; top: 96px; } }

/* ============================================================ team / people */
/* Modern profile card: framed portrait (no cover band) + clean detail body. */
.team-card {
    position: relative; height: 100%; overflow: hidden;
    background: #fff; border: 1px solid var(--eaep-line);
    border-radius: var(--eaep-radius-lg); box-shadow: var(--eaep-shadow-sm);
    display: flex; flex-direction: column; text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--eaep-shadow-xl); border-color: transparent; }

/* Portrait stage: soft tinted panel holding the framed photo. */
.team-card .tc-photo-slot {
    position: relative; flex: 0 0 auto;
    padding: 1.6rem 1.6rem 0; background: var(--eaep-bg);
    border-bottom: 1px solid var(--eaep-line);
}
.team-card .tc-photo-frame {
    position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 268px;
    border-radius: calc(var(--eaep-radius-lg) - 6px); overflow: hidden;
    background: var(--eaep-grad-navy); box-shadow: var(--eaep-shadow-md);
}
.team-card .tc-photo-frame::after {
    content: ''; position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    border-radius: inherit; pointer-events: none;
}
.team-card .tc-avatar {
    width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.4rem; font-weight: 800; color: #fff; letter-spacing: .02em;
    background: var(--eaep-grad-navy);
    transition: transform .5s ease;
}
.team-card:hover .tc-photo-frame .tc-avatar { transform: scale(1.045); }

/* Category chip floats over the portrait; featured star sits opposite. */
.team-card .tc-cat {
    position: absolute; z-index: 4; bottom: .85rem; left: .85rem;
    font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(255, 255, 255, .94); color: var(--eaep-navy);
    padding: .3rem .72rem; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(16, 22, 47, .16);
    backdrop-filter: blur(6px);
}
.team-card .tc-star {
    position: absolute; z-index: 4; top: .85rem; right: .85rem;
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: .78rem;
    background: var(--eaep-grad-orange); color: #fff;
    box-shadow: 0 6px 16px rgba(239, 125, 48, .4);
}

.team-card .tc-body {
    padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column;
    flex-grow: 1; text-align: center;
}
.team-card .tc-name { font-size: 1.12rem; margin-bottom: .25rem; min-height: 1.5rem; letter-spacing: -.01em; }
.team-card .tc-role { font-size: .82rem; font-weight: 700; color: var(--eaep-orange-dark); display: block; min-height: 1.25rem; }
.team-card .tc-role::after {
    content: ''; display: block; width: 34px; height: 2px; margin: .7rem auto .85rem;
    border-radius: 2px; background: var(--eaep-line);
}
.team-card .tc-bio { color: var(--eaep-muted); font-size: .87rem; line-height: 1.68; margin-bottom: 1.1rem; flex-grow: 1; }
.team-card .tc-actions {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: .45rem; padding-top: 1rem; border-top: 1px solid var(--eaep-line); min-height: 52px;
}
.team-card .tc-actions a {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--eaep-bg); border: 1px solid var(--eaep-line); color: var(--eaep-navy);
    font-size: .92rem; transition: all .2s ease;
}
.team-card .tc-actions a:hover { background: var(--eaep-grad-orange); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(239, 125, 48, .32); }
@media (max-width: 575.98px) { .team-card .tc-photo-frame { max-height: 300px; } }

/* Department / directorate card. */
.dept-card {
    position: relative; height: 100%; min-height: 230px; overflow: hidden;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    padding: 1.6rem 1.5rem; box-shadow: var(--eaep-shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease;
}
.dept-card::before {
    content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
    background: var(--eaep-grad-orange); transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--eaep-shadow-xl); }
.dept-card:hover::before { transform: scaleX(1); }
.dept-card .dc-ico {
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1rem;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem;
    background: rgba(30, 39, 84, .08); color: var(--eaep-navy);
    transition: background .28s ease, color .28s ease, transform .28s ease;
}
.dept-card:hover .dc-ico { background: var(--eaep-grad-navy); color: #fff; transform: rotate(-4deg) scale(1.05); }
.dept-card h4 { font-size: 1.04rem; margin-bottom: .45rem; }
.dept-card p { color: var(--eaep-muted); font-size: .87rem; line-height: 1.65; margin: 0 0 1rem; }
.dept-card .dc-tag {
    display: inline-block; margin-top: .9rem; font-size: .68rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; color: var(--eaep-orange-dark);
}
/* Department footer: status tag + icon-only mail link (address never shown). */
.dept-card .dc-foot {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--eaep-line);
}
.dept-card .dc-foot .dc-tag { margin-top: 0; }
.dept-card .dc-mail {
    width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--eaep-bg); border: 1px solid var(--eaep-line);
    color: var(--eaep-navy); font-size: .95rem; transition: all .2s ease;
}
.dept-card .dc-mail:hover { background: var(--eaep-grad-orange); border-color: transparent; color: #fff; transform: translateY(-2px); }

/* Leadership stat strip. */
.lead-strip { background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg); box-shadow: var(--eaep-shadow-sm); overflow: hidden; }
.lead-strip .row { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.lead-strip .ls-item {
    padding: 1.5rem 1.2rem; text-align: center; height: 100%;
    border-right: 1px solid var(--eaep-line);
}
.lead-strip .ls-item:last-child { border-right: 0; }
@media (max-width: 767.98px) {
    .lead-strip .ls-item { border-right: 0; border-bottom: 1px solid var(--eaep-line); }
    .lead-strip .ls-item:last-child { border-bottom: 0; }
}
.lead-strip .ls-item i { font-size: 1.35rem; color: var(--eaep-orange); display: block; margin-bottom: .5rem; }
.lead-strip .ls-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--eaep-navy); line-height: 1.1; }
.lead-strip .ls-item span { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eaep-muted); }

/* Org chart tree (pure CSS, responsive). */
.org-chart { text-align: center; }
.org-chart ul { position: relative; padding: 1.4rem 0 0; margin: 0; list-style: none; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.org-chart ul::before {
    content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 1.4rem;
    background: var(--eaep-line); transform: translateX(-50%);
}
.org-chart > ul::before { display: none; }
.org-chart li { position: relative; padding-top: 0; }
.org-chart ul ul { padding-top: 1.4rem; }
.org-chart ul ul li::before {
    content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 1.4rem;
    background: var(--eaep-line); transform: translateX(-50%);
}
.org-node {
    display: inline-flex; flex-direction: column; align-items: center; gap: .15rem;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius);
    padding: .8rem 1.2rem; min-width: 190px; box-shadow: var(--eaep-shadow-sm);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.org-node:hover { transform: translateY(-4px); box-shadow: var(--eaep-shadow-lg); border-color: rgba(239, 125, 48, .45); }
.org-node strong { font-size: .88rem; color: var(--eaep-navy); }
.org-node span { font-size: .74rem; color: var(--eaep-muted); }
.org-node.top { background: var(--eaep-grad-navy); border-color: transparent; }
.org-node.top strong { color: #fff; }
.org-node.top span { color: rgba(255, 255, 255, .72); }
.org-node.accent { background: rgba(239, 125, 48, .09); border-color: rgba(239, 125, 48, .3); }
.org-connector { color: var(--eaep-orange); font-size: .95rem; display: block; margin: .35rem 0; }

/* --- split media panel -------------------------------------------------- */
.media-panel {
    position: relative; border-radius: var(--eaep-radius-lg); overflow: hidden;
    box-shadow: var(--eaep-shadow-lg); height: 100%; min-height: 320px;
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-panel .mp-veil {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(16, 22, 47, .9), rgba(16, 22, 47, .2) 55%, transparent);
}
.media-panel .mp-body { position: relative; z-index: 2; padding: 1.6rem; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.media-panel .mp-body h4 { color: #fff; }
.media-panel .mp-body p { color: rgba(255, 255, 255, .8); font-size: .88rem; margin: 0; }
.media-panel .mp-chip {
    align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(239, 125, 48, .9); color: #fff; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem;
}

/* --- safety / hse checklist cards --------------------------------------- */
.hse-list { display: grid; gap: .8rem; }
.hse-item {
    display: flex; gap: 1rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--eaep-line); border-left: 4px solid var(--eaep-green);
    border-radius: var(--eaep-radius); padding: 1rem 1.1rem; box-shadow: var(--eaep-shadow-sm);
}
.hse-item.orange { border-left-color: var(--eaep-orange); }
.hse-item.navy { border-left-color: var(--eaep-navy); }
.hse-item .hse-ico {
    width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
    background: rgba(31, 157, 85, .12); color: var(--eaep-green);
}
.hse-item.orange .hse-ico { background: rgba(239, 125, 48, .12); color: var(--eaep-orange-dark); }
.hse-item.navy .hse-ico { background: rgba(30, 39, 84, .1); color: var(--eaep-navy); }
.hse-item strong { display: block; font-size: .92rem; color: var(--eaep-navy); margin-bottom: .15rem; }
.hse-item span { font-size: .84rem; color: var(--eaep-muted); }

/* --- stat ribbon (about counters upgrade) ------------------------------- */
.stat-ribbon {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--eaep-navy); border-radius: var(--eaep-radius-lg);
    overflow: hidden; box-shadow: var(--eaep-shadow-lg);
}
.stat-ribbon .sr-cell {
    padding: 1.9rem 1.4rem; text-align: center; position: relative;
    border-right: 1px solid rgba(255, 255, 255, .09);
}
.stat-ribbon .sr-cell:last-child { border-right: 0; }
.stat-ribbon .sr-ico { font-size: 1.5rem; color: var(--eaep-orange-light); display: block; margin-bottom: .6rem; }
.stat-ribbon .sr-value { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: #fff; line-height: 1; }
.stat-ribbon .sr-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: rgba(255, 255, 255, .6); margin-top: .45rem; }
@media (max-width: 767.98px) {
    .stat-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-ribbon .sr-cell:nth-child(2) { border-right: 0; }
    .stat-ribbon .sr-cell:nth-child(1), .stat-ribbon .sr-cell:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.09); }
}

/* --- operator / mandate callout ---------------------------------------- */
.mandate-card {
    background: linear-gradient(135deg, rgba(30, 39, 84, .04), rgba(239, 125, 48, .06));
    border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    padding: 1.6rem 1.7rem; height: 100%;
}
.mandate-card .mc-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--eaep-navy); background: rgba(30, 39, 84, .08); padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem;
}

.chart-wrap { position: relative; width: 100%; }
.chart-wrap canvas { max-width: 100%; }

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--eaep-line); }
.timeline-item { position: relative; padding-bottom: 1.7rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.2rem; top: .35rem; width: 18px; height: 18px;
    border-radius: 50%; background: #fff; border: 3px solid var(--eaep-orange);
}
.timeline-item h5 { font-size: 1rem; margin-bottom: .3rem; }
.timeline-item p { color: var(--eaep-muted); font-size: .92rem; margin: 0; }

.verify-shell { max-width: 760px; margin: 0 auto; }
.verify-result {
    border-radius: var(--eaep-radius-lg); padding: 2.4rem; text-align: center; border: 2px solid;
    background: #fff; position: relative; overflow: hidden;
}
.verify-result.is-valid { border-color: rgba(31, 157, 85, .45); }
.verify-result.is-invalid { border-color: rgba(217, 74, 74, .45); }
.verify-result .verify-icon { width: 92px; height: 92px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.8rem; margin-bottom: 1.2rem; }
.verify-result.is-valid .verify-icon { background: rgba(31, 157, 85, .12); color: var(--eaep-green); }
.verify-result.is-invalid .verify-icon { background: rgba(217, 74, 74, .1); color: var(--eaep-red); }

.cert-paper {
    background: #fff; aspect-ratio: 1.414/1; border: 14px solid var(--eaep-navy);
    padding: clamp(1.6rem, 4vw, 3.4rem); position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.cert-paper::before {
    content: ''; position: absolute; inset: 12px; border: 2px solid var(--eaep-orange); border-radius: 4px; pointer-events: none;
}
.cert-paper .cert-seal {
    position: absolute; right: clamp(1rem, 3vw, 2.4rem); bottom: clamp(1rem, 3vw, 2rem);
    width: clamp(70px, 10vw, 110px); height: clamp(70px, 10vw, 110px); border-radius: 50%;
    background: var(--eaep-gradient-warm); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: .6rem; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .06em; line-height: 1.25;
    box-shadow: 0 8px 20px rgba(239, 125, 48, .35);
}
.cert-no { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-weight: 700; letter-spacing: .04em; }

.timeline-feed { list-style: none; padding: 0; margin: 0; }
.timeline-feed li { display: flex; gap: .9rem; padding-bottom: 1.1rem; position: relative; }
.timeline-feed li::before { content: ''; position: absolute; left: 17px; top: 34px; bottom: 0; width: 2px; background: var(--eaep-line); }
.timeline-feed li:last-child::before { display: none; }
.timeline-feed .feed-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(239, 125, 48, .12); color: var(--eaep-orange); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; z-index: 1; }

.marquee-partners { display: flex; gap: 3rem; animation: marquee 28s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.scroll-top {
    position: fixed; right: 20px; bottom: 24px; width: 46px; height: 46px; border-radius: 12px;
    background: var(--eaep-orange); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--eaep-shadow); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 1050;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); color: #fff; }

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

@media (max-width: 991.98px) {
    @media (min-width: 992px) {
    .eaep-nav .navbar-collapse { margin-left: auto; }
    .eaep-nav .navbar-nav { margin-left: auto; align-items: center; }
}
.eaep-nav .navbar-collapse { background: #fff; border-radius: var(--eaep-radius); padding: 1rem; margin-top: .8rem; box-shadow: var(--eaep-shadow); }
    .hero-stats { gap: 1.5rem; }
    .pipeline { flex-wrap: wrap; }
    .pipeline-step { flex: 0 0 50%; margin-bottom: 1.1rem; }
    .pipeline-step::before { display: none; }
}
@media (max-width: 575.98px) {
    .pipeline-step { flex: 0 0 100%; text-align: left; display: flex; gap: 1rem; align-items: center; }
    .pipeline-step .dot { margin: 0; }
}

/* ====================================================== events catalogue ==== */
/* Scope tabs, advanced sidebar filters, timeline cards + countdown.          */

/* --- scope tabs (segmented, live counts) -------------------------------- */
.scope-tabs {
    display: flex; flex-wrap: wrap; gap: .5rem;
    background: #fff; border: 1px solid var(--eaep-line);
    border-radius: 999px; padding: .45rem;
    box-shadow: var(--eaep-shadow-sm);
}
.scope-tabs .st-tab {
    flex: 1 1 auto; min-width: 130px; text-align: center;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.1rem; border-radius: 999px;
    font-size: .86rem; font-weight: 700; color: var(--eaep-navy);
    background: transparent; border: 0; cursor: pointer;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.scope-tabs .st-tab:hover { background: var(--eaep-bg); }
.scope-tabs .st-tab.active { background: var(--eaep-grad-navy); color: #fff; box-shadow: 0 8px 20px rgba(30, 39, 84, .22); }
.scope-tabs .st-tab .st-count {
    font-size: .7rem; font-weight: 800; padding: .1rem .45rem; border-radius: 999px;
    background: rgba(0, 0, 0, .07);
}
.scope-tabs .st-tab.active .st-count { background: rgba(255, 255, 255, .24); }
@media (max-width: 575.98px) { .scope-tabs { border-radius: var(--eaep-radius-lg); } .scope-tabs .st-tab { min-width: 100%; } }

/* --- next-up highlight bar --------------------------------------------- */
.next-event {
    position: relative; overflow: hidden; border-radius: var(--eaep-radius-lg);
    background:
        radial-gradient(circle at 90% 0%, rgba(239, 125, 48, .32), transparent 55%),
        linear-gradient(135deg, #1e2754 0%, #2c3a6e 65%, #3a4780 100%);
    color: #fff; padding: 1.6rem 1.8rem; box-shadow: var(--eaep-shadow-lg);
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
}
.next-event::after {
    content: ''; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px;
    border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.next-event .ne-body { position: relative; z-index: 2; flex: 1 1 300px; }
.next-event .ne-kicker {
    display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .6rem;
    font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--eaep-orange-light);
}
.next-event h3 { color: #fff; margin-bottom: .5rem; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.next-event p { color: rgba(255, 255, 255, .78); font-size: .9rem; margin: 0; }
.next-event .ne-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.next-event .ne-meta span {
    font-size: .76rem; font-weight: 600; color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
    padding: .32rem .75rem; border-radius: 999px;
}
.next-event .ne-side { position: relative; z-index: 2; text-align: center; }

/* --- countdown ---------------------------------------------------------- */
.countdown { display: flex; gap: .5rem; justify-content: center; }
.countdown .cd-unit {
    min-width: 66px; padding: .7rem .5rem; border-radius: 14px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
}
.countdown .cd-unit b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown .cd-unit span { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* --- event card (timeline style) --------------------------------------- */
.event-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    overflow: hidden; box-shadow: var(--eaep-shadow-sm);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--eaep-shadow-xl); border-color: transparent; }
.event-card.is-past { opacity: .88; }
.event-card.is-past .ec-media img { filter: grayscale(.55); }
.event-card.is-past:hover .ec-media img { filter: grayscale(0); }

.event-card .ec-media { position: relative; overflow: hidden; }
.event-card .ec-media img { width: 100%; height: 200px; object-fit: cover; transition: transform .55s ease, filter .4s ease; }
.event-card:hover .ec-media img { transform: scale(1.06); }
.event-card .ec-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(16, 22, 47, .62), transparent 58%);
}

/* Date dial sits on the photo */
.event-card .ec-date {
    position: absolute; z-index: 3; top: .9rem; left: .9rem; text-align: center;
    width: 60px; padding: .5rem .3rem; border-radius: 14px;
    background: rgba(255, 255, 255, .95); box-shadow: var(--eaep-shadow-md);
    backdrop-filter: blur(6px);
}
.event-card .ec-date b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1; color: var(--eaep-navy); }
.event-card .ec-date span { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--eaep-orange-dark); }

.event-card .ec-badges { position: absolute; z-index: 3; top: .9rem; right: .9rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; }
.event-card .ec-cat {
    position: absolute; z-index: 3; bottom: .8rem; left: .9rem;
    font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; background: rgba(30, 39, 84, .78); border: 1px solid rgba(255, 255, 255, .22);
    padding: .28rem .7rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.event-card .ec-live {
    position: absolute; z-index: 3; bottom: .8rem; right: .9rem;
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff;
    background: rgba(217, 74, 74, .92); padding: .28rem .7rem; border-radius: 999px;
}
.event-card .ec-live .dot {
    width: 7px; height: 7px; border-radius: 50%; background: #fff;
    animation: eaep-pulse 1.6s ease-in-out infinite;
}
@keyframes eaep-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.7); }
}

.event-card .ec-body { padding: 1.35rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.event-card .ec-days {
    align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--eaep-orange-dark); background: rgba(239, 125, 48, .1);
    padding: .26rem .68rem; border-radius: 999px; margin-bottom: .7rem;
}
.event-card .ec-title { font-size: 1.06rem; margin-bottom: .5rem; line-height: 1.4; }
.event-card .ec-excerpt { color: var(--eaep-muted); font-size: .88rem; line-height: 1.65; flex-grow: 1; margin-bottom: 1rem; }
.event-card .ec-meta { display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; color: var(--eaep-muted); margin-bottom: 1rem; }
.event-card .ec-meta i { color: var(--eaep-orange); width: 16px; }

.event-card .ec-fill { margin-bottom: 1rem; }
.event-card .ec-fill .ef-head { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; margin-bottom: .3rem; }
.event-card .ec-fill .ef-head .ef-pct { color: var(--eaep-orange); }

.event-card .ec-foot {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding-top: .95rem; margin-top: auto; border-top: 1px solid var(--eaep-line);
}
.event-card .ec-price { font-weight: 800; color: var(--eaep-navy); font-size: .95rem; }
.event-card .ec-price small { display: block; font-weight: 600; font-size: .68rem; color: var(--eaep-muted); letter-spacing: .04em; }

/* --- results toolbar + empty state ------------------------------------- */
.events-empty { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 1px dashed var(--eaep-line); border-radius: var(--eaep-radius-lg); }
.events-empty i { font-size: 2.6rem; color: var(--eaep-orange); display: block; margin-bottom: .9rem; }

/* --- stagger reveal for cards ------------------------------------------ */
.stagger > * { opacity: 0; transform: translateY(18px); animation: eaep-rise .6s cubic-bezier(.22, .68, .36, 1) forwards; }

/* --- filter bar (public pages) ---------------------------------------- */
.filter-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem;
    padding: .45rem; background: #fff; border: 1px solid var(--eaep-line);
    border-radius: 999px; box-shadow: var(--eaep-shadow-sm);
}
.filter-bar.justify-content-between { justify-content: space-between; }
.filter-bar .chip-filter {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .42rem .85rem; border-radius: 999px; border: 1px solid var(--eaep-line);
    background: #fff; font-size: .82rem; font-weight: 600; color: var(--eaep-navy);
    transition: all .18s ease;
}
.filter-bar .chip-filter:hover { border-color: var(--eaep-orange); color: var(--eaep-orange-dark); }
.filter-bar .chip-filter.active { background: var(--eaep-navy); border-color: var(--eaep-navy); color: #fff; }
.filter-bar .chip-filter .count { background: rgba(0, 0, 0, .08); border-radius: 999px; padding: 0 .45rem; font-size: .72rem; }
.filter-bar .chip-filter.active .count { background: rgba(255, 255, 255, .22); }
@media (max-width: 575.98px) { .filter-bar { border-radius: var(--eaep-radius-lg); } }
.stagger > *:nth-child(1) { animation-delay: .04s; }
.stagger > *:nth-child(2) { animation-delay: .1s; }
.stagger > *:nth-child(3) { animation-delay: .16s; }
.stagger > *:nth-child(4) { animation-delay: .22s; }
.stagger > *:nth-child(5) { animation-delay: .28s; }
.stagger > *:nth-child(6) { animation-delay: .34s; }
.stagger > *:nth-child(7) { animation-delay: .4s; }
.stagger > *:nth-child(8) { animation-delay: .46s; }
.stagger > *:nth-child(9) { animation-delay: .52s; }
@keyframes eaep-rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .stagger > * { animation: none; opacity: 1; transform: none; }
    .event-card .ec-live .dot { animation: none; }
}

/* ====================================================== news / articles ==== */
/* Featured lead, filter toolbar, modern article cards, sidebar widgets.      */

/* --- featured lead story ------------------------------------------------ */
.news-lead {
    position: relative; overflow: hidden; border-radius: var(--eaep-radius-lg);
    box-shadow: var(--eaep-shadow-lg); min-height: 380px;
    display: flex; align-items: flex-end; color: #fff;
}
.news-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.news-lead:hover img { transform: scale(1.05); }
.news-lead::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(16, 22, 47, .95) 8%, rgba(16, 22, 47, .55) 48%, rgba(16, 22, 47, .12));
}
.news-lead .nl-body { position: relative; z-index: 2; padding: clamp(1.5rem, 3vw, 2.4rem); width: 100%; }
.news-lead .nl-kicker {
    display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .8rem;
    font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    background: var(--eaep-grad-orange); color: #fff; padding: .34rem .8rem; border-radius: 999px;
}
.news-lead h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: .7rem; line-height: 1.3; }
.news-lead p { color: rgba(255, 255, 255, .8); font-size: .95rem; margin-bottom: 1rem; max-width: 62ch; }
.news-lead .nl-meta { display: flex; flex-wrap: wrap; gap: .55rem; }
.news-lead .nl-meta span {
    font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .16);
    padding: .3rem .72rem; border-radius: 999px;
}

/* --- article card ------------------------------------------------------- */
.news-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg);
    overflow: hidden; box-shadow: var(--eaep-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.news-card:hover { transform: translateY(-7px); box-shadow: var(--eaep-shadow-xl); border-color: transparent; }
.news-card .nc-media { position: relative; overflow: hidden; }
.news-card .nc-media img { width: 100%; height: 196px; object-fit: cover; transition: transform .55s ease; }
.news-card:hover .nc-media img { transform: scale(1.06); }
.news-card .nc-cat {
    position: absolute; z-index: 2; top: .85rem; left: .85rem;
    font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(255, 255, 255, .95); color: var(--eaep-navy);
    padding: .3rem .72rem; border-radius: 999px; box-shadow: var(--eaep-shadow-sm);
}
.news-card .nc-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-card .nc-date { font-size: .74rem; font-weight: 700; color: var(--eaep-orange-dark); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .55rem; }
.news-card .nc-title { font-size: 1.05rem; line-height: 1.42; margin-bottom: .55rem; }
.news-card .nc-title a { color: inherit; text-decoration: none; }
.news-card .nc-title a:hover { color: var(--eaep-orange-dark); }
.news-card .nc-excerpt { color: var(--eaep-muted); font-size: .88rem; line-height: 1.66; flex-grow: 1; margin-bottom: 1rem; }
.news-card .nc-foot {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding-top: .9rem; margin-top: auto; border-top: 1px solid var(--eaep-line);
    font-size: .78rem; color: var(--eaep-muted);
}
.news-card .nc-author { display: inline-flex; align-items: center; gap: .5rem; }
.news-card .nc-author .avatar-initials { width: 30px; height: 30px; font-size: .68rem; }
.news-card .nc-read { display: inline-flex; align-items: center; gap: .35rem; color: var(--eaep-orange-dark); font-weight: 700; }

/* --- sidebar widgets ---------------------------------------------------- */
.widget { background: #fff; border: 1px solid var(--eaep-line); border-radius: var(--eaep-radius-lg); padding: 1.4rem; box-shadow: var(--eaep-shadow-sm); }
.widget + .widget { margin-top: 1.25rem; }
.widget h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eaep-navy); margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--eaep-line); }
.widget-cat {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .6rem .75rem; border-radius: 12px; font-size: .88rem; font-weight: 600;
    color: var(--eaep-navy); transition: all .2s ease;
}
.widget-cat:hover, .widget-cat.active { background: var(--eaep-bg); color: var(--eaep-orange-dark); }
.widget-cat .wc-count { font-size: .72rem; font-weight: 800; background: var(--eaep-bg); border: 1px solid var(--eaep-line); border-radius: 999px; padding: .1rem .5rem; }
.widget-cat.active .wc-count { background: var(--eaep-grad-orange); color: #fff; border-color: transparent; }
.widget-read { display: flex; gap: .85rem; padding: .8rem 0; border-bottom: 1px dashed var(--eaep-line); }
.widget-read:last-child { border-bottom: 0; padding-bottom: 0; }
.widget-read .wr-rank { font-size: 1.4rem; font-weight: 900; line-height: 1; color: rgba(30, 39, 84, .14); }
.widget-read .wr-title { font-size: .88rem; font-weight: 600; color: var(--eaep-navy); line-height: 1.45; }
.widget-read:hover .wr-title { color: var(--eaep-orange-dark); }
.widget-read .wr-meta { font-size: .72rem; color: var(--eaep-muted); margin-top: .2rem; }
.widget-newsletter { background: linear-gradient(135deg, #1e2754, #2c3a6e 70%, #3a4780); border: 0; color: rgba(255, 255, 255, .78); }
.widget-newsletter h3 { color: #fff; border-color: rgba(255, 255, 255, .16); }

/* --- animations --------------------------------------------------------- */
.stagger > * { opacity: 0; transform: translateY(18px); animation: eaep-rise .6s cubic-bezier(.22, .68, .36, 1) forwards; }
.stagger > *:nth-child(1) { animation-delay: .04s; }
.stagger > *:nth-child(2) { animation-delay: .1s; }
.stagger > *:nth-child(3) { animation-delay: .16s; }
.stagger > *:nth-child(4) { animation-delay: .22s; }
.stagger > *:nth-child(5) { animation-delay: .28s; }
.stagger > *:nth-child(6) { animation-delay: .34s; }
@media (prefers-reduced-motion: reduce) { .stagger > * { animation: none; opacity: 1; transform: none; } }
