/*
Theme Name: Nozix
Theme URI: https://nozix.in
Author: Nozix
Description: Custom theme for Nozix, a business licensing and registration consultancy. Includes mega menu, service landing pages, enquiry form with lead capture and contact settings in the Customizer.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: nozix
*/

:root {
	--primary: #1846c4;
	--primary-dark: #0c2a7a;
	--navy: #0a1a3f;
	--accent: #f7731b;
	--accent-dark: #dc5f0a;
	--tint: #f3f6fd;
	--ink: #14203a;
	--muted: #5b6785;
	--line: #e3e8f3;
	--white: #fff;
	--ok: #13854e;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(16, 38, 96, .08);
	--shadow-lg: 0 24px 60px rgba(16, 38, 96, .16);
	--font-head: "Poppins", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--font-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; background: var(--white); padding: 10px 16px; z-index: 999; }
.hp { display: none !important; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--sm { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 10px; border: 2px solid transparent; font-weight: 600; font-family: var(--font-head); font-size: .95rem; cursor: pointer; transition: .2s ease; white-space: nowrap; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(247, 115, 27, .3); }
.btn--accent:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--ghost { background: #e9f8ef; color: var(--ok); }
.btn--ghost:hover { background: #d4f1df; color: var(--ok); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); color: var(--navy); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d4f2; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar__msg .icon { color: var(--accent); width: 16px; height: 16px; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { color: #c9d4f2; display: flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--white); }
.topbar__links .icon { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 26, 63, .08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; color: #3a3274; line-height: 0; }
.logo:hover { color: #3a3274; }
.logo svg { height: 56px; width: auto; display: block; }
@media (max-width: 600px) { .logo svg { height: 44px; } }
.custom-logo { max-height: 52px; width: auto; }

.mainnav { flex: 1; }
.mainnav__list { list-style: none; display: flex; justify-content: center; gap: 2px; }
.mainnav__link { display: flex; align-items: center; gap: 4px; white-space: nowrap; padding: 26px 11px; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: .93rem; color: var(--ink); }
.mainnav__link:hover, .has-mega.is-open > .mainnav__link { color: var(--primary); }
.has-mega > .mainnav__link .icon { transition: transform .2s; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr) 260px; gap: 28px; padding-block: 30px; }
.mega__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 12px; }
.mega__col ul { list-style: none; }
.mega__col a { display: block; padding: 5px 0; color: var(--ink); font-size: .92rem; }
.mega__col a:hover { color: var(--primary); padding-left: 4px; }
.mega__cta { background: var(--tint); border-radius: var(--radius); padding: 22px; align-self: start; grid-column: -2; grid-row: 1 / span 2; }
.mega__cta-title { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.mega__cta p { font-size: .9rem; color: var(--muted); }

@media (min-width: 1141px) {
	.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
	.has-mega:hover > .mainnav__link .icon, .has-mega.is-open > .mainnav__link .icon { transform: rotate(180deg); }
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle .icon { width: 26px; height: 26px; }
.search-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { border-color: var(--primary); color: var(--primary); }
.search-toggle .icon { width: 20px; height: 20px; }
.site-search { border-top: 1px solid var(--line); background: var(--white); padding: 14px 0; }
.site-search[hidden] { display: none; }
.site-search .search--header { margin: 0 auto; max-width: 720px; box-shadow: none; }
.search--header input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.site-search__close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.site-search__close:hover { background: var(--tint); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 80px; background: radial-gradient(1000px 500px at 85% 10%, rgba(247, 115, 27, .12), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(24, 70, 196, .12), transparent 60%), var(--tint); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.hl { color: var(--primary); background: linear-gradient(transparent 70%, rgba(247, 115, 27, .25) 70%); }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 620px; }

.search { position: relative; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); max-width: 620px; margin: 26px 0 18px; }
.search > .icon { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; padding: 12px 0; background: transparent; min-width: 0; }
.search__results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); list-style: none; padding: 6px; z-index: 20; }
.search__results a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.search__results a:hover { background: var(--tint); }
.search__results small { color: var(--muted); }
.search__empty { padding: 10px 12px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 640px; }
.chips__label { font-size: .88rem; color: var(--muted); margin-right: 4px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; font-size: .84rem; color: var(--ink); transition: .15s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }

.rating { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.rating__avatars { display: flex; }
.rating__avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--white); margin-left: -10px; display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: var(--white); background: var(--primary); }
.rating__avatars span:first-child { margin-left: 0; }
.rating__avatars .icon { width: 18px; height: 18px; }
.rating__avatars span:nth-child(2) { background: var(--accent); }
.rating__avatars span:nth-child(3) { background: var(--navy); }
.stars { display: flex; align-items: center; gap: 2px; color: #f5a623; }
.stars strong { color: var(--navy); margin-left: 6px; }
.rating small { color: var(--muted); }

/* ---------- Enquiry form ---------- */
.enquiry-form { background: var(--white); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); display: grid; gap: 12px; }
.enquiry-form__title { font-size: 1.3rem; margin-bottom: 4px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24, 70, 196, .12); }
.enquiry-form__note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 0; }
.notice { padding: 10px 14px; border-radius: 8px; font-size: .9rem; margin: 0; }
.notice--ok { background: #e7f7ee; color: var(--ok); }
.notice--err { background: #fdecec; color: #b42318; }

/* ---------- Stats ---------- */
.stats { background: var(--white); margin-top: -40px; position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { text-align: center; padding: 28px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong, .stat > span { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--primary); }
.stat > span { color: var(--accent); }
.stat p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.stat strong, .stat > span { line-height: 1.25; }
@media (max-width: 600px) { .stat strong:not([data-count]) { font-size: 1.45rem; } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(135deg, var(--navy), var(--primary-dark)); color: #d5def6; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p:last-child { color: var(--muted); }
.section--dark .section__head p { color: #b9c6ea; }
.section__head--left { text-align: left; margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; color: var(--ink); transition: .2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); margin-bottom: 18px; transition: .2s; }
.cat-card__icon .icon { width: 26px; height: 26px; }
.cat-card:hover .cat-card__icon { background: var(--primary); color: var(--white); }
.cat-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--primary); }


.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why__content > p { color: var(--muted); }
.checklist { list-style: none; display: grid; gap: 16px; margin: 26px 0 30px; }
.checklist li { display: flex; gap: 14px; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #e7f7ee; color: var(--ok); }
.checklist strong { display: block; color: var(--navy); }
.checklist span { color: var(--muted); font-size: .93rem; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; gap: 6px; }
.why-card .icon { width: 32px; height: 32px; color: var(--primary); margin-bottom: 8px; }
.why-card strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); }
.why-card span { color: var(--muted); }
.why-card--accent { background: var(--navy); transform: translateY(24px); }
.why-card--accent strong { color: var(--white); }
.why-card--accent span { color: #b9c6ea; }
.why-card--accent .icon { color: var(--accent); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 30px 24px; }
.step__num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.step p { color: #b9c6ea; font-size: .93rem; margin: 0; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption small { display: block; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary); font-weight: 700; font-family: var(--font-head); }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--primary); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.post-card__img { aspect-ratio: 16 / 9; background: var(--tint); display: grid; place-items: center; color: var(--primary); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img .icon { width: 44px; height: 44px; }
.post-card__body { padding: 22px; }
.post-card__body small { color: var(--muted); }
.post-card__body h3 a { color: var(--navy); }
.post-card__body p { color: var(--muted); font-size: .93rem; }

.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 60px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #d5def6; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--tint); padding: 64px 0; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 680px; margin-bottom: 0; }
.page-hero--center { text-align: center; padding: 100px 0; }
.page-hero--center p { margin: 0 auto 20px; }

.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin-bottom: 1.4em; }

.svc-hero { background: radial-gradient(800px 400px at 90% 0%, rgba(247, 115, 27, .1), transparent 60%), var(--tint); padding: 54px 0 70px; }
.svc-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-hero__points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 28px; }
.svc-hero__points li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.svc-hero__points .icon { color: var(--ok); }
.svc-hero__meta { display: flex; flex-wrap: wrap; gap: 14px; }
.svc-hero__meta div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; }
.svc-hero__meta small { display: block; color: var(--muted); font-size: .78rem; }
.svc-hero__meta strong { font-family: var(--font-head); color: var(--navy); }

