/* ==========================================================
   ComplianceTalks Pro — main stylesheet
   Navy & Gold professional theme
   ========================================================== */

:root {
	--navy-900: #0a1a33;
	--navy-800: #0f2547;
	--navy-700: #16335f;
	--navy-600: #234a80;
	--gold-500: #c9a24a;
	--gold-400: #d8b766;
	--gold-100: #f6eedb;
	--ink: #1b2433;
	--muted: #5b6678;
	--line: #e3e7ee;
	--bg: #ffffff;
	--bg-tint: #f5f7fb;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px -12px rgba(10, 26, 51, .18);
	--shadow-lg: 0 24px 50px -20px rgba(10, 26, 51, .35);
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-500); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h3, h4 { font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1em; }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.ct-icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.15em; }

.eyebrow {
	display: inline-block;
	font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gold-500); margin-bottom: .8em;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .95rem;
	border: 2px solid transparent; cursor: pointer; transition: all .2s; line-height: 1.2;
	font-family: inherit;
}
.btn--sm { padding: .6em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; margin-bottom: .5em; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(201, 162, 74, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--navy-700); }
.link-arrow .ct-icon { transition: transform .2s; }
.link-arrow:hover .ct-icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .75); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-400); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }

.brand .custom-logo { max-height: 56px; width: auto; }
.brand__text { display: flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand__text strong { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.1; }
.brand__text small { display: block; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.brand__mark {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
	background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
	color: var(--gold-400); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
	box-shadow: inset 0 0 0 2px rgba(201, 162, 74, .5);
}
.brand__text--light, .brand__text--light strong { color: #fff; }
.brand__text--light small { color: rgba(255, 255, 255, .6); }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; padding: 10px 12px; color: var(--navy-900); font-weight: 500; font-size: .95rem; border-radius: 8px; }
.primary-nav .menu a:hover,
.primary-nav .current-menu-item > a { color: var(--gold-500); }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 400px at 85% -10%, rgba(201, 162, 74, .22), transparent 60%),
		linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
	padding: 96px 0 110px;
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .45em; }
.hero__text { font-size: 1.1rem; color: rgba(255, 255, 255, .8); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__card {
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 20px; padding: 30px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero__card-head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hero__card-head strong { display: block; font-size: 1.05rem; }
.hero__card-head small { color: rgba(255, 255, 255, .65); font-size: .84rem; }
.seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.stats { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 16px; }
.stats li { display: flex; align-items: baseline; gap: 14px; }
.stats__num { font-family: var(--font-head); font-size: 2rem; color: var(--gold-400); min-width: 84px; }
.stats__label { color: rgba(255, 255, 255, .82); }
.hero__card-foot { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold-500); transition: width .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-card__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
	background: var(--gold-100); color: var(--navy-700); font-size: 1.4rem;
}
.service-card h3 { font-size: 1.12rem; margin-bottom: .45em; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Post grid / cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--gold-400); font-size: 2.6rem; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: 1.12rem; margin: .4em 0 .5em; }
.post-card__title a { color: var(--navy-900); }
.post-card__title a:hover { color: var(--gold-500); }
.post-card__excerpt { color: var(--muted); font-size: .93rem; flex: 1; }

