/* ==========================================================================
   Russia Global Consulting - public website styles
   Brand colours and bar sizes come from Admin > Appearance as CSS variables
   (see resources/views/layouts/app.blade.php); the values below are fallbacks.
   ========================================================================== */

:root {
    --primary: #0b2a5b;
    --accent: #d0202e;
    --ink: #0e1b33;
    --text: #1c2740;
    --muted: #5d6880;
    --line: #e3e8f1;
    --soft: #f5f7fb;
    --white: #ffffff;
    --success: #12a05c;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(14, 27, 51, .06);
    --shadow: 0 14px 40px rgba(14, 27, 51, .10);
    --shadow-lg: 0 28px 70px rgba(14, 27, 51, .16);
    --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
    --container: 1240px;
    --primary-soft: color-mix(in srgb, var(--primary) 7%, white);
    --accent-soft: color-mix(in srgb, var(--accent) 9%, white);
    --primary-deep: color-mix(in srgb, var(--primary) 78%, black);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, blockquote, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.025em; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.hl { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font-weight: 600; font-size: 15.5px; line-height: 1.2; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn i { font-size: 1.05em; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 28%, transparent); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 86%, black); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 500; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--primary); }
.btn-count { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 2px 9px; font-size: 13px; }
.btn-outline:hover .btn-count { background: rgba(255, 255, 255, .18); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.text-link i { transition: transform .2s ease; }
.text-link:hover { color: var(--accent); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--topbar-bg); color: var(--topbar-color); font-size: var(--topbar-size); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-group { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; transition: opacity .2s ease; }
.topbar a:hover { opacity: .8; }
.topbar i { color: var(--topbar-icon); font-size: 1.1em; }
.topbar-social { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.topbar-social + .topbar-link { margin-left: 4px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar-group .topbar-social { margin-right: -10px; }
.topbar-group .topbar-social:last-of-type { margin-right: 0; }
.topbar .topbar-account { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 600; }
.topbar .topbar-account:hover { opacity: 1; background: rgba(255, 255, 255, .24); }

/* ---------- Header & menu ---------- */
.site-header { background: var(--header-bg); position: relative; z-index: 100; border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(14, 27, 51, .10); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 84px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; padding: 10px 0; }
.brand img { height: var(--logo-h); width: auto; max-width: min(300px, 58vw); object-fit: contain; }
.main-nav { margin-left: auto; }
.nav-head, .nav-foot, .submenu-toggle, .nav-overlay { display: none; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu-item { position: relative; }
.menu-item > a {
    display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 8px;
    font-size: var(--menu-size); font-weight: 600; color: var(--menu-color);
    transition: color .2s ease, background-color .2s ease;
}
.menu-item > a:hover, .menu-item.is-active > a, .menu-item:focus-within > a { color: var(--menu-hover); }
/* Desktop: a label never breaks over two lines; the search box gives up room first. */
@media (min-width: 1025px) {
    .menu > .menu-item > a, .header-btn { white-space: nowrap; }
}
.menu-caret { font-size: .7em; transition: transform .2s ease; }
.menu-item:hover > a .menu-caret { transform: rotate(180deg); }

.submenu {
    position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 20;
}
.menu-item:hover > .submenu, .menu-item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu .menu-item > a { padding: 10px 14px; font-weight: 500; font-size: calc(var(--menu-size) - .5px); color: var(--ink); justify-content: space-between; }
.submenu .menu-item > a:hover { background: var(--primary-soft); color: var(--menu-hover); }
.submenu .submenu { top: -9px; left: 100%; }
/* "View all countries" at the end of a shortened drop-down */
.submenu .menu-more { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.submenu .menu-more > a { color: var(--menu-hover); font-weight: 600; }
.submenu .menu-more > a i { transition: transform .2s ease; }
.submenu .menu-more > a:hover i { transform: translateX(4px); }
.submenu .menu-caret { transform: rotate(-90deg); }
.submenu .menu-item:hover > a .menu-caret { transform: rotate(-90deg); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-btn { padding: 11px 20px; }
.header-account { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); color: var(--menu-color); font-size: 19px; }
.header-account:hover { color: var(--primary); border-color: currentColor; }

/* "Apply Now" page: how it works, then the countries of every category. */
.apply-steps { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 34px; }
.apply-steps span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.apply-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13.5px; }
.apply-group { scroll-margin-top: 110px; }
.apply-group + .apply-group { margin-top: 48px; }
.apply-group .section-title { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.6vw, 30px); }
.apply-group .section-title i { color: var(--accent); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--menu-color); }

/* ---------- Header country search ---------- */
.header-search { flex: 0 1 230px; min-width: 150px; }
.header-search-form { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.header-search-form:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent); }
.header-search-form > i { color: var(--muted); font-size: 16px; }
.header-search-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); }
.header-search-form input::placeholder { color: var(--muted); }
.header-search-results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 280px; z-index: 30; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); max-height: min(420px, 62vh); overflow-y: auto; }
.header-search-results[hidden] { display: none; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.search-item:hover, .search-item.is-active { background: var(--primary-soft); color: var(--primary); }
.search-item img, .search-item .search-flag { width: 30px; height: 21px; flex: 0 0 auto; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.search-item .search-flag { display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: 13px; }
.search-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item small { flex: 0 0 auto; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; }
.search-note { padding: 14px 12px; color: var(--muted); font-size: 14.5px; }
.search-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 11px 12px; border-top: 1px solid var(--line); color: var(--primary); font-weight: 600; font-size: 14.5px; }
.search-all:hover, .search-all.is-active { color: var(--accent); }
.search-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); place-items: center; color: var(--menu-color); font-size: 18px; }
.search-box-lg { margin-top: 26px; width: min(600px, 100%); padding: 6px 6px 6px 20px; border-radius: 14px; border-color: transparent; }
.search-box-lg input { color: var(--ink); font-size: 16.5px; }
.visa-card-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 700; }

