/* ==========================================================================
   APGIE v2 — Pacific Prestige Design System & Responsive Stylesheet
   ========================================================================== */

:root {
    --navy-950: #06162B;
    --navy-900: #0A2342;
    --navy-800: #0E2F56;
    --navy-700: #164070;
    --teal-700: #0B726B;
    --teal-600: #0D9488;
    --teal-500: #14B8A6;
    --teal-100: #CCFBF1;
    --teal-50: #F0FDFA;
    --gold-600: #B68324;
    --gold-500: #D9A441;
    --gold-400: #F0C66B;
    --gold-50: #FEF9EC;

    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --bg-page: #F8FAFC;
    --white: #FFFFFF;

    --success-bg: #ECFDF5;
    --success-border: #10B981;
    --success-text: #065F46;
    --error-bg: #FEF2F2;
    --error-border: #EF4444;
    --error-text: #991B1B;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(6, 22, 43, 0.06), 0 1px 2px rgba(6, 22, 43, 0.04);
    --shadow-md: 0 10px 28px rgba(6, 22, 43, 0.08);
    --shadow-lg: 0 22px 48px rgba(6, 22, 43, 0.14);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate-700);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy-900);
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: var(--navy-900); }
ul, ol { margin: 0; padding: 0; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-hidden {
    opacity: 0;
    transform: translateY(16px);
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-hidden { opacity: 1; transform: none; transition: none; }
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.82rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-teal {
    background: var(--teal-50);
    color: var(--teal-700);
    border: 1px solid rgba(13, 148, 136, 0.22);
}
.badge-gold {
    background: var(--gold-50);
    color: var(--gold-600);
    border: 1px solid rgba(217, 164, 65, 0.38);
}
.badge-navy {
    background: rgba(10, 35, 66, 0.08);
    color: var(--navy-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.45rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.94rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}
.btn-xs { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn-sm { padding: 0.52rem 1.05rem; font-size: 0.86rem; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; }

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.24);
}
.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
    box-shadow: 0 4px 14px rgba(217, 164, 65, 0.28);
}
.btn-gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--navy-950);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--navy-900);
}
.btn-outline:hover {
    background: var(--navy-900);
    color: var(--white);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-950);
    border-color: var(--white);
}

/* Topbar */
.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.81rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.topbar-regions, .topbar-flags, .topbar-contact, .topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}
.topbar-contact a { color: rgba(255, 255, 255, 0.9); }
.topbar-contact a:hover { color: var(--gold-400); }
.topbar-contact .sep { opacity: 0.35; }
.flag-svg { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); flex-shrink: 0; }

/* Header & Navigation */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--navy-900);
}
.brand-text small { font-size: 0.73rem; color: var(--slate-500); font-weight: 600; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mobile-nav-head { display: none; }
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.12rem;
}
.nav-list a {
    display: block;
    padding: 0.48rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--teal-700);
    background: var(--teal-50);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.55rem;
    cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); display: block; border-radius: 2px; }
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 22, 43, 0.55);
    z-index: 998;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.2), transparent 44%),
                radial-gradient(circle at 12% 90%, rgba(217, 164, 65, 0.16), transparent 38%),
                linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, #0E3B55 100%);
    color: var(--white);
    padding: 4.25rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 2.75rem;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--gold-400);
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}
.hero-tagline {
    font-size: 1.25rem;
    color: #5EEAD4;
    font-weight: 600;
    margin-bottom: 0.9rem;
}
.hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.04rem;
    max-width: 590px;
    margin-bottom: 1.7rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-trust-strip {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust-item svg { color: var(--gold-400); }

.hero-visual-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}
.hero-img-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 1rem;
    position: relative;
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-country-list { display: grid; gap: 0.65rem; }
.hero-country-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.72rem 0.95rem;
    background: rgba(6, 22, 43, 0.55);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}
.hero-country-item:hover { background: rgba(13, 148, 136, 0.25); color: var(--white); }
.hero-country-left { display: flex; align-items: center; gap: 0.75rem; }
.hero-country-meta strong { display: block; font-size: 0.95rem; }
.hero-country-meta small { color: rgba(255, 255, 255, 0.75); font-size: 0.79rem; }

/* Page Header (Subpages) */
.page-banner {
    background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    padding: 3.1rem 0 2.7rem;
}
.page-banner h1 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 0.5rem; }
.page-banner p { color: rgba(255, 255, 255, 0.86); max-width: 720px; margin-bottom: 0; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.75rem;
}
.breadcrumb a { color: #5EEAD4; }

/* Sections & Grids */
.section { padding: 4.25rem 0; }
.section-alt {
    background: var(--white);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.section-header { max-width: 740px; margin-bottom: 2.35rem; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); margin-top: 0.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.split-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* Media Frames */
.media-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
    aspect-ratio: 16 / 10;
    background: var(--navy-900);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.media-frame:hover img { transform: scale(1.03); }

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.65rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal-50), #E0F2FE);
    color: var(--teal-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(13, 148, 136, 0.15);
}
.card h3 { font-size: 1.14rem; }

.bullet-list, .check-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}
.bullet-list li, .check-list li {
    position: relative;
    padding-left: 1.55rem;
}
.bullet-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal-600);
    position: absolute;
    left: 0.25rem;
    top: 0.58rem;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal-600);
    font-weight: 800;
}

