:root {
    --evc-deepest: #042e23;
    --evc-emerald: #087a53;
    --evc-gold: #f2c94c;
    --evc-cream: #f7f4ed;
    --evc-shadow-lg: 0 32px 90px rgba(2, 35, 25, .24);
    --evc-shadow-md: 0 18px 46px rgba(7, 61, 43, .12);
}

body.evc-managed-page {
    background: #f7f9f7;
}

.evc-header {
    border-bottom-color: rgba(4, 46, 35, .08);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .55);
    transition: box-shadow .3s ease, background .3s ease;
}

.evc-header.is-scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 45px rgba(4, 46, 35, .11);
}

.evc-header-inner { transition: min-height .3s ease; }
.evc-header.is-scrolled .evc-header-inner { min-height: 70px; }

.evc-brand { position: relative; }
.evc-brand::after {
    content: "";
    position: absolute;
    right: -18px;
    width: 1px;
    height: 34px;
    background: linear-gradient(transparent, rgba(4, 46, 35, .22), transparent);
}

.evc-seal {
    background: radial-gradient(circle at 32% 25%, #157453, var(--evc-deepest) 63%);
    box-shadow: inset 0 0 0 4px var(--evc-deepest), inset 0 0 0 5px rgba(255, 255, 255, .38), 0 9px 24px rgba(4, 46, 35, .2);
}

.evc-nav > a { position: relative; }
.evc-client-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid #dce8e1;
    border-radius: 999px;
    background: #f1f8f4;
    color: #23503d;
}
.evc-client-chip > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19a56e;
    box-shadow: 0 0 0 4px rgba(25, 165, 110, .1);
}
.evc-client-chip > span { display: grid; line-height: 1.05; }
.evc-client-chip b { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.evc-client-chip small { max-width: 90px; overflow: hidden; color: #71827a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.evc-nav > a:not(.evc-track-button)::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -10px;
    left: 50%;
    height: 2px;
    background: var(--evc-green);
    transition: right .25s ease, left .25s ease;
}
.evc-nav > a:not(.evc-track-button):hover::after,
.evc-nav > a[aria-current="page"]::after { right: 0; left: 0; }
.evc-nav .evc-track-button {
    padding: 13px 20px;
    box-shadow: 0 10px 24px rgba(0, 107, 63, .2);
}

.evc-button,
.evc-start-form button[type="submit"] {
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--evc-green), #078759);
    box-shadow: 0 10px 22px rgba(0, 107, 63, .16);
}
.evc-button::after,
.evc-start-form button[type="submit"]::after {
    content: "";
    position: absolute;
    top: -80%;
    left: -45%;
    width: 38%;
    height: 260%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
    transform: rotate(18deg);
    transition: left .55s ease;
}
.evc-button:hover::after,
.evc-start-form button[type="submit"]:hover::after { left: 112%; }

.evc-hero {
    --evc-parallax-x: 0px;
    --evc-parallax-y: 0px;
    min-height: 720px;
    padding: 64px 0 34px;
    background: var(--evc-deepest);
    isolation: isolate;
}
.evc-hero::before {
    z-index: 1;
    background:
        radial-gradient(circle at 12% 5%, rgba(242, 201, 76, .15), transparent 24%),
        linear-gradient(180deg, rgba(4, 30, 23, .1), rgba(4, 30, 23, .35));
    pointer-events: none;
}
.evc-hero::after {
    content: "";
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(transparent, rgba(3, 34, 25, .52));
    color: transparent;
    pointer-events: none;
}

.evc-hero-visuals,
.evc-hero-visual {
    position: absolute;
    inset: 0;
}
.evc-hero-visuals { z-index: 0; overflow: hidden; }
.evc-hero-visual {
    background-image:
        linear-gradient(90deg, rgba(3, 35, 26, .94) 0%, rgba(3, 35, 26, .79) 40%, rgba(3, 35, 26, .55) 66%, rgba(3, 35, 26, .67) 100%),
        linear-gradient(180deg, rgba(2, 28, 21, .12), rgba(2, 28, 21, .4)),
        var(--evc-slide-image);
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: translate(var(--evc-parallax-x), var(--evc-parallax-y)) scale(1.075);
    transition: opacity 1s ease, transform 8s ease;
    will-change: opacity, transform;
}
.evc-hero-visual.is-active {
    opacity: 1;
    transform: translate(var(--evc-parallax-x), var(--evc-parallax-y)) scale(1.02);
}

