/*
Theme Name: PakTaxCo
Theme URI: https://example.com/
Author: PakTaxCo
Description: A premium navy-and-gold theme for PakTaxCo, legal and tax consultants. Creates a home page, a Services page, one dedicated page for each service, About and Contact pages, and a primary menu when activated.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: professional-tax-partner
*/

/* ------------------------------------------------------------------
   Tokens (taken from the PakTaxCo logo: deep navy and metallic gold)
------------------------------------------------------------------- */
:root {
	--navy: #0f1b2d;
	--navy-deep: #0a1424;
	--navy-2: #16273f;
	--navy-3: #1f3452;
	--gold: #d9b04a;
	--gold-bright: #f1cf76;
	--gold-deep: #a97c1f;
	--gold-text: #7d5a10;
	--gold-grad: linear-gradient(135deg, #f6dc8b 0%, #d9b04a 55%, #c19530 100%);
	--ink: #14202f;
	--muted: #566478;
	--line: #e2e7ee;
	--tint: #f4f6f9;
	--white: #ffffff;
	--focus: #2b6fdb;

	--font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Newsreader", Georgia, "Times New Roman", serif;

	--radius: 14px;
	--header-h: 88px;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--gold-text);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--navy);
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	color: var(--navy);
	margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

.topbar :focus-visible,
.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--gold-bright);
}

.primary-nav .sub-menu :focus-visible,
.topbar-links :focus-visible {
	outline-color: var(--focus);
}

.container {
	width: min(1180px, 100% - 2rem);
	margin-inline: auto;
}

.container.narrow {
	width: min(780px, 100% - 2rem);
	padding-block: 3rem 4rem;
}

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

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--gold);
	color: var(--navy);
	font-weight: 700;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	z-index: 100;
}

.skip-link:focus {
	top: 1rem;
	color: var(--navy);
}

.muted { color: var(--muted); }

.icon { flex: none; }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font: 700 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.15s, filter 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-gold,
.btn-primary {
	background: var(--gold-grad);
	color: var(--navy);
}

.btn-gold:hover,
.btn-primary:hover {
	color: var(--navy);
	filter: brightness(1.06);
	box-shadow: 0 8px 22px rgba(217, 176, 74, 0.4);
}

.btn-outline {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
	background: transparent;
}

.btn-outline:hover {
	background: #fff;
	color: var(--navy);
	border-color: #fff;
}

.btn-ghost {
	border-color: var(--line);
	color: var(--navy);
	background: #fff;
}

.btn-ghost:hover {
	border-color: var(--gold-deep);
	color: var(--navy);
}

.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ------------------------------------------------------------------
   Top bar and header
------------------------------------------------------------------- */
.topbar {
	background: var(--gold-grad);
	color: var(--navy);
	font-size: 0.92rem;
	font-weight: 600;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.5rem;
}

.topbar p { margin: 0; }

.topbar-links {
	display: flex;
	gap: 1.5rem;
	margin-left: auto !important;
}

.topbar-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--navy);
	text-decoration: none;
}

.topbar-links a:hover { text-decoration: underline; }
.topbar-links .icon { width: 18px; height: 18px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	border-bottom: 1px solid rgba(217, 176, 74, 0.3);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--gold-bright);
}

.brand-logo,
.custom-logo {
	display: block;
	height: 62px;
	width: auto;
	max-width: none;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--gold);
	color: var(--gold-bright);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--gold-bright);
}

.primary-nav {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.25rem;
	height: var(--header-h);
}

.primary-nav .menu {
	display: flex;
	align-items: stretch;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

.primary-nav .menu > li {
	display: flex;
	align-items: stretch;
}

.primary-nav .menu > li > a {
	display: flex;
	align-items: center;
	padding: 0 0.9rem;
	color: #e6ecf5;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current-menu-ancestor > a,
.primary-nav .menu > li.current_page_item > a {
	color: var(--gold-bright);
	box-shadow: inset 0 -3px 0 var(--gold);
}

.primary-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	width: min(660px, 92vw);
	margin: 0;
	padding: 0.85rem;
	list-style: none;
	background: var(--white);
	border-top: 3px solid var(--gold);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 24px 50px rgba(10, 20, 36, 0.28);
	columns: 2;
	column-gap: 0.5rem;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.primary-nav .sub-menu li { break-inside: avoid; }

.primary-nav .sub-menu a {
	display: block;
	padding: 0.55rem 0.8rem;
	border-radius: 8px;
	color: var(--ink);
	font-size: 0.95rem;
	text-decoration: none;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a {
	background: #fbf3dc;
	color: var(--navy);
}

.header-cta .icon { width: 18px; height: 18px; }

.sub-toggle { display: none; }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	padding: 0.5rem;
	color: #fff;
	cursor: pointer;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	color: #fff;
	padding-block: clamp(3.25rem, 7vw, 6rem);
}

.hero::before {
	content: "";
	position: absolute;
	right: -90px;
	top: 50%;
	width: 620px;
	height: 620px;
	transform: translateY(-50%);
	background: url("assets/logo-mark.png") center / contain no-repeat;
	opacity: 0.07;
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.hero h1 {
	color: #fff;
	max-width: 20ch;
	font-weight: 500;
}

.hero .lead {
	color: #c3cee0;
	font-size: 1.2rem;
	max-width: 52ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.hero-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 1.75rem;
	padding: 0.65rem 1.5rem 0.65rem 0.65rem;
	border: 1px solid rgba(217, 176, 74, 0.5);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	text-decoration: none;
}

.hero-phone:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }

.hero-phone-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--gold-grad);
	color: var(--navy);
}

