/*
 * /visa page: hero + live country finder + the section look shared with /flights.
 * Hand written (not compiled). Light is the default; every rule has a dark twin under html[data-theme=dark].
 */
:root { --vh-card: #fff; --vh-line: #E5E7EB; --vh-field: #F3F4F6; --vh-text: #111827; --vh-muted: #6B7280; --vh-hover: #F3F4F6; --vh-pill: #F3F4F6; --vh-gold: #F5C542; --vh-shadow: 0 30px 60px -28px rgba(17, 24, 39, .35), 0 8px 20px -10px rgba(17, 24, 39, .18); }
html[data-theme=dark] { --vh-card: #1F2937; --vh-line: #374151; --vh-field: #111827; --vh-text: #F3F4F6; --vh-muted: #9CA3AF; --vh-hover: #374151; --vh-pill: #374151; --vh-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }

@keyframes vhUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes vhKen { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes vhFly { 0% { transform: translateX(0) translateY(0) rotate(-6deg); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(125vw) translateY(-40px) rotate(-6deg); opacity: 0; } }
@keyframes vhShine { 0% { background-position: 180% 0; } 45%, 100% { background-position: -80% 0; } }
@keyframes vhFlap { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes vhBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vhPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, .0); } 50% { box-shadow: 0 0 0 6px rgba(245, 197, 66, .25); } }

/* ---------- hero: a framed destination slider (photo + country picker) with the search floating on its edge ---------- */
@keyframes vhBarFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vh-wrap { padding: .75rem .75rem 0; }
@media (min-width: 640px) { .vh-wrap { padding: 1rem 1.5rem 0; } }
.vh-hero { position: relative; max-width: 76rem; margin: 0 auto; min-height: 31rem; border-radius: 1.75rem; background: #1F2937; display: flex; align-items: flex-end; box-shadow: 0 30px 60px -30px rgba(17, 24, 39, .55); }
@media (min-width: 900px) { .vh-hero { min-height: 33rem; border-radius: 2.25rem; } }
.vh-slides { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.vh-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.vh-slide.on { opacity: 1; animation: vhKen 9s ease-out forwards; }
.vh-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 22, .78) 0%, rgba(8, 12, 22, .35) 45%, rgba(8, 12, 22, .1) 100%), linear-gradient(to right, rgba(8, 12, 22, .5), transparent 60%); }
.vh-hero-in { position: relative; z-index: 5; width: 100%; display: grid; gap: 1.5rem; padding: 2rem 1.25rem 4.75rem; }
@media (min-width: 900px) { .vh-hero-in { grid-template-columns: 1fr 19rem; align-items: end; padding: 3rem 3rem 5.5rem; } }
.vh-copy .svc-note { margin-bottom: 1rem; }
.vh-hero h1 { margin: 0; font-size: 2.1rem; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; color: #fff; max-width: 32rem; animation: vhUp .7s .05s cubic-bezier(.2, .8, .2, 1) both; }
.vh-hero h1 .vh-acc { color: #FCD34D; }
.vh-copy p { margin: .8rem 0 0; max-width: 26rem; font-size: .98rem; line-height: 1.5; color: rgba(255, 255, 255, .85); animation: vhUp .7s .15s cubic-bezier(.2, .8, .2, 1) both; }
@media (min-width: 900px) { .vh-hero h1 { font-size: 3.5rem; } .vh-copy p { font-size: 1.05rem; } }

/* the country picker: click a country to change the photo */
.vh-pick { display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: none; padding: .2rem 0; animation: vhUp .7s .25s cubic-bezier(.2, .8, .2, 1) both; }
.vh-pick::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .vh-pick { flex-direction: column; overflow: visible; gap: .5rem; } }
.vh-th { position: relative; flex: none; display: flex; align-items: center; gap: .65rem; min-width: 8.5rem; padding: .5rem .85rem .5rem .5rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, .22); background: rgba(17, 24, 39, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background .25s, transform .25s, border-color .25s; }
@media (min-width: 900px) { .vh-th { min-width: 0; } }
.vh-th img { width: 2rem; height: 2rem; border-radius: 9999px; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.vh-th b { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.vh-th small { display: block; font-size: .68rem; opacity: .75; }
.vh-th:hover { background: rgba(255, 255, 255, .2); transform: translateX(-3px); }
.vh-th.on { background: rgba(255, 255, 255, .95); color: #111827; border-color: #fff; }
.vh-th.on img { box-shadow: 0 0 0 2px #F5C542; }
.vh-th::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #F5C542; transform: scaleX(0); transform-origin: left; }
.vh-th.on::after { animation: vhBarFill 5.2s linear forwards; }

/* the search sits on the lower edge of the frame */
.vh-search-wrap { position: relative; z-index: 40; max-width: 44rem; margin: -1.9rem auto 0; padding: 0 1rem; }
.vh-search-wrap .vh-field { padding: 1rem 1.1rem; border-radius: 9999px; background: var(--vh-card); border: 2px solid var(--vh-line); box-shadow: 0 22px 44px -18px rgba(17, 24, 39, .55); }
.vh-search-wrap .vh-field:focus-within { border-color: #F5C542; box-shadow: 0 0 0 5px rgba(245, 197, 66, .28), 0 22px 44px -18px rgba(17, 24, 39, .55); background: var(--vh-card); }
.vh-search-wrap .vh-field > i { font-size: 1.1rem; }
.vh-search-wrap .vh-field input { font-size: 1.08rem; }
.vh-search-wrap .vh-sug { border-radius: 1.4rem; }

.vh-search { position: relative; }
.vh-field { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 1rem; background: var(--vh-field); border: 1.5px solid var(--vh-line); transition: border-color .15s, box-shadow .15s, background .15s; }
.vh-field:focus-within { border-color: #6B7280; box-shadow: 0 0 0 4px rgba(107, 114, 128, .18); background: var(--vh-card); }
.vh-field > i { color: var(--vh-muted); font-size: 1.05rem; }
.vh-field input { flex: 1; min-width: 0; background: transparent !important; box-shadow: none !important; border: 0 !important; outline: 0 !important; padding: 0 !important; font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--vh-text); }
.vh-field input::placeholder { color: var(--vh-muted); font-weight: 500; }
.vh-clear { display: none; width: 1.8rem; height: 1.8rem; border-radius: 9999px; border: 0; background: var(--vh-hover); color: var(--vh-muted); cursor: pointer; align-items: center; justify-content: center; }
.vh-clear.show { display: inline-flex; }
.vh-clear:hover { color: var(--vh-text); }
.vh-sug { position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 60; display: none; max-height: 21rem; overflow-y: auto; padding: .4rem; border-radius: 1.1rem; background: var(--vh-card); border: 1px solid var(--vh-line); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .4); overscroll-behavior: contain; }
.vh-sug.open { display: block; animation: vhUp .22s ease; }
.vh-sug-h { padding: .4rem .6rem .3rem; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--vh-muted); }
.vh-opt { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .55rem .6rem; border: 0; border-radius: .8rem; background: transparent; color: var(--vh-text); text-align: left; cursor: pointer; text-decoration: none; font: inherit; }
.vh-opt:hover, .vh-opt.act { background: var(--vh-hover); }
.vh-opt img { width: 2rem; height: 2rem; border-radius: 9999px; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--vh-line); }
.vh-opt .n { flex: 1; min-width: 0; }
.vh-opt .n b { display: block; font-size: .95rem; font-weight: 700; }
.vh-opt .n small { display: block; font-size: .74rem; color: var(--vh-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-opt .p { flex: none; font-size: .8rem; font-weight: 800; color: var(--vh-text); text-align: right; }
.vh-opt .p small { display: block; font-size: .62rem; font-weight: 600; color: var(--vh-muted); }
.vh-opt mark { background: rgba(245, 197, 66, .35); color: inherit; border-radius: .2rem; padding: 0 .05rem; }
.vh-none { padding: 1rem .8rem; text-align: center; font-size: .85rem; color: var(--vh-muted); }
.vh-none a { color: var(--vh-text); font-weight: 700; text-decoration: underline; }
.vh-quick { display: flex; gap: .5rem; margin-top: .9rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .15rem; }
.vh-quick::-webkit-scrollbar { display: none; }
.vh-q { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem .3rem .3rem; border-radius: 9999px; background: var(--vh-card); border: 1px solid var(--vh-line); color: var(--vh-text); font-size: .8rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.vh-q img { width: 1.5rem; height: 1.5rem; border-radius: 9999px; object-fit: cover; }
.vh-q:hover { transform: translateY(-2px); background: var(--vh-hover); border-color: #9CA3AF; }
.vh-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .9rem; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--vh-line); font-size: .74rem; font-weight: 600; color: var(--vh-muted); }
.vh-trust i { margin-right: .3rem; }

/* ---------- sections: same look as /flights (kicker pill, bold heading, gold accent bar, subtitle) ---------- */
html .sec-badge { gap: .45rem; padding: .3rem .8rem; border-radius: 9999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--vh-pill); color: #374151; border: 1px solid var(--vh-line); margin-bottom: .6rem; }
html .sec-badge i { color: #B7791F; }
html[data-theme=dark] .sec-badge { color: #E5E7EB; }
html[data-theme=dark] .sec-badge i { color: #FCD34D; }
.rv > h2, .vh-head h2 { font-weight: 800; letter-spacing: -.015em; }
.rv > h2::after, .vh-head h2::after { content: ''; display: block; width: 2.75rem; height: .28rem; margin-top: .55rem; border-radius: 9999px; background: linear-gradient(90deg, #F5C542, #F59E0B); transform: scaleX(0); transform-origin: left; }
.rv.is-in > h2::after, .vh-head.is-in h2::after { animation: vhBar .7s .35s cubic-bezier(.2, .8, .2, 1) forwards; }
html:not(.js-rv) .rv > h2::after, html:not(.js-rv) .vh-head h2::after { transform: none; }
.text-center > h2::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.rv > p { margin-top: .5rem; }

.vh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.vh-head p { margin: .4rem 0 0; color: var(--vh-muted); font-size: .95rem; }
.vh-count { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 9999px; background: var(--vh-pill); border: 1px solid var(--vh-line); font-size: .8rem; font-weight: 700; color: var(--vh-text); }
.vh-count i { color: #B7791F; }
.vh-empty { display: none; text-align: center; padding: 2.5rem 1rem; border: 1.5px dashed var(--vh-line); border-radius: 1.5rem; color: var(--vh-muted); }
.vh-empty.show { display: block; animation: vhUp .3s ease; }
.vh-empty i { font-size: 2rem; color: #9CA3AF; margin-bottom: .6rem; }
.vh-empty b { display: block; color: var(--vh-text); font-size: 1.05rem; }
.vh-empty a { color: var(--vh-text); font-weight: 700; text-decoration: underline; }

/* cards in the other sections */
.feature-card, .review-card { border-radius: 1.5rem !important; }
.feature-icon { background-image: linear-gradient(135deg, #374151, #111827) !important; box-shadow: 0 12px 24px -10px rgba(17, 24, 39, .55) !important; }
.feature-icon i { color: #FCD34D !important; }
.feature-line { background-image: linear-gradient(90deg, #FCD34D, #F59E0B) !important; }
.step-box { background-image: linear-gradient(135deg, #374151, #111827) !important; box-shadow: 0 12px 24px -10px rgba(17, 24, 39, .55) !important; }
.step-box i { color: #FCD34D !important; }
.stat-card { border-radius: 1.5rem !important; }
.review-card { border-color: var(--vh-line) !important; }
html[data-theme=dark] .feature-card, html[data-theme=dark] .review-card { border-color: #374151 !important; }
@media (prefers-reduced-motion: reduce) { .vh-slide.on, .vh-th.on::after, .vh-hero h1 { animation: none !important; } .rv > h2::after, .vh-head h2::after { transform: none; animation: none !important; } }
