/* ==========================================================================
   Karoon Design System
   Corporate + Modern + Minimal + Premium
   Palette: #F8FAFC · #1E293B · #1B365D · #245B93 · #D97706
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--bg: #F8FAFC;
	--surface: #FFFFFF;
	--charcoal: #1E293B;
	--navy: #1B365D;
	--blue: #245B93;
	--orange: #D97706;

	--text: #1E293B;
	--text-soft: #475569;
	--text-muted: #64748B;
	--text-invert: #F8FAFC;
	--border: #E2E8F0;
	--border-strong: #CBD5E1;

	--font-fa: 'Vazirmatn', 'Tahoma', 'IRANSansX', sans-serif;
	--font-en: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--radius-sm: 4px;
	--radius: 6px;
	--radius-lg: 8px;

	--shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.04);
	--shadow: 0 1px 2px rgba(30, 41, 59, 0.05), 0 6px 18px -14px rgba(30, 41, 59, 0.14);
	--shadow-lg: 0 2px 8px rgba(30, 41, 59, 0.06), 0 18px 40px -26px rgba(27, 54, 93, 0.2);

	--container: 1140px;
	--gutter: clamp(20px, 4vw, 32px);
	--section-y: clamp(64px, 9vw, 112px);

	--header-h: 72px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
	margin: 0;
	font-family: var(--font-fa);
	font-size: 16px;
	line-height: 1.85;
	color: var(--text);
	background: var(--bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: var(--blue);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-fa);
	font-weight: 700;
	line-height: 1.45;
	color: var(--navy);
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.35rem); }

p {
	margin: 0 0 1em;
	color: var(--text-soft);
}

ul, ol {
	margin: 0 0 1.2em;
	padding-right: 1.4em;
	color: var(--text-soft);
}

li {
	margin-bottom: 0.4em;
}

strong {
	color: var(--charcoal);
}

hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 2.5rem 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -48px;
	right: 16px;
	background: var(--navy);
	color: #fff;
	padding: 10px 18px;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	z-index: 1000;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* ---------- Layout ---------- */
.container {
	width: min(100% - var(--gutter) * 2, var(--container));
	margin-inline: auto;
}

.section {
	padding-block: var(--section-y);
}

.section--tight {
	padding-block: clamp(48px, 6vw, 72px);
}

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

.section--dark {
	background: var(--charcoal);
	color: var(--text-invert);
}

.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section--dark p,
.section--dark li {
	color: #CBD5E1;
}

.section-head {
	max-width: 640px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-label {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--blue);
	background: rgba(36, 91, 147, 0.08);
	border: 1px solid rgba(36, 91, 147, 0.14);
	padding: 4px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
	letter-spacing: 0.02em;
}

.section--dark .section-label {
	color: #93C5FD;
	background: rgba(147, 197, 253, 0.1);
	border-color: rgba(147, 197, 253, 0.2);
}

.section-desc {
	font-size: 1.05rem;
	color: var(--text-muted);
	margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-fa);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	padding: 15px 28px;
	border-radius: var(--radius-sm);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn--primary {
	background: var(--orange);
	color: #fff;
	border-color: var(--orange);
	box-shadow: 0 8px 20px -10px rgba(217, 119, 6, 0.55);
}

.btn--primary:hover {
	background: #B45309;
	border-color: #B45309;
	color: #fff;
	box-shadow: 0 10px 24px -10px rgba(217, 119, 6, 0.6);
}

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

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

.btn--ghost {
	background: transparent;
	color: var(--navy);
	border-color: var(--border-strong);
}

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

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

.btn--light:hover {
	background: var(--bg);
	color: var(--navy);
}

.btn--sm {
	padding: 11px 20px;
	font-size: 0.88rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(248, 250, 252, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
	border-bottom-color: var(--border);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--shadow-sm);
}

/* backdrop-filter creates a containing block for fixed descendants,
   which breaks the full-screen mobile menu (it would be sized to the
   72px header). Disable it while the menu is open. */
body.menu-open .site-header {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background: var(--bg);
}

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

.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--navy);
	flex-shrink: 0;
}

.site-brand:hover {
	color: var(--navy);
}