.evc-hero-grid {
    position: relative;
    z-index: 3;
    min-height: 548px;
    grid-template-columns: minmax(0, 1.07fr) minmax(430px, .93fr);
    gap: clamp(44px, 5vw, 78px);
}
.evc-hero-copy-stack {
    display: grid;
    align-items: center;
    min-width: 0;
}
.evc-hero-message {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease .1s, transform .65s cubic-bezier(.2, .7, .2, 1) .1s, visibility 0s linear .75s;
    pointer-events: none;
}
.evc-hero-message.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: .12s, .12s, 0s;
    pointer-events: auto;
}
.evc-slide-place {
    display: inline-flex;
    width: max-content;
    margin-bottom: 24px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 999px;
    background: rgba(3, 37, 27, .32);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, .83);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.evc-kicker { color: var(--evc-gold); }
.evc-hero-copy h1,
.evc-hero-copy h2 {
    max-width: 680px;
    margin: 18px 0 24px;
    color: #fff;
    font: 700 clamp(52px, 5.6vw, 84px) / .96 Georgia, serif;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.evc-hero-copy h1 em,
.evc-hero-copy h2 em {
    color: var(--evc-gold);
    font-weight: 500;
}
.evc-hero-copy > p {
    max-width: 620px;
    color: rgba(238, 246, 241, .84);
    font-size: 17px;
    line-height: 1.72;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .24);
}
.evc-assurances { gap: 10px 12px; }
.evc-assurances span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(4, 46, 35, .34);
    backdrop-filter: blur(9px);
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
}

.evc-start-card {
    border-color: rgba(255, 255, 255, .48);
    border-radius: 24px;
    background: rgba(255, 255, 255, .955);
    box-shadow: var(--evc-shadow-lg);
    backdrop-filter: blur(18px);
    transform: translateZ(0);
}
.evc-start-card::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--evc-green) 0 44%, var(--evc-gold) 44% 72%, var(--evc-red) 72%);
}
.evc-start-card > header { padding: 25px 29px 20px; }
.evc-start-card > header small { display: flex; align-items: center; gap: 8px; }
.evc-live-dot {
    width: 8px;
    height: 8px;
    border: 2px solid rgba(0, 107, 63, .18);
    border-radius: 50%;
    background: #17a56e;
    box-shadow: 0 0 0 0 rgba(23, 165, 110, .42);
    animation: evcPulse 2.2s ease-out infinite;
}
.evc-start-card h2 { font-size: 31px; }
.evc-start-card input,
.evc-start-card select {
    border-color: #d6e0da;
    border-radius: 11px;
    background: rgba(250, 252, 251, .94);
}

.evc-slider-controls {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}
.evc-slider-controls button {
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(3, 38, 28, .43);
    color: #fff;
    backdrop-filter: blur(10px);
    cursor: pointer;
}
.evc-slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 17px;
    transition: background .2s ease, transform .2s ease;
}
.evc-slider-arrow:hover { background: var(--evc-green); transform: translateY(-2px); }
.evc-slider-dots { display: flex; align-items: center; gap: 4px; }
.evc-slider-dots button {
    width: 32px;
    height: 42px;
    padding: 0 6px;
    border-color: transparent;
    background: transparent;
}
.evc-slider-dots button span {
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
}
.evc-slider-dots button[aria-current="true"] span { background: var(--evc-gold); }
.evc-slider-dots button[aria-current="true"] span::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: left;
    animation: evcSlideProgress 7.6s linear;
}
.evc-hero.is-paused .evc-slider-dots button[aria-current="true"] span::after,
.evc-hero.is-hovering .evc-slider-dots button[aria-current="true"] span::after { animation-play-state: paused; }
.evc-slider-pause {
    grid-auto-flow: column;
    gap: 7px;
    min-height: 42px;
    margin-left: 3px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}
.evc-slider-pause span { color: var(--evc-gold); font-size: 10px; }

