/**
 * Foreign Job Guide homepage — design from Google Stitch, built on native blocks.
 * Everything is scoped to .fjg-home (the <main> of the front page).
 * Colours come from the Stitch design system (navy #131b2e + gold #ffe08f).
 */

.fjg-home {
	--fjg-bg: #fbf9f4;
	--fjg-bg-2: #f5f3ee;
	--fjg-bg-3: #f0eee9;
	--fjg-card: #ffffff;
	--fjg-text: #1b1c19;
	--fjg-muted: #45464c;
	--fjg-line: #e4e2dd;
	--fjg-navy: #131b2e;
	--fjg-navy-2: #1d2740;
	--fjg-navy-muted: #9aa3b8;
	--fjg-gold: #ffe08f;
	--fjg-gold-2: #e6c364;
	--fjg-gold-ink: #241a00;
	--fjg-gold-dark: #755b00;
	--fjg-green: #059669;
	--fjg-green-bg: #ecfdf5;
	--fjg-red: #ba1a1a;
	--fjg-red-bg: #ffdad6;
	--fjg-font: 'Hind Siliguri', 'Plus Jakarta Sans', 'Noto Sans Bengali', sans-serif;
	--fjg-font-head: 'Plus Jakarta Sans', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
	--fjg-shadow: 0 1px 3px rgba(19, 27, 46, 0.06), 0 1px 2px rgba(19, 27, 46, 0.04);
	--fjg-shadow-lg: 0 20px 40px -12px rgba(19, 27, 46, 0.25);
	font-family: var(--fjg-font);
	color: var(--fjg-text);
	background: var(--fjg-bg);
	line-height: 1.6;
}

/* Neutralise WordPress's flow spacing inside our design; gaps are set below. */
.fjg-home :where(.wp-block-group, .wp-block-buttons) > * { margin-block: 0; }
.fjg-home p, .fjg-home h1, .fjg-home h2, .fjg-home h3 { margin: 0; }
.fjg-home a { color: inherit; }
.fjg-home .material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1;
	display: inline-block; vertical-align: -0.2em; letter-spacing: normal;
	text-transform: none; white-space: nowrap; direction: ltr;
	-webkit-font-smoothing: antialiased; font-feature-settings: 'liga';
}

