:root {
    --navy: #0A192F;
    --navy-2: #1E293B;
    --amber: #D97706;
    --amber-soft: #FEF3C7;
    --emerald: #059669;
    --canvas: #F8FAFC;
    --radius: 22px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--navy-2); background: var(--canvas) !important; }
h1, h2, h3, h4, h5 { color: var(--navy); font-weight: 600; letter-spacing: -.02em; }
.accent-italic { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; }
.text-amber { color: var(--amber) !important; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-2); font-weight: 600; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }

/* ---------- Pill navigation ---------- */
.site-header { position: absolute; top: 18px; left: 0; right: 0; z-index: 50; }
.pill-nav { background: #fff; border-radius: 22px; padding: 12px 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; box-shadow: 0 10px 30px rgba(10,25,47,.12); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); line-height: 1.05; font-weight: 700; }
.brand small { font-weight: 500; color: var(--amber); }
.brand-mark { background: var(--navy); color: var(--amber); border-radius: 12px; padding: 8px 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-logo { height: 48px; width: auto; display: block; }
.brand-tile { background: #fff; border-radius: 14px; padding: 6px 8px; display: grid; place-items: center; }
.brand-tile .brand-logo { height: 38px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 20px; padding: 14px 18px; }
.footer-logo img { height: 110px; width: auto; display: block; }
.nav-collapse { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0 auto 0 24px; padding: 0; }
.nav-links > li { display: flex; align-items: center; flex: 0 0 auto; }
.nav-links > li > a { display: inline-flex; align-items: center; min-height: 38px; box-sizing: border-box; text-decoration: none; color: var(--navy); font-size: .85rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: var(--canvas); }
.nav-links a.active { background: var(--amber-soft); color: var(--amber); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; min-height: 38px; box-sizing: border-box; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: .85rem; font-weight: 500; line-height: 1.25; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active, .nav-dropdown.open .nav-dropdown-toggle { background: var(--amber-soft); color: var(--amber); }
.nav-links a:focus-visible, .nav-dropdown-toggle:focus-visible, .nav-dropdown-menu a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 210px; max-height: 60vh; overflow-y: auto; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 14px 34px rgba(10,25,47,.16); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; border-radius: 10px; padding: 9px 12px; white-space: normal; }
.nav-dropdown-menu a.active { background: var(--amber-soft); color: var(--amber); }
.nav-dropdown-empty { padding: 10px 12px; color: #64748b; font-size: .8rem; line-height: 1.5; max-width: 230px; }
.cms-content { font-size: 1rem; line-height: 1.9; white-space: normal; }
.cms-content p { margin-bottom: 1rem; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: .8rem; font-weight: 600; line-height: 1.2; }
.nav-phone small { color: #64748b; font-weight: 400; }
.icon-bubble { width: 38px; height: 38px; border-radius: 50%; background: var(--amber-soft); color: var(--amber); display: grid; place-items: center; }
.nav-toggle { margin-left: auto; border: 0; background: var(--canvas); width: 42px; height: 42px; border-radius: 12px; color: var(--navy); display: grid; place-items: center; flex: 0 0 42px; padding: 0; }
/* Keep the full navigation on desktop and use the collapsed menu while tablet/mobile widths are tight. */
@media (min-width: 1200px) {
    #mainNav.collapse:not(.show), #mainNav.collapsing { display: flex !important; height: auto !important; overflow: visible; transition: none; }
    .nav-toggle { display: none !important; }
}
@media (max-width: 1199.98px) {
    .pill-nav { gap: 8px 12px; padding: 10px 14px; }
    .brand { min-width: 0; }
    .nav-toggle { margin-left: auto; }
    #mainNav.collapse:not(.show) { display: none !important; }
    #mainNav.collapse.show, #mainNav.collapsing { display: flex !important; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; min-width: 0; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; margin: 0; }
    .nav-links > li { display: block; width: 100%; }
    .nav-links > li > a, .nav-dropdown-toggle { display: flex; align-items: center; width: 100%; min-height: 40px; text-align: left; }
    .nav-dropdown-toggle { justify-content: flex-start; }
    .nav-dropdown-menu { position: static; max-height: none; min-width: 0; margin: 2px 0 8px 12px; box-shadow: none; background: var(--canvas); }
    .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
}

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; padding: 8px 8px 8px 22px; font-weight: 600; font-size: .85rem; text-decoration: none; border: 0; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,25,47,.2); }
.btn-pill .arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }
.btn-pill-navy { background: var(--navy); color: #fff; }
.btn-pill-navy .arrow { background: var(--amber); color: #fff; }
.btn-pill-amber { background: var(--amber); color: #fff; }
.btn-pill-amber .arrow { background: var(--navy); color: #fff; }
.btn-pill-light { background: #fff; color: var(--navy); }
.btn-pill-light .arrow { background: var(--navy); color: #fff; }
.link-underline { color: inherit; font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero-wrap { padding: 14px 14px 0; }
.hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 680px; background: linear-gradient(160deg, #0A192F 0%, #12284a 55%, #1E293B 100%); color: #fff; display: flex; align-items: flex-end; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(217,119,6,.28), transparent 45%), radial-gradient(circle at 10% 90%, rgba(5,150,105,.18), transparent 40%); }
.hero.has-img { background-size: cover; background-position: center 35%; }
.hero.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,47,.35), rgba(10,25,47,.92)); }
.hero .container { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 56px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; max-width: 720px; }
.hero p.lead { color: rgba(255,255,255,.8); max-width: 540px; font-size: 1rem; }
.rating-chip { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; margin-bottom: 18px; }
.rating-chip .stars { color: #FBBF24; }
.tag-chip { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 3px 12px; font-size: .68rem; margin-right: 6px; backdrop-filter: blur(6px); }
.glass-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; backdrop-filter: blur(14px); padding: 18px 22px; }
.hero-badges { text-align: right; font-size: .72rem; color: rgba(255,255,255,.75); }
.hero-badges i { color: var(--emerald); }
.stat-big { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { margin: 14px 14px 0; border-radius: 28px; background: linear-gradient(160deg, #0A192F, #1E293B); color: #fff; padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(217,119,6,.35), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 760px; position: relative; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; position: relative; }
.cms-page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.cms-page-hero img { display: block; width: 100%; max-height: 380px; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.2); }

/* ---------- Sections ---------- */
section.block { padding: 90px 0; }
.logo-strip { padding: 38px 0; }
.logo-strip .logo-item { text-align: center; color: #94a3b8; font-weight: 700; letter-spacing: .06em; font-size: .85rem; text-transform: uppercase; }
.logo-strip .logo-item i { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; }
.section-head p { color: #64748b; max-width: 340px; text-align: right; font-size: .85rem; }

/* ---------- Cards ---------- */
.m5-card { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(10,25,47,.07); transition: transform .25s, box-shadow .25s; height: 100%; }
.m5-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(10,25,47,.14); }
.glass { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); }

/* Country pathway selector */
.country-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.country-tab { border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: .85rem; color: var(--navy); cursor: pointer; transition: all .2s; }
.country-tab:hover { border-color: var(--amber); }
.country-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.country-tab .flag { margin-right: 6px; }
.pathway-panel { display: none; }
.pathway-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pathway-item { padding: 22px; }
.pathway-item h5 { font-size: 1.02rem; }
.badge-code { background: var(--amber-soft); color: var(--amber); border-radius: 999px; padding: 3px 10px; font-size: .7rem; font-weight: 600; }

/* Service carousel (horizontal scroll cards) */
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.service-card { flex: 0 0 290px; scroll-snap-align: start; border-radius: var(--radius); min-height: 380px; padding: 22px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(10,25,47,.25), rgba(10,25,47,.95)), var(--bg, #1E293B); transition: transform .25s; }
.service-card:hover { transform: translateY(-6px); }
.service-card .chip { position: absolute; top: 18px; left: 18px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 12px; font-size: .68rem; }
.service-card .ico { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; }
.service-card h5 { color: #fff; }
.service-card p { color: rgba(255,255,255,.75); font-size: .8rem; }
.scroll-btns button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: var(--navy); }
.scroll-btns button.dark { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Counters */
.stat-card { text-align: center; padding: 30px 16px; }
.stat-card .num { font-size: 2.6rem; font-weight: 700; color: var(--navy); }
.stat-card .num span { color: var(--amber); }
.stat-card small { color: #64748b; font-weight: 500; }

/* Process steps */
.step-card { padding: 26px; }
.step-card .step-no { font-size: .8rem; color: #64748b; margin-bottom: 8px; }
.step-card .step-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--amber-soft); color: var(--amber); display: grid; place-items: center; font-size: 1.3rem; margin-top: 18px; }
.step-card.dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.step-card.dark h5, .step-card.dark .step-no { color: #fff; }
.step-card.dark p { color: rgba(255,255,255,.75); }

/* Policy updates */
.update-item { display: flex; gap: 16px; padding: 18px 22px; align-items: flex-start; }
.update-item .date { background: var(--navy); color: #fff; border-radius: 14px; min-width: 58px; text-align: center; padding: 8px 6px; font-size: .7rem; line-height: 1.15; }
.update-item .date b { display: block; font-size: 1.2rem; color: var(--amber); }

/* Accordion */
.accordion-item { border: 0; border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(10,25,47,.06); }
.accordion-button { font-weight: 600; color: var(--navy); }
.accordion-button:not(.collapsed) { background: var(--amber-soft); color: var(--amber); box-shadow: none; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: 28px; color: #fff; padding: 56px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(217,119,6,.4), transparent 65%); }

/* Wizard */
.wizard-card { padding: 34px; }
.wizard-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.wizard-progress .seg { flex: 1; height: 6px; border-radius: 6px; background: #e2e8f0; transition: background .3s; }
.wizard-progress .seg.done { background: var(--amber); }
.wizard-steps-labels { display: flex; justify-content: space-between; font-size: .72rem; color: #64748b; margin-bottom: 8px; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp .3s ease; }
.country-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.country-choice input { display: none; }
.country-choice label { border: 2px solid #e2e8f0; border-radius: 16px; padding: 18px; text-align: center; font-weight: 600; cursor: pointer; transition: all .2s; background: #fff; }
.country-choice input:checked + label { border-color: var(--amber); background: var(--amber-soft); color: var(--amber); }
.field-invalid { border-color: #dc2626 !important; }
.field-error { color: #dc2626; font-size: .75rem; margin-top: 4px; display: none; }
.field-error.show { display: block; }

/* Contact */
.office-card { padding: 22px; }
.contact-sidebar { display: flex; flex-direction: column; align-self: flex-start; gap: 16px; }
.contact-sidebar .m5-card { height: auto; }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--navy); padding: 70px 0 30px; margin-top: 40px; border-radius: 28px 28px 0 0; }
.footer-links li { margin-bottom: 8px; color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-links a:hover { color: var(--amber); }

/* SweetAlert2 brand */
.swal2-styled.swal2-confirm { background: var(--navy) !important; border-radius: 999px !important; padding: 10px 28px !important; }
.swal2-styled.swal2-cancel { border-radius: 999px !important; }
.swal2-popup { border-radius: 22px !important; font-family: 'Inter', sans-serif !important; }

/* Roadmap */
.roadmap { position: relative; padding-left: 28px; }
.roadmap::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: #e2e8f0; }
.roadmap li { list-style: none; position: relative; margin-bottom: 16px; font-size: .9rem; }
.roadmap li::before { content: ''; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--amber); }

@media (max-width: 767px) {
    .hero { min-height: 0; }
    .hero .container { padding-top: 124px; padding-bottom: 40px; }
    .page-hero { padding: 124px 0 48px; }
    .cms-page-hero { grid-template-columns: 1fr; gap: 24px; }
    .cms-page-hero img { max-height: 280px; }
    section.block { padding: 64px 0; }
    .section-head p { text-align: left; }
    .cta-band { padding: 34px 24px; }
    .wizard-card { padding: 24px; }
    .site-footer { margin-top: 24px; }
}

/* ---------- Photography ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }
.photo-frame { overflow: hidden; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(10,25,47,.1); height: 100%; }
.photo-frame .photo { border-radius: 0; transition: transform .6s ease; }
.photo-frame:hover .photo { transform: scale(1.03); }
.photo-h-lg { min-height: 380px; } .photo-h-md { min-height: 240px; }
.cta-band.has-photo { background-size: cover; background-position: center; }
.about-banner { position: relative; border-radius: 28px; overflow: hidden; min-height: 360px; }
.about-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .photo-frame .photo { transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 767px) { .photo-h-lg { min-height: 260px; } .about-banner { min-height: 220px; } .footer-logo img { height: 90px; } }