.evc-quick-steps {
    position: relative;
    z-index: 5;
    border-bottom: 0;
    background: #fff;
    box-shadow: 0 18px 55px rgba(4, 46, 35, .08);
}
.evc-quick-steps > .evc-shell { min-height: 108px; }
.evc-quick-steps .evc-shell > div {
    position: relative;
    gap: 15px;
    padding-inline: 24px;
}
.evc-quick-steps strong {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border-radius: 50%;
    background: #fbf5dd;
    color: #94710a;
    font: 800 13px "Segoe UI", Arial, sans-serif;
}
.evc-quick-steps span { font-size: 12px; }

.evc-section { position: relative; padding: 105px 0; }
.evc-section-alt {
    background:
        radial-gradient(circle at 8% 8%, rgba(242, 201, 76, .1), transparent 24%),
        linear-gradient(180deg, #edf3ef, #f6f8f6);
}
.evc-heading h2 { text-wrap: balance; }

.evc-visa-grid { gap: 24px; }
.evc-visa-grid > article {
    min-height: 330px;
    padding: 31px;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 13px 38px rgba(4, 46, 35, .075);
    transition: transform .35s cubic-bezier(.2, .75, .2, 1), box-shadow .35s ease;
}
.evc-visa-grid > article::before { width: 100%; height: 5px; }
.evc-visa-grid > article::after {
    content: "";
    position: absolute;
    top: -48px;
    right: -48px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(0, 107, 63, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(0, 107, 63, .035);
    transition: transform .45s ease;
}
.evc-visa-grid > article:hover { transform: translateY(-9px); box-shadow: 0 24px 55px rgba(4, 46, 35, .14); }
.evc-visa-grid > article:hover::after { transform: scale(1.18); }
.evc-visa-grid h3 { font-size: 28px; }

.evc-process-list { position: relative; gap: 15px; }
.evc-process-list::before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 35px;
    width: 2px;
    background: linear-gradient(var(--evc-green), var(--evc-gold), var(--evc-red));
}
.evc-process-list article {
    position: relative;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(4, 46, 35, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.evc-process-list article:hover { transform: translateX(7px); box-shadow: 0 16px 38px rgba(4, 46, 35, .11); }
.evc-process-list article > strong {
    position: relative;
    z-index: 1;
    background: transparent;
    color: var(--evc-green);
}
.evc-security-note {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(242, 201, 76, .18), transparent 42%),
        var(--evc-deepest);
    box-shadow: var(--evc-shadow-md);
}

.evc-trust {
    padding: 105px 0;
    background:
        linear-gradient(105deg, rgba(3, 38, 28, .97), rgba(5, 65, 45, .92)),
        url("../images/hero-congo-forest.webp") center / cover;
}
.evc-trust::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, .035) 49% 49.1%, transparent 49.1%);
}
.evc-trust-points article {
    min-height: 150px;
    border-color: rgba(255, 255, 255, .16);
    border-radius: 17px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(14px);
    transition: background .25s ease, transform .25s ease;
}
.evc-trust-points article:hover { background: rgba(255, 255, 255, .12); transform: translateY(-5px); }