.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.svc-content .faq { margin-top: 10px; }
.svc-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.aside-card h3 { margin: 0; }
.aside-card p { margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.aside-card .enquiry-form { box-shadow: none; padding: 0; border: 0; }
.aside-links { list-style: none; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .93rem; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--tint); color: var(--primary); }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span { color: var(--muted); }

.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; margin: 0 3px; }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--tint); padding: 50px 0; border-top: 1px solid var(--line); }
.newsletter__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.newsletter h2 { font-size: 1.6rem; margin-bottom: 4px; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter__form { display: flex; gap: 10px; flex: 1; max-width: 480px; min-width: 260px; }
.newsletter__form input[type="email"] { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; }

.site-footer { background: var(--navy); color: #aebbe0; padding-top: 70px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.site-footer .logo, .site-footer .logo:hover { color: var(--white); margin-bottom: 12px; }
.site-footer .logo svg { height: 64px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.site-footer a { color: #aebbe0; }
.site-footer a:hover { color: var(--white); }
.footer__contact { display: grid; gap: 10px; margin-top: 18px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-block: 24px 30px; font-size: .84rem; }
.footer__disclaimer { color: #8492bb; }

.float-actions { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.float-wa { width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .2s; }
.float-wa:hover { transform: scale(1.08); color: var(--white); }
.float-wa .icon { width: 30px; height: 30px; }
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1480px) { .hide-sm { display: none; } }

@media (max-width: 1320px) {
	.mainnav__link { padding-inline: 7px; font-size: .86rem; }
}

@media (max-width: 1180px) {
	.hide-sm { display: none; }
}

@media (max-width: 1140px) {
	.nav-toggle { display: block; }
	.header__inner { justify-content: space-between; }
	.mainnav { position: fixed; inset: 74px 0 0 0; background: var(--white); overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; z-index: 99; }
	.nav-open .mainnav { transform: none; }
	.nav-open { overflow: hidden; }
	.mainnav__list { flex-direction: column; padding: 10px 20px 100px; }
	.mainnav__link { width: 100%; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
	.has-mega.is-open > .mega { display: block; }
	.has-mega.is-open > .mainnav__link .icon { transform: rotate(180deg); }
	.mega__grid { grid-template-columns: 1fr 1fr; padding: 16px 0; gap: 20px; }
	.mega .container { padding: 0; }
	.mega__cta { display: none; }

	.hero__grid, .svc-hero__grid, .why, .faq-wrap, .contact-grid, .svc-layout { grid-template-columns: 1fr; gap: 40px; }
	.cat-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.reviews, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
	.svc-aside { position: static; }
}

@media (max-width: 640px) {
	body { padding-bottom: 64px; }
	.topbar__msg { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__links a:first-child span { display: none; }
	.header__actions .btn--primary { display: none; }
	.section { padding: 64px 0; }
	.hero { padding: 44px 0 70px; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.cat-grid, .svc-grid, .steps, .reviews, .post-grid, .why__cards, .svc-hero__points { grid-template-columns: 1fr; }
	.why-card--accent { transform: none; }
	.mega__grid { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
	.enquiry-form { padding: 22px; }
	.newsletter__form { flex-direction: column; }
	.float-actions { bottom: 80px; right: 16px; }
	.mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 26, 63, .08); padding-bottom: env(safe-area-inset-bottom, 0); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: .78rem; font-weight: 600; color: var(--navy); }
	.mobile-bar a.is-primary { background: var(--accent); color: var(--white); }
}

/* ---------- Hero decoration & authority strip ---------- */
.hero__form--decor { position: relative; }
.hero__form--decor::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px; border-radius: 28px; background: repeating-linear-gradient(45deg, rgba(24, 70, 196, .14) 0 2px, transparent 2px 10px); z-index: 0; }
.hero__form--decor .enquiry-form { position: relative; z-index: 1; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .85rem; animation: nz-float 5s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .88rem; }
.float-card small { color: var(--muted); }
.float-card--top { top: -64px; left: 24px; }
.float-card--bottom { bottom: -58px; left: -24px; animation-delay: -2.5s; }
.float-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #e7f7ee; color: var(--ok); }
.float-card__icon--blue { background: var(--tint); color: var(--primary); }
@keyframes nz-float { 50% { transform: translateY(-8px); } }

.authorities { padding: 54px 0 0; }
.authorities__label { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.authorities__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.authorities__list li { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; color: #a3aec8; transition: color .2s; }
.authorities__list li:hover { color: var(--navy); }

.newsletter__form { flex-wrap: wrap; }
.newsletter__form .notice { flex-basis: 100%; }

@media (max-width: 1240px) { .float-card--bottom { left: 0; } }
@media (max-width: 640px) { .float-card { display: none; } .hero__form--decor::before { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Tables in service content ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose h4 { font-size: 1.02rem; margin-top: 1.2em; }
.svc-hero .eyebrow { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.footer__tagline { color: var(--accent); font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; }

/* =====================================================================
   Polish & motion layer (v1.2)
   Smooth easing, page transitions, scroll reveals and micro-interactions.
   Everything here is switched off for visitors who prefer reduced motion.
   ===================================================================== */
:root {
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--shadow: 0 1px 2px rgba(16, 38, 96, .04), 0 8px 24px rgba(16, 38, 96, .07);
	--shadow-lg: 0 2px 6px rgba(16, 38, 96, .05), 0 24px 56px rgba(16, 38, 96, .14);
	--glow: 0 0 0 4px rgba(24, 70, 196, .14);
}
::selection { background: rgba(247, 115, 27, .22); color: var(--navy); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h2, h3, .prose h2, .prose h3 { scroll-margin-top: 110px; }
h1, h2 { letter-spacing: -.015em; }

/* ---- Smooth page-to-page transitions (Chrome, Edge, Safari 18+) ---- */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root) { animation: nz-page-out .22s var(--ease) both; }
	::view-transition-new(root) { animation: nz-page-in .45s var(--ease) both; }
	.site-header { view-transition-name: site-header; }
	.topbar { view-transition-name: topbar; }
}
@keyframes nz-page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes nz-page-in { from { opacity: 0; transform: translateY(12px); } }

/* ---- Reading progress ---- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--primary), #5a7cff 60%, var(--accent)); pointer-events: none; }

/* ---- Header: frosted glass on scroll, animated nav underline ---- */
.site-header { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom-color: rgba(227, 232, 243, .7); box-shadow: 0 8px 30px rgba(10, 26, 63, .07); }
@media (min-width: 1141px) {
	.header__inner { transition: height .35s var(--ease); }
	.site-header.is-scrolled .header__inner { height: 66px; }
	.logo svg { transition: height .35s var(--ease); }
	.site-header.is-scrolled .logo svg { height: 48px; }
	.mainnav__link { position: relative; transition: color .2s var(--ease); }
	.mainnav__link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: calc(50% - 16px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease); }
	.mainnav__link:hover::after, .has-mega:hover > .mainnav__link::after, .has-mega.is-open > .mainnav__link::after { transform: scaleX(1); }

	/* Mega menu: soft drop with a short close delay so it doesn't flicker. */
	.mega { transform: translateY(12px); transition: opacity .28s var(--ease) .12s, transform .4s var(--ease) .12s, visibility 0s linear .4s; border-radius: 0 0 20px 20px; }
	.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { transition-delay: 0s, 0s, 0s; }
	.mega__col, .mega__cta { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
	.has-mega:hover .mega__col, .has-mega:hover .mega__cta, .has-mega:focus-within .mega__col, .has-mega:focus-within .mega__cta, .has-mega.is-open .mega__col, .has-mega.is-open .mega__cta { opacity: 1; transform: none; }
	.mega__col:nth-child(2) { transition-delay: .04s; } .mega__col:nth-child(3) { transition-delay: .08s; } .mega__col:nth-child(4) { transition-delay: .12s; } .mega__col:nth-child(5) { transition-delay: .16s; } .mega__cta { transition-delay: .2s; }
}
.mega__col a { position: relative; transition: color .2s var(--ease), padding-left .25s var(--ease); }
.mega__col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.mega__col a:hover { padding-left: 14px; }
.mega__col a:hover::before { width: 8px; }
.mega__cta { background: linear-gradient(145deg, var(--tint), #fff4ec); border: 1px solid var(--line); }
.search-toggle { transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.search-toggle:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.site-search:not([hidden]) { animation: nz-drop .35s var(--ease) both; }
.search__results:not([hidden]) { animation: nz-pop .22s var(--ease) both; transform-origin: top center; }
.search__results a { transition: background-color .15s, padding-left .2s var(--ease); }
.search__results a:hover, .search__results a:focus-visible { padding-left: 18px; }
@keyframes nz-drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes nz-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---- Buttons ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--primary { box-shadow: 0 6px 16px rgba(24, 70, 196, .22); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(24, 70, 196, .3); }
.btn--accent { background: linear-gradient(135deg, #ff8a3d, var(--accent) 55%, var(--accent-dark)); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(247, 115, 27, .38); }
.btn--accent::after, .btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--accent:hover::after, .btn--primary:hover::after { transform: translateX(120%); }
.btn--light:hover, .btn--ghost:hover, .btn--outline:hover { transform: translateY(-2px); }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::before { content: ""; position: absolute; width: 20px; height: 20px; left: calc(50% - 10px); top: calc(50% - 10px); border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: nz-spin .7s linear infinite; }
@keyframes nz-spin { to { transform: rotate(360deg); } }
.link-arrow .icon { transition: transform .3s var(--ease); }
a:hover > .link-arrow .icon, .link-arrow:hover .icon, .cat-card:hover .link-arrow .icon, .post-card:hover .link-arrow .icon { transform: translateX(5px); }

/* ---- Hero ---- */
.hero { background: linear-gradient(180deg, #f6f8ff 0%, #eef2fd 100%); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--1 { width: 520px; height: 520px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(247, 115, 27, .55), transparent 65%); animation: nz-drift-1 22s ease-in-out infinite alternate; }
.blob--2 { width: 600px; height: 600px; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(24, 70, 196, .45), transparent 65%); animation: nz-drift-2 26s ease-in-out infinite alternate; }
.blob--3 { width: 360px; height: 360px; top: 30%; left: 42%; background: radial-gradient(circle, rgba(90, 124, 255, .35), transparent 65%); animation: nz-drift-3 18s ease-in-out infinite alternate; }
.hero__lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(24, 70, 196, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 70, 196, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); }
@keyframes nz-drift-1 { to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes nz-drift-2 { to { transform: translate(110px, -60px) scale(1.08); } }
@keyframes nz-drift-3 { to { transform: translate(-60px, -50px) scale(.9); } }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
.hl { position: relative; display: inline-block; background: linear-gradient(100deg, var(--primary) 10%, #5a7cff 55%, var(--accent) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 99px; background: linear-gradient(90deg, rgba(247, 115, 27, .45), rgba(90, 124, 255, .35)); transform-origin: left; z-index: -1; }
.eyebrow { background: rgba(247, 115, 27, .1); border: 1px solid rgba(247, 115, 27, .18); padding: 6px 13px; border-radius: 99px; font-size: .74rem; }
.svc-hero .eyebrow { background: none; border: 0; padding: 0; border-radius: 0; font-size: .95rem; }
.section--dark .eyebrow { background: rgba(247, 115, 27, .16); border-color: rgba(247, 115, 27, .3); }
.search { transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.search:focus-within { border-color: rgba(24, 70, 196, .45); box-shadow: var(--glow), var(--shadow-lg); }
.hero .search:focus-within { transform: translateY(-2px); }
.chip { transition: border-color .2s var(--ease), color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(24, 70, 196, .12); background: #fff; }
.float-card { border: 1px solid rgba(227, 232, 243, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(255, 255, 255, .92); }

@media (prefers-reduced-motion: no-preference) {
	.hero__content > * { animation: nz-rise .9s var(--ease) both; }
	.hero__content > :nth-child(1) { animation-delay: .05s; }
	.hero__content > :nth-child(2) { animation-delay: .12s; }
	.hero__content > :nth-child(3) { animation-delay: .2s; }
	.hero__content > :nth-child(4) { animation-delay: .28s; }
	.hero__content > :nth-child(5) { animation-delay: .36s; }
	.hero__content > :nth-child(6) { animation-delay: .44s; }
	.hero__form { animation: nz-rise-side 1s var(--ease) .25s both; }
	.hl::after { animation: nz-underline 1s var(--ease) .7s both; }
	.svc-hero__grid > :first-child > *, .page-hero .container > * { animation: nz-rise .8s var(--ease) both; }
	.svc-hero__grid > :first-child > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .08s; }
	.svc-hero__grid > :first-child > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .16s; }
	.svc-hero__grid > :first-child > :nth-child(4) { animation-delay: .24s; }
	.svc-hero__grid > :first-child > :nth-child(5) { animation-delay: .32s; }
	.svc-hero__grid > :first-child > :nth-child(6) { animation-delay: .4s; }
	.svc-hero__grid > .hero__form { animation: nz-rise-side .9s var(--ease) .2s both; }
}
@keyframes nz-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes nz-rise-side { from { opacity: 0; transform: translateX(30px) scale(.98); } }
@keyframes nz-underline { from { transform: scaleX(0); } }

/* ---- Enquiry form ---- */
.enquiry-form { border-top: 0; position: relative; overflow: hidden; border: 1px solid rgba(227, 232, 243, .8); }
.enquiry-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #ffb36b, var(--primary)); background-size: 200% 100%; animation: nz-shimmer 6s linear infinite; }
@keyframes nz-shimmer { to { background-position: -200% 0; } }
.aside-card .enquiry-form::before { display: none; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.enquiry-form input:hover, .enquiry-form select:hover, .enquiry-form textarea:hover { border-color: #c9d3ea; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { background: #fff; box-shadow: var(--glow); }
.notice { animation: nz-pop .35s var(--ease) both; }

/* ---- Stats ---- */
.stats__grid { overflow: hidden; }
.stat { position: relative; transition: background-color .3s var(--ease); }
.stat:hover { background: linear-gradient(180deg, #fff, var(--tint)); }
.stat strong { background: linear-gradient(120deg, var(--primary), #5a7cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Cards with cursor spotlight ---- */
.cat-card, .why-card { position: relative; overflow: hidden; isolation: isolate; }
.cat-card::before, .why-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(24, 70, 196, .08), transparent 45%); }
.cat-card:hover::before, .why-card:hover::before { opacity: 1; }
.cat-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; border: 1px solid var(--line); }
.cat-card:hover { transform: translateY(-6px); border-color: rgba(24, 70, 196, .25); box-shadow: 0 2px 6px rgba(16, 38, 96, .04), 0 28px 50px rgba(16, 38, 96, .13); }
.cat-card__icon { transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s var(--ease-spring); }
.cat-card:hover .cat-card__icon { background: linear-gradient(135deg, var(--primary), #5a7cff); transform: scale(1.08) rotate(-6deg); }
.cat-card h3 { transition: color .2s; }
.cat-card:hover h3 { color: var(--primary); }
.why-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); border: 1px solid rgba(227, 232, 243, .8); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card--accent { background: linear-gradient(150deg, var(--navy), #18306e); border-color: transparent; }
.why-card--accent:hover { transform: translateY(18px); }
.why-card--accent::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(247, 115, 27, .18), transparent 45%); }
.why-card .icon { transition: transform .5s var(--ease-spring); }
.why-card:hover .icon { transform: scale(1.12) rotate(-6deg); }
.checklist li { transition: transform .3s var(--ease); }
.checklist li:hover { transform: translateX(4px); }

/* ---- How it works ---- */
.section--dark { position: relative; overflow: hidden; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 15% 0%, rgba(90, 124, 255, .25), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(247, 115, 27, .18), transparent 70%); }
.steps { position: relative; }
@media (min-width: 1141px) {
	.steps::before { content: ""; position: absolute; top: 54px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px); z-index: 0; }
}
.step { z-index: 1; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.step__num { position: relative; background: linear-gradient(135deg, #ff9a52, var(--accent)); box-shadow: 0 8px 20px rgba(247, 115, 27, .4); }
.step__num::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(247, 115, 27, .45); opacity: 0; }
.step.is-in .step__num::after { animation: nz-ring 1.6s var(--ease) .3s; }
@keyframes nz-ring { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---- FAQ ---- */
.faq details { transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s; overflow: hidden; }
.faq details:hover { border-color: #c9d3ea; }
.faq details[open] { border-color: rgba(24, 70, 196, .3); box-shadow: var(--shadow); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--primary); }
.faq summary .icon { transition: transform .4s var(--ease); flex-shrink: 0; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--tint); }
.faq details[open] summary .icon { background: var(--primary); color: #fff; }

/* ---- Posts, aside, footer, misc ---- */
.post-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__img img, .post-card__img .icon { transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img, .post-card:hover .post-card__img .icon { transform: scale(1.06); }
.aside-card { transition: box-shadow .3s var(--ease); background: #fff; }
.aside-card:hover { box-shadow: var(--shadow); }
.aside-links a { transition: color .2s, padding-left .25s var(--ease); }
.aside-links a:hover { padding-left: 6px; }
.svc-hero__meta div { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-hero__meta div:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prose h2 { position: relative; padding-top: 14px; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.prose h2:first-child { padding-top: 14px; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--primary), var(--primary-dark) 60%, var(--navy)); }
.cta-band::before { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; top: -220px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(247, 115, 27, .35), transparent 65%); animation: nz-drift-1 20s ease-in-out infinite alternate; }
.footer__col a, .footer__contact a { display: inline-block; transition: color .2s, transform .25s var(--ease); }
.footer__col a:hover { transform: translateX(4px); }
.newsletter__form input[type="email"] { transition: border-color .2s, box-shadow .2s; }
.newsletter__form input[type="email"]:focus { outline: 0; border-color: var(--primary); box-shadow: var(--glow); }
.authorities__list li { transition: color .3s var(--ease), transform .3s var(--ease); }
.authorities__list li:hover { transform: translateY(-2px); }

/* WhatsApp button: gentle attention ring */
.float-wa { position: relative; transition: transform .35s var(--ease-spring); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: nz-pulse 2.6s var(--ease) infinite; }
@keyframes nz-pulse { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Mobile menu: items slide in one after another */
@media (max-width: 1140px) {
	.mainnav { transition: transform .45s var(--ease); box-shadow: -20px 0 40px rgba(10, 26, 63, .08); }
	.mainnav__item { opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
	.nav-open .mainnav__item { opacity: 1; transform: none; }
	.nav-open .mainnav__item:nth-child(2) { transition-delay: .04s; } .nav-open .mainnav__item:nth-child(3) { transition-delay: .08s; }
	.nav-open .mainnav__item:nth-child(4) { transition-delay: .12s; } .nav-open .mainnav__item:nth-child(5) { transition-delay: .16s; }
	.nav-open .mainnav__item:nth-child(6) { transition-delay: .2s; } .nav-open .mainnav__item:nth-child(7) { transition-delay: .24s; }
	.has-mega.is-open > .mega { animation: nz-drop .35s var(--ease) both; }
	.mobile-bar a { transition: background-color .2s, transform .2s var(--ease); }
	.mobile-bar a:active { transform: scale(.95); }
}

/* ---- Scroll reveal (classes added by main.js) ---- */
@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
	.reveal.is-in { opacity: 1; transform: none; }
	.why-card--accent.reveal.is-in { transform: translateY(24px); }
	.reveal.is-in:hover { transition-delay: 0s; }
}
@media (max-width: 640px) { .why-card--accent.reveal.is-in { transform: none; } .why-card--accent:hover { transform: translateY(-6px); } }
.why__cards { row-gap: 44px; }
@media (max-width: 640px) { .why__cards { row-gap: 20px; } }

/* ---------- Fast-track popup ---------- */
.ft-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.ft-popup[hidden] { display: none; }
.ft-popup__backdrop { position: absolute; inset: 0; background: rgba(8, 18, 45, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ft-popup__dialog { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 24px; background: #fff; box-shadow: 0 40px 100px rgba(8, 18, 45, .35); }
.ft-popup__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); cursor: pointer; box-shadow: 0 4px 14px rgba(10, 26, 63, .12); transition: transform .3s var(--ease), background-color .2s; }
.ft-popup__close:hover { transform: rotate(90deg); background: #fff; }
.ft-popup__promo { position: relative; overflow: hidden; isolation: isolate; padding: 42px 40px 34px; color: #d5def6; background: linear-gradient(150deg, var(--navy) 0%, #142a66 55%, var(--primary-dark) 100%); }
.ft-popup__promo::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(247, 115, 27, .45), transparent 65%); animation: nz-drift-1 16s ease-in-out infinite alternate; }
.ft-popup__promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.ft-popup__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(247, 115, 27, .18); border: 1px solid rgba(247, 115, 27, .4); color: #ffb37a; font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.ft-popup__promo h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.15; margin: 16px 0 10px; }
.ft-popup__promo h2 span { background: linear-gradient(100deg, #ffb36b, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft-popup__promo > p { margin-bottom: 0; }
.ft-popup__promo strong { color: #fff; }
.ft-popup__timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px 0 22px; }
.ft-popup__timeline::before { content: ""; position: absolute; top: 17px; left: 16%; right: 16%; height: 2px; background: rgba(255, 255, 255, .15); }
.ft-popup__timeline::after { content: ""; position: absolute; top: 17px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--accent), #33d17a); transform-origin: left; transform: scaleX(0); }
.ft-popup.is-open .ft-popup__timeline::after { animation: nz-underline 1.4s var(--ease) .5s forwards; transform: scaleX(1); }
.ft-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.ft-step__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #1d3577; border: 2px solid rgba(255, 255, 255, .2); color: #fff; margin-bottom: 6px; }
.ft-step:nth-child(2) .ft-step__dot { background: var(--accent); border-color: rgba(255, 255, 255, .35); }
.ft-step__dot--done { background: #13a35a !important; }
.ft-step strong { font-family: var(--font-head); font-size: .86rem; }
.ft-step small { font-size: .74rem; color: #a9b8e3; }
.ft-popup__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ft-popup__list a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: .86rem; font-weight: 500; transition: background-color .2s, transform .25s var(--ease), border-color .2s; }
.ft-popup__list a:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); color: #fff; }
.ft-popup__list .icon { color: #33d17a; }
.ft-popup__fine { margin: 16px 0 0; font-size: .72rem; color: #8d9cc8; }
.ft-popup__form { display: flex; align-items: center; padding: 34px 32px; background: linear-gradient(180deg, #fff, var(--tint)); }
.ft-popup__form .enquiry-form { width: 100%; box-shadow: none; border: 0; padding: 0; background: transparent; }
.ft-popup__form .enquiry-form::before { display: none; }

@media (prefers-reduced-motion: no-preference) {
	.ft-popup.is-open .ft-popup__backdrop { animation: nz-fade .4s var(--ease) both; }
	.ft-popup.is-open .ft-popup__dialog { animation: nz-pop-in .6s var(--ease) both; }
	.ft-popup.is-open .ft-popup__promo > * { animation: nz-rise .7s var(--ease) both; }
	.ft-popup.is-open .ft-popup__promo > :nth-child(2) { animation-delay: .1s; }
	.ft-popup.is-open .ft-popup__promo > :nth-child(3) { animation-delay: .16s; }
	.ft-popup.is-open .ft-popup__promo > :nth-child(4) { animation-delay: .22s; }
	.ft-popup.is-open .ft-popup__promo > :nth-child(5) { animation-delay: .28s; }
	.ft-popup.is-open .ft-popup__promo > :nth-child(6) { animation-delay: .34s; }
	.ft-popup.is-closing .ft-popup__backdrop { animation: nz-fade .3s var(--ease) reverse both; }
	.ft-popup.is-closing .ft-popup__dialog { animation: nz-pop-out .3s var(--ease) both; }
}
@keyframes nz-fade { from { opacity: 0; } }
@keyframes nz-pop-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes nz-pop-out { to { opacity: 0; transform: translateY(16px) scale(.97); } }
body.ft-lock { overflow: hidden; }

@media (max-width: 760px) {
	.ft-popup { align-items: end; padding: 0; }
	.ft-popup__dialog { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92vh; }
	.ft-popup__promo { padding: 30px 22px 22px; }
	.ft-popup__form { padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0)); }
	.ft-popup__list { grid-template-columns: 1fr 1fr; }
	@media (prefers-reduced-motion: no-preference) {
		.ft-popup.is-open .ft-popup__dialog { animation: nz-sheet-in .55s var(--ease) both; }
		.ft-popup.is-closing .ft-popup__dialog { animation: nz-sheet-out .3s var(--ease) both; }
	}
}
@keyframes nz-sheet-in { from { transform: translateY(100%); } }
@keyframes nz-sheet-out { to { transform: translateY(100%); } }
.ft-popup__promo h2 span { white-space: nowrap; }
.toast { position: fixed; left: 50%; top: 24px; z-index: 400; max-width: calc(100% - 32px); padding: 14px 20px 14px 46px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 600; color: var(--navy); transform: translate(-50%, -20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.toast::before { content: "✓"; position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; background: var(--ok); }
.toast--err::before { content: "!"; background: #b42318; }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
