/* E‑Visa Congo v1.4 — destination and trusted-directory experiences. */

.evc-home-discover {
    padding: 104px 0;
    background: #fff;
}
.evc-home-discover-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    background: #073d2b;
    box-shadow: 0 32px 78px rgba(4, 46, 35, .18);
}
.evc-home-discover-visual {
    min-height: 520px;
    background:
        linear-gradient(90deg, transparent 64%, #073d2b 100%),
        linear-gradient(0deg, rgba(3, 36, 26, .12), rgba(3, 36, 26, .12)),
        url("../images/discover-congo-river-hero.webp") center/cover no-repeat;
}
.evc-home-discover-copy {
    align-self: center;
    padding: 64px 62px 64px 42px;
    color: #fff;
}
.evc-home-discover-copy > span,
.evc-discover-hero-content > span,
.evc-world-heritage-grid > div:first-child > span,
.evc-discover-cta .evc-shell > div:first-child > span,
.evc-useful-hero-grid > div:first-child > span {
    color: var(--evc-yellow);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.evc-home-discover-copy h2 {
    margin: 14px 0 20px;
    font: 700 clamp(38px, 4vw, 57px)/1.02 Georgia, serif;
    letter-spacing: -.04em;
}
.evc-home-discover-copy p {
    margin: 0;
    color: #c8dacf;
    font-size: 15px;
    line-height: 1.78;
}
.evc-home-discover-copy > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 31px;
}
.evc-text-link {
    color: var(--evc-green);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline !important;
    text-underline-offset: 5px;
}
.evc-home-discover .evc-text-link,
.evc-world-heritage .evc-text-link {
    color: var(--evc-yellow);
}

.evc-discover-hero {
    --evc-discover-image: none;
    position: relative;
    min-height: 720px;
    overflow: hidden;
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(2, 37, 27, .96) 0%, rgba(2, 37, 27, .83) 44%, rgba(2, 37, 27, .31) 76%, rgba(2, 37, 27, .44) 100%),
        linear-gradient(0deg, rgba(2, 28, 21, .45), transparent 56%),
        var(--evc-discover-image) center/cover no-repeat;
    color: #fff;
}
.evc-discover-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 49.8%, rgba(255, 255, 255, .045) 50%, transparent 50.2%);
}
.evc-discover-hero-content {
    position: relative;
    z-index: 2;
    padding: 105px 0 176px;
}
.evc-discover-hero-content h1 {
    max-width: 850px;
    margin: 18px 0 25px;
    font: 700 clamp(54px, 7.2vw, 100px)/.92 Georgia, serif;
    letter-spacing: -.06em;
}
.evc-discover-hero-content h1 em {
    color: #f3cf58;
    font-weight: 500;
}
.evc-discover-hero-content p {
    max-width: 670px;
    margin: 0;
    color: #d6e4dd;
    font-size: 17px;
    line-height: 1.75;
}
.evc-discover-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}
.evc-discover-actions > a:not(.evc-button) {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.evc-discover-signals {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 112px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    background: rgba(2, 36, 26, .62);
    backdrop-filter: blur(15px);
}
.evc-discover-signals > span {
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 22px 38px;
    border-right: 1px solid rgba(255, 255, 255, .13);
    color: #c9d9d1;
    font-size: 11px;
}
.evc-discover-signals > span:last-child { border-right: 0; }
.evc-discover-signals b {
    color: #fff;
    font: 700 22px Georgia, serif;
}
.evc-concept-note {
    position: absolute;
    right: 18px;
    bottom: 121px;
    z-index: 2;
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.evc-discover-intro { background: #fff; }
.evc-discover-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 85px;
    align-items: end;
}
.evc-discover-intro-grid .evc-heading { margin: 0; }
.evc-discover-intro-grid > p {
    margin: 0 0 6px;
    padding: 0 0 0 27px;
    border-left: 3px solid var(--evc-yellow);
    color: #5f7168;
    font-size: 14px;
    line-height: 1.82;
}

.evc-destination-explorer { scroll-margin-top: 110px; }
.evc-explorer-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.evc-explorer-head .evc-heading { margin-bottom: 0; }
.evc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.evc-filter-bar button {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #cfdcd4;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #4c6257;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.evc-filter-bar button:hover { border-color: var(--evc-green); transform: translateY(-1px); }
.evc-filter-bar button.is-active,
.evc-filter-bar button[aria-pressed="true"] {
    border-color: var(--evc-green);
    background: var(--evc-green);
    color: #fff;
    box-shadow: 0 8px 19px rgba(0, 107, 63, .17);
}
.evc-filter-status {
    margin: 23px 0 18px;
    color: #7a8981;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.evc-destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.evc-destination-card {
    overflow: hidden;
    border: 1px solid rgba(6, 68, 47, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(4, 46, 35, .075);
    transition: transform .3s cubic-bezier(.2, .75, .2, 1), box-shadow .3s ease;
}
.evc-destination-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 58px rgba(4, 46, 35, .14);
}
.evc-destination-card[hidden] { display: none !important; }
.evc-destination-media {
    position: relative;
    min-height: 232px;
    overflow: hidden;
    background:
        linear-gradient(0deg, rgba(3, 39, 28, .64), transparent 62%),
        var(--evc-card-image) center/cover no-repeat;
    transition: background-size .5s ease;
}
.evc-destination-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 28%);
}
.evc-destination-media > span {
    position: absolute;
    bottom: 17px;
    left: 18px;
    z-index: 1;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(3, 39, 28, .58);
    color: #fff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.evc-destination-body { padding: 24px 24px 27px; }
.evc-destination-body small {
    color: #a17f13;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.evc-destination-body h3 {
    margin: 8px 0 11px;
    color: var(--evc-deep);
    font: 700 29px/1.05 Georgia, serif;
    letter-spacing: -.025em;
}
.evc-destination-body p {
    margin: 0;
    color: #63746b;
    font-size: 13px;
    line-height: 1.72;
}

.evc-travel-rhythms { background: #fff; }
.evc-trip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: trip;
}
.evc-trip-grid article {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    padding: 31px;
    border-radius: 20px;
    background: #f0f5f2;
}
.evc-trip-grid article:nth-child(2) { background: #0a4935; color: #fff; }
.evc-trip-grid article:nth-child(3) { background: #f8e7a2; }
.evc-trip-grid article::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -70px;
    width: 185px;
    height: 185px;
    border: 1px solid rgba(0, 107, 63, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(0, 107, 63, .04);
}
.evc-trip-grid article > b {
    display: inline-grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--evc-green);
    font: 700 15px Georgia, serif;
}
.evc-trip-grid article > span {
    display: block;
    margin-top: 43px;
    color: #98801e;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
}
.evc-trip-grid article:nth-child(2) > span { color: var(--evc-yellow); }
.evc-trip-grid h3 {
    position: relative;
    z-index: 1;
    margin: 9px 0 13px;
    color: var(--evc-deep);
    font: 700 29px Georgia, serif;
}
.evc-trip-grid article:nth-child(2) h3 { color: #fff; }
.evc-trip-grid p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #65766d;
    font-size: 13px;
    line-height: 1.7;
}
.evc-trip-grid article:nth-child(2) p { color: #c8dbd1; }

.evc-world-heritage {
    padding: 88px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 0, rgba(247, 209, 67, .17), transparent 32%),
        #062f23;
    color: #fff;
}
.evc-world-heritage-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 76px;
    align-items: center;
}
.evc-world-heritage h2 {
    margin: 13px 0 18px;
    font: 700 clamp(38px, 4vw, 58px)/1.03 Georgia, serif;
    letter-spacing: -.04em;
}
.evc-world-heritage p {
    margin: 0;
    color: #bfd2c8;
    font-size: 14px;
    line-height: 1.8;
}
.evc-world-links { display: grid; gap: 13px; }
.evc-world-links a {
    display: grid;
    grid-template-columns: 94px 1fr 32px;
    align-items: center;
    min-height: 106px;
    padding: 23px 25px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 17px;
    background: rgba(255, 255, 255, .065);
    color: #fff;
    transition: transform .22s ease, background .22s ease;
}
.evc-world-links a:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); }
.evc-world-links span { color: var(--evc-yellow); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.evc-world-links strong { font: 700 23px Georgia, serif; }
.evc-world-links b { color: var(--evc-yellow); font-size: 22px; text-align: right; }

.evc-discover-cta { background: #f8f4e7; }
.evc-discover-cta .evc-shell {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 45px;
}
.evc-discover-cta h2 {
    max-width: 750px;
    margin: 12px 0 0;
    color: var(--evc-deep);
    font: 700 clamp(36px, 4vw, 55px)/1.03 Georgia, serif;
    letter-spacing: -.04em;
}
.evc-discover-cta .evc-shell > div:last-child {
    display: grid;
    min-width: 220px;
    gap: 18px;
    text-align: center;
}

.evc-useful-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background:
        radial-gradient(circle at 80% 25%, rgba(247, 209, 67, .16), transparent 24%),
        linear-gradient(125deg, #073d2b 0%, #052d22 64%, #0a513a 100%);
    color: #fff;
}
.evc-useful-hero::after {
    content: "↗";
    position: absolute;
    right: 2vw;
    bottom: -95px;
    color: rgba(255, 255, 255, .035);
    font: 700 390px/1 Georgia, serif;
}
.evc-useful-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 75px;
    align-items: end;
}
.evc-useful-hero h1 {
    max-width: 830px;
    margin: 16px 0 20px;
    font: 700 clamp(48px, 6vw, 80px)/.98 Georgia, serif;
    letter-spacing: -.05em;
}
.evc-useful-hero p {
    max-width: 690px;
    margin: 0;
    color: #c9dcd2;
    font-size: 16px;
    line-height: 1.75;
}
.evc-link-shield {
    display: grid;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(10px);
}
.evc-link-shield > b {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--evc-yellow);
    color: #493d12;
    font-size: 20px;
}
.evc-link-shield strong { font: 700 23px Georgia, serif; }
.evc-link-shield span { margin-top: 6px; color: #bdd1c6; font-size: 11px; }

.evc-useful-directory { background: #f4f7f5; }
.evc-directory-tools {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) 1.2fr;
    gap: 35px;
    align-items: end;
    padding: 27px;
    border: 1px solid #dbe6df;
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 43px rgba(4, 46, 35, .07);
}
.evc-link-search > label {
    display: block;
    margin-bottom: 8px;
    color: var(--evc-deep);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.evc-link-search > div { position: relative; }
.evc-link-search > div > span {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: var(--evc-green);
    font-size: 22px;
    transform: translateY(-52%);
}
.evc-link-search input {
    min-height: 50px;
    padding-left: 46px;
    border-radius: 12px;
    background: #f7faf8;
}
.evc-useful-filters { justify-content: flex-end; }
.evc-directory-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 25px 2px 17px;
    color: #7a8981;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.evc-directory-meta p { margin: 0; }
.evc-useful-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}
.evc-link-card {
    min-width: 0;
    border: 1px solid #dde7e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 29px rgba(4, 46, 35, .055);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.evc-link-card:hover {
    border-color: #b9d3c4;
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(4, 46, 35, .11);
}
.evc-link-card[hidden] { display: none !important; }
.evc-link-card > a {
    display: flex;
    min-height: 290px;
    height: 100%;
    flex-direction: column;
    padding: 23px;
    color: inherit;
}
.evc-link-card header {
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    align-items: center;
    gap: 10px;
}
.evc-link-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #eaf4ee;
    color: var(--evc-green);
    font: 700 18px Georgia, serif;
}
.evc-link-card header small {
    overflow: hidden;
    color: #8d7417;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.evc-link-card header > b { color: var(--evc-green); font-size: 17px; text-align: right; }
.evc-link-card h2 {
    margin: 25px 0 10px;
    color: var(--evc-deep);
    font: 700 24px/1.12 Georgia, serif;
    letter-spacing: -.02em;
}
.evc-link-card p {
    margin: 0;
    color: #65766d;
    font-size: 12px;
    line-height: 1.7;
}
.evc-link-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 21px;
    border-top: 1px solid #e6ece8;
}
.evc-link-card footer span {
    overflow: hidden;
    color: #8a9790;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.evc-link-card footer strong { color: var(--evc-green); font-size: 10px; text-transform: uppercase; }
.evc-no-results {
    padding: 70px 20px;
    border: 1px dashed #cbd9d1;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}
.evc-no-results > b { color: var(--evc-green); font-size: 36px; }
.evc-no-results h2 { margin: 10px 0 7px; color: var(--evc-deep); font: 700 27px Georgia, serif; }
.evc-no-results p { margin: 0; color: var(--evc-muted); font-size: 13px; }

.evc-link-safety { padding: 76px 0; background: #fff; }
.evc-link-safety-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 70px;
    align-items: center;
    padding: 36px 40px;
    border-left: 5px solid var(--evc-yellow);
    border-radius: 0 19px 19px 0;
    background: #073d2b;
    color: #fff;
}
.evc-link-safety-grid > div > span { color: var(--evc-yellow); font-size: 25px; }
.evc-link-safety h2 { margin: 10px 0 0; font: 700 31px Georgia, serif; }
.evc-link-safety ul { display: grid; gap: 13px; margin: 0; padding: 0; }
.evc-link-safety li { position: relative; padding-left: 22px; list-style: none; color: #c8d9d0; font-size: 13px; line-height: 1.6; }
.evc-link-safety li::before { content: "✓"; position: absolute; left: 0; color: var(--evc-yellow); font-weight: 900; }

@media (max-width: 1020px) {
    .evc-home-discover-grid { grid-template-columns: 1fr; }
    .evc-home-discover-visual { min-height: 400px; background-position: center; }
    .evc-home-discover-copy { padding: 52px; }
    .evc-discover-hero { min-height: 660px; }
    .evc-discover-hero-content { padding-top: 86px; }
    .evc-discover-intro-grid,
    .evc-world-heritage-grid { gap: 45px; }
    .evc-destination-grid,
    .evc-useful-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .evc-directory-tools { grid-template-columns: 1fr; }
    .evc-useful-filters { justify-content: flex-start; }
}

@media (max-width: 820px) {
    .evc-home-discover { padding: 72px 0; }
    .evc-home-discover-grid { min-height: 0; border-radius: 22px; }
    .evc-home-discover-visual { min-height: 340px; }
    .evc-home-discover-copy { padding: 38px 30px 43px; }
    .evc-discover-hero { min-height: 680px; background-position: 57% center; }
    .evc-discover-hero-content { padding: 75px 0 203px; }
    .evc-discover-hero-content h1 { font-size: clamp(52px, 13vw, 76px); }
    .evc-discover-signals { min-height: 135px; }
    .evc-discover-signals > span { padding: 18px; }
    .evc-discover-signals b { font-size: 18px; }
    .evc-concept-note { bottom: 145px; }
    .evc-discover-intro-grid,
    .evc-world-heritage-grid,
    .evc-useful-hero-grid,
    .evc-link-safety-grid { grid-template-columns: 1fr; }
    .evc-discover-intro-grid { gap: 30px; }
    .evc-discover-intro-grid > p { padding-left: 20px; }
    .evc-explorer-head { align-items: flex-start; flex-direction: column; }
    .evc-filter-bar { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
    .evc-filter-bar button { flex: 0 0 auto; }
    .evc-trip-grid { grid-template-columns: 1fr; }
    .evc-trip-grid article { min-height: 260px; }
    .evc-world-heritage-grid { gap: 37px; }
    .evc-discover-cta .evc-shell { align-items: flex-start; flex-direction: column; }
    .evc-discover-cta .evc-shell > div:last-child { width: 100%; text-align: left; }
    .evc-useful-hero { padding: 72px 0; }
    .evc-useful-hero-grid { gap: 35px; }
    .evc-link-shield { max-width: 350px; }
    .evc-directory-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .evc-link-safety-grid { gap: 28px; padding: 31px; }
}

@media (max-width: 600px) {
    .evc-home-discover-visual { min-height: 270px; }
    .evc-home-discover-copy h2 { font-size: 37px; }
    .evc-home-discover-copy > div { align-items: stretch; flex-direction: column; }
    .evc-home-discover-copy .evc-button { text-align: center; }
    .evc-discover-hero { min-height: 760px; }
    .evc-discover-hero-content { padding-top: 62px; }
    .evc-discover-hero-content p { font-size: 15px; }
    .evc-discover-signals { grid-template-columns: 1fr; min-height: 205px; }
    .evc-discover-signals > span { min-height: 68px; padding: 11px 15px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .evc-discover-signals > span:last-child { border-bottom: 0; }
    .evc-discover-signals b { font-size: 16px; }
    .evc-concept-note { right: 12px; bottom: 212px; }
    .evc-destination-grid,
    .evc-useful-grid { grid-template-columns: 1fr; }
    .evc-destination-media { min-height: 220px; }
    .evc-world-links a { grid-template-columns: 72px 1fr 24px; padding: 19px; }
    .evc-world-links strong { font-size: 19px; }
    .evc-directory-tools { padding: 19px; }
    .evc-link-card > a { min-height: 260px; }
    .evc-link-safety { padding: 52px 0; }
    .evc-link-safety-grid { padding: 27px 23px; }
}

@media (prefers-reduced-motion: reduce) {
    .evc-destination-card,
    .evc-link-card,
    .evc-world-links a { transition: none !important; }
}