.site-brand__mark {
	display: block;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.site-brand__mark svg {
	width: 100%;
	height: 100%;
	display: block;
}

.site-brand__logo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 9px;
	display: block;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.site-brand__title {
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--navy);
}

.site-brand__sub {
	font-family: var(--font-en);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	text-transform: uppercase;
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

/* Primary nav */
.main-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	display: block;
	padding: 9px 14px;
	font-size: 0.93rem;
	font-weight: 700;
	color: var(--text-soft);
	border-radius: var(--radius-sm);
	transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	color: var(--navy);
	background: rgba(27, 54, 93, 0.06);
}

.header-cta {
	flex-shrink: 0;
}

.nav-mobile-cta {
	display: none;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--charcoal);
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1000px 420px at 85% -10%, rgba(36, 91, 147, 0.1), transparent 60%),
		radial-gradient(700px 380px at 10% 110%, rgba(27, 54, 93, 0.07), transparent 55%),
		var(--bg);
	padding-block: clamp(72px, 12vw, 140px);
	border-bottom: 1px solid var(--border);
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(27, 54, 93, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 54, 93, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 30%, transparent 75%);
	pointer-events: none;
}

.hero-inner {
	position: relative;
	max-width: 760px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--blue);
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(36, 91, 147, 0.18);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 24px;
}

.hero-badge::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--orange);
}

.hero h1 {
	font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem);
	line-height: 1.35;
	color: var(--charcoal);
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

.hero h1 em {
	font-style: normal;
	color: var(--navy);
}

.hero-text {
	font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.18rem);
	color: var(--text-muted);
	max-width: 580px;
	margin-bottom: 36px;
	line-height: 2;
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 48px);
	margin-top: clamp(48px, 7vw, 72px);
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.hero-stat {
	min-width: 140px;
}

.hero-stat__value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--navy);
	line-height: 1.3;
}

.hero-stat__label {
	font-size: 0.86rem;
	color: var(--text-muted);
}

/* ---------- Cards ---------- */
.card-grid {
	display: grid;
	gap: clamp(18px, 2.5vw, 28px);
}

.card-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(26px, 3vw, 36px);
	transition: border-color 0.25s ease;
	display: flex;
	flex-direction: column;
}

.card:hover {
	border-color: rgba(36, 91, 147, 0.3);
}

.card__icon {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(27, 54, 93, 0.08), rgba(36, 91, 147, 0.12));
	border: 1px solid rgba(27, 54, 93, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
	color: var(--navy);
}

.card__icon svg {
	width: 26px;
	height: 26px;
}

.card h3 {
	font-size: 1.2rem;
	margin-bottom: 12px;
}

.card p {
	font-size: 0.96rem;
	color: var(--text-muted);
	flex-grow: 1;
	margin-bottom: 22px;
}

.card__link {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--blue);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.card__link::after {
	content: '←';
	transition: transform 0.2s ease;
}

.card:hover .card__link::after {
	transform: translateX(-4px);
}

.card__link:hover {
	color: var(--navy);
}

/* Numbered process steps */
.steps {
	display: grid;
	gap: 20px;
	counter-reset: step;
}

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

.step {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 32px);
	position: relative;
}

.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	font-family: var(--font-en);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--orange);
	letter-spacing: 0.06em;
	display: block;
	margin-bottom: 14px;
}

.step h3 {
	font-size: 1.08rem;
	margin-bottom: 10px;
}

.step p {
	font-size: 0.93rem;
	color: var(--text-muted);
	margin: 0;
}

/* Why Karoon */
.why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(18px, 2.5vw, 28px);
}

.why-item {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 34px);
	transition: background 0.25s ease, border-color 0.25s ease;
}

.why-item:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.16);
}

.why-item__num {
	font-family: var(--font-en);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--orange);
	letter-spacing: 0.08em;
	display: block;
	margin-bottom: 12px;
}

.why-item h3 {
	color: #fff;
	font-size: 1.12rem;
	margin-bottom: 10px;
}

.why-item p {
	color: #94A3B8;
	margin: 0;
	font-size: 0.95rem;
}

/* Intro split */
.intro-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
}

.intro-aside {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(26px, 3vw, 36px);
	box-shadow: var(--shadow-sm);
}

.intro-aside h3 {
	font-size: 1.05rem;
	margin-bottom: 16px;
}