/* Documentation Tile Grid (Fixes multi-column alignment) */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.doc-tile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--bg-page);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 0.93rem;
}
.doc-tile-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Country Cards with Image Header */
.country-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.country-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--navy-900);
}
.country-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.country-card:hover .country-media img { transform: scale(1.04); }
.country-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.country-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}
.country-official {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
    font-size: 0.88rem;
}
.country-official a { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; margin-top: 0.35rem; }

/* Pathway Interactive Tabs */
.pathway-tabs {
    display: inline-flex;
    background: var(--slate-100);
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--slate-200);
    margin-bottom: 1.75rem;
}
.pathway-tab {
    border: none;
    background: transparent;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--slate-600);
    cursor: pointer;
    transition: all 0.2s ease;
}
.pathway-tab.active {
    background: var(--navy-900);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Step Cards */
.step-card { position: relative; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--navy-900);
    color: var(--gold-400);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

/* FAQ Accordion */
.faq-list { display: grid; gap: 0.85rem; max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.15rem 1.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}
.faq-trigger svg { transition: transform 0.22s ease; flex-shrink: 0; }
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }
.faq-panel {
    display: none;
    padding: 0 1.35rem 1.2rem;
    color: var(--slate-600);
    font-size: 0.95rem;
}
.faq-item.open .faq-panel { display: block; }

/* Compliance */
.compliance-section { padding: 3.75rem 0; }
.compliance-card {
    background: linear-gradient(180deg, #FFFDF7 0%, #FFFFFF 100%);
    border: 1px solid rgba(217, 164, 65, 0.45);
    border-left: 6px solid var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 2.1rem;
    box-shadow: var(--shadow-md);
}
.compliance-header p { max-width: 820px; }
.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    margin-top: 1.5rem;
}
.regulator-box {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.05rem 1.25rem;
    margin-bottom: 0.9rem;
}
.regulator-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.regulator-head h4 { font-size: 1rem; margin: 0; }
.regulator-box p { font-size: 0.9rem; margin-bottom: 0.55rem; }
.regulator-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.87rem; font-weight: 600; }
.regulator-links a { display: inline-flex; align-items: center; gap: 0.3rem; }

.notice-banner {
    background: var(--gold-50);
    border: 1px solid rgba(217, 164, 65, 0.45);
    border-left: 4px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 1.05rem 1.25rem;
    color: var(--slate-900);
    font-size: 0.94rem;
}

/* Forms & Drag-Drop CV Zone */
.form-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.15rem;
    box-shadow: var(--shadow-md);
}
.form-section-title {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--teal-700);
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 0.45rem;
    margin-top: 0.6rem;
    margin-bottom: 0.1rem;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.38rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy-900); }
