/* =========================================================================
   SMconsultancy — Main stylesheet
   Modern, professional workforce-solutions theme.
   ========================================================================= */

:root {
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

	--navy-900: #0b2545;
	--navy-800: #0e2c52;
	--navy-700: #13315c;
	--navy-600: #1a3d73;

	--blue-700: #1d4ed8;
	--blue-600: #2563eb;
	--blue-500: #3b82f6;
	--blue-100: #dbeafe;
	--blue-50:  #eff6ff;

	--amber-500: #f59e0b;
	--amber-400: #fbbf24;

	--slate-900: #0f172a;
	--slate-800: #1e293b;
	--slate-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748b;
	--slate-400: #94a3b8;
	--slate-200: #e2e8f0;
	--slate-100: #f1f5f9;
	--slate-50:  #f8fafc;

	--white: #ffffff;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;

	--shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
	--shadow: 0 8px 24px rgba(15, 23, 42, .10);
	--shadow-lg: 0 20px 45px rgba(15, 23, 42, .16);

	--container: 1200px;
	--header-h: 74px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--slate-700);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--navy-900);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-700); }

ul, ol { padding-left: 1.3em; }

input, textarea, select, button { font-family: inherit; font-size: inherit; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 50px; border: 0; cursor: pointer;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem;
	line-height: 1; text-decoration: none !important; transition: all .25s ease;
	white-space: nowrap;
}
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, .36); }
.btn--accent { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 8px 20px rgba(245, 158, 11, .3); }
.btn--accent:hover { background: var(--amber-400); color: var(--navy-900); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--blue-600); border: 2px solid var(--blue-600); }
.btn--outline:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-900); box-shadow: var(--shadow); }
.btn--white:hover { background: var(--blue-50); color: var(--blue-700); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .86rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Top bar ---------- */
.topbar {
	background: var(--navy-900); color: #cbd5e1; font-size: .83rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; text-decoration: none; }
.topbar-item:hover { color: #fff; }
.topbar-item svg { color: var(--amber-400); flex: none; }
.topbar-right { gap: 10px; }
.topbar .social-links { display: flex; gap: 4px; }
.topbar .social-link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%; color: #cbd5e1; transition: all .2s;
}
.topbar .social-link:hover { background: var(--blue-600); color: #fff; }
.topbar-address { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: -40px; z-index: 200;
}
.main-header {
	background: #fff; border-bottom: 1px solid var(--slate-200);
	box-shadow: var(--shadow-sm);
}
.main-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.site-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--navy-900); }
.site-logo svg { color: var(--blue-600); }
.site-logo-img {
	width: auto; height: 65px; object-fit: contain; flex: none;
}
.site-logo-text { line-height: 1.1; }
.site-logo--light { color: #fff; }
.custom-logo { max-height: 70px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: inline-flex; }

.nav-toggle {
	display: none; background: none; border: 0; color: var(--navy-900); cursor: pointer;
	width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle:hover { background: var(--slate-100); }

/* ---------- Navigation ---------- */
.main-navigation { flex: 1; display: flex; justify-content: flex-end; }
.nav-menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
	color: var(--slate-800); font-weight: 600; font-size: .95rem; border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a, .nav-menu > li.current-menu-ancestor > a {
	color: var(--blue-600); background: var(--blue-50);
}
.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
	border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all .22s ease; z-index: 300;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .sub-menu a {
	display: flex; align-items: center; gap: 8px; padding: 9px 12px;
	color: var(--slate-700); font-size: .9rem; border-radius: 6px;
}
.nav-menu .sub-menu a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-menu .sub-menu .sub-menu { top: 0; left: 100%; margin-left: 4px; }

.menu-item-has-children > a::after {
	content: ''; display: inline-block; width: 7px; height: 7px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); margin-left: 4px; margin-bottom: 2px;
}
.sub-menu .menu-item-has-children > a::after {
	border-right: 0; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
	margin-left: auto; margin-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
	position: relative; color: #fff; padding: 90px 0 150px;
	background-size: cover; background-position: center;
}
.hero::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(11, 37, 69, .94) 0%, rgba(11, 37, 69, .82) 45%, rgba(30, 58, 138, .55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .badge { background: rgba(255,255,255,.14); color: #fff; }
.hero h1 { color: #fff; margin-bottom: 18px; font-size: 2.8rem; }
.hero p.hero-sub { color: #dbeafe; font-size: 1.15rem; margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats cards overlapping the hero bottom edge (half on, half off) */
.hero-stats-wrap {
	position: relative; z-index: 10; margin-top: -70px;
}
.hero-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0;
}
.hero-stat {
	position: relative; overflow: hidden;
	background: rgba(255, 255, 255, .22);
	border: 1px solid rgba(255, 255, 255, .5);
	backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
	border-radius: var(--radius); padding: 28px 20px; text-align: center;
	box-shadow: 0 14px 34px rgba(11, 37, 69, .30);
	transition: transform .3s ease, box-shadow .3s ease;
}
.hero-stat::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
}
.hero-stat:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11, 37, 69, .4); }
.hero-stat strong {
	display: block; font-family: var(--font-head); font-size: 2rem;
	color: #f59e0b; font-weight: 800; line-height: 1.15;
}
.hero-stat span {
	display: block; color: #000; font-size: .9rem; line-height: 1.4;
}

/* ---------- Welcome section ---------- */
.welcome-section { padding: 90px 0 90px; }
.section--soft {
	background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
	border-top: 0;
}
.welcome-section .split { align-items: center; }
.welcome-content .section-title { margin: 16px 0 18px; font-size: 2rem; }
.welcome-content .entry-content p { font-size: 1.08rem; color: var(--slate-600); }
.welcome-content .entry-content p:last-child { margin-bottom: 0; }
.welcome-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.welcome-section .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Brands section */
.section--brands { background: #fff; border-top: 1px solid var(--slate-100); }
.section--brands .section-head { margin-bottom: 44px; }

/* ---------- Badge / section head ---------- */
.badge {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--blue-50); color: var(--blue-700);
	padding: 6px 14px; border-radius: 50px; font-weight: 700; font-size: .78rem;
	text-transform: uppercase; letter-spacing: .06em;
}
.section { padding: 84px 0; }
.section--gray { background: var(--slate-50); }
.section--navy { background: var(--navy-900); color: #cbd5e1; }
.section--navy .section-title, .section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 48px; }
.section-head--left { margin-left: 0; }
.section-head .badge { margin-bottom: 14px; }
.section-head .section-title { margin-bottom: 14px; font-size: 2rem; }
.section-head .section-text { color: var(--slate-500); font-size: 1.05rem; margin: 0; }
.section--navy .section-head .section-text { color: #a9c1e0; }
.section-head--center { text-align: center; }

/* ---------- Cards ---------- */
.card {
	background: #fff; border-radius: var(--radius); border: 1px solid var(--slate-200);
	box-shadow: var(--shadow-sm); transition: all .3s ease; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Service card */
.service-card { padding: 30px 26px; position: relative; }
.service-card .service-icon {
	width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff;
	margin-bottom: 20px; box-shadow: 0 10px 20px rgba(37, 99, 235, .3);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card h3 a { color: var(--navy-900); }
.service-card h3 a:hover { color: var(--blue-600); }
.service-card p { color: var(--slate-500); font-size: .95rem; margin-bottom: 16px; }
.service-card .service-link {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue-600);
}
.service-card .service-link:hover { gap: 10px; color: var(--navy-700); }

/* Insight / report card */
.insight-card { display: flex; flex-direction: column; }
.insight-card .card-media { aspect-ratio: 16/9; overflow: hidden; }
.insight-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insight-card:hover .card-media img { transform: scale(1.06); }
.insight-card .card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.insight-card .card-badge {
	align-self: flex-start; margin-bottom: 12px; font-size: .72rem;
	background: var(--blue-50); color: var(--blue-700); padding: 5px 12px; border-radius: 50px; font-weight: 700;
}
.insight-card h3 { font-size: 1.05rem; margin-bottom: 12px; flex: 1; }
.insight-card h3 a { color: var(--navy-900); }
.insight-card h3 a:hover { color: var(--blue-600); }
.insight-card .card-link {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--blue-600);
}

/* Story card */
.story-card .card-media { aspect-ratio: 16/10; overflow: hidden; }
.story-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .card-media img { transform: scale(1.06); }
.story-card .card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.story-card .story-tag {
	display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	color: var(--amber-500); margin-bottom: 10px;
}
.story-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.story-card h3 a { color: var(--navy-900); }
.story-card h3 a:hover { color: var(--blue-600); }
.story-card .story-excerpt { color: var(--slate-500); font-size: .93rem; flex: 1; margin-bottom: 14px; }
.story-results { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.story-results span {
	background: var(--blue-50); color: var(--blue-700); font-size: .78rem; font-weight: 600;
	padding: 6px 12px; border-radius: 50px;
}
.story-results strong { color: var(--navy-900); }
.story-card .card-link {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--blue-600);
}

/* Content-based story card (no image) */
.story-card--content { display: flex; flex-direction: column; }
.story-card--content .card-body {
	padding: 30px 28px; display: flex; flex-direction: column; flex: 1; position: relative;
}
.story-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.story-icon {
	width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; flex: none;
	box-shadow: 0 6px 14px rgba(37, 99, 235, .3);
}
.story-card--content .story-tag { margin-bottom: 0; }
.story-card--content h3 { font-size: 1.15rem; margin-bottom: 12px; }
.story-card--content .story-excerpt { margin-bottom: 16px; }
.story-card--content .card-link {
	margin-top: auto; padding-top: 16px; border-top: 1px solid var(--slate-100);
}
.story-card--content:hover { transform: translateY(-6px); }
.story-card--content .card-body::after {
	content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 5px;
	background: linear-gradient(90deg, var(--blue-600), var(--blue-500), var(--amber-400));
	border-radius: var(--radius) var(--radius) 0 0;
}

/* Job card */
.job-card { padding: 26px; display: flex; flex-direction: column; }
.job-card .job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.job-card .job-meta span {
	display: inline-flex; align-items: center; gap: 6px; background: var(--slate-100); color: var(--slate-600);
	font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 50px;
}
.job-card .job-meta span svg { color: var(--blue-600); }
.job-card h3 { font-size: 1.15rem; }
.job-card h3 a { color: var(--navy-900); }
.job-card h3 a:hover { color: var(--blue-600); }
.job-card .job-excerpt { color: var(--slate-500); font-size: .93rem; flex: 1; }
.job-card .job-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }

/* Team card */
.team-card { text-align: left; padding-bottom: 0; }
.team-card .card-media { aspect-ratio: 1/1.05; overflow: hidden; }
.team-card .card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card .card-body { padding: 22px 20px 28px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .team-role { color: var(--blue-600); font-weight: 600; font-size: .9rem; }
.team-card .team-bio { color: var(--slate-500); font-size: .9rem; margin: 12px 0 0; line-height: 1.6; }

/* ---------- Brand strip ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
	padding: 32px 20px; min-height: 170px; transition: all .3s ease;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.brand-icon {
	width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff;
	margin-bottom: 16px; box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}
.brand-card:hover .brand-icon { transform: scale(1.06); }
.brand-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.brand-card p { margin: 0; color: var(--slate-500); font-size: .88rem; line-height: 1.5; }

/* ---------- Scam / notice banner ---------- */
.notice {
	background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
	color: #dbe4f0; padding: 64px 0;
}
.notice-inner { display: grid; grid-template-columns: 1fr 1.9fr; gap: 40px; align-items: stretch; }
.notice h2 { color: #fff; font-size: 1.5rem; margin-bottom: 18px; }
.notice-badge { background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 14px; width: fit-content; }
.notice-content { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.notice-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 4px;
}
.notice-item {
	display: flex; align-items: flex-start; gap: 12px; color: #e6eef9;
	font-size: .92rem; line-height: 1.55; background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .10); border-radius: 12px; padding: 14px 16px;
}
.notice-item svg { color: var(--amber-400); flex: none; margin-top: 3px; }
.notice-img {
	border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
	display: flex; min-height: 100%;
}
.notice-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative; padding: 70px 0; text-align: center; color: #fff; overflow: hidden;
	background: linear-gradient(120deg, var(--blue-700), var(--navy-700));
}
.cta-band::before {
	content: ''; position: absolute; inset: 0; opacity: .12;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.5'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 12px; position: relative; }
.cta-band p { color: #dbeafe; max-width: 620px; margin: 0 auto 30px; position: relative; font-size: 1.05rem; }
.cta-band .btn { position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative; color: #fff; padding: 84px 0 76px; background-size: cover; background-position: center;
}
.page-hero::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(110deg, rgba(11,37,69,.95), rgba(30,58,138,.75));
}
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; font-size: 2.8rem; }
.page-hero .page-hero-sub { color: #dbeafe; font-size: 1.08rem; margin: 0; max-width: 600px; }
.breadcrumbs { position: relative; z-index: 2; margin-bottom: 18px; font-size: .84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: #a9c1e0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #a9c1e0; }
.breadcrumbs a { color: #dbeafe; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--amber-400); }

/* ---------- Content pages ---------- */
.content-wrap { padding: 70px 0 90px; }
.content-page { max-width: 900px; margin: 0 auto; }
.content-page h2 { margin-top: 1.6em; }

/* Single-page content headings — smaller, about half of section headings */
.content-page h2,
.service-main h2,
.single-job-body h2 {
	font-size: 1.5rem;
}
.content-page h3,
.service-main h3,
.single-job-body h3 {
	font-size: 1.15rem;
}
.content-page ul { margin-bottom: 1.1em; }
.content-page li { margin-bottom: 6px; }
.content-page img { border-radius: var(--radius); margin: 24px 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }

/* Stats band */
.stats-band { background: var(--navy-900); padding: 50px 0; }
.stats-band .hero-stats { margin: 0; }

/* Feature list (checkmarks) */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
	display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
	border-bottom: 1px solid var(--slate-100);
}
.check-list li:last-child { border-bottom: 0; }
.check-list svg { color: var(--blue-600); flex: none; margin-top: 3px; }

/* Two column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ---------- Single service ---------- */
.single-hero-band { background: var(--navy-900); color: #cbd5e1; padding: 46px 0; }
.single-hero-band h1 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.single-hero-band .single-excerpt { max-width: 760px; font-size: 1.05rem; color: #a9c1e0; }
.single-hero-band .service-icon-inline { color: var(--amber-400); margin-bottom: 14px; }

/* Service single layout — content left, sticky highlights right */
.service-single-layout {
	display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start;
}
.service-main { min-width: 0; }
.service-sidebar { position: sticky; top: 96px; }
.highlight-card {
	background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
	color: #cbd5e1; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-lg);
}
.highlight-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.highlight-card .check-list li { border-bottom: 1px solid rgba(255,255,255,.12); }
.highlight-card .check-list li:last-child { border-bottom: 0; }
.highlight-card .check-list svg { color: var(--amber-400); }
.highlight-card .check-list span { color: #dbeafe; font-size: .93rem; }
.highlight-card .btn { width: 100%; }

/* ---------- Tables (job details) ---------- */
.meta-table { width: 100%; border-collapse: collapse; }
.meta-table th, .meta-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--slate-200); }
.meta-table th { width: 42%; color: var(--navy-900); font-weight: 700; }
.meta-table td { color: var(--slate-600); }

/* Skill chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li {
	background: var(--blue-50); color: var(--blue-700); font-size: .84rem; font-weight: 600;
	padding: 6px 14px; border-radius: 50px;
}

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* ---------- Forms ---------- */
.wpcf7-form { display: grid; gap: 18px; }
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7-form label {
	display: block; font-weight: 600; color: var(--navy-900); font-size: .92rem; margin-bottom: 8px;
}
.wpcf7-form input[type='text'], .wpcf7-form input[type='email'], .wpcf7-form input[type='tel'],
.wpcf7-form input[type='url'], .wpcf7-form textarea, .wpcf7-form select {
	width: 100%; padding: 14px 16px; border: 1.5px solid var(--slate-200); border-radius: 10px;
	background: var(--slate-50); color: var(--slate-800); font-size: .95rem;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: var(--slate-400); }
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
	outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form .form-full { grid-column: 1 / -1; }
.wpcf7-form .form-full select { cursor: pointer; }
.wpcf7-form p { margin: 0; }
.wpcf7-form .wpcf7-acceptance {
	display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1;
	font-size: .86rem; color: var(--slate-600); font-weight: 500;
}
.wpcf7-form .wpcf7-acceptance input { width: auto; margin-top: 3px; accent-color: var(--blue-600); }
.wpcf7-form .wpcf7-acceptance a { color: var(--blue-600); text-decoration: underline; }
.wpcf7-form .wpcf7-submit {
	grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
	background: var(--blue-600); color: #fff; border: 0; border-radius: 50px;
	padding: 15px 38px; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
	cursor: pointer; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); transition: all .25s ease;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--blue-700); transform: translateY(-2px); }
.wpcf7-form .wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.wpcf7-response-output { grid-column: 1 / -1; border-radius: 10px; font-size: .9rem; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #f87171; color: #991b1b; background: #fef2f2;
}
.wpcf7-not-valid { border-color: #f87171 !important; }
.wpcf7-not-valid-tip { color: #dc2626; font-size: .8rem; margin-top: 4px; }

/* ---------- Modal ---------- */
.modal {
	position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
	padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 37, 69, .72); backdrop-filter: blur(3px); }
.modal-box {
	position: relative; background: #fff; border-radius: var(--radius-lg);
	width: 100%; max-width: 660px; max-height: 90vh; overflow-y: auto;
	padding: 38px; box-shadow: var(--shadow-lg); animation: modalIn .28s ease;
}
@keyframes modalIn {
	from { opacity: 0; transform: translateY(18px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
	position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 10px;
	border: 0; background: var(--slate-100); color: var(--slate-700); cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close:hover { background: var(--slate-200); color: var(--navy-900); }
.modal-box h3 { margin-bottom: 8px; padding-right: 40px; }
.modal-box .text-muted { margin-bottom: 20px; }
.modal-box .wpcf7-form { margin-top: 4px; }
body.modal-open { overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 50px; align-items: start; }
.contact-info-card {
	background: var(--navy-900); color: #cbd5e1; border-radius: var(--radius-lg); padding: 34px;
	position: sticky; top: 96px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card ul { list-style: none; padding: 0; margin: 0; }
.contact-info-card li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); align-items: flex-start; }
.contact-info-card li:last-child { border-bottom: 0; }
.contact-info-card svg { color: var(--amber-400); flex: none; margin-top: 3px; }
.contact-info-card a { color: #dbeafe; }
.contact-info-card a:hover { color: #fff; }
.contact-info-card .social-links { display: flex; gap: 8px; margin-top: 20px; }
.contact-info-card .social-link {
	width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; transition: all .2s;
}
.contact-info-card .social-link:hover { background: var(--blue-600); }

.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }

/* ---------- Offices ---------- */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office-card { padding: 24px; }
.office-card h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.office-card h4 svg { color: var(--blue-600); }
.office-card p { margin: 0; color: var(--slate-500); font-size: .92rem; line-height: 1.6; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 50px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers, .pagination .nav-links a, .pagination .nav-links span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
	padding: 0 14px; border-radius: 10px; border: 1px solid var(--slate-200); background: #fff;
	color: var(--slate-700); font-weight: 600; font-size: .92rem;
}
.pagination .page-numbers.current, .pagination .nav-links .current { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.pagination a:hover { background: var(--blue-50); color: var(--blue-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #94a3b8; padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand { margin-bottom: 18px; }
.footer-about { font-size: .93rem; line-height: 1.7; margin-bottom: 20px; }
.footer-title {
	color: #fff; font-size: 1rem; margin-bottom: 18px; padding-bottom: 12px;
	border-bottom: 1px solid rgba(255,255,255,.12); position: relative;
}
.footer-title::after {
	content: ''; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px;
	background: var(--amber-500); border-radius: 3px;
}
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: #94a3b8; display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; }
.footer-menu a::before {
	content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); flex: none;
}
.footer-menu a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; }
.footer-contact svg { color: var(--amber-400); flex: none; margin-top: 3px; }
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: #fff; }
.site-footer .social-links { display: flex; gap: 8px; }
.site-footer .social-link {
	width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px; background: rgba(255,255,255,.08); color: #cbd5e1; transition: all .2s;
}
.site-footer .social-link:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex;
	align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem;
}
.legal-menu { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.legal-menu a { color: #94a3b8; }
.legal-menu a:hover { color: #fff; }
.copyright { margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
	position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--blue-600); color: #fff; border: 0; cursor: pointer; z-index: 150;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-700); }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.text-muted { color: var(--slate-500); }
.section-head .view-all { margin-top: 22px; }
.section-head__view-all { margin-top: 40px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.grid--4, .team-grid { grid-template-columns: repeat(3, 1fr); }
	.brand-strip { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.office-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid, .split, .notice-inner { grid-template-columns: 1fr; }
	.notice-grid { grid-template-columns: 1fr; }
	.notice-img { min-height: 240px; }
	.hero-stats { grid-template-columns: repeat(2, 1fr); }
	.service-single-layout { grid-template-columns: 1fr; }
	.service-sidebar { position: static; }
	.service-sidebar .highlight-card { margin-top: 0; }
	.contact-info-card { position: static; }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--slate-200);
		box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .35s ease; flex-direction: column;
	}
	.main-navigation.open { max-height: 78vh; overflow-y: auto; }
	.main-navigation .nav-menu { flex-direction: column; padding: 12px 20px 22px; gap: 0; }
	.nav-menu > li > a { width: 100%; }
	.nav-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; border-left: 3px solid var(--blue-100); border-radius: 0; margin: 0 0 6px 14px; padding: 0;
	}
	.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
	.header-cta span { display: none; }
	.header-cta { padding: 10px; }
	.grid--3, .grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	:root { --header-h: 64px; }
	.hero { padding: 56px 0 105px; }
	.hero h1 { font-size: 2.2rem; }
	.hero-stats-wrap { margin-top: -50px; }
	.hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.hero-stat { padding: 18px 14px; }
	.hero-stat strong { font-size: 1.5rem; }
	.topbar-address { display: none; }
	.topbar-left { width: 100%; justify-content: center; }
	.topbar-right { display: none; }
	.section { padding: 60px 0; }
	.welcome-section { padding: 76px 0 50px; }
	.grid--4, .team-grid, .office-grid, .brand-strip { grid-template-columns: 1fr; }
	.hero-stats { grid-template-columns: repeat(2, 1fr); }
	.wpcf7-form .form-row { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-bottom { justify-content: center; text-align: center; }
	.page-hero { padding: 56px 0 50px; }
	.content-wrap { padding: 50px 0 60px; }
	.form-card, .contact-info-card, .modal-box { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}