.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.entry-meta > * + *::before { content: "•"; margin-right: 14px; color: var(--line); }
.entry-meta > .cat-pill + *::before { content: none; }
.cat-pill { background: var(--gold-100); color: var(--navy-700); padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .74rem; letter-spacing: .02em; }
.cat-pill:hover { background: var(--gold-500); color: var(--navy-900); }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.why__intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.why__intro p { color: var(--muted); }
.why__list { list-style: none; counter-reset: why; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__list li { counter-increment: why; padding: 24px; border-radius: var(--radius); background: var(--bg-tint); border-left: 3px solid var(--gold-500); }
.why__list li::before { content: "0" counter(why); display: block; font-family: var(--font-head); color: var(--gold-500); font-size: 1.4rem; margin-bottom: 6px; }
.why__list strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.why__list span { color: var(--muted); font-size: .93rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(201, 162, 74, .1); }
.cta__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { color: rgba(255, 255, 255, .75); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta__form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; flex: 1 1 360px; max-width: 480px; }

/* ---------- Inner pages ---------- */
.page-hero {
	background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
	color: #fff; padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0; }
.page-hero--post h1 { margin: .35em 0 .3em; }
.page-hero .entry-meta { color: rgba(255, 255, 255, .7); }
.page-hero .entry-meta > * + *::before { color: rgba(255, 255, 255, .3); }
.page-hero__desc { color: rgba(255, 255, 255, .75); margin-top: 10px; }
.page-hero--404 { padding: 110px 0; text-align: center; }
.page-hero--404 .search-form { max-width: 460px; margin: 24px auto; }
.byline { color: rgba(255, 255, 255, .7); margin: 0; font-size: .9rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; padding-top: 56px; padding-bottom: 80px; }
.page-body { padding-top: 56px; padding-bottom: 80px; }
.post-thumb { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }

.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--gold-500); background: var(--gold-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th { background: var(--navy-800); color: #fff; text-align: left; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--line); }
.entry-content tr:nth-child(even) td { background: var(--bg-tint); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content code { background: var(--bg-tint); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.alignwide { margin-left: -60px; margin-right: -60px; }
.aligncenter { margin-left: auto; margin-right: auto; }

.post-tags { margin: 30px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { background: var(--bg-tint); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; font-size: .82rem; color: var(--muted); }

.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); margin: 30px 0; }
.author-box img { border-radius: 50%; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius); background: var(--navy-800); color: #fff; margin-bottom: 36px; }
.post-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.post-cta strong { color: var(--gold-400); }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy-900); font-weight: 600; }
.post-navigation a:hover { border-color: var(--gold-500); }
.post-navigation small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.post-navigation .nav-next { text-align: right; }

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--navy-900); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* Sidebar */
.layout__side { display: flex; flex-direction: column; gap: 26px; }
.side-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 26px; border-radius: var(--radius); position: sticky; top: 100px; }
.side-cta h3 { color: #fff; font-family: var(--font-head); font-size: 1.35rem; }
.side-cta p { color: rgba(255, 255, 255, .75); font-size: .92rem; }
.side-cta .btn--outline { border-color: rgba(255, 255, 255, .4); color: #fff; }
.side-cta .btn--outline:hover { background: #fff; color: var(--navy-900); }
.widget { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.widget-title { font-size: 1rem; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--gold-100); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--gold-500); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.widget li:last-child { border-bottom: 0; }

/* Forms */
.search-form { display: flex; gap: 8px; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], textarea, select {
	width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 74, .2); }
input[type="submit"], .wpcf7-submit, .wpforms-submit {
	background: var(--gold-500) !important; color: var(--navy-900) !important; border: 0 !important;
	padding: 12px 26px !important; border-radius: 999px !important; font-weight: 600 !important; cursor: pointer;
}

/* Comments */
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: .82rem; color: var(--muted); }
.comment-respond { margin-top: 30px; padding: 26px; background: var(--bg-tint); border-radius: var(--radius); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 4px; }

.empty-state { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state .search-form { max-width: 420px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 50px; padding-top: 70px; padding-bottom: 50px; }
.footer-grid:has(> :nth-child(4)) { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col--brand p { margin-top: 18px; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--gold-400); }
.footer-menu, .site-footer .menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .site-footer .menu li { margin-bottom: 9px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .ct-icon { color: var(--gold-500); margin-top: 4px; }
.site-footer .widget { border-color: rgba(255, 255, 255, .1); padding: 0; border: 0; }
.site-footer .widget-title { color: #fff; border-color: rgba(255, 255, 255, .1); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .82rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-note { color: rgba(255, 255, 255, .5); max-width: 560px; }

/* WhatsApp float */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 200;
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: #fff; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6);
	transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	* { transition: none !important; }
}

/* WP core alignments */
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky .post-card__title::before { content: "★ "; color: var(--gold-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__card { max-width: 520px; }
	.service-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.why { grid-template-columns: 1fr; gap: 36px; }
	.layout { grid-template-columns: 1fr; }
	.side-cta { position: static; }
	.footer-grid, .footer-grid:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; }
	.alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 10px;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 14px 20px 20px; display: none;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: center; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.container { padding: 0 16px; }
	.topbar__links { gap: 14px; font-size: .78rem; }
	.topbar__links a:last-child { display: none; }
	.hero { padding: 64px 0 72px; }
	.section { padding: 64px 0; }
	.service-grid, .post-grid, .post-grid--2, .why__list { grid-template-columns: 1fr; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.footer-grid, .footer-grid:has(> :nth-child(4)) { grid-template-columns: 1fr; gap: 34px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.brand__text small { display: none; }
	.admin-bar .site-header { top: 0; }
}

/* ---------- About the firm ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: start; }
.about__profile {
	background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 28px;
	text-align: center; box-shadow: var(--shadow); position: relative;
}
.about__profile::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold-500); }
.about__photo {
	width: 140px; height: 140px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden;
	background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
	box-shadow: 0 0 0 5px var(--gold-100), 0 0 0 7px var(--gold-500);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__initials { display: grid; place-items: center; height: 100%; font-family: var(--font-head); font-size: 2.8rem; color: var(--gold-400); }
.about__name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--navy-900); margin-bottom: .2em; }
.about__role { color: var(--navy-600); font-weight: 600; font-size: .9rem; margin-bottom: .3em; }
.about__quals { color: var(--muted); font-size: .9rem; margin: 0; }
.about__body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2em; }
.about__sub { color: var(--gold-500); font-weight: 600; margin-bottom: 1.2em; }
.about__body > p { color: var(--muted); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; text-align: left; }
.creds__item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: var(--radius-sm); padding: 14px 16px; }
.creds dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.creds dd { margin: 0; font-weight: 600; color: var(--navy-900); font-size: .95rem; word-break: break-word; }
.about__office { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--navy-700) !important; margin: 0; }
.about__office .ct-icon { color: var(--gold-500); margin-top: 4px; }

.footer-prop { margin: 0 0 10px; color: rgba(255, 255, 255, .85); }
.footer-prop strong { color: #fff; }
.footer-creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: .82rem; }
.footer-creds span { display: block; color: var(--gold-400); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1024px) {
	.about { grid-template-columns: 1fr; gap: 36px; }
	.about__profile { max-width: 360px; }
	.creds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.about__profile { max-width: none; }
}

/* ==========================================================
   v2 — Corporate Profile sections + SEO UI
   ========================================================== */
.brand__logo { display: block; }
.brand__logo img, .brand .custom-logo { height: 52px; width: auto; }
.footer-col--brand .brand__logo img { height: 58px; }
.topbar__badge { color: var(--gold-400); font-weight: 600; margin-right: 8px; }
.eyebrow--light { color: var(--gold-400); }
.h-sub { display: block; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); margin-top: .4em; }

.hero__tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-size: .85rem; }
.hero__tags a:hover { border-color: var(--gold-400); color: var(--gold-400); }

.about__profile { position: sticky; top: 100px; }
.about__photo img { width: 140px; height: 140px; }
.about__photo:has(img[alt=""]) { background: #fff; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.principle h3 { font-size: 1rem; margin-bottom: .4em; }
.principle p { color: var(--muted); font-size: .9rem; margin: 0; }
.philosophy { margin: 0; padding: 26px 30px; border-radius: var(--radius); background: var(--navy-800); color: #fff; position: relative; }
.philosophy::before { content: "\201C"; position: absolute; top: -6px; left: 18px; font-family: var(--font-head); font-size: 5rem; color: var(--gold-500); line-height: 1; opacity: .6; }
.philosophy p { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; line-height: 1.45; margin: 0 0 10px; padding-left: 26px; }
.philosophy cite { font-style: normal; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); padding-left: 26px; }

/* Four pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; transition: box-shadow .25s, transform .25s; scroll-margin-top: 100px; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-500); }
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pillar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pillar__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy-800); color: var(--gold-400); font-size: 1.4rem; }
.pillar__num { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold-100); font-weight: 700; line-height: 1; -webkit-text-stroke: 1px var(--gold-500); }
.pillar h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: .35em; }
.pillar__text { color: var(--muted); font-size: .95rem; }
.pillar__list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 9px; }
.pillar__list li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink); }
.pillar__list .ct-icon { color: var(--gold-500); margin-top: 4px; }

.audience { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-tint); }
.audience h3 { margin: 0; font-size: 1rem; white-space: nowrap; }
.audience ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.audience li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .88rem; font-weight: 500; color: var(--navy-800); }

/* Approach */
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.step__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-size: 1.2rem; margin-bottom: 16px; }
.step__num { position: absolute; top: 22px; right: 22px; font-family: var(--font-head); color: rgba(255,255,255,.18); font-size: 1.8rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .35em; }
.step p { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; }
.promises { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promises li { font-size: .92rem; color: rgba(255,255,255,.75); border-top: 2px solid var(--gold-500); padding-top: 14px; }
.promises strong { display: block; color: #fff; margin-bottom: 4px; }

/* ComplyPOSH band */
.section--tight { padding: 60px 0; }
.band { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 36px 40px; border-radius: 20px; background: linear-gradient(120deg, var(--gold-100), #fbf6ea); border: 1px solid #ecdcb4; }
.band__text { max-width: 720px; }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band p { color: var(--muted); margin: 0; }
.band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.band__mail { font-weight: 600; font-size: .9rem; }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: var(--gold-400); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq__head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.faq__head p { color: var(--muted); }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; transition: border-color .2s; }
.faq__item[open] { border-color: var(--gold-500); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-500); transition: transform .2s; }
.faq__item[open] summary::after { content: "–"; }
.faq__item summary h3 { margin: 0; font-size: 1.02rem; display: inline; }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contact offices */
.offices { display: grid; gap: 14px; flex: 1 1 340px; max-width: 440px; }
.office { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px 22px; }
.office h3 { color: var(--gold-400); font-size: .95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.office p { margin: 0; color: rgba(255,255,255,.8); font-size: .93rem; }
.link-arrow--light { color: var(--gold-400); }
.cta__text { flex: 1 1 460px; max-width: 640px; }

/* Breadcrumbs */
.breadcrumbs { font-size: .82rem; margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { color: rgba(255,255,255,.6); }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px; color: var(--gold-500); }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs [aria-current] { color: rgba(255,255,255,.6); display: inline-block; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Related + misc */
.related { margin: 10px 0 40px; }
.related h2 { font-size: 1.5rem; }
.post-grid--3s { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-grid--3s .post-card__excerpt, .post-grid--3s .link-arrow { display: none; }
.post-grid--3s .post-card__body { padding: 16px; }
.post-grid--3s .post-card__title { font-size: 1rem; }
.footer-title { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer-title--gap { margin-top: 26px; }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.widget-title { font-family: var(--font-body); }

@media (max-width: 1024px) {
	.about__profile { position: static; margin: 0 auto; }
	.pillars { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.faq { grid-template-columns: 1fr; gap: 30px; }
	.principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.steps, .promises, .post-grid--3s { grid-template-columns: 1fr; }
	.band { padding: 26px 22px; }
	.pillar { padding: 24px 20px; }
	.brand__logo img, .brand .custom-logo { height: 42px; }
	.philosophy p { font-size: 1.08rem; }
	.audience { padding: 20px; }
}

/* v2 fixes */
.section-head .eyebrow, .cta .eyebrow { color: var(--gold-500); }
.section--navy .eyebrow, .cta .eyebrow--light, .hero .eyebrow--light { color: var(--gold-400); }
.about__profile .creds { grid-template-columns: 1fr; gap: 8px; }
.about__profile .creds__item { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 14px; }
.about__profile .creds dt { margin: 0; }
.about__profile .creds dd { font-size: .9rem; white-space: nowrap; }
.offices { position: relative; z-index: 1; }
.about__body .eyebrow { color: var(--gold-500); }

/* ==========================================================
   v3 — simpler homepage, client roller, ComplyPOSH tab
   ========================================================== */

/* ComplyPOSH tab in the menu */
.primary-nav .menu-item--complyposh > a {
	display: inline-flex; align-items: center; gap: 6px;
	border: 1.5px solid var(--gold-500); color: var(--navy-800); font-weight: 600;
	padding: 8px 14px; border-radius: 999px; margin-left: 4px;
}
.primary-nav .menu-item--complyposh > a:hover { background: var(--gold-100); color: var(--navy-900); }
.tab-badge { background: var(--navy-800); color: var(--gold-400); font-size: .62rem; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; }
.site-footer .menu-item--complyposh .tab-badge { display: none; }

/* Simpler about */
.about--simple { grid-template-columns: 300px 1fr; align-items: center; }
.about--simple .about__profile { position: relative; top: auto; }
.philosophy--light { background: #fff; color: var(--navy-900); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); padding: 18px 24px; margin-top: 8px; }
.philosophy--light::before { content: none; }
.philosophy--light p { padding: 0; margin: 0; font-size: 1.1rem; color: var(--navy-800); }

/* Simple services grid */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; border-top: 3px solid var(--gold-500); transition: transform .25s, box-shadow .25s; scroll-margin-top: 100px; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--navy-800); color: var(--gold-400); font-size: 1.35rem; margin-bottom: 16px; }
.service h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .45em; }
.service > p { color: var(--muted); font-size: .92rem; }
.service__list { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.service__list li { display: flex; gap: 8px; font-size: .86rem; color: var(--ink); }
.service__list .ct-icon { color: var(--gold-500); margin-top: 3px; }

/* Client logo roller */
.clients { padding: 80px 0 70px; background: #fff; border-top: 1px solid var(--line); overflow: hidden; }
.clients .section-head { margin-bottom: 36px; }
.marquee {
	position: relative; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: ct-marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0 11px; }
.client-logo {
	flex: 0 0 auto; height: 96px; min-width: 180px; padding: 14px 26px;
	display: grid; place-items: center;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	transition: box-shadow .25s, transform .25s;
}
.client-logo:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client-logo img { max-height: 62px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
@keyframes ct-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee__list[aria-hidden="true"] { display: none; }
	.marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
}

/* Contact with 4 offices */
.cta__inner { margin-bottom: 40px; }
.offices--grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: none; flex: none; position: relative; z-index: 1; }
.offices--grid .office p { font-size: .9rem; }

@media (max-width: 1024px) {
	.services { grid-template-columns: repeat(2, 1fr); }
	.offices--grid { grid-template-columns: repeat(2, 1fr); }
	.about--simple { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.primary-nav .menu-item--complyposh > a { margin: 6px 0 0; }
}
@media (max-width: 640px) {
	.services, .offices--grid { grid-template-columns: 1fr; }
	.client-logo { height: 80px; min-width: 150px; padding: 12px 18px; }
	.client-logo img { max-height: 50px; max-width: 170px; }
	.marquee__track { animation-duration: 28s; }
	.clients { padding: 60px 0 50px; }
}

/* ==========================================================
   v4 — short homepage, inner pages, dropdown menu
   ========================================================== */
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.primary-nav .sub-menu a { padding: 9px 12px; font-size: .9rem; white-space: nowrap; }
.primary-nav .sub-menu a:hover { background: var(--bg-tint); }

/* Compact service cards (homepage) */
.services--compact .service { text-decoration: none; color: inherit; }
.services--compact .service:hover h3 { color: var(--navy-600); }
.service__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--gold-500); }

/* Short contact band */
.cta--short { padding: 56px 0; }
.cta--short::before { width: 260px; height: 260px; right: -90px; top: -90px; border-width: 44px; }
.cta--short .cta__inner { margin: 0 auto; align-items: center; }
.cta--short h2 { margin-bottom: .25em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta--short p { margin: 0; }
.cta--short .cta__actions { margin: 0; }

/* Inner pages */
.page-body--tight { padding-top: 40px; padding-bottom: 0; }
.page-hero__desc { max-width: 720px; font-size: 1.05rem; margin: 12px 0 0; }

/* Contact page */
.contact__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy-900); transition: box-shadow .2s, border-color .2s; }
.contact-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow); color: var(--navy-900); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--gold-400); font-size: 1.3rem; flex-shrink: 0; }
.contact-card small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { font-size: 1rem; word-break: break-word; }
.contact__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 22px; }
.offices--light .office { background: var(--bg-tint); border: 1px solid var(--line); font-style: normal; display: flex; flex-direction: column; }
.offices--light .office h3 { color: var(--navy-900); }
.offices--light .office h3 .ct-icon { color: var(--gold-500); }
.offices--light .office p { color: var(--muted); margin-bottom: 12px; }
.offices--light .office .link-arrow { margin-top: auto; font-size: .86rem; }

@media (max-width: 1024px) {
	.contact__cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.primary-nav .sub-menu a { white-space: normal; }
}

/* ==========================================================
   v5 — hero without card, Labour Codes button, service pages
   ========================================================== */
.hero--solo { padding: 100px 0 110px; }
.hero--solo .hero__inner { grid-template-columns: 1fr; }
.hero--solo .hero__content { max-width: 820px; }
.hero--solo .hero__text { max-width: 680px; }
.hero__trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ct-icon { color: var(--gold-400); }

.header-btn { white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(201,162,74,.8); }

/* Services overview cards */
.pillar h3 a { color: inherit; }
.pillar h3 a:hover { color: var(--navy-600); }
.pillar__cta { margin-top: 20px; }

/* Service detail page */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.svc__main h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 26px; }
.svc__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; border-left: 3px solid var(--gold-500); transition: box-shadow .2s; }
.svc-item:hover { box-shadow: var(--shadow); }
.svc-item__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-100); color: var(--gold-500); margin-bottom: 12px; }
.svc-item h3 { font-size: 1.05rem; margin-bottom: .35em; }
.svc-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.svc__suited { margin-top: 28px; }
.svc__side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.svc__side .side-cta { position: static; }
.svc__side .btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
.svc__side .btn--outline:hover { background: #fff; color: var(--navy-900); }
.svc-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.svc-nav h3 { font-size: .95rem; margin-bottom: 10px; }
.svc-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.svc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--navy-900); font-size: .92rem; font-weight: 500; }
.svc-nav a .ct-icon { color: var(--gold-500); }
.svc-nav a:hover { background: var(--bg-tint); }
.svc-nav .is-current a { background: var(--navy-800); color: #fff; }
.svc-nav .is-current a .ct-icon { color: var(--gold-400); }

@media (max-width: 1024px) {
	.svc { grid-template-columns: 1fr; }
	.svc__side { position: static; }
}
@media (max-width: 860px) {
	.header-btn { align-self: flex-start; }
}
@media (max-width: 640px) {
	.svc__grid { grid-template-columns: 1fr; }
	.hero--solo { padding: 64px 0 72px; }
}
.primary-nav .current-menu-ancestor > a, .primary-nav .current-menu-parent > a, .primary-nav .current_page_ancestor > a { color: var(--gold-500); }
.primary-nav .sub-menu .current-menu-item > a { background: var(--bg-tint); color: var(--navy-900); font-weight: 600; }

/* ==========================================================
   v6 — clean footer
   ========================================================== */
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 44px; }
.footer-col--brand .brand__logo img { height: 56px; }
.footer-col--brand p { margin: 18px 0 16px; max-width: 340px; font-size: .9rem; line-height: 1.6; }
.footer-reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer-reach a { display: inline-flex; align-items: center; gap: 10px; }
.footer-reach .ct-icon, .footer-offices .ct-icon { color: var(--gold-500); }
.site-footer .footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-400); margin: 4px 0 18px; }
.site-footer .footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .footer-menu li { margin: 0; }
.site-footer .footer-menu a { font-size: .92rem; display: inline-block; transition: color .2s, transform .2s; }
.site-footer .footer-menu a:hover { transform: translateX(3px); }
.site-footer .footer-menu .sub-menu, .site-footer .footer-menu .tab-badge { display: none; }

