/*
Theme Name: GIG Theme
Description: Theme for Global Immigration Group.
Version: 2.0
Text Domain: gig
*/
:root {
	--red: #a81822;
	--red-bright: #cc202c;
	--navy: #123356;
	--ink: #1f2937;
	--body: #4b5563;
	--line: #e5e7eb;
	--tint: #f9fafb;
	--white: #fff;
	--shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
	--head: "League Spartan", "Lexend", Arial, sans-serif;
}
* { box-sizing: border-box; }
#tu-van { scroll-margin-top: 120px; }
body { margin: 0; font: 16px/1.625 "Lexend", Arial, sans-serif; color: var(--body); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; }
.wrap { width: min(1216px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: var(--shadow); }
.topbar { background: var(--red); color: var(--white); font-size: 14px; font-weight: 600; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-note { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar-links svg { width: 14px; height: 14px; fill: currentColor; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.brand img { display: block; width: 86px; height: 62px; object-fit: contain; }
.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); font: 500 18px/1 var(--head); text-transform: uppercase; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle, .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; cursor: pointer; }
.search-toggle { background: var(--red); color: var(--white); }
.search-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.nav-toggle { display: none; background: none; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }
.search-panel { display: none; padding: 12px 0; border-top: 1px solid var(--line); }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border: 0; border-radius: 8px; background: var(--red); color: var(--white); font-family: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: var(--shadow); }
.btn:hover { background: var(--red-bright); }
.btn-square { border-radius: 0; box-shadow: 5px 5px 0 rgba(168, 24, 34, .35); }
.btn-white { border-radius: 0; background: var(--white); color: var(--red); }
.btn-white:hover { background: #f3f4f6; }

/* Section heading */
.sec { padding: 40px 0; }
.sec-tint { background: var(--tint); }
.sec-title { margin-bottom: 48px; font: 700 32px/1.2 var(--head); text-align: center; text-transform: uppercase; }
.sec-title::after { content: ""; display: block; width: 96px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: var(--red); }
.sec-title-light { color: var(--white); }
.sec-title-light::after { background: var(--white); }

/* Hero slider */
.hero { position: relative; }
.slides { position: relative; height: 418px; overflow: hidden; background: linear-gradient(180deg, #cfe0ee, #eef3f8 60%, #dfe6ec); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s; }
.slide.active { opacity: 1; visibility: visible; }
.slide-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; fill: #8fa6b8; opacity: .42; }
.slide-flag { position: absolute; right: 0; top: 0; width: 300px; height: 100%; }
.slide-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; padding-left: 78px; }
.slide-title { margin: 0; color: var(--red); font: 800 clamp(44px, 7vw, 92px)/1 var(--head); letter-spacing: .01em; }
.slide-sub { margin: 16px 0 0; padding-top: 18px; max-width: 860px; border-top: 2px solid var(--navy); color: var(--navy); font: 700 clamp(19px, 2.6vw, 34px)/1.2 var(--head); text-transform: uppercase; }
.slide-in .btn { margin-top: 30px; text-transform: uppercase; }
.slide-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 64px; height: 64px; margin-top: -32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); color: var(--red); cursor: pointer; font-size: 26px; font-weight: 700; }
.slide-prev { left: 32px; }
.slide-next { right: 32px; }
.hero-strip { background: var(--navy); color: var(--white); }
.hero-strip-in { display: flex; align-items: center; justify-content: center; gap: 48px; min-height: 52px; flex-wrap: wrap; font-size: 25px; font-weight: 500; }
.hero-strip a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.phone-dot { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--white); border-radius: 50%; }
.phone-dot svg { width: 18px; height: 18px; fill: currentColor; }