.intro-aside ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.intro-aside li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.95rem;
	color: var(--text-soft);
	margin: 0;
}

.intro-aside li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.intro-aside li::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--blue);
	margin-top: 9px;
	flex-shrink: 0;
	transform: rotate(45deg);
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin-top: 2.2em;
}

.entry-content h2:first-child {
	margin-top: 0;
}

.entry-content h3 {
	margin-top: 1.8em;
	color: var(--charcoal);
}

/* CTA band */
.cta-band {
	background:
		radial-gradient(800px 300px at 90% 0%, rgba(36, 91, 147, 0.35), transparent 60%),
		var(--navy);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(40px, 6vw, 64px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}

.cta-band::after {
	content: '';
	position: absolute;
	inset-block: 0;
	left: -60px;
	width: 220px;
	background: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 14px,
		rgba(255, 255, 255, 0.03) 14px,
		rgba(255, 255, 255, 0.03) 28px
	);
	pointer-events: none;
}

.cta-band h2 {
	color: #fff;
	margin-bottom: 10px;
	font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem);
}

.cta-band p {
	color: #CBD5E1;
	margin: 0;
	max-width: 520px;
}

.cta-band .btn-row {
	position: relative;
	z-index: 1;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	background:
		radial-gradient(900px 320px at 80% -20%, rgba(36, 91, 147, 0.1), transparent 60%),
		var(--surface);
	border-bottom: 1px solid var(--border);
	padding-block: clamp(48px, 7vw, 84px);
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.breadcrumb li {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb li + li::before {
	content: '/';
	color: var(--border-strong);
}

.breadcrumb a {
	color: var(--text-muted);
}

.breadcrumb a:hover {
	color: var(--blue);
}

.breadcrumb .current {
	color: var(--navy);
	font-weight: 700;
}

.page-hero h1 {
	margin-bottom: 14px;
	color: var(--charcoal);
}

.page-hero .page-lead {
	font-size: 1.06rem;
	color: var(--text-muted);
	max-width: 720px;
	margin: 0;
	line-height: 2;
}

/* ---------- Content layout ---------- */
.content-narrow {
	max-width: 780px;
}

.content-wide {
	max-width: 920px;
}

/* ---------- FAQ ---------- */
.faq {
	max-width: 780px;
}

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.faq-item.is-open {
	border-color: rgba(36, 91, 147, 0.35);
}

.faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: none;
	border: 0;
	padding: 18px 22px;
	font-family: var(--font-fa);
	font-size: 1rem;
	font-weight: 700;
	color: var(--charcoal);
	cursor: pointer;
	text-align: right;
	line-height: 1.7;
}

.faq-q:hover {
	color: var(--blue);
}

.faq-q::after {
	content: '';
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--text-muted);
	border-bottom: 2px solid var(--text-muted);
	transform: rotate(45deg);
	transition: transform 0.25s var(--ease);
	flex-shrink: 0;
	margin-top: -4px;
}

.faq-item.is-open .faq-q::after {
	transform: rotate(225deg);
	margin-top: 4px;
}

.faq-a {
	display: none;
	padding: 0 22px 20px;
}

.faq-item.is-open .faq-a {
	display: block;
}

.faq-a p {
	margin: 0;
	font-size: 0.96rem;
	color: var(--text-muted);
}

/* ---------- Forms ---------- */
.form-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(28px, 4vw, 44px);
	box-shadow: var(--shadow-sm);
}

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

.form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-field--full {
	grid-column: 1 / -1;
}

.form-field label {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--charcoal);
}

.form-field label .req {
	color: var(--orange);
	margin-right: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
	font-family: var(--font-fa);
	font-size: 0.95rem;
	color: var(--text);
	background: var(--bg);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 13px 16px;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
	line-height: 1.6;
}

.form-field textarea {
	min-height: 130px;
	resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--blue);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(36, 91, 147, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #94A3B8;
}

.form-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
	padding-left: 40px;
}

.form-hint {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin: 0;
}

.form-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.form-status {
	border-radius: var(--radius-sm);
	padding: 14px 20px;
	font-size: 0.94rem;
	font-weight: 700;
	margin-bottom: 24px;
}