/* ── Sections & container ───────────────────────────────────── */
.fjg-sec { padding: 5rem 0; background: var(--fjg-bg); margin: 0 !important; }
.fjg-sec.fjg-alt { background: var(--fjg-bg-2); }
.fjg-container { max-width: 1280px; margin: 0 auto !important; padding: 0 2rem; }
.fjg-head { text-align: center; max-width: 760px; margin: 0 auto 3.25rem !important; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.fjg-eyebrow { color: var(--fjg-gold-dark); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; }
.fjg-eyebrow-chip { background: var(--fjg-line); color: var(--fjg-text); padding: 0.25rem 0.8rem; border-radius: 9999px; font-size: 0.78rem; }
.fjg-h1 { font-family: var(--fjg-font-head); font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.22; font-weight: 700; letter-spacing: -0.015em; color: #000; }
.fjg-h2 { font-family: var(--fjg-font-head); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: #000; }
.fjg-h3 { font-family: var(--fjg-font-head); font-size: 1.12rem; line-height: 1.45; font-weight: 700; color: #000; }
.fjg-sub, .fjg-lead { color: var(--fjg-muted); font-size: 1.1rem; line-height: 1.75; }
.fjg-p { color: var(--fjg-muted); font-size: 0.98rem; line-height: 1.7; }

/* ── Buttons ────────────────────────────────────────────────── */
.fjg-btns { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.fjg-btns-center { justify-content: center; }
.fjg-home .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.9rem 1.5rem; border-radius: 0.75rem; font-weight: 700; font-size: 1.02rem;
	text-decoration: none; border: 0; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.fjg-home .wp-block-button__link:hover { transform: translateY(-1px); }
.fjg-btn-gold .wp-block-button__link { background: var(--fjg-gold); color: var(--fjg-gold-ink); box-shadow: 0 6px 16px -6px rgba(117, 91, 0, 0.45); }
.fjg-btn-gold .wp-block-button__link:hover { background: #ffd66b; }
.fjg-btn-light .wp-block-button__link { background: var(--fjg-card); color: #000; box-shadow: var(--fjg-shadow); border: 1px solid var(--fjg-line); }
.fjg-btn-light .material-symbols-outlined { color: var(--fjg-gold-dark); }
.fjg-btn-navy .wp-block-button__link { background: var(--fjg-navy); color: #fff; width: 100%; padding: 0.75rem 1rem; font-size: 0.9rem; }
.fjg-btn-lg .wp-block-button__link { padding: 1.05rem 2rem; font-size: 1.15rem; }

/* ── Hero ───────────────────────────────────────────────────── */
.fjg-hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.fjg-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 2.5rem; align-items: center; }
.fjg-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; position: relative; z-index: 2; }
.fjg-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.95rem; border-radius: 9999px; background: var(--fjg-bg-2); box-shadow: var(--fjg-shadow); color: var(--fjg-gold-dark); font-weight: 700; font-size: 0.88rem; }
.fjg-ticks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--fjg-muted); font-size: 0.9rem; }
.fjg-ticks span { display: inline-flex; align-items: center; gap: 0.35rem; }
.fjg-ticks .material-symbols-outlined { color: var(--fjg-green); }
.fjg-ticks-center { justify-content: center; }

.fjg-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 1.5rem 0; }
.fjg-hero-visual::before { content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 50%; background: rgba(255, 224, 143, 0.35); filter: blur(60px); z-index: 0; }
.fjg-phone { position: relative; z-index: 1; width: 100%; max-width: 330px; background: var(--fjg-navy); border-radius: 38px; padding: 0.85rem; box-shadow: var(--fjg-shadow-lg); }
.fjg-screen { background: #fff; border-radius: 28px; padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.fjg-status { font-size: 0.7rem; font-weight: 600; color: var(--fjg-muted); text-align: left; position: relative; }
.fjg-status::after { content: ""; position: absolute; left: 50%; top: 0.1rem; transform: translateX(-50%); width: 4rem; height: 0.9rem; border-radius: 9999px; background: var(--fjg-navy); }
.fjg-sample { align-self: flex-end; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: var(--fjg-gold-dark); background: rgba(255, 224, 143, 0.45); padding: 0.1rem 0.55rem; border-radius: 9999px; }
.fjg-rhead { display: flex; align-items: center; gap: 0.6rem; }
.fjg-rhead-txt { flex: 1; }
.fjg-flag { font-size: 1.75rem; line-height: 1; }
.fjg-rt { font-size: 0.95rem; color: #000; line-height: 1.35; }
.fjg-rs { font-size: 0.78rem; color: var(--fjg-muted); line-height: 1.35; }
.fjg-match { font-size: 0.72rem; font-weight: 700; color: var(--fjg-green); background: var(--fjg-green-bg); padding: 0.25rem 0.55rem; border-radius: 0.4rem; white-space: nowrap; }
.fjg-rbox { background: var(--fjg-bg-2); border-radius: 0.9rem; padding: 0.75rem 0.85rem; }
.fjg-k { font-size: 0.72rem; color: var(--fjg-muted); }
.fjg-v { font-family: var(--fjg-font-head); font-size: 1.3rem; font-weight: 800; color: #000; line-height: 1.3; }
.fjg-vs { font-size: 0.75rem; color: var(--fjg-gold-dark); font-weight: 600; }
.fjg-rows { display: flex; flex-direction: column; gap: 0.45rem; }
.fjg-row { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.76rem; color: var(--fjg-muted); border-bottom: 1px dashed var(--fjg-line); padding-bottom: 0.4rem; }
.fjg-row strong { color: #000; text-align: right; font-weight: 700; }
.fjg-phone-btn .wp-block-button { width: 100%; }
.fjg-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.6rem; background: #fff; border-radius: 0.8rem; padding: 0.7rem 0.9rem; box-shadow: 0 12px 28px -10px rgba(19, 27, 46, 0.3); }
.fjg-float .fjg-flag { font-size: 1.5rem; }
.fjg-float-a { left: -1.5rem; top: 2.75rem; }
.fjg-float-b { right: -1rem; bottom: 4rem; }

/* ── Grids & cards ──────────────────────────────────────────── */
.fjg-grid { display: grid; gap: 1.5rem; }
.fjg-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.fjg-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fjg-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fjg-card { background: var(--fjg-card); border-radius: 1rem; padding: 1.6rem; box-shadow: var(--fjg-shadow); display: flex; flex-direction: column; gap: 0.6rem; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.fjg-card:hover { box-shadow: 0 10px 24px -12px rgba(19, 27, 46, 0.25); }
.fjg-icon { width: 3.25rem; height: 3.25rem; border-radius: 0.95rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 0.4rem !important; flex: none; }
.fjg-icon .material-symbols-outlined { font-size: 1.6rem; vertical-align: 0; }
.fjg-icon-navy { background: var(--fjg-navy); color: var(--fjg-gold); }
.fjg-icon-gold { background: var(--fjg-gold); color: var(--fjg-gold-ink); }
.fjg-icon-soft { background: var(--fjg-bg-2); color: var(--fjg-gold-dark); width: 3rem; height: 3rem; }
.fjg-icon-sm { width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; margin: 0 !important; }
.fjg-icon-sm .material-symbols-outlined { font-size: 1.3rem; }
.fjg-card-foot { margin-top: auto !important; padding-top: 0.9rem; border-top: 1px solid var(--fjg-bg-3); color: var(--fjg-gold-dark); font-weight: 700; font-size: 0.82rem; }

/* How it works */
.fjg-steps { position: relative; }
.fjg-steps::before { content: ""; position: absolute; top: 3rem; left: 16%; right: 16%; height: 2px; background: var(--fjg-gold); z-index: 0; }
.fjg-step { position: relative; z-index: 1; align-items: center; text-align: center; }
.fjg-step-n { color: var(--fjg-gold-dark); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; }

/* ── Real cost ──────────────────────────────────────────────── */
.fjg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fjg-cost-copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.fjg-chip-red { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--fjg-red-bg); color: #93000a; font-weight: 700; font-size: 0.82rem; padding: 0.35rem 0.85rem; border-radius: 9999px; }
.fjg-lead a, .fjg-cost-s a, .fjg-cost-bar a, .fjg-pay-note a { text-decoration: underline; text-underline-offset: 2px; }
.fjg-note { display: flex; gap: 0.75rem; align-items: flex-start; background: #fff; border-radius: 0.8rem; padding: 1rem; box-shadow: var(--fjg-shadow); }
.fjg-note-icon { color: var(--fjg-gold-dark); font-size: 1.4rem; }
.fjg-note-t { color: #000; }
.fjg-note-s { color: var(--fjg-muted); font-size: 0.9rem; }
.fjg-cost-card { background: #fff; border-radius: 1.25rem; padding: 1.4rem; box-shadow: var(--fjg-shadow-lg); display: flex; flex-direction: column; gap: 0.9rem; }
.fjg-cost-cap { font-size: 0.8rem; font-weight: 700; color: var(--fjg-muted); letter-spacing: 0.04em; }
.fjg-cost-row { border-radius: 0.9rem; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.2rem; }
.fjg-cost-ok { background: var(--fjg-green-bg); }
.fjg-cost-bad { background: #fff1ef; }
.fjg-cost-k { font-weight: 700; font-size: 0.92rem; display: flex; align-items: center; gap: 0.4rem; }
.fjg-cost-ok .fjg-cost-k, .fjg-cost-ok .fjg-cost-v { color: var(--fjg-green); }
.fjg-cost-bad .fjg-cost-k, .fjg-cost-bad .fjg-cost-v { color: var(--fjg-red); }
.fjg-cost-v { font-family: var(--fjg-font-head); font-size: 1.9rem; font-weight: 800; line-height: 1.2; }
.fjg-cost-s { font-size: 0.8rem; color: var(--fjg-muted); }
.fjg-cost-bar { background: var(--fjg-gold); color: var(--fjg-gold-ink); border-radius: 0.8rem; padding: 0.8rem 1rem; font-weight: 700; font-size: 0.9rem; }

/* ── Deep Dive ──────────────────────────────────────────────── */
.fjg-dd-card { padding: 0 0 1.25rem; overflow: hidden; }
.fjg-dd-head { display: flex; align-items: center; gap: 0.8rem; background: var(--fjg-bg-2); padding: 1.1rem 1.4rem; }
.fjg-dd-sub { color: var(--fjg-gold-dark); font-weight: 600; font-size: 0.82rem; }
.fjg-dd-list { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.6rem 1.25rem 0; }
.fjg-dd-item { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.65rem 0.4rem; border-radius: 0.7rem; }
.fjg-dd-item:hover { background: var(--fjg-bg); }
.fjg-dd-item-tight { align-items: center; padding: 0.55rem 0.4rem; }
.fjg-dd-num { flex: none; width: 2rem; height: 2rem; border-radius: 0.55rem; background: var(--fjg-navy); color: var(--fjg-gold); font-weight: 700; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; }
.fjg-dd-num-gold { background: var(--fjg-gold); color: var(--fjg-gold-ink); border-radius: 9999px; width: 1.75rem; height: 1.75rem; }
.fjg-dd-t { color: #000; font-size: 0.95rem; }
.fjg-dd-d { color: var(--fjg-muted); font-size: 0.84rem; line-height: 1.55; }
.fjg-dd-free { text-align: center; margin: 2rem auto 1rem !important; max-width: 720px; font-size: 1rem; }

/* ── Dark bands (stats, CTA) ────────────────────────────────── */
.fjg-sec.fjg-dark { background: var(--fjg-navy); color: #fff; }
.fjg-stats { padding: 3.5rem 0; }
.fjg-stat { text-align: center; display: flex; flex-direction: column; gap: 0.2rem; }
.fjg-stat-n { font-family: var(--fjg-font-head); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--fjg-gold); line-height: 1.15; }
.fjg-stat-l { color: #d8dce6; font-weight: 700; font-size: 1.05rem; }
.fjg-stat-s { color: var(--fjg-navy-muted); font-size: 0.82rem; }

/* ── Pricing ────────────────────────────────────────────────── */
.fjg-plans { max-width: 900px; margin: 0 auto !important; align-items: stretch; }
.fjg-plan { padding: 2rem; gap: 0.75rem; }
.fjg-plan-hl { border: 2px solid var(--fjg-gold-2); box-shadow: 0 18px 36px -16px rgba(117, 91, 0, 0.35); }
.fjg-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.fjg-plan-name { font-family: var(--fjg-font-head); font-size: 1.35rem; font-weight: 700; color: #000; }
.fjg-plan-badge { background: var(--fjg-bg-3); color: var(--fjg-muted); font-weight: 600; font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px; }
.fjg-plan-hl .fjg-plan-badge { background: var(--fjg-gold); color: var(--fjg-gold-ink); }
.fjg-plan-price { font-family: var(--fjg-font-head); font-size: 2.6rem; font-weight: 800; color: #000; line-height: 1.15; }
.fjg-plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--fjg-muted); }
.fjg-plan-desc { color: var(--fjg-muted); font-size: 0.95rem; }
.fjg-checks { list-style: none; padding: 0; margin: 0.4rem 0 0.8rem !important; display: flex; flex-direction: column; gap: 0.55rem; }
.fjg-checks li { position: relative; padding-left: 1.75rem; color: var(--fjg-text); font-size: 0.95rem; line-height: 1.55; }
.fjg-checks li::before { content: "check_circle"; font-family: 'Material Symbols Outlined'; position: absolute; left: 0; top: 0.05rem; color: var(--fjg-green); font-size: 1.2rem; line-height: 1; font-feature-settings: 'liga'; }
.fjg-plan .fjg-btns { margin-top: auto !important; }
.fjg-plan .wp-block-button, .fjg-plan .wp-block-button__link { width: 100%; }
.fjg-pay { text-align: center; margin-top: 2.5rem !important; display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
.fjg-pay-cap { color: var(--fjg-muted); font-size: 0.82rem; font-weight: 600; }
.fjg-paylogos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.fjg-paylogos span { background: #fff; border: 1px solid var(--fjg-line); border-radius: 0.55rem; padding: 0.4rem 0.9rem; font-weight: 800; font-size: 0.85rem; color: var(--fjg-navy); }
.fjg-pay-note { color: var(--fjg-muted); font-size: 0.85rem; }
.fjg-pay-note .material-symbols-outlined { color: var(--fjg-green); }

/* ── FAQ ────────────────────────────────────────────────────── */
.fjg-faqs { max-width: 860px; margin: 0 auto !important; display: flex; flex-direction: column; gap: 0.75rem; }
.fjg-faq { background: #fff; border-radius: 0.9rem; padding: 1.1rem 1.3rem; box-shadow: var(--fjg-shadow); }
.fjg-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--fjg-font-head); font-weight: 700; color: #000; font-size: 1.02rem; }
.fjg-faq summary::-webkit-details-marker { display: none; }
.fjg-faq summary::after { content: "expand_more"; font-family: 'Material Symbols Outlined'; font-size: 1.4rem; color: var(--fjg-gold-dark); transition: transform 0.2s ease; font-feature-settings: 'liga'; flex: none; }
.fjg-faq[open] summary::after { transform: rotate(180deg); }
.fjg-faq[open] summary { margin-bottom: 0.6rem; }

/* ── CTA ────────────────────────────────────────────────────── */
.fjg-cta { position: relative; overflow: hidden; }
.fjg-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255, 224, 143, 0.14), transparent 65%); pointer-events: none; }
.fjg-cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.fjg-chip-dark { background: rgba(255, 255, 255, 0.08); color: var(--fjg-gold); font-weight: 700; font-size: 0.82rem; padding: 0.3rem 0.85rem; border-radius: 9999px; }
.fjg-cta .fjg-h2 { color: #fff; max-width: 720px; }
.fjg-cta .fjg-lead { color: var(--fjg-navy-muted); max-width: 620px; }
.fjg-cta .fjg-ticks { color: var(--fjg-navy-muted); }

/* ── Anchors land below the sticky header ───────────────────── */
#packages, #faq { scroll-margin-top: 88px; }

/* ── Tablet & mobile ────────────────────────────────────────── */
@media (max-width: 1024px) {
	.fjg-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fjg-steps::before { display: none; }
}
@media (max-width: 900px) {
	.fjg-hero-grid, .fjg-split { grid-template-columns: 1fr; }
	.fjg-hero { padding-top: 2.5rem; }
	.fjg-float-a { left: 0; top: 0.5rem; }
	.fjg-float-b { right: 0; bottom: 1.5rem; }
}
@media (max-width: 700px) {
	.fjg-sec { padding: 3.5rem 0; }
	.fjg-container { padding: 0 1rem; }
	.fjg-grid-2, .fjg-grid-3 { grid-template-columns: 1fr; }
	.fjg-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
	.fjg-head { margin-bottom: 2.25rem !important; }
	.fjg-btns:not(.fjg-btns-center) .wp-block-button, .fjg-btns:not(.fjg-btns-center) .wp-block-button__link { width: 100%; }
	.fjg-float { display: none; } /* keep the phone clean on small screens */
	.fjg-plan { padding: 1.5rem; }
}

/* ── Dark mode (site toggle) ────────────────────────────────── */
[data-theme="dark"] .fjg-home {
	--fjg-bg: #0f1420;
	--fjg-bg-2: #141b2b;
	--fjg-bg-3: #1c2436;
	--fjg-card: #182033;
	--fjg-text: #e8e6df;
	--fjg-muted: #aab1c2;
	--fjg-line: #2a3348;
}
[data-theme="dark"] .fjg-home :is(.fjg-h1, .fjg-h2, .fjg-h3, .fjg-plan-name, .fjg-plan-price, .fjg-dd-t, .fjg-note-t, .fjg-faq summary) { color: #fff; }
[data-theme="dark"] .fjg-home :is(.fjg-note, .fjg-faq, .fjg-cost-card, .fjg-paylogos span) { background: var(--fjg-card); }
[data-theme="dark"] .fjg-home .fjg-btn-light .wp-block-button__link { background: var(--fjg-card); color: #fff; }
[data-theme="dark"] .fjg-home .fjg-screen .fjg-rt,
[data-theme="dark"] .fjg-home .fjg-screen .fjg-v,
[data-theme="dark"] .fjg-home .fjg-screen .fjg-row strong { color: #000; } /* the phone screen stays light */
[data-theme="dark"] .fjg-home .fjg-float .fjg-rt { color: #000; }

/* No gaps between header, homepage and footer (the bands meet edge to edge). */
.wp-site-blocks > .fjg-home { margin-block-start: 0 !important; }
.wp-site-blocks > .fjg-home + * { margin-block-start: 0 !important; }

/* If the icon font fails to load, keep icon names from spilling out as text. */
.fjg-home .material-symbols-outlined { width: 1em; overflow: hidden; }
.fjg-checks li::before, .fjg-faq summary::after { width: 1.2rem; overflow: hidden; display: inline-block; }