.hero-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-phone-label { font-size: 0.85rem; color: #aebbd0; }
.hero-phone-number { font-size: 1.35rem; font-weight: 700; color: var(--gold-bright); letter-spacing: 0.01em; }

.hero-card {
	background: var(--white);
	color: var(--ink);
	border-radius: 20px;
	border-top: 4px solid var(--gold);
	padding: 1.75rem 1.75rem 1.5rem;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.hero-card h2 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.checklist li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--line);
}

.checklist li::before,
.prose ul li::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1b2d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.checklist a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.checklist a:hover { color: var(--gold-text); text-decoration: underline; }

.hero-card-link {
	margin: 1rem 0 0;
	font-weight: 700;
}

/* Offices strip */
.offices {
	background: var(--navy-2);
	color: #aebbd0;
	padding-block: 1.15rem;
}

.offices-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 2rem;
}

.offices p { margin: 0; font-size: 0.95rem; }

.offices ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.offices li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: #fff;
	font-weight: 600;
}

.offices li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------- */
.section {
	padding-block: clamp(3rem, 6vw, 5.25rem);
}

.section-tint { background: var(--tint); }

.section-head {
	max-width: 62ch;
	margin-bottom: 2.5rem;
}

.section-head h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 0.8rem;
	border-radius: 2px;
	background: var(--gold-grad);
}

.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Directory */
.dir-group { margin-bottom: 3rem; }
.dir-group:last-child { margin-bottom: 0; }

.dir-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.dir-head h3 { margin: 0 0 0.1rem; }
.dir-head p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.dir-badge {
	display: grid;
	place-items: center;
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold-bright);
	box-shadow: 0 0 0 4px #fbf3dc;
}

.dir-badge .icon { width: 26px; height: 26px; }

.dir-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 1rem;
}

.dir-item a {
	position: relative;
	display: block;
	height: 100%;
	padding: 1.3rem 1.4rem 1.4rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.dir-item a::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--gold-grad);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s;
}

.dir-item a:hover {
	transform: translateY(-3px);
	border-color: var(--gold);
	box-shadow: 0 16px 34px rgba(15, 27, 45, 0.12);
}

.dir-item a:hover::before { transform: scaleX(1); }

.dir-title {
	display: block;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--navy);
}

.dir-short {
	display: block;
	margin-top: 0.35rem;
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.5;
}

/* Comparison table */
.table-wrap {
	overflow-x: auto;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(15, 27, 45, 0.06);
}

.compare {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 0.98rem;
}

.compare th,
.compare td {
	text-align: left;
	vertical-align: top;
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--line);
}

.compare thead th {
	background: var(--navy);
	color: var(--gold-bright);
	font-weight: 600;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare tbody th a { font-weight: 700; color: var(--navy); }
.compare tbody tr:hover { background: #fdf9ec; }

/* Steps */
.steps {
	list-style: none;
	counter-reset: step;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem 1.5rem;
}

.steps li {
	counter-increment: step;
	position: relative;
	margin-top: 1.4rem;
	padding-top: 2.4rem;
	border-top: 2px solid var(--line);
}

.steps li::before {
	content: counter(step);
	position: absolute;
	top: -1.4rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: var(--gold-grad);
	color: var(--navy);
	font-weight: 800;
	font-size: 1.1rem;
}

.steps h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* CTA band */
.cta-band {
	background: var(--navy);
	color: #fff;
	padding-block: clamp(2.75rem, 5vw, 4rem);
	border-top: 4px solid var(--gold);
}

.cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: #c3cee0; margin: 0 0 1rem; max-width: 54ch; }

.cta-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--gold-bright);
	text-decoration: none;
}