.form-status--ok {
	background: rgba(22, 163, 74, 0.08);
	border: 1px solid rgba(22, 163, 74, 0.25);
	color: #15803D;
}

.form-status--error {
	background: rgba(220, 38, 38, 0.06);
	border: 1px solid rgba(220, 38, 38, 0.25);
	color: #B91C1C;
}

.karoon-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

/* Contact info list */
.contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.contact-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
	margin: 0;
}

.contact-list li:last-child {
	border-bottom: 0;
}

.contact-list__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: rgba(27, 54, 93, 0.07);
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-list__icon svg {
	width: 20px;
	height: 20px;
}

.contact-list__label {
	display: block;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: 2px;
}

.contact-list__value {
	font-weight: 700;
	color: var(--charcoal);
	font-size: 0.98rem;
}

.contact-list__value a {
	color: inherit;
}

/* ---------- Articles ---------- */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2.5vw, 28px);
}

.post-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
	box-shadow: var(--shadow-sm);
}

.post-card__media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--navy), var(--blue));
	overflow: hidden;
	position: relative;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.post-card__meta {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: 10px;
	display: flex;
	gap: 12px;
	align-items: center;
}

.post-card__cat {
	color: var(--blue);
	font-weight: 700;
}

.post-card h2,
.post-card h3 {
	font-size: 1.1rem;
	margin-bottom: 10px;
	line-height: 1.6;
}

.post-card h2 a,
.post-card h3 a {
	color: var(--navy);
}

.post-card h2 a:hover,
.post-card h3 a:hover {
	color: var(--blue);
}

.post-card p {
	font-size: 0.93rem;
	color: var(--text-muted);
	flex-grow: 1;
	margin-bottom: 16px;
}

.post-card__more {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--blue);
}

.empty-state {
	text-align: center;
	padding: clamp(48px, 8vw, 88px) 24px;
	background: var(--surface);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	color: var(--text-muted);
}

.empty-state h2 {
	margin-bottom: 8px;
}

/* Single post */
.single-post .entry-content {
	max-width: 740px;
}

.post-meta-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	font-size: 0.88rem;
	color: var(--text-muted);
	padding-bottom: 24px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--border);
}

.post-meta-bar a {
	color: var(--blue);
	font-weight: 700;
}

/* Category chips */
.cat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.cat-chip {
	font-size: 0.86rem;
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-soft);
	transition: all 0.2s ease;
}

.cat-chip:hover,
.cat-chip.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text-soft);
}

.pagination .page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
	border-color: var(--navy);
	color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--charcoal);
	color: #94A3B8;
	padding-top: clamp(56px, 7vw, 80px);
	margin-top: auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
	gap: clamp(28px, 4vw, 48px);
	padding-bottom: clamp(40px, 5vw, 56px);
}

.footer-brand .site-brand__title {
	color: #fff;
}

.footer-brand .site-brand__sub {
	color: #64748B;
}

.footer-about {
	font-size: 0.92rem;
	line-height: 2;
	color: #94A3B8;
	margin-top: 18px;
	max-width: 320px;
}

.footer-col h3 {
	color: #fff;
	font-size: 0.95rem;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}

.footer-col h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 28px;
	height: 2px;
	background: var(--orange);
	border-radius: 2px;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col li {
	margin-bottom: 10px;
}

.footer-col a {
	color: #94A3B8;
	font-size: 0.92rem;
	transition: color 0.2s ease, padding-right 0.2s ease;
	display: inline-block;
}

.footer-col a:hover {
	color: #fff;
	padding-right: 4px;
}

.footer-col .contact-mini {
	font-size: 0.9rem;
	line-height: 2;
}

.footer-col .contact-mini a {
	display: block;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 22px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: #64748B;
}

.footer-bottom a {
	color: #94A3B8;
}

/* ---------- Reveal animation (subtle) ---------- */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* ---------- 404 ---------- */
.error-404 {
	text-align: center;
	padding-block: clamp(72px, 12vw, 140px);
}