/* Stats */
.stats { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.stats li { flex: 1 1 200px; max-width: 300px; padding: 16px 8px 20px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); text-align: center; }
.stats strong { display: block; color: var(--red); font: 700 48px/1.3 var(--head); }
.stats strong small { font-size: 26px; margin-left: 4px; }
.stats span { font-size: 15px; font-weight: 500; }
.stats-note { margin: 18px 0 0; font-size: 13px; text-align: center; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { padding: 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.svc-card:hover h3 { color: var(--red); }
.svc-icon { display: block; width: 84px; height: 84px; margin: 0 auto 24px; fill: none; stroke: var(--red); stroke-width: 1.3; }
.svc-card h3 { margin-bottom: 18px; font-size: 16px; font-weight: 700; text-align: center; }
.svc-card p { margin: 0; font-size: 14.5px; line-height: 20px; text-align: justify; }

/* CTA banner */
.cta-banner { display: grid; grid-template-columns: 1fr 296px; min-height: 180px; margin-top: 48px; background: linear-gradient(90deg, #f6f9fc, #e4edf5); }
.cta-main { display: flex; flex-direction: column; justify-content: center; padding: 18px 40px; text-align: center; }
.cta-title { color: var(--red); font: 800 clamp(26px, 3.2vw, 42px)/1.1 var(--head); }
.cta-sub { margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--navy); color: var(--navy); font: 700 clamp(17px, 1.9vw, 25px)/1.25 var(--head); text-transform: uppercase; }
.cta-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-left: 2px solid var(--white); background: #f3f4f7; }
.cta-side .btn { padding: 11px 16px; font-size: 15.5px; text-transform: uppercase; }
.cta-side a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; text-decoration: none; }
.cta-side svg { width: 15px; height: 15px; fill: currentColor; }

/* Offices */
.offices-band { padding: 40px 0; background: var(--red); }
.office-grid { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.office { flex: 1 1 210px; max-width: 300px; padding: 16px 12px 22px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); text-align: center; font-size: 14.5px; line-height: 1.45; }
.office-pin { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.office-pin svg { width: 24px; height: 24px; fill: var(--white); }
.office strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 16.5px; text-transform: uppercase; }

/* Placeholder blocks hold the space for real client data */
.slot { padding: 22px; border: 2px dashed #cbd5e1; border-radius: 16px; background: var(--tint); text-align: center; font-size: 14.5px; }
.slot strong { display: block; color: var(--ink); margin-bottom: 4px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.story { min-height: 212px; display: grid; place-content: center; }
.center { text-align: center; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 2px; background: var(--red); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; }
.tl-num { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.tl-card { width: 100%; flex: 1; padding: 16px 28px 34px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow); text-align: center; font-size: 15px; }
.tl-card .svc-icon { width: 62px; height: 62px; margin-bottom: 12px; }
.tl-card strong { display: block; margin-bottom: 12px; color: var(--red); font-size: 18px; }

/* Process */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.process-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 560px; padding: 12px; border-radius: 16px; background: var(--white); box-shadow: 0 20px 40px rgba(0, 0, 0, .14); }
.process-photo { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; background: linear-gradient(150deg, var(--navy), #0c2238); }
.process-photo img { width: 58%; }
.process-badge { position: absolute; right: -36px; bottom: -24px; padding: 14px 16px; background: var(--red); color: var(--white); font-size: 14.5px; text-align: center; }
.process-badge strong { display: block; font-size: 24px; line-height: 1.2; }
.steps { display: grid; gap: 24px; align-content: start; max-height: 590px; overflow-y: auto; list-style: none; counter-reset: step; margin: 0; padding: 0 8px 0 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border-radius: 16px; background: var(--tint); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 700; }
.steps h3 { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.steps p { margin: 0; font-size: 16px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.news-thumb { position: relative; height: 220px; overflow: hidden; background: linear-gradient(135deg, var(--navy), #2a5b8a); }
.news-thumb .slide-sky { fill: #fff; opacity: .18; height: 70%; }
.news-mark { position: absolute; top: 50%; left: 50%; width: 78px; transform: translate(-50%, -50%); opacity: .95; }
.news-tag { position: absolute; top: 24px; left: 16px; padding: 3px 12px; background: var(--red); color: var(--white); font-size: 12.5px; font-weight: 600; }
.news-date { position: absolute; bottom: 14px; left: 16px; color: var(--white); font-size: 14px; font-weight: 600; }
.news-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.news-body h3 { flex: 1; margin-bottom: 16px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.news-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.news-more { color: var(--red); font-weight: 600; white-space: nowrap; }
.news-all { margin-top: 40px; text-align: center; }

/* Certificates */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.cert { min-height: 250px; display: grid; place-content: center; }

/* Lead form */
.lead { padding: 80px 0; background: linear-gradient(90deg, var(--red), #b0232c); color: var(--white); }
.lead-intro { max-width: 680px; margin: -16px auto 40px; text-align: center; font-weight: 500; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 832px; margin-inline: auto; padding: 32px; background: rgba(255, 255, 255, .1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.lead-form label { display: block; color: var(--white); font-weight: 600; }
.lead-form label input, .lead-form label select, .lead-form label textarea { display: block; margin-top: 8px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form em { color: #fda4af; font-style: normal; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: rgba(255, 255, 255, .2); color: var(--white); font: 500 16px inherit; font-family: inherit; }
.lead-form select option { color: var(--ink); }
.lead-form ::placeholder { color: rgba(255, 255, 255, .72); }
.lead-submit { grid-column: 1 / -1; margin-top: 12px; text-align: center; }
.form-note { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .85); font-size: 14px; text-align: center; }
.form-note a { color: var(--white); }
.form-error { grid-column: 1 / -1; margin: 0; padding: 10px; background: var(--white); color: var(--red); font-weight: 700; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #1f2937; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 32px; padding: 64px 0 56px; }
.footer-logo { display: block; width: 130px; margin: 0 auto 26px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { margin-bottom: 14px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.footer-contact a { text-decoration: none; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 18px; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; font-size: 14.5px; font-weight: 500; }
.footer-links a { text-decoration: none; }
.footer-links a::before { content: "\203A"; margin-right: 9px; }
.footer-links a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; margin-bottom: 24px; }
.social a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; background: #0068ff; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.newsletter { padding: 12px 8px; border-radius: 8px; background: #111827; }
.newsletter h3 { padding-inline: 8px; color: var(--white); font-size: 15px; }
.newsletter p { margin: 4px 8px 12px; color: #9ca3af; font-size: 13.5px; line-height: 1.45; }
.newsletter form { display: flex; }
.newsletter input[type=email] { flex: 1; min-width: 0; padding: 12px 14px; border: 0; border-radius: 6px 0 0 6px; background: #374151; color: var(--white); font: inherit; }
.newsletter button { padding: 0 18px; border: 0; border-radius: 0 6px 6px 0; background: var(--red-bright); color: var(--white); cursor: pointer; font: 700 14px inherit; font-family: inherit; }
.footer-legal { padding-bottom: 22px; color: #9ca3af; font-size: 13px; }
.footer-bottom { background: #111827; color: #9ca3af; font-size: 14px; font-weight: 500; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; }

/* Chat bubble */
.chat { position: fixed; right: 40px; bottom: 40px; z-index: 30; display: flex; align-items: center; gap: 14px; }
.chat-note { position: relative; width: 312px; padding: 12px 30px 12px 20px; border: 2px solid var(--red); border-radius: 16px; background: var(--white); color: var(--body); font-size: 13.5px; line-height: 1.3; text-decoration: none; }
.chat-note strong { display: block; color: #000; font-size: 14px; }
.chat-close { position: absolute; top: 4px; right: 8px; border: 0; background: none; color: #9ca3af; cursor: pointer; font-size: 16px; }
.chat-btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px rgba(168, 24, 34, .18); }
.chat-btn svg { width: 26px; height: 26px; fill: var(--white); }
.chat.closed .chat-note { display: none; }

/* Article and service pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 14px 0 0; list-style: none; margin: 0; color: #000; font-size: 14px; font-weight: 500; }
.crumbs li + li::before { content: "\203A"; margin-right: 12px; font-weight: 700; }
.crumbs a { text-decoration: none; }
.article { padding-bottom: 40px; }
.article h1 { margin: 16px 0 18px; color: #111827; font-size: 30px; font-weight: 700; }
.article-lead { margin: 0 0 22px; color: #374151; font-size: 16.5px; font-style: italic; font-weight: 700; }
.article-cta { margin: 0 0 22px; }
.prose h2 { margin: 28px 0 22px; padding: 10px 0; border-block: 1px solid var(--line); color: #374151; font-size: 25px; font-weight: 700; }
.prose h3 { margin: 26px 0 16px; color: #374151; font-size: 20px; font-weight: 700; }
.prose p { margin: 0 0 18px; }
.prose ul { list-style: none; margin: 0 0 20px; padding: 0; }
.prose ul > li { position: relative; margin-bottom: 8px; padding-left: 32px; color: #374151; }
.prose ul > li::before { content: "\2713"; position: absolute; left: 0; top: 3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fee2e2; color: var(--red); font-size: 12px; font-weight: 700; }
.prose ol { margin: 0 0 20px; padding-left: 24px; color: #374151; }
.prose ol > li { margin-bottom: 8px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 18px 0; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--tint); color: var(--ink); }
.prose a { color: var(--red); }
.faq h2 { margin-bottom: 8px; }
.faq details { margin-top: 12px; padding: 14px 20px; border-radius: 8px; background: var(--tint); }
.faq summary { color: var(--ink); font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.callout { margin: 22px 0; padding: 18px 24px; border-left: 4px solid var(--red-bright); border-radius: 4px 8px 8px 4px; background: #fdf2f3; color: #374151; }
.updated { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.article-head { padding-bottom: 8px; }
.pager { margin-top: 32px; text-align: center; }
.pager .page-numbers { display: inline-block; padding: 7px 12px; }

@media (max-width: 1180px) {
	.site-nav a { font-size: 16px; }
	.site-nav ul { gap: 16px; }
}
@media (max-width: 1024px) {
	.nav-toggle { display: grid; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px; background: var(--white); box-shadow: var(--shadow); }
	.site-nav.open { display: block; }
	.site-nav ul { flex-direction: column; gap: 16px; }
	.svc-grid { grid-template-columns: 1fr 1fr; }
	.news-grid, .story-grid { grid-template-columns: 1fr 1fr; }
	.cert-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.process { grid-template-columns: 1fr; }
	.process-media { min-height: 340px; }
	.process-badge { right: -4px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.slide-in { padding-left: 60px; }
}
@media (max-width: 720px) {
	.topbar-in { justify-content: center; padding: 6px 0; }
	.topbar-note { display: none; }
	.topbar-links { justify-content: center; font-size: 13px; gap: 10px; }
	.header-in { position: relative; justify-content: center; min-height: 80px; }
	.header-actions { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
	.slides { height: 240px; }
	.slide-in { padding-left: 20px; padding-right: 100px; }
	.slide-flag { width: 110px; }
	.slide-title { font-size: 34px; }
	.slide-sub { margin-top: 8px; padding-top: 8px; font-size: 15px; }
	.slide-in .btn { margin-top: 14px; padding: 9px 14px; font-size: 13px; }
	.slide-arrow { display: none; }
	.hero-strip-in { gap: 14px; padding: 8px 0; font-size: 14px; }
	.phone-dot { width: 24px; height: 24px; border-width: 1px; }
	.phone-dot svg { width: 12px; height: 12px; }
	.stats li { flex: 1 1 calc(50% - 4px); }
	.stats strong { font-size: 34px; }
	.sec-title { font-size: 30px; margin-bottom: 36px; }
	.cta-banner { grid-template-columns: 1fr; }
	.cta-main { padding: 18px; }
	.cta-side { border-left: 0; border-top: 2px solid var(--white); }
	.office { flex: 1 1 calc(50% - 4px); }
	.story-grid, .news-grid { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr; }
	.timeline::before { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
	.timeline li { flex-direction: row; align-items: stretch; gap: 12px; }
	.tl-num { flex: 0 0 48px; position: relative; }
	.tl-card { padding: 16px; }
	.lead { padding: 52px 0; }
	.lead-form { grid-template-columns: 1fr; padding: 20px; }
	.steps { max-height: none; }
	.footer-grid { grid-template-columns: 1fr; padding-top: 44px; }
	.chat { right: 16px; bottom: 16px; }
	.chat-note { width: 230px; font-size: 12.5px; }
	.article h1 { font-size: 26px; }
	.prose h2 { font-size: 21px; }
}