.footer-offices { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0; }
.footer-offices__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-offices__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.55; }
.footer-offices__list .ct-icon { margin-top: 3px; }
.footer-offices address { font-style: normal; color: rgba(255,255,255,.62); }
.footer-offices strong { display: block; color: #fff; font-weight: 600; font-size: .86rem; margin-bottom: 2px; }

@media (max-width: 1024px) {
	.footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
	.footer-offices__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 48px; }
	.footer-col--brand { grid-column: 1 / -1; }
	.footer-offices__list { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================
   v6 — Labour Codes hub
   ========================================================== */
.lc-hero { padding-bottom: 46px; }
.lc-facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.lc-facts li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 16px 18px; }
.lc-facts strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--gold-400); line-height: 1.2; }
.lc-facts span { font-size: .84rem; color: rgba(255,255,255,.75); }
.lc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.lc-jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.88); font-size: .85rem; }
.lc-jump a:hover { border-color: var(--gold-400); color: var(--gold-400); }

.lc-alert-wrap { background: var(--bg-tint); padding: 22px 0; border-bottom: 1px solid var(--line); }
.lc-alert { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); background: #fff7e6; border: 1px solid #f0d9a4; }
.lc-alert p { margin: 0; flex: 1; font-size: .93rem; color: var(--ink); }
.lc-alert__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); flex-shrink: 0; }