.cta-phone:hover { color: #fff; }

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ------------------------------------------------------------------
   Inner pages
------------------------------------------------------------------- */
.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	color: #fff;
	padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
}

.page-hero::before {
	content: "";
	position: absolute;
	right: -40px;
	top: 50%;
	width: 340px;
	height: 340px;
	transform: translateY(-50%);
	background: url("assets/logo-mark.png") center / contain no-repeat;
	opacity: 0.07;
	pointer-events: none;
}

.page-hero > .container { position: relative; }

.page-hero h1 {
	font-size: clamp(1.95rem, 4vw, 2.9rem);
	max-width: 24ch;
	margin-bottom: 0.5rem;
	color: #fff;
	font-weight: 500;
}

.page-hero .lead {
	color: #c3cee0;
	font-size: 1.15rem;
	max-width: 62ch;
	margin: 0;
}

.page-hero .lead p { margin: 0; }

.page-hero-contact { padding-bottom: clamp(5rem, 9vw, 7rem); }

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.92rem;
	color: #aebbd0;
}

.breadcrumb a { color: var(--gold-bright); }
.breadcrumb a:hover { color: #fff; }

.service-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: 3rem 4.5rem;
	align-items: start;
}

.prose { max-width: 70ch; }

.prose h2 {
	font-size: 1.65rem;
	margin-top: 2.3rem;
}

.prose > h2:first-child,
.prose > p:first-child + h2 { margin-top: 2rem; }

.prose > p:first-child {
	font-size: 1.15rem;
	color: var(--ink);
}

.prose ul {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.prose ul li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.4rem 0;
}

.prose ul li::before { margin-top: 0.2rem; }

.prose ol {
	margin: 0 0 1.25rem;
	padding-left: 1.4rem;
}

.prose ol li { padding: 0.3rem 0 0.3rem 0.3rem; }
.prose ol li::marker { font-weight: 800; color: var(--gold-deep); }

.aside-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 4px solid var(--gold);
	border-radius: var(--radius);
	padding: 1.5rem;
	margin-bottom: 1.25rem;
	box-shadow: 0 10px 30px rgba(15, 27, 45, 0.06);
}

.service-aside {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.aside-card h2 {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
}

.aside-card p { color: var(--muted); font-size: 0.98rem; }

.aside-actions {
	display: grid;
	gap: 0.6rem;
	margin-top: 1rem;
}

.aside-links {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.aside-links a {
	display: block;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}

.aside-links a:hover { color: var(--gold-text); }
.aside-links a[aria-current="page"] { font-weight: 700; color: var(--gold-text); }

.aside-all { margin: 0.9rem 0 0; font-weight: 700; }

/* ------------------------------------------------------------------
   Contact page: quick-contact tiles and step-by-step enquiry
------------------------------------------------------------------- */
.btn .icon { width: 20px; height: 20px; }

.contact-wrap {
	position: relative;
	z-index: 2;
	margin-top: -4.25rem;
	padding-bottom: 5rem;
}

.contact-tiles {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
	gap: 1rem;
}

.tile {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	height: 100%;
	padding: 1.1rem 1.3rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(10, 20, 36, 0.16);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.18s, box-shadow 0.18s;
}

a.tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(10, 20, 36, 0.22);
	color: var(--ink);
}

.tile-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold-bright);
}

.tile-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.tile-label { font-size: 0.85rem; color: var(--muted); }
.tile-value { font-weight: 700; font-size: 1.08rem; color: var(--navy); overflow-wrap: anywhere; }

.enquiry {
	scroll-margin-top: calc(var(--header-h) + 16px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: clamp(1.5rem, 4vw, 3rem);
	box-shadow: 0 30px 70px rgba(10, 20, 36, 0.14);
}

/* Progress */
.wiz-steps {
	display: none;
	align-items: center;
	list-style: none;
	margin: 0 0 2.25rem;
	padding: 0;
}

.is-wizard .wiz-steps { display: flex; }

.wiz-steps li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--muted);
	font-weight: 600;
}

.wiz-steps li:not(:last-child) { flex: 1; }

.wiz-steps li:not(:last-child)::after {
	content: "";
	flex: 1;
	height: 3px;
	margin: 0 0.9rem;
	border-radius: 2px;
	background: var(--line);
}

.wiz-steps li.is-done:not(:last-child)::after { background: var(--gold-grad); }

.dot {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tint);
	border: 2px solid var(--line);
	color: var(--muted);
	font-weight: 800;
	transition: background-color 0.2s, box-shadow 0.2s;
}