.error-404 .code {
	font-family: var(--font-en);
	font-size: clamp(4rem, 10vw, 7rem);
	font-weight: 700;
	color: var(--navy);
	opacity: 0.15;
	line-height: 1;
	margin-bottom: 8px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.card-grid--3,
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.intro-grid {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 860px) {
	.nav-toggle {
		display: flex;
	}

	.header-cta {
		display: none;
	}

	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		display: flex;
		flex-direction: column;
		background: var(--surface);
		border-top: 1px solid var(--border);
		padding: 6px var(--gutter) max(14px, env(safe-area-inset-bottom));
		transform: translateX(100%);
		transition: transform 0.3s var(--ease);
		overflow-y: auto;
		overscroll-behavior: contain;
		visibility: hidden;
	}

	.main-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.main-nav > ul {
		flex: 1 1 auto;
		gap: 0;
		min-height: 0;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav a {
		padding: 11px 12px;
		font-size: 0.97rem;
		line-height: 1.4;
		border-bottom: 1px solid var(--border);
		border-radius: 0;
	}

	.main-nav li:last-child > a {
		border-bottom: 1px solid var(--border);
	}

	.main-nav .current-menu-item > a,
	.main-nav .current_page_item > a {
		background: transparent;
		color: var(--blue);
	}

	.main-nav .nav-mobile-cta {
		display: block;
		flex: 0 0 auto;
		margin-top: auto;
		padding-top: 14px;
	}

	.main-nav .nav-mobile-cta a {
		display: flex;
		justify-content: center;
		background: var(--orange);
		color: #fff !important;
		border: 0;
		border-radius: var(--radius-sm);
		font-weight: 700;
		padding: 15px 20px;
	}

	.why-grid {
		grid-template-columns: 1fr;
	}

	.cta-band {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.card-grid--3,
	.posts-grid,
	.steps--2,
	.steps--3,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.hero {
		padding-block: clamp(56px, 10vw, 88px);
	}

	.hero-stats {
		gap: 20px;
	}

	.hero-stat {
		min-width: calc(50% - 10px);
	}

	.btn {
		width: 100%;
	}

	.btn-row {
		flex-direction: column;
		align-items: stretch;
	}

	.site-brand__sub {
		display: none;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* ==========================================================================
   V2 COMPONENTS
   ========================================================================== */

/* ---------- Nav dropdown (services) ---------- */
.main-nav .menu-item-has-children {
	position: relative;
}

.main-nav .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	margin-inline-start: 7px;
	vertical-align: middle;
	border-inline-start: 4px solid transparent;
	border-inline-end: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.55;
}

.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 250px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px;
	margin: 6px 0 0;
	display: none;
	z-index: 60;
}

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

.main-nav .sub-menu li {
	display: block;
}

.main-nav .sub-menu a {
	padding: 10px 14px;
	font-size: 0.9rem;
	white-space: nowrap;
	border-radius: var(--radius-sm);
}

.main-nav .sub-menu .current-menu-item > a {
	background: rgba(27, 54, 93, 0.06);
	color: var(--navy);
}

/* ---------- Figure / media ---------- */
.figure {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	background: var(--surface);
	line-height: 0;
}

.figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Split layouts ---------- */
.media-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.media-split--flip .media-split__media {
	order: 2;
}

.media-split__body h2 {
	margin-bottom: 14px;
}

.media-split__body p {
	color: var(--text-muted);
	line-height: 2;
}

/* ---------- Hero with visual (home) ---------- */
.hero-layout {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.hero--split .hero-inner {
	max-width: none;
}

.hero-visual {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid rgba(27, 54, 93, 0.12);
	box-shadow: var(--shadow);
	background: var(--surface);
	line-height: 0;
}

.hero-visual::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(225deg, rgba(36, 91, 147, 0.14), transparent 45%);
	pointer-events: none;
}

.hero-visual img {
	width: 100%;
	display: block;
	object-fit: cover;
}

/* ---------- Problem / cost factors ---------- */
.problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

.problem-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(22px, 2.5vw, 30px);
	transition: border-color 0.25s ease;
}

.problem-card:hover {
	border-color: rgba(36, 91, 147, 0.3);
}

.problem-card__tag {
	font-family: var(--font-en);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--orange);
	letter-spacing: 0.08em;
	display: block;
	margin-bottom: 12px;
}