.lc-codes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lc-code { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-500); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; }
.lc-code__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 14px; }
.lc-code__top .service__icon { margin: 0; }
.lc-code h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: .45em; }
.lc-code > p { color: var(--muted); font-size: .9rem; }
.lc-code__rules { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; gap: 8px; font-size: .82rem !important; color: var(--navy-700) !important; font-weight: 600; }
.lc-code__rules .ct-icon { color: var(--gold-500); margin-top: 2px; }

.lc-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.lc-badge--F { background: #e3f4ea; color: #146c3a; }
.lc-badge--D { background: #fff2d9; color: #8a5a00; }
.lc-badge--P { background: #f1f3f6; color: #5b6678; }

.lc-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; max-width: 880px; position: relative; }
.lc-timeline::before { content: ""; position: absolute; left: 152px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.lc-timeline__item { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 14px 0; position: relative; }
.lc-timeline__item::before { content: ""; position: absolute; left: 143px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-800); border: 3px solid var(--bg-tint); box-shadow: 0 0 0 2px var(--navy-800); }
.lc-timeline__item--alert::before { background: var(--gold-500); box-shadow: 0 0 0 2px var(--gold-500); }
.lc-timeline__item--next::before { background: #fff; box-shadow: 0 0 0 2px var(--muted); }
.lc-timeline__date { font-weight: 700; color: var(--navy-800); font-size: .95rem; text-align: right; padding-top: 2px; }
.lc-timeline__item--alert .lc-timeline__date { color: #8a5a00; }
.lc-timeline h3 { font-size: 1.02rem; margin-bottom: .2em; }
.lc-timeline p { margin: 0; color: var(--muted); font-size: .92rem; }

.lc-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.lc-chip { font: inherit; font-size: .88rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.lc-chip span { background: var(--bg-tint); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
.lc-chip:hover { border-color: var(--navy-600); }
.lc-chip.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.lc-chip.is-active span { background: rgba(255,255,255,.18); }
.lc-chip--all span { color: #146c3a; } .lc-chip--part span { color: var(--navy-600); } .lc-chip--draft span { color: #8a5a00; }
.lc-search { margin-left: auto; position: relative; display: flex; align-items: center; }
.lc-search .ct-icon { position: absolute; left: 12px; color: var(--muted); }
.lc-search input { padding-left: 36px; min-width: 240px; border-radius: 999px; }

.lc-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: 640px; background: #fff; }
.lc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.lc-table thead th { position: sticky; top: 0; z-index: 1; background: var(--navy-800); color: #fff; text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 14px; white-space: nowrap; }
.lc-table tbody th { text-align: left; font-weight: 600; color: var(--navy-900); padding: 11px 14px; white-space: nowrap; }
.lc-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.lc-table tbody th { border-top: 1px solid var(--line); }
.lc-table tbody tr:nth-child(even) { background: #fafbfd; }
.lc-table tbody tr:hover { background: var(--gold-100); }
.lc-note { color: var(--muted); font-size: .82rem; min-width: 220px; }
.lc-verify { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: #fdecec; color: #a12a2a; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; cursor: help; }
.lc-empty { padding: 24px; text-align: center; color: var(--muted); margin: 0; }
.lc-disclaimer { margin-top: 14px; font-size: .82rem; color: var(--muted); max-width: 900px; }

.lc-reg { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.lc-reg h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.lc-reg__main > p { color: var(--muted); }
.lc-forms { display: grid; gap: 12px; margin: 22px 0 26px; }
.lc-form { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.lc-form__no { flex-shrink: 0; display: grid; place-items: center; width: 78px; height: 56px; border-radius: 10px; background: var(--navy-800); color: var(--gold-400); font-weight: 700; font-family: var(--font-head); font-size: 1.05rem; }
.lc-form h3 { font-size: 1rem; margin: 0 0 2px; }
.lc-form p { margin: 0; font-size: .82rem; color: var(--muted); }
.lc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lc-points li { display: flex; gap: 10px; font-size: .93rem; }
.lc-points .ct-icon { color: var(--gold-500); margin-top: 4px; }

.lc-tool { position: sticky; top: 100px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.lc-tool__tag { display: inline-block; background: var(--gold-500); color: var(--navy-900); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.lc-tool h3 { color: #fff; font-family: var(--font-head); font-size: 1.5rem; margin-bottom: .4em; }
.lc-tool p { color: rgba(255,255,255,.78); font-size: .93rem; }
.lc-tool ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.lc-tool li { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.88); }
.lc-tool li .ct-icon { color: var(--gold-400); }
.lc-tool .btn--block { margin-bottom: 10px; }

@media (max-width: 1100px) {
	.lc-codes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
	.lc-reg { grid-template-columns: 1fr; }
	.lc-tool { position: static; }
}
@media (max-width: 760px) {
	.lc-facts { grid-template-columns: repeat(2, 1fr); }
	.lc-alert { flex-direction: column; align-items: flex-start; }
	.lc-search { margin-left: 0; width: 100%; }
	.lc-search input { min-width: 0; width: 100%; }
	.lc-timeline::before { left: 7px; }
	.lc-timeline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
	.lc-timeline__item::before { left: 0; top: 18px; }
	.lc-timeline__date { text-align: left; }
	/* table becomes cards */
	.lc-table-wrap { max-height: none; border: 0; background: none; overflow: visible; }
	.lc-table thead { display: none; }
	.lc-table, .lc-table tbody, .lc-table tr, .lc-table th, .lc-table td { display: block; width: 100%; }
	.lc-table tbody tr { background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
	.lc-table tbody tr[hidden] { display: none; }
	.lc-table tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 4px; font-size: 1rem; white-space: normal; }
	.lc-table td { border: 0; padding: 0; font-size: .8rem; }
	.lc-table td::before { content: attr(data-label); display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
	.lc-table td.lc-note { grid-column: 1 / -1; min-width: 0; }
}
@media (max-width: 640px) {
	.lc-codes { grid-template-columns: 1fr; }
}
@media (min-width: 761px) {
	.lc-timeline__item { grid-template-columns: 122px 1fr; gap: 44px; }
}

/* v2.5 — Diwali banner, Labour Codes updates */
.festive { background: #0a1a33; border-bottom: 3px solid var(--gold-500); }
.festive__inner { position: relative; padding: 0; max-width: 1200px; }
.festive img { display: block; width: 100%; height: auto; }
.festive__link { display: block; }
.festive__close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,26,51,.65); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.festive__close:hover, .festive__close:focus-visible { background: var(--gold-500); color: var(--navy-900); outline: none; }
.lc-updates__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.lc-updates__head h2 { margin: 4px 0 0; }
@media (prefers-reduced-motion: reduce) { .festive img { content: url(../img/diwali-banner-still.png); } }
.lc-updates__head { max-width: none; }
.breadcrumbs li { min-width: 0; max-width: 100%; } .breadcrumbs [aria-current] { max-width: min(46ch, 100%); }

/* Visitor counter (CP Visitor Counter plugin) */
.footer-visitors { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid rgba(201,162,74,.45); border-radius: 999px; color: rgba(255,255,255,.8); }
.footer-visitors svg { color: var(--gold-500); }
.footer-visitors strong { color: var(--gold-400); font-weight: 700; }

/* ==========================================================
   v7 (2.6) — tidy header menu, mobile accordion, Store
   ========================================================== */
.primary-nav .menu > li > a { white-space: nowrap; }
.primary-nav .menu-item--complyposh > a { white-space: nowrap; }
.header-btn { display: inline-flex; align-items: center; gap: 8px; }
.header-btn .ct-icon { width: 16px; height: 16px; }
.sub-toggle { display: none; }

/* Laptops: tighter spacing so everything fits on one line */
@media (max-width: 1280px) and (min-width: 1181px) {
	.primary-nav { gap: 16px; }
	.primary-nav .menu > li > a { padding: 10px 9px; font-size: .92rem; }
	.site-header__inner { gap: 14px; }
}

/* Tablet + phone: hamburger panel (also covers 861–1180px, where the full menu does not fit) */
@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 12px 24px 22px; display: none;
		max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li.menu-item--complyposh { border-bottom: 0; }
	.primary-nav .menu > li > a { padding: 13px 4px; font-size: 1rem; }
	.primary-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.primary-nav .menu-item-has-children > a { flex: 1; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.sub-toggle {
		display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px;
		background: var(--bg-tint); color: var(--navy-900); cursor: pointer;
	}
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
	.is-expanded > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		flex-basis: 100%; display: none; padding: 0 0 10px 12px; min-width: 0; background: transparent;
	}
	.primary-nav .is-expanded > .sub-menu { display: block; }
	.primary-nav .sub-menu a { white-space: normal; padding: 9px 10px; }
	.primary-nav .menu-item--complyposh > a { margin: 14px 0 0; display: inline-flex; }
	.header-btn { align-self: flex-start; }
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: center; }
	body.nav-open { overflow: hidden; }
}

/* Store page */
.page-hero--store .page-hero__desc { max-width: 640px; }
.store-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255,255,255,.8); font-size: .9rem; }
.store-trust li { display: inline-flex; align-items: center; gap: 8px; }
.store-trust .ct-icon { color: var(--gold-400); }
.section--store { padding-top: 56px; }
.store-intro { max-width: 760px; margin: 0 0 32px; }
.store-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.section--tint { background: var(--bg-tint); }
.store-custom { padding: 56px 0; }
.store-custom__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.store-custom h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .3em; }
.store-custom p { margin: 0; color: var(--muted); max-width: 640px; }
.store-custom__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Single product */
.product-crumbs { background: var(--bg-tint); border-bottom: 1px solid var(--line); padding: 14px 0; }
.product-crumbs .breadcrumbs { margin: 0; }
.product-crumbs .breadcrumbs, .product-crumbs .breadcrumbs li, .product-crumbs .breadcrumbs a, .product-crumbs .breadcrumbs span { color: var(--muted); }
.product-crumbs .breadcrumbs a:hover { color: var(--navy-900); }
.product-page { padding-top: 36px; padding-bottom: 70px; }
.product-page .ctltk-hero__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.product-back { margin-top: 30px; }