.dot .icon { display: none; width: 20px; height: 20px; stroke-width: 3; }

.wiz-steps li.is-active .dot {
	background: var(--gold-grad);
	border-color: transparent;
	color: var(--navy);
	box-shadow: 0 0 0 5px rgba(217, 176, 74, 0.25);
}

.wiz-steps li.is-done .dot {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--gold-bright);
}

.wiz-steps li.is-done .dot .n { display: none; }
.wiz-steps li.is-done .dot .icon { display: block; }
.wiz-steps li.is-active .lbl,
.wiz-steps li.is-done .lbl { color: var(--navy); }

/* Panels */
.wiz-panel {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.wiz-panel + .wiz-panel { margin-top: 2.5rem; }
.wiz-panel[hidden] { display: none; }

.is-wizard .wiz-panel.is-active { animation: wiz-in 0.3s ease both; }

@keyframes wiz-in {
	from { opacity: 0; transform: translateX(18px); }
	to { opacity: 1; transform: none; }
}

.wiz-panel legend {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	line-height: 1.15;
	color: var(--navy);
}

.wiz-sub {
	clear: both;
	margin: 0 0 1.6rem;
	color: var(--muted);
}

/* Service tiles */
.opt-group { margin-top: 1.6rem; }

.opt-group-title {
	margin: 0 0 0.7rem;
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--navy);
}

.opt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
	gap: 0.75rem;
}

.opt-grid-top { grid-template-columns: minmax(235px, 340px); }

.opt {
	position: relative;
	display: block;
	cursor: pointer;
}

.opt input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.opt-body {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	height: 100%;
	padding: 0.85rem 1rem;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: 16px;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.opt-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--tint);
	color: var(--navy);
	transition: background-color 0.15s, color 0.15s;
}

.opt-icon .icon { width: 20px; height: 20px; }

.opt-title {
	padding-right: 1.6rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
}

.opt:hover .opt-body {
	border-color: var(--gold);
	transform: translateY(-1px);
}

.opt input:checked + .opt-body {
	background: #fff9e8;
	border-color: var(--gold-deep);
	box-shadow: 0 0 0 3px rgba(217, 176, 74, 0.28);
}

.opt input:checked + .opt-body .opt-icon {
	background: var(--navy);
	color: var(--gold-bright);
}