.evc-inner-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 75px 0;
    background:
        linear-gradient(90deg, rgba(3, 39, 28, .96), rgba(3, 39, 28, .72) 58%, rgba(3, 39, 28, .55)),
        url("../images/hero-brazzaville-river.webp") center 48% / cover;
}
.evc-inner-hero::after {
    top: -150px;
    right: 5%;
    width: 390px;
    height: 390px;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .025), 0 0 0 108px rgba(255, 255, 255, .018);
    animation: evcOrbit 14s ease-in-out infinite alternate;
}
.evc-service-grid { gap: 34px; padding-top: 58px; }
.evc-service-card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 22px 58px rgba(4, 46, 35, .09);
}
.evc-side-help {
    position: sticky;
    top: 110px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(242, 201, 76, .18), transparent 36%),
        var(--evc-deepest);
    box-shadow: 0 18px 45px rgba(4, 46, 35, .13);
}
.evc-progress-bar { height: 9px; }
.evc-progress-bar i {
    background: linear-gradient(90deg, var(--evc-green), #18a56f);
    box-shadow: 0 0 16px rgba(24, 165, 111, .32);
}
.evc-choice-grid label,
.evc-upload,
.evc-review article { border-radius: 15px; }
.evc-choice-grid label:hover,
.evc-upload:hover { border-color: #75aa91; transform: translateY(-2px); }
.evc-choice-grid label,
.evc-upload { transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }

.evc-info-content > section,
.evc-faq-list details,
.evc-news-grid article { border-radius: 18px; }
.evc-info-content > section {
    padding: 26px;
    border: 1px solid var(--evc-line);
    background: #fff;
    box-shadow: 0 10px 30px rgba(4, 46, 35, .045);
}
.evc-news-grid article { border: 0; box-shadow: 0 13px 38px rgba(4, 46, 35, .075); }
.evc-faq-list details { margin-bottom: 10px; padding: 0 20px; border: 1px solid var(--evc-line); background: #fff; }

.evc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease var(--evc-reveal-delay, 0ms), transform .65s cubic-bezier(.2, .75, .2, 1) var(--evc-reveal-delay, 0ms);
}
.evc-reveal.is-visible { opacity: 1; transform: translateY(0); }

.evc-footer {
    margin-top: 0;
    background:
        radial-gradient(circle at 12% 0, rgba(242, 201, 76, .1), transparent 26%),
        #052b20;
}

@keyframes evcPulse {
    0% { box-shadow: 0 0 0 0 rgba(23, 165, 110, .42); }
    70% { box-shadow: 0 0 0 8px rgba(23, 165, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(23, 165, 110, 0); }
}
@keyframes evcSlideProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes evcOrbit { from { transform: translate3d(-10px, -8px, 0) scale(.98); } to { transform: translate3d(18px, 13px, 0) scale(1.04); } }

@media (max-width: 1020px) {
    .evc-brand::after { display: none; }
    .evc-client-chip { display: none; }
    .evc-hero { min-height: 0; padding-top: 54px; }
    .evc-hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .evc-hero-copy-stack { min-height: 480px; }
    .evc-start-card { width: min(100%, 650px); }
    .evc-slider-controls { margin-top: 30px; }
    .evc-side-help { position: static; }
}

@media (max-width: 820px) {
    .evc-hero-visual {
        background-image:
            linear-gradient(90deg, rgba(3, 35, 26, .9), rgba(3, 35, 26, .68)),
            linear-gradient(180deg, rgba(2, 28, 21, .18), rgba(2, 28, 21, .5)),
            var(--evc-slide-image);
        background-position: 62% center;
    }
    .evc-hero-copy-stack { min-height: 455px; }
    .evc-hero-copy h1,
    .evc-hero-copy h2 { font-size: clamp(48px, 12vw, 72px); }
    .evc-slide-place { margin-bottom: 18px; }
    .evc-section { padding: 78px 0; }
    .evc-visa-grid > article { min-height: 0; }
    .evc-trust { padding: 78px 0; }
}

@media (max-width: 560px) {
    .evc-hero { padding: 38px 0 26px; }
    .evc-hero-grid { gap: 28px; }
    .evc-hero-copy-stack { min-height: 490px; }
    .evc-hero-copy h1,
    .evc-hero-copy h2 { margin-top: 15px; font-size: clamp(45px, 13.4vw, 64px); }
    .evc-hero-copy > p { font-size: 15px; line-height: 1.62; }
    .evc-assurances { margin-top: 22px; }
    .evc-assurances span { padding: 7px 9px; font-size: 10px; }
    .evc-slider-controls { justify-content: center; }
    .evc-slider-pause b { display: none; }
    .evc-slider-pause { width: 42px; padding: 0; }
    .evc-start-card { border-radius: 19px; }
    .evc-start-card h2 { font-size: 26px; }
    .evc-quick-steps > .evc-shell { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .evc-quick-steps .evc-shell > div { min-width: 78%; scroll-snap-align: start; border-bottom: 0; }
    .evc-process-list::before { left: 34px; }
    .evc-inner-hero { min-height: 300px; }
    .evc-info-content > section { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .evc-hero-visual,
    .evc-hero-message,
    .evc-reveal { transition: none !important; }
    .evc-live-dot,
    .evc-slider-dots button[aria-current="true"] span::after,
    .evc-inner-hero::after { animation: none !important; }
    .evc-reveal { opacity: 1; transform: none; }
}