/* Between the full menu and the mobile menu there is no room for an inline box: show a button that opens it. */
@media (min-width: 1025px) and (max-width: 1279px), (max-width: 640px) {
    .search-toggle { display: grid; }
    .header-search { display: none; position: absolute; top: 100%; right: 0; left: 0; z-index: 25; flex: none; min-width: 0; padding: 12px 20px 14px; background: var(--header-bg); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(14, 27, 51, .10); }
    .search-open .header-search { display: block; }
    .header-search-form { max-width: 560px; margin: 0 auto; background: #fff; }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .header-search { flex: 1 1 auto; max-width: 440px; margin: 0 auto; }
}
/* ---------- Hero slider ---------- */
.hero { position: relative; background: #dff1fd; overflow: hidden; isolation: isolate; }
.hero-stage { position: relative; width: 100%; height: clamp(210px, calc(100vw * var(--hero-ratio, .4583)), var(--hero-h, 550px)); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(32px) brightness(.97) saturate(1.1); transform: scale(1.08); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-fit-cover .hero-image { object-fit: cover; }
.hero-fit-cover .hero-backdrop { display: none; }
.hero-cover-link { position: absolute; inset: 0; z-index: 2; }
.hero-caption { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; pointer-events: none; background: linear-gradient(90deg, rgba(5, 16, 38, .78) 0%, rgba(5, 16, 38, .46) 42%, rgba(5, 16, 38, 0) 72%); }
.hero-caption .container { padding-left: clamp(20px, 6vw, 84px); padding-right: clamp(20px, 6vw, 84px); }
/* The text keeps to the left part of the slide so it does not run over the subject of the picture. */
.hero-caption-inner { max-width: min(620px, 56%); pointer-events: auto; }
.hero-caption-inner > * { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.hero-slide.is-active .hero-caption-inner > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-caption-inner > *:nth-child(1) { transition-delay: .25s; }
.hero-slide.is-active .hero-caption-inner > *:nth-child(2) { transition-delay: .4s; }
.hero-slide.is-active .hero-caption-inner > *:nth-child(3) { transition-delay: .55s; }
.hero-title { color: #fff; font-size: clamp(22px, 4.2vw, 54px); font-weight: 800; text-wrap: balance; }
.hero-subtitle { color: rgba(255, 255, 255, .88); font-size: clamp(14px, 1.5vw, 19px); margin-top: clamp(8px, 1.4vw, 18px); max-width: 520px; }
/* Slides marked "dark blue text" (light images, e.g. a bright sky): a soft white veil instead of the dark one. */
.hero-slide.has-dark-text .hero-caption { background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .42) 40%, rgba(255, 255, 255, 0) 68%); }
.hero-slide.has-dark-text .hero-title { color: var(--primary); }
.hero-slide.has-dark-text .hero-subtitle { color: color-mix(in srgb, var(--primary) 82%, #000); font-weight: 500; }
.hero-caption .btn { margin-top: clamp(14px, 2.2vw, 30px); }

.hero-arrow {
    position: absolute; top: 50%; z-index: 5; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
    background: rgba(11, 42, 91, .42); color: #fff; font-size: 20px; backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center;
    opacity: 0; transition: opacity .25s ease, background-color .2s ease, transform .2s ease;
}
.hero:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 12px; height: 12px; padding: 0; display: grid; place-items: center; }
.hero-dot span { display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(11, 42, 91, .35); transition: width .3s ease, background-color .3s ease; }
.hero-dot.is-active { width: 34px; }
.hero-dot.is-active span { width: 34px; background: var(--accent); box-shadow: 0 0 0 1px #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-soft { background: var(--soft); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 38px; height: 2px; background: var(--accent); flex: 0 0 auto; }
.eyebrow-light { color: rgba(255, 255, 255, .78); }
.section-title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; text-wrap: balance; }
.section-head { margin-bottom: clamp(26px, 3.4vw, 44px); }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; }
.section-note { max-width: 500px; color: var(--muted); font-size: 17px; }
.section-sub { color: var(--muted); max-width: 760px; margin: -6px 0 28px; font-size: 17px; }
.section-more { display: flex; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }

.rule-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.rule-head .section-title { display: flex; align-items: center; gap: 14px; font-size: clamp(25px, 3vw, 40px); flex: 0 1 auto; }
.rule-head .section-title > i { color: var(--accent); font-size: .82em; }
.rule-line { flex: 1 1 60px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 8%, transparent)); min-width: 30px; }
.rule-link { flex: 0 0 auto; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }
.rule-link:hover { color: var(--accent); }

/* Reveal on scroll (only when JavaScript is running) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Fun facts ---------- */
.facts { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.facts-card {
    display: grid; grid-template-columns: repeat(var(--fact-count, 5), minmax(0, 1fr));
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
}
.fact { padding: 30px 24px 34px; border-left: 1px solid var(--line); transition: background-color .25s ease; }
.fact:first-child { border-left: 0; }
.fact:hover { background: var(--primary-soft); }
.fact-label { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--primary) 78%, #3b82f6); }
.fact-label i { font-size: 17px; }
.fact-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 3.8vw, 52px); color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 12px; font-variant-numeric: tabular-nums; }
.fact-caption { color: var(--muted); font-size: 16px; }
.fact.is-highlighted .fact-label, .fact.is-highlighted .fact-value { color: var(--accent); }
.facts-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; margin-top: 26px; }
.facts-badges { display: flex; flex-wrap: wrap; gap: 12px 42px; }
.facts-badges li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.facts-badges i { color: var(--primary); font-size: 18px; }
.facts-badges li:nth-child(2) i { color: var(--accent); }
.facts-footnote { color: #8a94a8; font-size: 14.5px; }

/* ---------- Focus band (light: white, softly lit; blue and red type) ---------- */
.focus {
    --fc: var(--focus-color, var(--primary));
    --fa: var(--focus-accent, var(--accent));
    position: relative; padding: clamp(60px, 7.5vw, 108px) 0; overflow: hidden; color: var(--fc);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background:
        radial-gradient(820px 460px at 94% -10%, color-mix(in srgb, var(--fa) 15%, transparent), transparent 64%),
        radial-gradient(760px 460px at -8% 110%, color-mix(in srgb, var(--fc) 13%, transparent), transparent 62%),
        var(--focus-bg, #fff);
}
.focus::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--fc) 16%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, #000, transparent 62%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 62%); pointer-events: none; }
.focus-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "intro media" "body media"; column-gap: clamp(30px, 5vw, 76px); align-items: center; }
.focus-grid-single { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "body"; max-width: 900px; }
.focus-intro { grid-area: intro; align-self: end; }
.focus-body { grid-area: body; align-self: start; }
.focus-media { grid-area: media; position: relative; }
.focus .eyebrow { color: var(--fc); }
.focus .eyebrow::before { background: var(--fa); }
.focus .section-title { color: var(--fc); }
.focus .hl { color: var(--fa); }
.focus-text { margin-top: 20px; font-size: 18px; color: var(--fc); opacity: .88; max-width: 640px; }
.focus-countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.focus-countries li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--fc) 20%, white); color: var(--fc); font-weight: 600; font-size: 15px; box-shadow: 0 2px 10px rgba(14, 27, 51, .06); }
.focus-countries li.is-lead { background: color-mix(in srgb, var(--fa) 8%, white); border-color: var(--fa); color: var(--fa); }
.focus-countries img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .10); }
.focus-countries i { color: var(--fa); }
.focus-services { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; color: var(--fc); font-weight: 600; }
.focus-services li { display: inline-flex; align-items: center; gap: 8px; }
.focus-services i { color: var(--fa); font-size: 18px; }
.focus-foot { display: flex; align-items: center; gap: 22px 34px; flex-wrap: wrap; margin-top: 34px; padding-top: 30px; border-top: 1px solid color-mix(in srgb, var(--fc) 16%, transparent); }
.focus-tagline { flex: 1 1 300px; border-left: 3px solid var(--fa); padding-left: 18px; }
.focus-tagline p { font-family: var(--font-head); font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; line-height: 1.35; color: var(--fc); }
.focus-tagline cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fa); }
.focus-media::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; border: 2px solid color-mix(in srgb, var(--fa) 38%, transparent); border-radius: 26px; }
.focus-media img { position: relative; width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; border-radius: 26px; box-shadow: 0 26px 60px rgba(14, 27, 51, .22); }
@media (max-width: 1024px) {
    /* Stacked: the picture sits between the introduction and the country names. */
    .focus-grid { grid-template-areas: "intro" "media" "body"; }
    .focus-media { margin: 30px 18px 12px 0; }
}
/* ---------- Visa country cards ---------- */
.visa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.visa-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, opacity .7s ease; }
.visa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.visa-card-media { display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--soft); }
.visa-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.visa-card:hover .visa-card-media img { transform: scale(1.06); }
.visa-card-body { position: relative; flex: 1; display: flex; flex-direction: column; margin: -64px 12px 12px; padding: 18px 18px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0, rgba(255, 255, 255, .96) 64px, #fff 100%); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 30px rgba(14, 27, 51, .08); }
.visa-card-plain .visa-card-body { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; padding: 24px 22px 22px; }
.visa-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 36px; }
.visa-flag { width: 52px; height: 36px; object-fit: cover; border-radius: 5px; box-shadow: 0 1px 4px rgba(0, 0, 0, .22); flex: 0 0 auto; }
.visa-card-head h3 { font-family: var(--font-body); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.visa-card-head h3 a::after { content: ''; position: absolute; inset: 0; }
.visa-card-head h3 a:hover { color: var(--primary); }
.checks { display: grid; gap: 9px; margin-bottom: 18px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.checks i { color: var(--success); font-size: 17px; flex: 0 0 auto; margin-top: 1px; }
.visa-card .btn { margin-top: auto; position: relative; z-index: 1; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--soft), #fff 70%); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "media intro" "media copy"; column-gap: clamp(34px, 6vw, 96px); align-items: center; }
.about-grid-single { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "copy"; max-width: 900px; }
.about-intro { grid-area: intro; align-self: end; }
.about-copy { grid-area: copy; align-self: start; }
.about-media { grid-area: media; position: relative; padding: 26px 0 0 22px; }
.about-arc { position: absolute; left: 0; top: 0; width: 78%; aspect-ratio: 1; border: 9px solid var(--accent); border-radius: 50%; clip-path: polygon(0 0, 100% 0, 100% 16%, 46% 16%, 46% 100%, 0 100%); }
.about-media img { position: relative; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 150px 26px 26px 26px; box-shadow: var(--shadow-lg); background: var(--soft); }
.about-badge { position: absolute; right: -14px; bottom: 38px; display: flex; align-items: center; gap: 16px; max-width: 330px; padding: 20px 22px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.about-badge-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #3b82f6)); }
.about-badge strong { display: block; color: var(--ink); font-size: 16px; }
.about-badge div span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.about-intro .section-title { font-size: clamp(30px, 4vw, 54px); }
.about-lead { margin-top: 24px; font-size: 19px; font-weight: 500; color: var(--ink); line-height: 1.7; }
.about-text { margin-top: 18px; font-size: 18px; color: var(--muted); line-height: 1.75; }
.about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; margin-top: 28px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.about-points i { color: var(--primary); font-size: 20px; line-height: 1.3; }
.about-points li:last-child i { color: var(--accent); }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-stats > div { padding: 0 26px; border-left: 1px solid var(--line); }
.about-stats > div:first-child { padding-left: 0; border-left: 0; }
.about-stats dt { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3vw, 40px); color: var(--ink); letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.about-stats .is-accent dt { color: var(--accent); }
.about-stats dd { color: var(--muted); font-size: 15px; margin-top: 6px; }
.about-actions { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Services ("What do we offer") ---------- */
.services { position: relative; overflow: hidden; background: radial-gradient(700px 380px at 0 0, color-mix(in srgb, var(--primary) 8%, transparent), transparent 66%), radial-gradient(640px 360px at 100% 100%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 66%), #fff; }
.services-head { text-align: center; max-width: 780px; margin: 0 auto clamp(30px, 4vw, 52px); }
.services-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.services-head .section-title { font-size: clamp(30px, 4.2vw, 54px); }
.services-rule { display: block; width: 72px; height: 4px; margin: 22px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.services-lead { margin-top: 20px; font-size: 18px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(var(--service-count, 4), minmax(0, 1fr)); gap: 26px; }
.service-card { position: relative; isolation: isolate; display: flex; min-height: 330px; border-radius: 20px; overflow: hidden; color: #fff; background: linear-gradient(150deg, var(--primary-deep), var(--primary) 60%, color-mix(in srgb, var(--primary) 70%, var(--accent))); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, opacity .7s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px color-mix(in srgb, var(--primary) 30%, transparent); }
.service-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service-card:hover .service-bg { transform: scale(1.08); }
.service-card.has-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--primary-deep) 62%, transparent) 0%, color-mix(in srgb, var(--primary-deep) 80%, transparent) 55%, color-mix(in srgb, var(--primary-deep) 94%, transparent) 100%); transition: opacity .35s ease; }
.service-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.service-card:hover::after { transform: scaleX(1); }
.service-body { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding: 30px 28px 28px; }
.service-icon { position: relative; width: 68px; height: 68px; margin-bottom: auto; border-radius: 50%; display: grid; place-items: center; font-size: 27px; color: #fff; background: var(--accent); box-shadow: 0 0 0 9px rgba(255, 255, 255, .10), 0 12px 26px color-mix(in srgb, var(--accent) 45%, transparent); transition: transform .35s ease, box-shadow .35s ease; }
.service-icon::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); }
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 0 0 9px rgba(255, 255, 255, .16), 0 16px 30px color-mix(in srgb, var(--accent) 55%, transparent); }
.service-card h3 { margin-top: 38px; color: #fff; font-size: 24px; font-weight: 700; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-card p { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 16.5px; line-height: 1.55; }
.service-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 15px; color: #fff; opacity: .9; }
.service-more i { transition: transform .25s ease; }
.service-card:hover .service-more i { transform: translateX(6px); }

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .service-card { min-height: 0; }
    .service-body { padding: 24px 22px; }
    .service-card h3 { margin-top: 24px; }
}

/* ---------- HTML boxes (the administrator's own sections) ---------- */
.html-block-boxed { padding: clamp(40px, 5.5vw, 80px) 0; }
.html-block img, .html-block video, .html-block iframe { max-width: 100%; }
.html-block iframe { border: 0; }

/* ---------- About Us page ---------- */
/* The whole page is kept light: white and soft tints, with the brand blue and red only in the type. */
.page-hero.about-hero { padding: clamp(56px, 8vw, 116px) 0; color: var(--text); border-bottom: 1px solid var(--line); background: radial-gradient(760px 420px at 92% -10%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 64%), radial-gradient(700px 420px at -6% 110%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 62%), #fff; }
.page-hero.about-hero.has-image::after { background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .55)); }
.page-hero.about-hero h1 { color: var(--primary); }
.page-hero.about-hero p { color: var(--text); font-size: clamp(17px, 1.6vw, 20px); }
.page-hero.about-hero .breadcrumb { color: var(--muted); }
.page-hero.about-hero .breadcrumb a:hover { color: var(--accent); }
.about-hero .tabs { margin-top: 30px; gap: 12px; }
.about-story { font-size: 17.5px; }
.about-story > :first-child { margin-top: 24px; }
.pillar-grid { display: grid; grid-template-columns: repeat(var(--pillar-count, 3), minmax(0, 1fr)); gap: 26px; }
.pillar { position: relative; padding: 38px 32px 34px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, opacity .7s ease; }
.pillar::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(.28); transform-origin: left; transition: transform .4s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 27px; color: #fff; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #3b82f6)); margin-bottom: 22px; }
.pillar:nth-child(2) .pillar-icon { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #ff8a3d)); }
.pillar h3 { font-size: 23px; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 17px; line-height: 1.7; }

.about-numbers { position: relative; padding: clamp(46px, 6vw, 78px) 0; background: #fff; }
.about-numbers-grid { display: grid; grid-template-columns: repeat(var(--fact-count, 5), minmax(0, 1fr)); gap: 26px 0; padding-top: 34px; padding-bottom: 34px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); background: radial-gradient(520px 240px at 100% 0, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%), radial-gradient(520px 240px at 0 100%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 70%), #fff; }
.about-number { text-align: center; padding: 6px 14px; border-left: 1px solid var(--line); }
.about-number:first-child { border-left: 0; }
.about-number i { width: 54px; height: 54px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 24px; color: var(--accent); background: var(--accent-soft); }
.about-number:nth-child(even) i { color: var(--primary); background: var(--primary-soft); }
.about-number strong { display: block; margin: 12px 0 6px; font-family: var(--font-head); font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--primary); font-variant-numeric: tabular-nums; }
.about-number:nth-child(even) strong { color: var(--accent); }
.about-number span { color: var(--muted); font-size: 15.5px; }

.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.reason { display: flex; gap: 18px; padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, opacity .7s ease; }
.reason:hover { border-color: color-mix(in srgb, var(--primary) 35%, white); box-shadow: var(--shadow); transform: translateY(-4px); }
.reason-icon { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--primary-soft); color: var(--primary); transition: background-color .3s ease, color .3s ease; }
.reason:hover .reason-icon { background: var(--accent); color: #fff; }
.reason h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -.01em; }
.reason p { color: var(--muted); font-size: 16px; line-height: 1.6; }