.problem-card h3 {
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.problem-card p {
	font-size: 0.92rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.9;
}

/* ---------- Pathways (4 services with images) ---------- */
.pathways {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(20px, 3vw, 30px);
}

.pathway {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.25s ease;
}

.pathway:hover {
	border-color: rgba(36, 91, 147, 0.3);
}

.pathway__media {
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background: var(--bg);
	line-height: 0;
}

.pathway__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pathway__body {
	padding: clamp(24px, 3vw, 34px);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.pathway__body h3 {
	font-size: 1.22rem;
	margin-bottom: 10px;
}

.pathway__body > p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.9;
	margin-bottom: 16px;
}

.pathway__body ul {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
}

.pathway__body li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.9rem;
	color: var(--text-soft);
	padding: 7px 0;
	margin: 0;
}

.pathway__body li::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--blue);
	margin-top: 8px;
	flex-shrink: 0;
	transform: rotate(45deg);
}

.pathway__body .card__link {
	margin-top: auto;
}

/* ---------- Tick list ---------- */
.tick-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tick-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	margin: 0;
	color: var(--text-soft);
	line-height: 1.9;
}

.tick-list li::before {
	content: '';
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 5px;
	border-radius: 50%;
	background: rgba(36, 91, 147, 0.1);
	border: 1px solid rgba(36, 91, 147, 0.3);
	background-image: linear-gradient(45deg, transparent 48%, var(--blue) 48%, var(--blue) 60%, transparent 60%);
	background-size: 9px 9px;
	background-repeat: no-repeat;
	background-position: center;
}

/* ---------- Process with visual ---------- */
.process-split {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(32px, 5vw, 60px);
	align-items: start;
}

.process-split .steps {
	grid-template-columns: 1fr;
}

.process-split .figure {
	position: sticky;
	top: calc(var(--header-h, 72px) + 24px);
}

.process-split .figure img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* ---------- CTA band with image ---------- */
.cta-band--image {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	padding: 0;
	align-items: stretch;
}

.cta-band--image .cta-band__body {
	padding: clamp(40px, 6vw, 64px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	position: relative;
	z-index: 1;
}

.cta-band--image .cta-band__media {
	position: relative;
	min-height: 260px;
	line-height: 0;
}

.cta-band--image .cta-band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cta-band--image .cta-band__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(27, 54, 93, 0.1), rgba(27, 54, 93, 0.55));
}

/* ---------- Service rows (services hub) ---------- */
.service-rows {
	display: flex;
	flex-direction: column;
}

.service-row {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	padding-block: clamp(36px, 5vw, 56px);
	border-bottom: 1px solid var(--border);
}

.service-row:first-child {
	padding-top: 0;
}

.service-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.service-row--flip .service-row__media {
	order: 2;
}

.service-row__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	line-height: 0;
}

.service-row__media img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	display: block;
}

.service-row__index {
	font-family: var(--font-en);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--orange);
	display: block;
	margin-bottom: 10px;
}

.service-row h3 {
	font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
	margin-bottom: 12px;
}

.service-row p {
	color: var(--text-muted);
	line-height: 2;
	margin-bottom: 16px;
}

.service-row .tick-list {
	margin-bottom: 24px;
}

/* ---------- Problem map (issue -> service) ---------- */
.problem-map {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.problem-map__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px 22px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}

.problem-map__item:hover {
	border-color: rgba(36, 91, 147, 0.35);
	box-shadow: var(--shadow-sm);
}

.problem-map__q {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--charcoal);
	line-height: 1.8;
}

.problem-map__a {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--blue);
	white-space: nowrap;
	flex-shrink: 0;
}

.problem-map__a::after {
	content: '←';
	margin-inline-start: 6px;
}

/* ---------- Knowledge cards ---------- */
.knowledge-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2.5vw, 26px);
}

.knowledge-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 32px);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: border-color 0.25s ease;
}

.knowledge-card:hover {
	border-color: rgba(36, 91, 147, 0.3);
}

.knowledge-card__label {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--blue);
	background: rgba(36, 91, 147, 0.08);
	border: 1px solid rgba(36, 91, 147, 0.14);
	border-radius: 999px;
	padding: 3px 12px;
	align-self: flex-start;
	margin-bottom: 16px;
}

.knowledge-card h3 {
	font-size: 1.08rem;
	color: var(--charcoal);
	margin-bottom: 10px;
	line-height: 1.7;
}