.opt input:checked + .opt-body::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.9rem;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	border-radius: 50%;
	background: var(--gold-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.opt input:focus-visible + .opt-body {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* Fields */
.fld {
	position: relative;
	margin-bottom: 1.15rem;
}

.fld-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.fld input,
.fld textarea {
	display: block;
	width: 100%;
	padding: 1.55rem 1rem 0.5rem 3.1rem;
	font: inherit;
	font-size: 1.02rem;
	color: var(--ink);
	background: #f1f4f8;
	border: 1.5px solid transparent;
	border-radius: 16px;
	transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.fld input { height: 62px; }

.fld textarea {
	min-height: 170px;
	padding: 1.9rem 1.15rem 0.75rem;
	resize: vertical;
}

.fld input:hover,
.fld textarea:hover { background: #eaeff5; }

.fld label {
	position: absolute;
	left: 3.1rem;
	top: 1.15rem;
	color: var(--muted);
	pointer-events: none;
	transition: top 0.15s, font-size 0.15s, color 0.15s;
}

.fld-area label { left: 1.15rem; }

.fld input:focus + label,
.fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label,
.fld textarea:not(:placeholder-shown) + label {
	top: 0.5rem;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--gold-text);
}

.fld > .icon {
	position: absolute;
	left: 1.05rem;
	top: 1.2rem;
	width: 22px;
	height: 22px;
	color: var(--gold-deep);
	pointer-events: none;
}

.fld input:focus,
.fld textarea:focus {
	outline: none;
	background: var(--white);
	border-color: var(--gold-deep);
	box-shadow: 0 0 0 4px rgba(217, 176, 74, 0.3);
}

.fld.has-error input,
.fld.has-error textarea {
	background: #fff6f5;
	border-color: #c0392b;
}

.fld-msg {
	margin: 0.35rem 0.25rem 0;
	color: #a52a1d;
	font-size: 0.9rem;
	font-weight: 500;
}

.fld-msg:empty { display: none; }

/* Reply preference */
.seg-title {
	margin: 0.4rem 0 0.65rem;
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--navy);
}

.seg {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.seg-opt {
	position: relative;
	display: block;
	cursor: pointer;
}

.seg-opt input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.seg-opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	height: 100%;
	padding: 0.95rem 0.75rem;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: 16px;
	font-weight: 600;
	color: var(--ink);
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.seg-opt .icon { width: 20px; height: 20px; color: var(--gold-deep); }
.seg-opt:hover span { border-color: var(--gold); }

.seg-opt input:checked + span {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
	box-shadow: 0 8px 20px rgba(15, 27, 45, 0.25);
}

.seg-opt input:checked + span .icon { color: var(--gold-bright); }

.seg-opt input:focus-visible + span {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* Summary and navigation */
.wiz-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.wiz-summary:empty { display: none; }

.wiz-summary span {
	padding: 0.4rem 0.9rem;
	border: 1px solid #ecd9a0;
	border-radius: 999px;
	background: #fff9e8;
	color: var(--navy);
	font-size: 0.9rem;
	font-weight: 600;
}

.wiz-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.wiz-back { margin-right: auto; }
.wiz-back,
.wiz-next { display: none; }

.is-wizard .wiz-back,
.is-wizard .wiz-next { display: inline-flex; }

.is-wizard.on-first .wiz-back { visibility: hidden; }
.is-wizard .wiz-submit { display: none; }
.is-wizard.on-last .wiz-submit { display: inline-flex; }
.is-wizard.on-last .wiz-next { display: none; }
.wiz-nav .btn { white-space: nowrap; }
.wiz-submit:disabled { opacity: 0.7; cursor: wait; }

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	padding: 0.95rem 1.15rem;
	border-radius: 12px;
	margin-bottom: 1.25rem;
	font-weight: 500;
}

.notice-error { background: #fdeaea; color: #8a1c1c; }

/* Thank-you state */
.enquiry-done {
	max-width: 560px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 3rem) 1rem;
	text-align: center;
}

.done-badge {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	background: var(--gold-grad);
	color: var(--navy);
	box-shadow: 0 0 0 10px rgba(217, 176, 74, 0.2);
}

.done-badge .icon { width: 42px; height: 42px; stroke-width: 3; }
.enquiry-done p { color: var(--muted); }

.done-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

/* Reassurance row under the form */
.after-note {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem 2rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.after-note li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.after-note li::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1b2d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Blog fallback */
.post-summary { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.post-summary h2 { font-size: 1.5rem; }
.post-summary h2 a { color: var(--navy); text-decoration: none; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.site-footer {
	background: var(--navy-deep);
	color: #b4c0d3;
	font-size: 0.97rem;
	border-top: 4px solid var(--gold);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(4, 1fr);
	gap: 2rem;
	padding-block: 3.5rem 2.5rem;
}

.footer-logo {
	display: block;
	width: 163px;
	height: auto;
	margin-bottom: 1.25rem;
}

.footer-brand {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--gold-bright);
	margin-bottom: 0.75rem;
}

.footer-heading {
	color: var(--gold-bright);
	font-weight: 700;
	margin-bottom: 0.7rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.22rem 0; }
.site-footer a { color: #c9d4e4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-about .contact-lines li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.footer-about .icon { width: 18px; height: 18px; margin-top: 0.3rem; color: var(--gold); }
.footer-phone a { font-size: 1.2rem; font-weight: 700; color: var(--gold-bright); }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
}

.footer-bottom p { margin: 0; }

/* Floating WhatsApp button */
.wa-fab {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.25rem;
	border-radius: 999px;
	background: var(--gold-grad);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(10, 20, 36, 0.4);
}

.wa-fab:hover { color: var(--navy); filter: brightness(1.06); }
.is-contact .wa-fab { display: none; }
.wa-fab .icon { width: 24px; height: 24px; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
	:root { --header-h: 74px; }

	.brand-logo,
	.custom-logo { height: 48px; }

	.hero-grid,
	.service-layout { grid-template-columns: 1fr; }

	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.service-aside { position: static; }

	.hero::before { width: 420px; height: 420px; right: -120px; }

	.nav-toggle { display: inline-flex; }

	.primary-nav {
		display: none;
		position: absolute;
		top: var(--header-h);
		left: 0;
		right: 0;
		height: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 1rem 1.25rem;
		background: var(--navy);
		border-bottom: 3px solid var(--gold);
		box-shadow: 0 24px 40px rgba(10, 20, 36, 0.4);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.nav-open .primary-nav { display: flex; }

	.primary-nav .menu {
		flex-direction: column;
		gap: 0;
		height: auto;
	}

	.primary-nav .menu > li {
		flex-wrap: wrap;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.primary-nav .menu > li > a {
		flex: 1;
		padding: 0.95rem 0.25rem;
	}

	.primary-nav .menu > li > a:hover,
	.primary-nav .menu > li.current-menu-item > a,
	.primary-nav .menu > li.current-menu-ancestor > a,
	.primary-nav .menu > li.current_page_item > a { box-shadow: none; }

	.sub-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		background: none;
		border: 0;
		color: var(--gold-bright);
		cursor: pointer;
	}

	.primary-nav .sub-menu {
		position: static;
		width: 100%;
		columns: 1;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding: 0 0 0.75rem 0.75rem;
	}

	.primary-nav .sub-menu a { color: #d6deea; }

	.primary-nav .sub-menu a:hover,
	.primary-nav .sub-menu .current-menu-item > a {
		background: rgba(255, 255, 255, 0.08);
		color: var(--gold-bright);
	}

	.primary-nav .sub-menu :focus-visible { outline-color: var(--gold-bright); }

	.primary-nav .menu-item-has-children:hover > .sub-menu,
	.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: none; }

	.primary-nav .menu-item-has-children.open > .sub-menu { display: block; }

	.header-cta { margin-top: 1rem; }

	.contact-wrap { margin-top: -2.5rem; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.topbar-tag { display: none; }
	.topbar-links { margin-inline: auto !important; gap: 1.1rem; font-size: 0.88rem; }
	.steps { grid-template-columns: 1fr; }
	.fld-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.opt-grid,
	.opt-grid-top { grid-template-columns: 1fr; }
	.wiz-steps li:not(.is-active) .lbl { display: none; }
	.wiz-steps li:not(:last-child)::after { margin: 0 0.5rem; }
	.seg { grid-template-columns: 1fr; }
	.wiz-nav .btn-lg { padding: 0.95rem 1.2rem; font-size: 1rem; }
	.wiz-nav .wiz-next,
	.wiz-nav .wiz-submit { flex: 1; }
	.enquiry { border-radius: 22px; }
	.hero-phone { width: 100%; }

	.wa-fab {
		right: 1rem;
		bottom: 1rem;
		width: 58px;
		height: 58px;
		padding: 0;
		justify-content: center;
	}

	.wa-fab span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
	.dir-item a:hover { transform: none; }
	.is-wizard .wiz-panel.is-active { animation: none; }
}

/* ------------------------------------------------------------------
   Service cards with icons, About page, back-to-top (preview)
------------------------------------------------------------------- */
.dir-list { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }

.dir-item a {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.svc-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--navy);
	color: var(--gold-bright);
	transition: background 0.18s, color 0.18s;
}

.svc-icon .icon { width: 26px; height: 26px; }
.svc-text { display: block; min-width: 0; }
.dir-item a:hover .svc-icon { background: var(--gold-grad); color: var(--navy); }

.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.about-text .prose { max-width: none; }
.about-text .prose p { font-size: 1.1rem; }
.about-text .prose > p:first-child { font-size: 1.25rem; }

.about-areas {
	display: grid;
	gap: 0.9rem;
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
}

.about-areas li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.about-areas h3 {
	margin: 0 0 0.1rem;
	font-family: var(--font-body);
	font-size: 1.08rem;
	font-weight: 700;
}

.about-areas p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.about-card {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	overflow: hidden;
	padding: 2.25rem 2rem 2rem;
	background: var(--navy);
	border-top: 4px solid var(--gold);
	border-radius: 24px;
	color: #fff;
	text-align: center;
	box-shadow: 0 30px 70px rgba(10, 20, 36, 0.25);
}

.about-card .footer-logo { width: 210px; margin: 0 auto 1.5rem; }

.facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.facts strong {
	display: block;
	font-family: var(--font-display);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--gold-bright);
}

.facts span { display: block; margin-top: 0.3rem; color: #c3cee0; font-size: 0.92rem; }

.principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.principle {
	padding: 1.9rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(15, 27, 45, 0.06);
}

.principle .svc-icon { margin-bottom: 1.1rem; }
.principle h3 { margin-bottom: 0.4rem; }
.principle p { margin: 0; color: var(--muted); }

.to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 5.4rem;
	z-index: 59;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--navy);
	border: 2px solid var(--gold);
	border-radius: 50%;
	color: var(--gold-bright);
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(10, 20, 36, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background 0.15s, color 0.15s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-grad); border-color: transparent; color: var(--navy); }
.to-top .icon { width: 24px; height: 24px; stroke-width: 2.6; }
.is-contact .to-top { bottom: 1.25rem; }

@media (max-width: 960px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-card { position: static; }
	.principles { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.to-top { right: 1rem; bottom: 5.2rem; }
	.is-contact .to-top { bottom: 1rem; }
	.dir-list { grid-template-columns: 1fr; }
}

/* ---- Social icons ---- */
.social-links { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.social-links li { padding: 0 !important; }
.social-links a {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.social-links .icon-social { width: 17px; height: 17px; margin: 0 !important; color: inherit; }
.social-links a:hover { transform: translateY(-2px); text-decoration: none !important; }
.social-top { margin-left: 0; order: 3; }
.social-top a { width: 28px; height: 28px; color: var(--navy); background: rgba(15,27,45,.12); }
.social-top a:hover { background: var(--navy); color: var(--gold-bright); }
.social-top .icon-social { width: 14px; height: 14px; }
.topbar-inner { flex-wrap: nowrap; gap: 1.25rem; }
.topbar-links { order: 2; }
.social-foot { margin-top: 1.1rem; }
.social-foot a { color: var(--gold-bright) !important; border: 1px solid rgba(231,189,87,.45); }
.social-foot a:hover { background: var(--gold-grad); color: var(--navy) !important; border-color: transparent; }
@media (max-width: 760px) { .social-top { display: none; } }

/* ---- Illustrations ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-figure { margin: 0; }
.split-figure img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 24px 50px -24px rgba(15,27,45,.55); }
.split-copy h2 { margin-bottom: .75rem; }
.split-copy p { color: var(--muted); font-size: 1.08rem; }
.split-copy .checklist { margin: 1.25rem 0 1.75rem; }
.split-copy .checklist li { color: var(--ink, #1b2536); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-figure { order: 2; } }

.page-hero.has-art .hero-split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 2.5rem; align-items: center; }
.hero-art { display: block; width: 100%; max-width: 420px; height: auto; justify-self: end; border-radius: 24px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(231,189,87,.25); }
.page-hero.has-art::before { display: none; }
@media (max-width: 860px) {
	.page-hero.has-art .hero-split { grid-template-columns: 1fr; gap: 1.5rem; }
	.hero-art { justify-self: start; max-width: 340px; }
}

/* ---- Services board (redesign) ---- */
.svc-tabs {
	display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
	margin: 0 auto 2.25rem; max-width: 900px;
}
.svc-tab {
	appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem;
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .6rem 1.1rem; border-radius: 999px;
	background: #fff; color: var(--navy); border: 1px solid #d9e0ec;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.svc-tab span {
	display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .4rem;
	border-radius: 999px; background: #eef1f7; color: #4a5a73; font-size: .8rem; font-weight: 700;
}
.svc-tab:hover { border-color: var(--gold); transform: translateY(-1px); }
.svc-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-tab.is-active span { background: var(--gold-grad); color: var(--navy); }

.svc-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem;
}
.svc-card[hidden] { display: none; }
.svc-card a {
	position: relative; display: flex; flex-direction: column; height: 100%;
	padding: 1.6rem 1.6rem 1.35rem; border-radius: 22px; overflow: hidden;
	background: #fff; border: 1px solid #e3e8f1; color: var(--ink, #1b2536); text-decoration: none;
	box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 10px 24px -18px rgba(15,27,45,.35);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card a::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad);
	transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.svc-card a::after {
	content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%;
	background: radial-gradient(circle, rgba(231,189,87,.16), rgba(231,189,87,0) 70%); pointer-events: none;
}
.svc-card a:hover { transform: translateY(-6px); border-color: rgba(201,150,43,.55); box-shadow: 0 24px 40px -22px rgba(15,27,45,.45); }
.svc-card a:hover::before { transform: scaleX(1); }

.svc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.15rem; }
.svc-card-icon {
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
	background: var(--navy); color: var(--gold-bright);
	box-shadow: inset 0 0 0 1px rgba(231,189,87,.35), 0 10px 18px -10px rgba(15,27,45,.7);
	transition: background .22s, color .22s, transform .22s;
}
.svc-card-icon .icon { width: 28px; height: 28px; }
.svc-card a:hover .svc-card-icon { background: var(--gold-grad); color: var(--navy); transform: rotate(-6deg) scale(1.04); }
.svc-card-num {
	font-family: var(--font-display); font-size: 2.1rem; line-height: 1; font-weight: 600;
	color: transparent; -webkit-text-stroke: 1px #cdd5e3;
}
.svc-card-group {
	align-self: flex-start; margin-bottom: .6rem; padding: .22rem .65rem; border-radius: 999px;
	background: #fbf3dc; color: #7a5a12; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.svc-card-title { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.25; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.svc-card-short { color: var(--muted); font-size: .98rem; line-height: 1.55; flex: 1; }
.svc-card-more {
	display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; padding-top: 1rem;
	border-top: 1px dashed #dde3ee; color: #8a6310; font-weight: 700; font-size: .95rem;
}
.svc-card-more .icon { width: 18px; height: 18px; transition: transform .2s; }
.svc-card a:hover .svc-card-more .icon { transform: translateX(5px); }

@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.svc-grid { grid-template-columns: 1fr; gap: 1rem; }
	.svc-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem .4rem; scrollbar-width: none; }
	.svc-tabs::-webkit-scrollbar { display: none; }
	.svc-tab { white-space: nowrap; flex: 0 0 auto; }
}
#services .section-head { text-align: center; margin-inline: auto; max-width: 720px; }
#services .section-head h2::after { margin-inline: auto; }

/* ---- Show more (3 rows first) ---- */
.svc-board.is-collapsed .svc-card:nth-child(n+10) { display: none; }
@media (max-width: 980px) and (min-width: 641px) { .svc-board.is-collapsed .svc-card:nth-child(n+9) { display: none; } }
@media (max-width: 640px) { .svc-board.is-collapsed .svc-card:nth-child(n+7) { display: none; } }
.svc-more { display: flex; justify-content: center; margin-top: 2rem; position: relative; }
.svc-more[hidden] { display: none; }
.svc-board.is-collapsed .svc-more::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 110px; margin-bottom: 1.4rem; pointer-events: none;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
}
.svc-more-btn { gap: .6rem; padding-inline: 1.6rem; background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-more-btn:hover { background: var(--gold-grad); color: var(--navy); border-color: transparent; }
.svc-more-btn .icon { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .2s; }
.svc-more-btn.is-open .icon { transform: rotate(-90deg); }

/* ---- Process section ---- */
.process { background: #fff; }
.process-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow { margin: 0 0 .6rem; color: #8a6310; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.process-figure { position: relative; margin: 0 0 2.6rem; }
.process-figure img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 28px 54px -26px rgba(15,27,45,.6); }
.process-figure figcaption {
	position: absolute; left: 1.1rem; right: 1.1rem; bottom: -2.6rem; padding: .85rem 1.25rem; border-radius: 16px;
	background: #fff; box-shadow: 0 18px 36px -18px rgba(15,27,45,.45); border: 1px solid #e3e8f1; border-left: 4px solid #e7bd57;
}
.process-figure figcaption strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; }
.process-figure figcaption span { color: var(--muted); font-size: .95rem; }
.process-figure img.is-photo { aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.process-copy h2 { margin-bottom: .6rem; }
.process-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.75rem; }
.timeline { list-style: none; margin: 0 0 2rem; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(#e7bd57, rgba(231,189,87,.2)); }
.timeline li { position: relative; display: flex; gap: 1.1rem; padding: .55rem 0 1.15rem; }
.timeline li:last-child { padding-bottom: .2rem; }
.tl-num {
	position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--gold-grad); color: var(--navy); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 6px #fff, 0 8px 16px -8px rgba(15,27,45,.6);
}
.timeline h3 { margin: .1rem 0 .2rem; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) {
	.process-grid { grid-template-columns: 1fr; }
	.process-figure { max-width: 520px; margin-bottom: 1.5rem; }
	.process-figure figcaption { position: relative; left: auto; right: auto; bottom: auto; margin: -1.4rem 1rem 0; }
}

/* ---- Sliding office band ---- */
.offices.partners { display: block; padding: 1.6rem 0 1.7rem; }
.offices .partners-label { margin: 0 0 1.3rem; text-align: center; color: #aab8cf; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.partners-slider {
	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);
}
.partners-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: ptp-marquee 38s linear infinite; }
.partners-slider:hover .partners-track { animation-play-state: paused; }
.partners .partner { display: flex; align-items: center; gap: .85rem; margin-right: 1.25rem; padding: .7rem 1.4rem .7rem .8rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); white-space: nowrap; }
.partners .partner::before { display: none; }
.partner-mark { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 .55rem; border-radius: 12px; background: var(--gold-grad); color: var(--navy); font-weight: 800; font-size: .95rem; letter-spacing: .04em; }
.partner-name { color: #fff; font-weight: 600; font-size: .98rem; }
.partner-logo { display: block; height: 46px; width: auto; max-width: 160px; object-fit: contain; border-radius: 6px; background: #fff; padding: 4px 8px; }
@keyframes ptp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.partners-slider { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.partners-track { animation: none; }
}
.offices .partners-track { flex-wrap: nowrap; gap: 0; }