.process { display: grid; grid-template-columns: repeat(var(--step-count, 4), minmax(0, 1fr)); gap: 26px; counter-reset: none; }
.process li { position: relative; padding: 30px 26px 28px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.process li::after { content: '\F138'; font-family: 'bootstrap-icons'; position: absolute; top: 50%; right: -22px; z-index: 1; width: 18px; text-align: center; color: var(--accent); font-size: 18px; transform: translateY(-50%); }
.process li:last-child::after, .process li:nth-child(4n)::after { display: none; }
.process-number { display: block; font-family: var(--font-head); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--primary) 45%, white); margin-bottom: 16px; }
.process h3 { font-size: 20px; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: 16px; line-height: 1.6; }

.about-countries { --fc: var(--primary); --fa: var(--accent); margin: 0 0 36px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-card { display: flex; gap: 18px; padding: 26px 24px; border-radius: 18px; background: var(--soft); border: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease, opacity .7s ease; }
.category-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.category-icon { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 25px; color: #fff; background: var(--accent); box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 35%, transparent); }
.category-card h3 { font-size: 21px; margin-bottom: 6px; }
.category-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin-bottom: 12px; }
.category-card .text-link { color: var(--primary); font-size: 15px; }
.category-card:hover .text-link i { transform: translateX(4px); }

.about-cta { padding: 0 0 clamp(56px, 7vw, 96px); }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(30px, 4.4vw, 56px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 100% 0, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), radial-gradient(600px 300px at 0 100%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%), #fff; box-shadow: var(--shadow); }
.about-cta h2 { color: var(--primary); font-size: clamp(24px, 3vw, 36px); max-width: 620px; }
.about-cta p { color: var(--muted); margin-top: 10px; font-size: 17.5px; }
.about-cta .btn-ghost i { color: #25d366; }

/* These two cards are themselves the page column: keep a margin beside them and their own inner spacing on every screen. */
.container.about-numbers-grid, .container.about-cta-inner { width: calc(100% - 32px); max-width: calc(var(--container) - 40px); }
.container.about-numbers-grid { padding: 34px 0; }
.container.about-cta-inner { padding: clamp(26px, 4.4vw, 56px); }

@media (max-width: 1024px) {
    .reason-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process li::after { display: none; }
    .about-numbers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about-number:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 760px) {
    .pillar-grid, .reason-grid, .category-grid { grid-template-columns: minmax(0, 1fr); }
    .pillar { padding: 30px 24px 26px; }
    .about-hero .tabs .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) {
    .process { grid-template-columns: minmax(0, 1fr); }
    .about-numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-number, .about-number:nth-child(3n + 1) { border-left: 1px solid var(--line); }
    .about-number:nth-child(odd) { border-left: 0; }
    .about-number:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Appointment booking ---------- */
.choice-row, .slot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice, .slot { position: relative; cursor: pointer; }
.choice input, .slot input { position: absolute; opacity: 0; }
.choice span, .slot span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; color: var(--ink); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.choice span i { color: var(--primary); font-size: 17px; }
.choice:hover span, .slot:hover span { border-color: color-mix(in srgb, var(--primary) 50%, white); }
.choice input:checked + span, .slot input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }
.choice input:checked + span i { color: #fff; }
.choice input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 2px; }
.slot span { min-width: 104px; justify-content: center; font-variant-numeric: tabular-nums; }
.slot.is-full { cursor: not-allowed; }
.slot.is-full span { background: var(--soft); color: var(--muted); text-decoration: line-through; border-style: dashed; }
.slot-grid .hint { flex: 1 1 100%; }
.pay-done h2 { font-size: 24px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, opacity .7s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-media.is-empty { display: grid; place-items: center; font-size: 46px; color: color-mix(in srgb, var(--primary) 35%, white); }
.post-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.post-meta i { color: var(--accent); margin-right: 4px; }
.post-meta-light { color: rgba(255, 255, 255, .85); margin-top: 16px; font-size: 15px; }
.post-meta-light i { color: #fff; }
.post-card h3 { margin: 12px 0 10px; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card:hover h3 { color: var(--primary); }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.post-card .text-link { margin-top: auto; color: var(--primary); font-size: 15px; }
.post-card:hover .text-link i { transform: translateX(4px); }
.post-lead { font-size: 21px; line-height: 1.6; color: var(--ink); font-weight: 500; margin-bottom: 28px; padding-left: 20px; border-left: 4px solid var(--accent); }
.post-share { display: flex; align-items: center; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.post-share span { margin-right: 6px; }
.post-share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 18px; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.post-share a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } .post-lead { font-size: 18.5px; } }

/* ---------- Call to action + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--primary))); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; padding-top: 38px; padding-bottom: 38px; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); }
.cta-band p { color: rgba(255, 255, 255, .9); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--primary); box-shadow: none; }
.cta-band .btn-light { color: var(--ink); }
.cta-band .btn-light i { color: #25d366; }

.site-footer { background: var(--footer-bg); color: var(--footer-color); font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px 48px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-logo img { height: 56px; width: auto; max-width: 240px; object-fit: contain; }
.footer-name { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--footer-heading); }
.footer-about p { margin-top: 18px; max-width: 360px; line-height: 1.75; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--footer-heading); transition: background-color .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--footer-hover); color: #fff; transform: translateY(-3px); }
.footer-col h3 { color: var(--footer-heading); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 20px; padding-bottom: 12px; position: relative; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--footer-hover); }
.footer-links { display: grid; gap: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, transform .2s ease; }
.footer-links a::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: 11px; opacity: .6; }
.footer-links a:hover { color: var(--footer-hover); transform: translateX(4px); }
.footer-contact { display: grid; gap: 15px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--footer-hover); font-size: 17px; margin-top: 3px; }
.footer-contact a:hover { color: var(--footer-hover); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .10); font-size: 14.5px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.install-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22); color: var(--footer-heading); font-size: 14px; font-weight: 600; }
.install-btn[hidden] { display: none; }
.install-btn:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Floating WhatsApp / Facebook ---------- */
.floating { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floating-right { right: 20px; align-items: flex-end; }
.floating-left { left: 20px; align-items: flex-start; }
.floating-btn { position: relative; display: flex; align-items: center; height: 56px; min-width: 56px; border-radius: 999px; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .24); transition: transform .2s ease, box-shadow .2s ease; }
.floating-btn i { width: 56px; flex: 0 0 56px; text-align: center; font-size: 27px; line-height: 56px; }
.floating-btn span { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 15px; transition: max-width .3s ease, opacity .3s ease, padding .3s ease; }
.floating-right .floating-btn { flex-direction: row-reverse; }
.floating-btn:hover { transform: translateY(-3px); }
.floating-btn:hover span { max-width: 120px; opacity: 1; padding: 0 4px 0 20px; }
.floating-left .floating-btn:hover span { padding: 0 20px 0 4px; }
.floating-whatsapp { background: #25d366; }
/* "Book an appointment": unlike the chat buttons, its label is always visible. */
.floating-appointment { background: var(--accent); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 40%, transparent); }
.floating-appointment i { font-size: 23px; }
.floating-appointment span, .floating-appointment:hover span { max-width: 240px; opacity: 1; padding: 0 2px 0 22px; }
.floating-left .floating-appointment span, .floating-left .floating-appointment:hover span { padding: 0 22px 0 2px; }
@media (max-width: 1100px) {
    .floating-appointment.is-compact span { max-width: 0; opacity: 0; padding: 0; }
    .floating-appointment.is-compact:hover span { max-width: 240px; opacity: 1; padding: 0 2px 0 22px; }
}
@media (max-width: 600px) {
    .floating-btn.floating-appointment { height: 46px; min-width: 46px; }
    .floating-btn.floating-appointment i { width: 46px; flex-basis: 46px; line-height: 46px; font-size: 20px; }
    .floating-appointment span, .floating-appointment:hover span { font-size: 13.5px; padding: 0 0 0 16px; }
    .floating-left .floating-appointment span, .floating-left .floating-appointment:hover span { padding: 0 16px 0 0; }
}
.floating-facebook { background: #1877f2; }
.floating-whatsapp::after { content: ''; position: absolute; right: 0; bottom: 0; width: 56px; height: 56px; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite; pointer-events: none; }
.floating-left .floating-whatsapp::after { right: auto; left: 0; }
.has-sticky-apply .floating { bottom: calc(92px + env(safe-area-inset-bottom)); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Inner page banner ---------- */
.page-hero { position: relative; color: #fff; padding: clamp(44px, 6vw, 84px) 0; background: linear-gradient(120deg, var(--primary-deep), var(--primary)); overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 16, 38, .88), rgba(5, 16, 38, .55) 60%, rgba(5, 16, 38, .35)); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 720px; margin-top: 14px; font-size: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb i { font-size: 11px; opacity: .7; }
.hero-flag-title { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-flag-title img { width: 74px; height: 50px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.tab:hover { background: rgba(255, 255, 255, .22); }
.tab.is-active { background: #fff; color: var(--primary); border-color: #fff; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.toolbar p { color: var(--muted); }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 16px; width: min(420px, 100%); }
.search-box:focus-within { border-color: var(--primary); }
.search-box i { color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; padding: 10px 0; min-width: 0; }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty i { font-size: 40px; color: color-mix(in srgb, var(--primary) 40%, white); display: block; margin-bottom: 10px; }
.empty .btn { margin-top: 18px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.page-link { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; background: #fff; }
a.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-link.is-disabled { opacity: .45; }

/* ---------- Single country page ---------- */
.quick-facts { margin-top: -38px; position: relative; z-index: 2; }
.quick-facts-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.quick-fact { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.quick-fact i { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: var(--primary-soft); color: var(--primary); }
.quick-fact span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.quick-fact strong { display: block; font-size: 17px; color: var(--ink); line-height: 1.3; }

.visa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(26px, 4vw, 56px); align-items: start; padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(40px, 5vw, 70px); }
.visa-block { padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.visa-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.visa-block > h2 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.visa-block > h2 i { color: var(--accent); font-size: .9em; }

.rich { font-size: 17px; line-height: 1.8; color: var(--text); }
.rich > * + * { margin-top: 16px; }
.rich h2 { font-size: 26px; margin-top: 34px; }
.rich h3 { font-size: 21px; margin-top: 28px; }
.rich h4 { font-size: 18px; margin-top: 22px; }
.rich ul, .rich ol { padding-left: 24px; display: grid; gap: 8px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li::marker { color: var(--accent); font-weight: 700; }
.rich a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: var(--accent); }
.rich img { border-radius: 14px; margin: 8px 0; }
.rich blockquote { border-left: 4px solid var(--accent); background: var(--soft); padding: 16px 22px; border-radius: 0 12px 12px 0; color: var(--ink); }
.rich table { width: 100%; border-collapse: collapse; }
.rich th, .rich td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.rich th { background: var(--soft); }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }
.rich .ql-align-justify { text-align: justify; }

.doc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.doc-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--soft); border-radius: 12px; font-weight: 500; }
.doc-list i { color: var(--success); font-size: 19px; margin-top: 2px; }

.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 68px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; }
.steps li::after { content: ''; position: absolute; left: 22px; top: 50px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { display: block; font-size: 18px; color: var(--ink); padding-top: 9px; }
.steps span { display: block; color: var(--muted); margin-top: 4px; }

.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq + .faq { margin-top: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\F4FE'; font-family: 'bootstrap-icons'; color: var(--accent); font-size: 20px; transition: transform .25s ease; flex: 0 0 auto; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq[open] { border-color: color-mix(in srgb, var(--primary) 30%, white); box-shadow: var(--shadow-sm); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }

.apply-card { position: sticky; top: 108px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.apply-card-head { padding: 24px 26px; color: #fff; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); }
.apply-card-head span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.apply-card-head strong { display: block; font-family: var(--font-head); font-size: 26px; line-height: 1.25; margin-top: 4px; }
.apply-card-body { padding: 24px 26px 26px; }
.apply-fee { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); }
.apply-fee span { color: var(--muted); }
.apply-fee strong { font-family: var(--font-head); font-size: 24px; color: var(--ink); }
.btn-apply { width: 100%; padding: 20px 26px; font-size: 19px; font-weight: 700; border-radius: 14px; letter-spacing: .01em; }
.apply-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.apply-help { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.apply-help p { font-weight: 700; color: var(--ink); }
.apply-help a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; }
.apply-help a:hover { border-color: var(--primary); background: var(--primary-soft); }
.apply-help .bi-whatsapp { color: #25d366; font-size: 20px; }
.apply-help .bi-telephone { color: var(--primary); font-size: 18px; }
.sibling-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sibling-links a { padding: 7px 14px; border-radius: 999px; background: var(--soft); font-size: 14.5px; font-weight: 600; }
.sibling-links a:hover { background: var(--primary); color: #fff; }

.sticky-apply { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(14, 27, 51, .12); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: 14px; }
.sticky-apply div { flex: 1; min-width: 0; line-height: 1.3; }
.sticky-apply span { display: block; font-size: 13px; color: var(--muted); }
.sticky-apply strong { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field label, .field-label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field label .req { color: var(--accent); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease; min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field .error, .form-error { font-size: 13.5px; color: var(--accent); font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); flex: 0 0 auto; }
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed color-mix(in srgb, var(--primary) 35%, white); border-radius: 12px; background: var(--primary-soft); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.file-drop:hover { border-color: var(--primary); }
.file-drop i { font-size: 26px; color: var(--primary); }
.file-drop strong { display: block; font-size: 15px; color: var(--ink); }
.file-drop small { color: var(--muted); display: block; overflow-wrap: anywhere; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop.has-file { border-style: solid; border-color: var(--success); background: color-mix(in srgb, var(--success) 7%, white); }
.file-drop.has-file i { color: var(--success); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; }
.alert i { font-size: 19px; margin-top: 1px; }
.alert-success { background: color-mix(in srgb, var(--success) 10%, white); color: #0b6b3c; border: 1px solid color-mix(in srgb, var(--success) 30%, white); }
.alert-error { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 80%, black); border: 1px solid color-mix(in srgb, var(--accent) 28%, white); }
.alert ul { list-style: disc; padding-left: 18px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.panel-head .num { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; }
.panel-head h2 { font-size: 19px; letter-spacing: -.01em; }
.panel-head p { font-size: 14px; color: var(--muted); }
.panel-body { padding: 26px; }
.panel + .panel { margin-top: 22px; }

/* ---------- Auth ---------- */
.auth { background: var(--soft); padding: clamp(36px, 6vw, 80px) 0; min-height: 62vh; }
.auth-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 1020px; margin: 0 auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.auth-card-single { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.auth-side { position: relative; padding: 46px 40px; color: #fff; background: radial-gradient(500px 300px at 100% 0, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%), linear-gradient(150deg, var(--primary-deep), var(--primary)); display: flex; flex-direction: column; }
.auth-side h2 { color: #fff; font-size: 30px; }
.auth-side > p { color: rgba(255, 255, 255, .85); margin-top: 14px; }
.auth-side ul { display: grid; gap: 16px; margin-top: 30px; }
.auth-side li { display: flex; gap: 12px; align-items: flex-start; }
.auth-side li i { color: #ff6b76; font-size: 20px; }
.auth-target { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); display: flex; gap: 14px; align-items: center; }
.auth-target img { width: 46px; height: 32px; object-fit: cover; border-radius: 5px; }
.auth-target span { display: block; font-size: 13px; opacity: .8; }
.auth-target strong { display: block; }
.auth-main { padding: 46px clamp(24px, 4vw, 52px); }
.auth-main h1 { font-size: 30px; }
.auth-main .lead { color: var(--muted); margin: 8px 0 26px; }
.auth-main form { display: grid; gap: 18px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.auth-row a, .auth-alt a { color: var(--primary); font-weight: 600; }
.auth-row a:hover, .auth-alt a:hover { color: var(--accent); }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); }
/* One-time code page */
.field .otp-input { text-align: center; font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: .45em; padding-left: .45em; min-height: 68px; }
.otp-resend { display: flex !important; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 15px; }
.otp-resend .text-link { color: var(--primary); font-size: 15px; }
.otp-resend .text-link:disabled { color: var(--muted); cursor: default; }

/* "Create a free account" invitation at the top of the login form */
.auth-invite { --invite: #0e9f5b; position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; color: #fff; overflow: hidden; background: linear-gradient(120deg, #0a7f47 0%, #12a862 50%, #43cf7c 100%); box-shadow: 0 16px 34px rgba(14, 159, 91, .32); transition: transform .25s ease, box-shadow .25s ease; }
.auth-invite::before { content: ''; position: absolute; right: -40px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.auth-invite::after { content: ''; position: absolute; right: 70px; bottom: -70px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.auth-invite:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(14, 159, 91, .42); }
.auth-invite-icon { position: relative; z-index: 1; width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 25px; background: #fff; color: var(--invite); box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }
.auth-invite-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.auth-invite-text strong { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.auth-invite-text small { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .94); }
.auth-invite-go { position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: #0a7f47; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.auth-invite-go i { transition: transform .2s ease; }
.auth-invite:hover .auth-invite-go i { transform: translateX(4px); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 520px) {
    .auth-invite { flex-wrap: wrap; }
    .auth-invite-go { margin-left: 70px; }
}

/* ---------- Applicant dashboard ---------- */
.account { background: var(--soft); padding: clamp(30px, 4vw, 56px) 0 clamp(50px, 6vw, 80px); min-height: 62vh; }
.account-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-nav { position: sticky; top: 108px; padding: 22px; }
.account-user { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.account-user strong { display: block; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.account-user div span { display: block; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.account-links { display: grid; gap: 4px; }
.account-links a, .account-links button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 10px; font-weight: 600; color: var(--text); text-align: left; }
.account-links a:hover, .account-links button:hover { background: var(--soft); color: var(--primary); }
.account-links a.is-active { background: var(--primary); color: #fff; }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.account-head h1 { font-size: clamp(24px, 2.6vw, 32px); }
.account-head p { color: var(--muted); }

.app-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; padding: 22px 24px; }
.app-card + .app-card { margin-top: 16px; }
.app-card h2 { font-size: 20px; letter-spacing: -.01em; }
.app-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.app-meta i { margin-right: 6px; }
.app-card-side { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; background: #eef1f6; color: #46526b; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-submitted { background: #e8f0ff; color: #1d4ed8; }
.status-payment_pending, .status-pay-pending, .status-pay-failed { background: #ffe9e1; color: #c2410c; }
.status-pay-paid, .status-appt-confirmed, .status-appt-completed { background: #dff6ea; color: #0b6b3c; }
.status-appt-pending { background: #fff4dc; color: #a15c00; }
.status-appt-cancelled { background: #fde4e6; color: #b3131f; }
.status-pay-cancelled { background: #eef1f6; color: #46526b; }

/* ---------- Payments ---------- */
.pay-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 30%, white); background: var(--accent-soft); }
.pay-banner > i { font-size: 28px; color: var(--accent); }
.pay-banner > div { flex: 1 1 240px; }
.pay-banner strong { display: block; color: var(--ink); font-size: 17px; }
.pay-banner span { display: block; color: var(--muted); font-size: 15px; }
.pay-methods { display: grid; gap: 12px; }
.pay-method { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.pay-method:hover { border-color: color-mix(in srgb, var(--primary) 45%, white); }
.pay-method input { position: absolute; opacity: 0; }
.pay-method:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent); }
.pay-method:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 2px; }
.pay-method-icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--primary); }
.pay-method-icon.pay-bkash { background: #e2136e; }
.pay-method-icon.pay-sslcommerz { background: #0b5ed7; }
.pay-method-icon.pay-stripe { background: #635bff; }
.pay-method-icon.pay-paypal { background: #003087; }
.pay-method-text { flex: 1; min-width: 0; }
.pay-method-text strong { display: block; color: var(--ink); font-size: 17px; }
.pay-method-text small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.pay-method-check { font-size: 22px; color: var(--primary); opacity: 0; transition: opacity .2s ease; }
.pay-method:has(input:checked) .pay-method-check { opacity: 1; }
.pay-methods .btn-apply { margin-top: 10px; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.pay-total span { color: var(--muted); }
.pay-total strong { font-family: var(--font-head); font-size: 28px; color: var(--ink); }
.pay-done { text-align: center; padding: 16px 6px; display: grid; gap: 12px; justify-items: center; }
.pay-done > i { font-size: 56px; color: var(--success); }
.status-under_review, .status-processing, .status-embassy { background: #fff4dc; color: #a15c00; }
.status-documents_required { background: #ffe9e1; color: #c2410c; }
.status-approved, .status-completed { background: #dff6ea; color: #0b6b3c; }
.status-rejected, .status-cancelled { background: #fde4e6; color: #b3131f; }

.progress { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 6px 0 4px; }
.progress li { position: relative; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 42px; line-height: 1.3; }
.progress li::before { content: ''; position: absolute; top: 14px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.progress li:first-child::before { display: none; }
.progress li::after { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; top: 0; left: 50%; margin-left: -16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); color: transparent; font-size: 15px; }
.progress li.is-done { color: var(--ink); }
.progress li.is-done::before { background: var(--success); }
.progress li.is-done::after { background: var(--success); border-color: var(--success); color: #fff; }
.progress li.is-current::after { content: ''; border-color: var(--primary); background: radial-gradient(circle, var(--primary) 0 5px, #fff 6px); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 16%, transparent); }
.progress li.is-current::before { background: var(--success); }
.progress li.is-current { color: var(--primary); }

.timeline { display: grid; }
.timeline li { position: relative; padding: 0 0 24px 34px; }
.timeline li::before { content: ''; position: absolute; left: 5px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline li::after { content: ''; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.timeline p { margin-top: 6px; color: var(--text); }
.timeline li.is-mine::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-who { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 700; }
.timeline li.is-mine > p { padding: 12px 16px; border-radius: 4px 14px 14px 14px; background: var(--soft); }
.timeline-note { padding: 10px 14px; border-radius: 10px; background: var(--primary-soft); font-size: 15.5px; }
.timeline-note.is-action { background: #fff4dc; color: #7a4500; }
.reply-form { display: grid; gap: 12px; justify-items: start; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.reply-form .field { width: 100%; }

.status-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.status-box { padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.status-box-label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.status-box-label i { font-size: 17px; }
.status-box p { color: var(--ink); font-weight: 500; line-height: 1.55; }
.status-box time { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.status-box.is-action { background: #fff8e8; border-color: #f3d48a; }
.status-box.is-action .status-box-label { color: #a15c00; }
.status-box.is-clear .status-box-label { color: var(--success); }
.status-box.is-clear p { color: var(--muted); font-weight: 400; }

.data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; }
.data-list dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.data-list dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.data-list .span-2 { grid-column: 1 / -1; }
.doc-rows { display: grid; gap: 10px; }
.doc-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.doc-row > i { font-size: 24px; color: var(--primary); }
.doc-row div { flex: 1; min-width: 0; }
.doc-row strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-row span { font-size: 13.5px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: start; }
.two-col .panel + .panel { margin-top: 0; }
.stack { display: grid; gap: 22px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-card i { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: var(--primary-soft); color: var(--primary); }
.contact-card span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card strong, .contact-card a { color: var(--ink); font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.narrow { max-width: 880px; margin: 0 auto; }
.error-page { text-align: center; padding: clamp(70px, 10vw, 140px) 20px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(80px, 14vw, 160px); font-weight: 800; line-height: 1; color: var(--primary-soft); -webkit-text-stroke: 2px var(--primary); }
.error-page h1 { font-size: clamp(26px, 3vw, 38px); margin-top: 10px; }
.error-page p { color: var(--muted); margin: 12px auto 26px; max-width: 480px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .visa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .facts-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fact { border-top: 1px solid var(--line); margin-top: -1px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .visa-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 1024px) {
    /* Off-canvas menu */
    .nav-toggle { display: flex; }
    .header-inner { min-height: 70px; gap: 14px; }
    .header-actions { margin-left: auto; }
    .header-btn { height: 46px; padding: 0 16px; white-space: nowrap; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(360px, 88vw); margin: 0; background: #fff; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .32s ease; box-shadow: -20px 0 60px rgba(0, 0, 0, .2); overflow-y: auto; overscroll-behavior: contain; }
    .nav-open .main-nav { transform: none; }
    .nav-overlay { display: block; position: fixed; inset: 0; z-index: 200; background: rgba(7, 22, 47, .55); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
    .nav-open .nav-overlay { opacity: 1; visibility: visible; }
    .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
    .nav-close { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); }
    .nav-foot { display: grid; gap: 12px; padding: 20px; margin-top: auto; border-top: 1px solid var(--line); }
    .nav-contact { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
    .nav-contact i { color: var(--accent); }
    .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 12px; }
    .menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--line); }
    .menu-item:last-child { border-bottom: 0; }
    .menu-item > a { padding: 15px 8px; font-size: 16.5px; color: var(--ink); border-radius: 0; }
    .menu-caret { display: none; }
    .submenu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--soft); transition: transform .25s ease; }
    .menu-item.is-open > .submenu-toggle { transform: rotate(180deg); }
    .submenu, .submenu .submenu { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 14px; min-width: 0; display: none; transition: none; }
    .menu-item.is-open > .submenu { display: block; }
    .submenu .menu-item { border-bottom: 0; }
    .submenu .menu-item > a { padding: 11px 8px; }
    body.nav-open { overflow: hidden; }

    .focus-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
    .focus-media { max-width: 560px; margin-right: 18px; }
    .focus-media img { aspect-ratio: 16 / 10; }
    /* Stacked: headline, then the picture, then the rest of the text. */
    .about-grid { grid-template-areas: "intro" "media" "copy"; }
    .about-media { max-width: 560px; margin: 26px auto 10px; width: 100%; }
    .visa-layout { grid-template-columns: minmax(0, 1fr); }
    .apply-card { position: static; }
    .sticky-apply { display: flex; }
    .has-sticky-apply .site-footer { padding-bottom: 78px; }
    .account-grid { grid-template-columns: minmax(0, 1fr); }
    .account-nav { position: static; }
    .account-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .account-links a, .account-links button { justify-content: center; }
    .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .auth-card { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    .auth-side { padding: 30px 28px; }
    .auth-side ul { display: none; }
    .auth-target { margin-top: 20px; }
}

@media (max-width: 860px) {
    .visa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .topbar-email span, .topbar-link .bi-whatsapp + span { display: none; }
    .topbar .topbar-account { padding: 3px 10px; }
    .topbar-inner { min-height: 38px; }
    .rule-link { display: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doc-list, .data-list { grid-template-columns: minmax(0, 1fr); }
    .form-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .progress li { font-size: 0; padding-top: 34px; }
    .progress li.is-current { font-size: 12.5px; }
    .hero-arrow { display: none; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .facts-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact { padding: 22px 18px 24px; }
    .fact:nth-child(odd) { border-left: 0; }
    .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .fact-label { font-size: 11px; letter-spacing: .12em; }
    .facts-badges { gap: 10px 22px; }
    .hero-subtitle { display: none; }
    .hero-caption { background: linear-gradient(90deg, rgba(5, 16, 38, .74), rgba(5, 16, 38, .2) 80%); }
    .hero-caption .btn { padding: 9px 14px; font-size: 13.5px; }
    .hero-dots { bottom: 10px; }
    .about-points { grid-template-columns: minmax(0, 1fr); }
    .about-stats > div { padding: 0 12px; }
    .about-badge { position: relative; right: auto; bottom: auto; margin: -34px 12px 0; max-width: none; }
    .about-media img { border-radius: 90px 22px 22px 22px; }
    .about-actions .btn { flex: 1 1 100%; }
    .focus-foot .btn { width: 100%; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .form-grid, .form-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .panel-body { padding: 20px 18px; }
    .panel-head { padding: 16px 18px; }
    .app-card { grid-template-columns: minmax(0, 1fr); }
    .app-card-side { justify-content: flex-start; }
    .account-links { grid-template-columns: minmax(0, 1fr); }
    .account-links a, .account-links button { justify-content: flex-start; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .floating { bottom: calc(14px + env(safe-area-inset-bottom)); }
    .floating-right { right: 14px; }
    .floating-left { left: 14px; }
    .floating-btn { height: 52px; min-width: 52px; }
    .floating-btn i { width: 52px; flex-basis: 52px; line-height: 52px; font-size: 25px; }
    .floating-whatsapp::after { width: 52px; height: 52px; }
    .quick-fact { padding: 16px 18px; }
    .auth-main { padding: 30px 22px; }
}

/* Phones: "Apply Now" keeps its words; the logo, icons and gaps shrink around it. Login stays in the menu. */
@media (max-width: 640px) {
    .topbar .topbar-account { display: none; }
    .header-inner { gap: 8px; }
    .header-actions { gap: 6px; }
    .brand img { max-width: 38vw; }
    .search-toggle, .nav-toggle, .header-account { width: 40px; height: 40px; }
    .header-btn { height: 40px; padding: 0 12px; font-size: 13.5px; }
    .header-btn i { display: none; }
}

@media (max-width: 420px) {
    .visa-grid { grid-template-columns: minmax(0, 1fr); }
    .about-stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .about-stats > div { border-left: 0; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .site-footer, .floating, .cta-band, .sticky-apply, .account-nav { display: none !important; }
}