.req { color: #DC2626; }

.form-control {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-900);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
textarea.form-control { min-height: 112px; resize: vertical; }

.dropzone {
    border: 2px dashed #94A3B8;
    border-radius: var(--radius-md);
    background: var(--bg-page);
    padding: 1.35rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
}
.dropzone:hover, .dropzone.dragover {
    border-color: var(--teal-600);
    background: var(--teal-50);
}
.dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.dropzone-icon { color: var(--teal-600); margin-bottom: 0.4rem; }

.radio-row { display: flex; gap: 1.5rem; align-items: center; padding: 0.45rem 0; }
.radio-label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500 !important; cursor: pointer; }
.form-hint { font-size: 0.82rem; color: var(--slate-500); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Alerts & Reference Copy */
.alert {
    padding: 1.05rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 5px solid;
    margin-bottom: 1.5rem;
}
.alert-success { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
.alert-error { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }
.alert-title { font-weight: 700; }
.alert-list { margin: 0.5rem 0 0 1.25rem; font-size: 0.92rem; }
.ref-copy-row {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.ref-code-pill {
    background: rgba(6, 95, 70, 0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-family: monospace;
}

/* Floating Quick Actions */
.floating-actions {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 950;
    display: flex;
    gap: 0.6rem;
}
.float-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.68rem 1rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    color: var(--white);
}
.float-wa { background: #16A34A; }
.float-wa:hover { background: #15803D; color: var(--white); }
.float-apply { background: var(--navy-900); border: 1px solid rgba(255,255,255,0.2); }
.float-apply:hover { background: var(--teal-600); color: var(--white); }

/* Footer */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.82);
    padding: 4rem 0 1.85rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.15fr 1.1fr;
    gap: 2rem;
    padding-bottom: 2.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.72rem;
    border-radius: 8px;
    background: var(--teal-600);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.06em;
}
.footer-logo-row h3 { color: var(--white); font-size: 0.98rem; margin: 0; }
.footer-logo-row h3 span { font-weight: 500; color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }
.footer-tagline { color: var(--gold-400); margin-bottom: 0.5rem; }
.footer-regions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; font-size: 0.86rem; color: rgba(255,255,255,0.8); margin-bottom: 0.4rem; }
.footer-domains { font-size: 0.86rem; color: rgba(255, 255, 255, 0.65); }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.9rem; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 0.48rem; font-size: 0.9rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, 0.78); display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-links a:hover, .footer-contact a:hover { color: #5EEAD4; }
.footer-disclaimer {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
}
.footer-disclaimer p { margin: 0; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
}
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; align-items: center; gap: 0.75rem; }
.admin-portal-link { color: rgba(255, 255, 255, 0.68); }
.admin-portal-link:hover { color: var(--gold-400); }

/* Responsive Breakpoints */
@media (max-width: 1080px) {
    .hero-grid, .split-feature, .compliance-grid, .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .grid-3, .grid-4, .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-toggle { display: flex; }
    .nav-backdrop { z-index: 1090; }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: min(320px, 86vw);
        background: var(--white);
        z-index: 1100;
        padding: 1.25rem;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow-lg);
        transform: translateX(105%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 0.85rem;
        margin-bottom: 0.65rem;
        border-bottom: 1px solid var(--slate-200);
    }
    .nav-close {
        background: var(--slate-100);
        color: var(--navy-900);
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
    }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
    .nav-list a {
        padding: 0.72rem 0.9rem;
        font-size: 0.98rem;
        border-bottom: 1px solid var(--slate-100);
    }
    .nav-cta { margin-top: 1rem; }
    .nav-cta .btn { width: 100%; }
}

@media (max-width: 680px) {
    .topbar { font-size: 0.75rem; padding: 0.45rem 0; }
    .topbar-inner { justify-content: center; text-align: center; gap: 0.3rem 0.75rem; }
    .topbar-regions { justify-content: center; flex-wrap: wrap; }
    .topbar-contact { justify-content: center; flex-wrap: wrap; gap: 0.35rem 0.75rem; }
    .topbar-link { white-space: nowrap; }
    .topbar-contact .sep { display: none; }

    .header-inner { min-height: 64px; }
    .grid-2, .grid-3, .grid-4, .doc-grid, .form-grid { grid-template-columns: 1fr; }

    .hero { padding: 2.4rem 0 2.75rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-tagline { font-size: 1.08rem; }
    .hero-lead { font-size: 0.97rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust-strip { gap: 0.65rem; font-size: 0.82rem; }

    .section { padding: 2.75rem 0; }
    .page-banner { padding: 2.25rem 0 2rem; }
    .compliance-section { padding: 2.5rem 0; }
    .card { padding: 1.25rem; }
    .country-body { padding: 1.25rem; }
    .form-card, .compliance-card { padding: 1.25rem; }
    .pathway-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .pathway-tab { padding: 0.55rem 0.75rem; font-size: 0.85rem; }
    .site-footer { padding: 2.75rem 0 1.5rem; }
    .floating-actions { right: 0.75rem; bottom: 0.75rem; }
    .floating-actions .float-btn { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
    .float-apply { display: none; }
}


/* v3 Dynamic CMS Additions */
.brand-uploaded-logo {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}
.footer-uploaded-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.65rem;
    font-size: 0.86rem;
}
.footer-socials a {
    color: #5EEAD4;
    font-weight: 600;
}
.vacancy-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}
.vacancy-pill {
    padding: 0.48rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--slate-200);
    background: var(--white);
    color: var(--slate-700);
    font-size: 0.88rem;
    font-weight: 600;
}
.vacancy-pill.active, .vacancy-pill:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}
.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
    font-size: 0.82rem;
}
.vacancy-tag {
    background: var(--slate-100);
    color: var(--slate-800);
    padding: 0.24rem 0.65rem;
    border-radius: 6px;
    font-weight: 600;
}
.map-embed-wrap {
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    aspect-ratio: 16 / 9;
}
.map-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.rich-content h2, .rich-content h3 { margin-top: 1.4rem; }
.rich-content ul, .rich-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.rich-content li { margin-bottom: 0.35rem; }
.rich-content blockquote {
    border-left: 4px solid var(--gold-500);
    background: var(--gold-50);
    padding: 0.9rem 1.2rem;
    margin: 1.25rem 0;
    border-radius: var(--radius-sm);
}