.knowledge-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.9;
	flex-grow: 1;
}

.knowledge-card__more {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--navy);
	margin-top: 18px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.knowledge-card__more::after {
	content: '←';
}

/* ---------- Page hero with background image ---------- */
.page-hero--bg {
	position: relative;
	overflow: hidden;
}

.page-hero--bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../images/karoon-inner-background.webp') center / cover no-repeat;
	opacity: 0.6;
	pointer-events: none;
}

.page-hero--bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(248, 250, 252, 0.94));
	pointer-events: none;
}

.page-hero--bg > .container {
	position: relative;
	z-index: 1;
}

/* ---------- Related links strip ---------- */
.link-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.link-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--navy);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 10px 20px;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.link-chip:hover {
	border-color: rgba(36, 91, 147, 0.4);
	background: rgba(36, 91, 147, 0.06);
	color: var(--blue);
}

/* ---------- Responsive (v2) ---------- */
@media (max-width: 1024px) {
	.hero-layout {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		max-width: 640px;
	}

	.problem-grid,
	.knowledge-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.media-split,
	.process-split,
	.service-row,
	.service-row--flip,
	.cta-band--image {
		grid-template-columns: 1fr;
	}

	.media-split--flip .media-split__media,
	.service-row--flip .service-row__media {
		order: 0;
	}

	.process-split .figure {
		position: static;
		max-width: 520px;
	}

	.process-split .figure img {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 860px) {
	.main-nav .menu-item-has-children {
		display: block;
	}

	.main-nav .menu-item-has-children > a::after {
		display: none;
	}

	.main-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: rgba(27, 54, 93, 0.05);
		margin: 0;
		padding: 3px 0 7px;
	}

	.main-nav .sub-menu li {
		padding: 0;
		margin: 0;
	}

	.main-nav .sub-menu a {
		white-space: normal;
		border-bottom: 0;
		font-size: 0.89rem;
		padding: 7px 12px 7px 28px;
		color: var(--text-soft);
	}

	.pathways {
		grid-template-columns: 1fr;
	}

	.cta-band--image .cta-band__media {
		min-height: 200px;
	}
}

@media (max-width: 640px) {
	.problem-grid,
	.knowledge-grid,
	.problem-map {
		grid-template-columns: 1fr;
	}

	.problem-map__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}


/* ==========================================================================
   v3 · Corporate refinements
   ========================================================================== */

/* Full-width content figure (about) */
.figure--wide {
	max-width: 960px;
	margin-inline: auto;
}

/* Hero — industrial scale */
.hero--industrial {
	min-height: clamp(520px, 72vh, 700px);
	display: flex;
	align-items: center;
}

/* Capability strip (home B) */
.cap-strip {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.cap-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.cap-item {
	padding: clamp(20px, 2.5vw, 30px) clamp(18px, 2vw, 28px);
	border-inline-start: 1px solid var(--border);
}

.cap-item:first-child {
	border-inline-start: 0;
}

.cap-item__num {
	font-family: var(--font-en);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--orange);
	letter-spacing: 0.08em;
	display: block;
	margin-bottom: 12px;
}

.cap-item h3 {
	font-size: 1.02rem;
	margin-bottom: 8px;
}

.cap-item p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.9;
	margin: 0;
}

/* 4-step flow (post-form) */
.steps--4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
	.cap-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cap-item:nth-child(odd) {
		border-inline-start: 0;
	}

	.cap-item:nth-child(n + 3) {
		border-top: 1px solid var(--border);
	}

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

@media (max-width: 640px) {
	.cap-grid {
		grid-template-columns: 1fr;
	}

	.cap-item {
		border-inline-start: 0;
	}

	.cap-item + .cap-item {
		border-top: 1px solid var(--border);
	}

	.steps--4 {
		grid-template-columns: 1fr;
	}

.hero--industrial {
		min-height: 0;
	}
}

/* ---------- Knowledge hub: scoped accent tags (only /knowledge/, page-id-44) ---------- */
.page-id-44 .knowledge-card__label--framework,
.page-id-44 .knowledge-card__label--analysis {
	color: #D97706;
	border-color: rgba(217, 119, 6, 0.4);
	background: transparent;
}
