/* ==========================================================================
   Shawer — main stylesheet (v2.0)
   Light editorial law-firm aesthetic, monochrome palette,
   Legalite-inspired layout discipline.
   ========================================================================== */

/* Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Brand monochrome */
	--c-ink:        #231F20;   /* primary — deep charcoal */
	--c-ink-soft:   #2C2729;
	--c-line:       #E6E6E6;   /* hairline */
	--c-paper:      #FFFFFF;   /* contrast / surfaces */
	--c-mute:       #8A8A8A;
	--c-faint:      #BEBEBE;

	/* Surface tokens */
	--bg:           #FFFFFF;
	--bg-soft:      #F5F5F5;
	--bg-frame:     #231F20;   /* dark frame around hero etc. */
	--surface:      #FAFAFA;
	--surface-2:    #F1F1F1;
	--text:         #231F20;
	--text-mute:    #8A8A8A;
	--text-faint:   #BEBEBE;
	--text-on-dark: #FFFFFF;
	--border:       #E6E6E6;
	--border-2:     #D6D6D6;
	--accent:       #231F20;

	/* Typography */
	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-sans:    'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--fs-12: 0.75rem;
	--fs-13: 0.8125rem;
	--fs-14: 0.875rem;
	--fs-15: 0.9375rem;
	--fs-16: 1rem;
	--fs-18: 1.125rem;
	--fs-20: 1.25rem;
	--fs-24: 1.5rem;
	--fs-32: 2rem;
	--fs-40: 2.5rem;
	--fs-48: 3rem;
	--fs-64: 4rem;
	--fs-80: 5rem;

	/* Spacing 4-pt grid */
	--s-1: 4px;
	--s-2: 8px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 20px;
	--s-6: 24px;
	--s-8: 32px;
	--s-10: 40px;
	--s-12: 48px;
	--s-16: 64px;
	--s-20: 80px;
	--s-24: 96px;
	--s-32: 128px;

	/* Layout */
	--container: 1240px;
	--container-narrow: 760px;
	--radius:    20px;
	--radius-sm: 10px;
	--radius-lg: 28px;

	--ease: cubic-bezier(.2,.7,.2,1);
	--dur:  220ms;
}

/* Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;            /* belt-and-braces: never let any child push horizontal scroll */
}

body {
	margin: 0;
	background: var(--bg-frame);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: var(--fs-16);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* Long URLs / Arabic words shouldn't blow out the layout. */
p, li, h1, h2, h3, h4, h5, h6, a { overflow-wrap: break-word; }

/* iOS Safari zooms into inputs whose font-size is < 16 px. Keep them ≥ 16 px. */
input, select, textarea, button { font-size: 16px; }
@media (min-width: 720px) { input, select, textarea { font-size: 0.9375rem; } }

/* The visible page sits inside a dark frame, like the Legalite reference.
   Front page has no inner gutter. */
.site-main { background: var(--bg); }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
a:hover { color: var(--c-ink); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: var(--s-6); }
::selection { background: var(--c-ink); color: var(--c-paper); }
button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--s-4);
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.serif-italic { font-style: italic; font-weight: 500; }

/* A11y */
.screen-reader-text {
	clip: rect(1px,1px,1px,1px);
	position: absolute !important;
	height: 1px; width: 1px; overflow: hidden;
}
.skip-link {
	position: absolute; top: -40px; left: 0;
	background: var(--c-ink); color: var(--c-paper);
	padding: var(--s-2) var(--s-4); z-index: 999;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Layout
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-inline: var(--s-6);
}
.container.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

/* Header — fixed & transparent at top, frosted on scroll
   -------------------------------------------------------------------------- */
:root { --header-h: 76px; }

.site-header {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	z-index: 50;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	transition: background var(--dur) var(--ease),
				backdrop-filter var(--dur) var(--ease),
				-webkit-backdrop-filter var(--dur) var(--ease),
				border-color var(--dur) var(--ease),
				box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom-color: var(--border);
	box-shadow: 0 6px 24px -16px rgba(0, 0, 0, 0.15);
}

/* Compensate for the fixed header so content isn't hidden underneath. */
.shawer-front .hero { padding-top: calc(var(--header-h) + var(--s-10)); }
body:not(.shawer-front) .site-main { padding-top: var(--header-h); }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-6);
	height: 76px;
}
.brand .brand-mark {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	color: var(--c-ink);
	font-family: var(--font-display);
	font-size: var(--fs-24);
	font-weight: 600;
	font-style: italic;
	letter-spacing: -0.02em;
}
.brand-mark .brand-dot { color: var(--c-ink); }
.custom-logo-link img { max-height: 40px; width: auto; }

/* Primary nav */
.primary-nav { display: flex; }
.primary-menu, .mobile-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center;
	gap: var(--s-2);
}
.primary-menu li > a {
	display: inline-flex;
	align-items: center;
	padding: var(--s-2) var(--s-4);
	color: var(--c-mute);
	font-size: var(--fs-15);
	font-weight: 500;
	border-radius: var(--radius-sm);
	transition: color var(--dur) var(--ease);
}
.primary-menu li > a:hover,
.primary-menu li.current-menu-item > a,
.primary-menu li > a[aria-current="page"] { color: var(--c-ink); }
.primary-menu li.current-menu-item > a::after,
.primary-menu li > a[aria-current="page"]::after {
	content: ''; display: block; width: 4px; height: 4px;
	border-radius: 50%; background: var(--c-ink);
	margin-inline-start: 6px;
}
.primary-menu .caret {
	font-size: 10px;
	margin-inline-start: 4px;
	display: inline-block;
	transition: transform var(--dur) var(--ease);
}
.primary-menu li.menu-item-has-children { position: relative; }
.primary-menu li.menu-item-has-children:hover > a .caret,
.primary-menu li.menu-item-has-children:focus-within > a .caret {
	transform: rotate(180deg);
}
.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	min-width: 280px;
	margin: 0; padding: var(--s-3);
	list-style: none;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 18px 48px -16px rgba(0,0,0,0.18);
	display: grid;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease), transform var(--dur) var(--ease);
	z-index: 60;
}
.primary-menu li.menu-item-has-children:hover > .sub-menu,
.primary-menu li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.primary-menu .sub-menu > li { display: block; }
.primary-menu .sub-menu > li > a {
	display: block;
	padding: 10px var(--s-3);
	color: var(--c-mute);
	font-size: var(--fs-14);
	font-weight: 500;
	border-radius: 8px;
	transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.primary-menu .sub-menu > li > a:hover {
	color: var(--c-ink);
	background: var(--surface);
}

.header-cta { display: flex; align-items: center; gap: var(--s-3); }

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-2);
	padding: 11px 20px;
	border-radius: 999px;
	font-size: var(--fs-14);
	font-weight: 500;
	letter-spacing: -0.005em;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
				border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .arrow,
.btn span[aria-hidden] { display: inline-block; transition: transform var(--dur) var(--ease); }
.btn:hover .arrow,
.btn:hover span[aria-hidden] { transform: translateX(2px); }

.btn.lg { padding: 14px 24px; font-size: var(--fs-15); }
.btn.full { width: 100%; }

.btn-primary {
	background: var(--c-ink);
	color: var(--c-paper);
	border-color: var(--c-ink);
}
.btn-primary:hover { background: #000; border-color: #000; color: var(--c-paper); }

.btn-ghost {
	background: transparent;
	color: var(--c-ink);
	border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--c-ink); }

.btn-pill { /* slim outlined pill, used in nav */
	padding: 10px 22px;
	border: 1px solid var(--c-ink);
	color: var(--c-ink);
	background: transparent;
	font-weight: 500;
}
.btn-pill:hover { background: var(--c-ink); color: var(--c-paper); }

.btn-link {
	background: transparent;
	border: none;
	color: var(--c-ink);
	padding: 11px 4px;
	text-decoration: underline;
	text-underline-offset: 4px;
	border-radius: 0;
}
.btn-link:hover { text-decoration-thickness: 2px; }

/* Mobile nav toggle */
.nav-toggle {
	display: none;
	width: 40px; height: 40px;
	border-radius: 10px;
	background: transparent;
	border: 1px solid var(--border);
	flex-direction: column; align-items: center; justify-content: center;
	gap: 4px; cursor: pointer;
}
.nav-toggle .bar { width: 18px; height: 1.5px; background: var(--c-ink); transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

.mobile-nav {
	border-top: 1px solid var(--border);
	background: var(--bg);
	padding: var(--s-4) var(--s-6) var(--s-6);
}
.mobile-menu { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: var(--s-4); }
.mobile-menu li > a {
	display: block; padding: var(--s-3) 0;
	color: var(--c-mute);
	border-bottom: 1px solid var(--border);
}
.mobile-cta { display: grid; gap: var(--s-2); }

/* Language switcher
   -------------------------------------------------------------------------- */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	font-size: var(--fs-12);
	font-weight: 600;
	letter-spacing: 0.06em;
}
.lang-switch a { display: inline-block; padding: 4px 6px; color: var(--c-mute); border-radius: 6px; }
.lang-switch a:hover { color: var(--c-ink); }
.lang-switch a.is-active { color: var(--c-paper); background: var(--c-ink); }
.lang-switch span { color: var(--c-faint); }
.lang-switch.full { width: 100%; justify-content: center; padding: 8px; margin-bottom: var(--s-2); }

/* Hero — editorial law-firm composition (Legalite-inspired)
   The body already has the dark "frame" background; the hero sits inside it
   on the cream paper-soft surface. No card, no wedge — just a calm split
   between text on the start side and the statue on the end side.
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--bg-soft);
	color: var(--text);
	padding: var(--s-16) 0 var(--s-12);
	overflow: hidden;
	border-radius: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: var(--s-12);
	align-items: center;
	padding-top: var(--s-8);
	min-height: clamp(520px, 78vh, 760px);
}
.hero-copy {
	background: transparent;
	padding: 0;
	margin: 0;
	box-shadow: none;
	border-radius: 0;
}
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	font-size: var(--fs-12);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-mute);
	margin-bottom: var(--s-5);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink); }

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 600;
	line-height: 1.04;
	color: var(--c-ink);
	margin: 0 0 var(--s-6);
	letter-spacing: -0.018em;
	max-width: 14ch;
}
.hero-title em {
	font-style: italic;
	font-weight: 500;
	color: var(--c-ink);
	/* Pull italic words very slightly off the baseline grid for an editorial feel. */
	margin-inline-end: 4px;
}

.hero-sub {
	max-width: 48ch;
	color: var(--c-mute);
	font-size: var(--fs-18);
	line-height: 1.7;
	margin: 0 0 var(--s-10);
}
.hero-actions {
	display: flex;
	gap: var(--s-6);
	flex-wrap: wrap;
	align-items: center;
}

/* Bottom-row decoration — down arrow on the start side, dots on the end.
   Mirrors Legalite's hero affordance pattern. */
.hero-deco {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: var(--s-12);
	max-width: 360px;
}
.hero-deco-arrow {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-ink);
	padding-bottom: 4px;
}
.hero-deco-dots {
	display: inline-flex;
	align-items: center;
	gap: var(--s-3);
}
.hero-deco-dots .dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--c-faint);
	transition: all var(--dur) var(--ease);
}
.hero-deco-dots .dot.is-active {
	width: 28px; height: 28px;
	background: transparent;
	border: 1px solid var(--c-ink);
	position: relative;
}
.hero-deco-dots .dot.is-active::after {
	content: '';
	position: absolute;
	inset: 50% 50%;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--c-ink);
	transform: translate(-50%, -50%);
}

.hero-image {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}
.hero-image img,
.hero-image svg {
	max-width: 100%;
	max-height: 680px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 30px 60px rgba(0,0,0,0.20));
}

/* Section primitives
   -------------------------------------------------------------------------- */
section { padding: var(--s-24) 0; background: var(--bg); }
.section-head { max-width: 720px; margin: 0 0 var(--s-12); }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
	display: inline-block;
	font-size: var(--fs-12);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-mute);
	margin: 0 0 var(--s-3);
}
.section-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	color: var(--c-ink);
	letter-spacing: -0.015em;
	line-height: 1.1;
	margin: 0 0 var(--s-4);
}
.section-title em { font-style: italic; font-weight: 500; }
.section-sub {
	color: var(--c-mute);
	font-size: var(--fs-18);
	max-width: 60ch;
	margin: 0;
	line-height: 1.7;
}

/* Practice areas grid + values column
   -------------------------------------------------------------------------- */
.practice-section {
	padding: var(--s-20) 0 var(--s-24);
	background: var(--bg-soft);
}
.practice-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: var(--s-12);
}
.practice-head {
	display: flex; justify-content: space-between; align-items: flex-end;
	flex-wrap: wrap; gap: var(--s-4);
	margin-bottom: var(--s-6);
}
.practice-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-3);
}
.practice-card {
	position: relative;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--s-8);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.practice-card:hover {
	transform: translateY(-2px);
	border-color: var(--c-ink);
	box-shadow: 0 18px 40px -24px rgba(0,0,0,0.18);
}
.practice-icon {
	display: inline-flex;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 50%;
	color: var(--c-ink);
	margin-bottom: var(--s-6);
}
.practice-card h3 {
	font-family: var(--font-display);
	font-size: var(--fs-24);
	font-weight: 500;
	margin: 0 0 var(--s-3);
	color: var(--c-ink);
	letter-spacing: -0.005em;
}
.practice-card p {
	font-size: var(--fs-14);
	color: var(--c-mute);
	line-height: 1.65;
	margin: 0;
}
.practice-card.featured {
	background: var(--c-ink);
	color: var(--text-on-dark);
	border-color: var(--c-ink);
	background-image: linear-gradient(135deg, rgba(35,31,32,0.85), rgba(35,31,32,0.6)), var(--featured-bg, none);
	background-size: cover;
	background-position: center;
}
.practice-card.featured h3,
.practice-card.featured p { color: var(--text-on-dark); }
.practice-card.featured .practice-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--text-on-dark); }
.practice-card .read-more {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: var(--s-5);
	font-size: var(--fs-13);
	color: var(--c-ink);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.practice-card.featured .read-more { color: var(--text-on-dark); }

/* Values column */
.values-col {
	display: flex; flex-direction: column;
	gap: var(--s-8);
	padding-block: var(--s-4);
}
.values-logos {
	display: flex;
	gap: var(--s-8);
	margin-bottom: var(--s-4);
	opacity: 0.8;
}
.values-logos span {
	font-family: var(--font-display);
	font-style: italic;
	font-size: var(--fs-15);
	color: var(--c-faint);
}
.value-block {
	padding-bottom: var(--s-6);
	border-bottom: 1px dashed var(--border-2);
}
.value-block:last-child { border-bottom: none; }
.value-block h4 {
	font-family: var(--font-sans);
	font-size: var(--fs-13);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 var(--s-3);
	color: var(--c-ink);
}
.value-block p {
	font-size: var(--fs-14);
	color: var(--c-mute);
	line-height: 1.7;
	margin: 0;
}

/* About strip — image + body + values
   -------------------------------------------------------------------------- */
.about-section { padding: var(--s-24) 0; }
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr 1fr;
	gap: var(--s-12);
	align-items: center;
}
.about-portrait {
	background: var(--surface);
	border-radius: var(--radius);
	aspect-ratio: 3/4;
	overflow: hidden;
	position: relative;
}
.about-portrait::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 60%, rgba(35,31,32,0.08));
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait .placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
	font-family: var(--font-display);
	font-size: 8rem; color: var(--c-line);
	font-style: italic;
}
.about-copy .section-title { margin-bottom: var(--s-6); }

/* Stats strip with watermark
   -------------------------------------------------------------------------- */
.stats-section {
	position: relative;
	padding: var(--s-20) 0;
	background: var(--bg);
	overflow: hidden;
}
.stats-watermark {
	position: absolute;
	/* Use physical left + transform — `inset-inline-start: 50%` doesn't pair
	   with a physical translate(-50%) in RTL, leaving the watermark off-axis. */
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-display);
	font-size: clamp(6rem, 14vw, 12rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--c-line);
	text-stroke: 1.5px var(--c-line);
	pointer-events: none;
	white-space: nowrap;
	opacity: 0.7;
}
.stats-row {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: var(--s-12);
	z-index: 1;
}
.stat-item .num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 600;
	color: var(--c-ink);
	line-height: 1;
	margin-bottom: var(--s-3);
	letter-spacing: -0.02em;
}
.stat-item .lbl {
	font-size: var(--fs-14);
	color: var(--c-mute);
	max-width: 22ch;
}

/* Why-choose-us
   -------------------------------------------------------------------------- */
.why-section { background: var(--bg-soft); padding: var(--s-20) 0; }
.why-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: var(--s-12); align-items: start;
}
.why-list {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 0;
}
.why-list li {
	display: flex; align-items: flex-start; gap: var(--s-4);
	padding: var(--s-5) 0;
	border-bottom: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: none; }
.why-list .check {
	flex-shrink: 0;
	width: 36px; height: 36px;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--c-ink);
}
.why-list h4 {
	font-family: var(--font-sans);
	font-size: var(--fs-13);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--c-ink);
	margin: 0 0 4px;
}
.why-list p {
	margin: 0;
	color: var(--c-mute);
	font-size: var(--fs-15);
}

/* Final CTA
   -------------------------------------------------------------------------- */
.cta-section { padding: var(--s-24) 0; background: var(--bg); }
.cta-card {
	background: var(--c-ink);
	color: var(--text-on-dark);
	border-radius: var(--radius-lg);
	padding: var(--s-16) var(--s-12);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-8);
	align-items: center;
	justify-content: space-between;
}
.cta-card h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	color: var(--text-on-dark);
	margin: 0 0 var(--s-3);
	font-weight: 500;
	font-style: italic;
}
.cta-card h2 strong { font-weight: 700; font-style: normal; }
.cta-card p { color: rgba(255,255,255,0.7); margin: 0; max-width: 50ch; }
.cta-card .btn-primary { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.cta-card .btn-primary:hover { background: #f0f0f0; }
.cta-card .btn-ghost { color: var(--c-paper); border-color: rgba(255,255,255,0.3); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--c-paper); }

/* Page head (inner pages) + breadcrumb
   -------------------------------------------------------------------------- */
.page-head {
	background: var(--bg-soft);
	padding: var(--s-16) 0 var(--s-12);
}
.page-head .container { max-width: var(--container); }
.breadcrumb {
	font-size: var(--fs-13);
	color: var(--c-mute);
	margin-bottom: var(--s-6);
	letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--c-ink); }
.breadcrumb .sep { margin-inline: 8px; color: var(--c-faint); }
.page-head-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s-12);
	align-items: end;
}
.page-head h1 {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	color: var(--c-ink);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
}
.page-head h1 em { font-style: italic; font-weight: 500; }

/* Services grid (services page)
   -------------------------------------------------------------------------- */
.services-section { padding: var(--s-20) 0 var(--s-24); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-3);
}
.services-grid .practice-card { padding: var(--s-8); }

.services-foot {
	margin-top: var(--s-12);
	padding: var(--s-10) 0;
	border-top: 1px solid var(--border);
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: var(--s-4);
}
.services-foot p {
	font-family: var(--font-display);
	font-size: var(--fs-24);
	font-style: italic;
	font-weight: 500;
	color: var(--c-ink);
	margin: 0;
	max-width: 36ch;
}
.services-foot a {
	font-family: var(--font-display);
	font-size: var(--fs-20);
	color: var(--c-ink);
	font-style: italic;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* Contact card row at bottom of services / about pages */
.contact-strip {
	padding: var(--s-10) 0 var(--s-16);
	border-top: 1px solid var(--border);
	background: var(--bg);
}
.contact-strip-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: var(--s-8);
}
.contact-strip-row .lbl {
	display: block;
	font-size: var(--fs-12);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-mute);
	margin-bottom: 4px;
}
.contact-strip-row a, .contact-strip-row span {
	color: var(--c-ink);
	font-size: var(--fs-15);
}

/* Consultation form
   -------------------------------------------------------------------------- */
.consult-section { padding: var(--s-20) 0 var(--s-24); }
.consult-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: var(--s-16);
	align-items: start;
}
.consult-info { padding-top: var(--s-3); }
.consult-info ul { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-4); }
.consult-info li { display: flex; gap: var(--s-3); align-items: flex-start; }
.consult-info .ico {
	width: 36px; height: 36px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--c-ink);
}
.consult-info .meta { display: flex; flex-direction: column; gap: 2px; }
.consult-info .meta .lbl {
	font-size: var(--fs-12);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-mute);
}
.consult-info .meta .val,
.consult-info .meta a {
	color: var(--c-ink);
	font-size: var(--fs-15);
}

.consult-form {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--s-10);
}
.consult-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.consult-form label { display: block; margin-bottom: var(--s-4); }
.consult-form .lbl-text {
	display: block;
	font-size: var(--fs-12);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-mute);
	margin-bottom: 6px;
}
.consult-form input,
.consult-form select,
.consult-form textarea {
	width: 100%;
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: 12px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 16px; /* prevents iOS zoom-on-focus */
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (min-width: 720px) {
	.consult-form input,
	.consult-form select,
	.consult-form textarea { font-size: var(--fs-15); }
}
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
	outline: none;
	border-color: var(--c-ink);
	box-shadow: 0 0 0 3px rgba(35,31,32,0.08);
}
.consult-form textarea { resize: vertical; min-height: 120px; }
.consult-form .privacy {
	font-size: var(--fs-13);
	color: var(--c-mute);
	margin: var(--s-4) 0 var(--s-5);
}
.consult-form .submit-row { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }

.form-flash {
	padding: var(--s-4) var(--s-5);
	border-radius: 12px;
	margin-bottom: var(--s-5);
	font-size: var(--fs-14);
}
.form-flash.success { background: #ecf7ec; color: #1f7a3a; border: 1px solid #c5e8c8; }
.form-flash.fail    { background: #fff0f0; color: #a32b2b; border: 1px solid #f3c0c0; }

/* Footer — light theme version
   -------------------------------------------------------------------------- */
.site-footer {
	position: relative;
	background: var(--c-ink);
	color: rgba(255,255,255,0.7);
	overflow: hidden;
}
.footer-newsletter {
	padding: var(--s-12) 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.newsletter-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: var(--s-12);
	align-items: center;
}
.newsletter-grid h3 {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	color: var(--c-paper);
	margin: 0 0 var(--s-2);
	font-weight: 500;
}
.newsletter-grid p { color: rgba(255,255,255,0.6); margin: 0; max-width: 50ch; }
.newsletter-form {
	display: flex;
	gap: var(--s-3);
	align-items: stretch;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 999px;
	padding: 6px;
}
.newsletter-form input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--c-paper);
	padding: 12px 18px;
	font-size: 16px; /* iOS zoom-prevention on mobile */
}
@media (min-width: 720px) {
	.newsletter-form input { font-size: var(--fs-15); }
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
	background: var(--c-paper); color: var(--c-ink);
	border: none; padding: 0 22px; border-radius: 999px;
	font-weight: 600; cursor: pointer;
	transition: background var(--dur) var(--ease);
}
.newsletter-form button:hover { background: #f0f0f0; }

.footer-top {
	display: grid;
	grid-template-columns: 1.2fr 3fr;
	gap: var(--s-12);
	padding: var(--s-16) 0 var(--s-10);
}
.footer-brand .brand-mark { color: var(--c-paper); font-size: var(--fs-32); }
.footer-brand .brand-mark .brand-dot { color: var(--c-paper); }
.footer-tagline { color: rgba(255,255,255,0.6); margin-top: var(--s-3); max-width: 42ch; line-height: 1.7; }
.footer-licensed { color: rgba(255,255,255,0.4); font-size: var(--fs-13); margin-top: var(--s-2); }

.footer-social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.footer-social a {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	color: var(--c-paper);
	border-radius: 50%;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--c-paper); color: var(--c-ink); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: var(--s-6);
}
.footer-col h4,
.footer-col .widget-title {
	font-size: var(--fs-12);
	color: var(--c-paper);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 var(--s-5);
	font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.footer-col a { color: rgba(255,255,255,0.65); font-size: var(--fs-14); }
.footer-col a:hover { color: var(--c-paper); }
.footer-col .reach-row .meta .lbl {
	font-size: var(--fs-11);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.4);
}
.footer-col .reach-row .meta .val,
.footer-col .reach-row .meta a { color: var(--c-paper); font-size: var(--fs-14); line-height: 1.5; }
.footer-col .reach-row { display: flex; gap: var(--s-3); align-items: flex-start; }
.footer-col .reach-row .ico {
	flex-shrink: 0;
	width: 28px; height: 28px;
	border-radius: 8px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--c-paper);
}
.footer-col .reach-row .ico svg { width: 14px; height: 14px; }

.footer-bottom {
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: var(--s-4);
	padding: var(--s-6) 0;
	border-top: 1px solid rgba(255,255,255,0.1);
	font-size: var(--fs-13);
	color: rgba(255,255,255,0.45);
}
.footer-bottom .copy { margin: 0; }
.footer-bottom .meta { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--s-5); }
.footer-menu a { color: rgba(255,255,255,0.45); font-size: var(--fs-13); }
.footer-menu a:hover { color: var(--c-paper); }

.back-to-top {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 999px;
	color: rgba(255,255,255,0.7);
	font-size: var(--fs-12);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.back-to-top:hover { background: var(--c-paper); color: var(--c-ink); }
.back-to-top svg { width: 12px; height: 12px; }

/* Single post / page entry
   -------------------------------------------------------------------------- */
.entry { max-width: 760px; margin: var(--s-12) auto; padding-inline: var(--s-6); }
.entry-content {
	font-size: var(--fs-18);
	line-height: 1.8;
	color: var(--text);
}
.entry-content > * + * { margin-top: var(--s-5); }
.entry-content h2 { font-size: var(--fs-32); margin-top: var(--s-12); }
.entry-content h3 { font-size: var(--fs-24); margin-top: var(--s-10); }
.entry-content a  { color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; }
.entry-content blockquote {
	margin: var(--s-8) 0;
	padding: var(--s-2) var(--s-6);
	border-left: 3px solid var(--c-ink);
	color: var(--c-mute);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: var(--fs-24);
	line-height: 1.5;
}
.entry-content code {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: 6px; padding: 2px 6px;
}

/* Block editor compatibility */
.alignwide  { max-width: 1100px; margin-inline: auto; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--radius-sm); }

/* Responsive
   --------------------------------------------------------------------------
   Breakpoints used:
     ≥1440 px : large desktop
     ≥1280 px : standard desktop
     1024–1279: small desktop / large tablet (landscape)
      720–1023: tablet portrait
      480– 719: large phone
        ≤479  : small phone
   -------------------------------------------------------------------------- */

/* ≥1440 px — give the hero / containers more breathing room on big screens. */
@media (min-width: 1440px) {
	:root { --container: 1320px; }
	.hero { padding: var(--s-16) 0 var(--s-24); }
	.hero-image { min-height: 600px; }
}

/* 1024–1279 — tighten section padding a notch */
@media (max-width: 1279px) {
	section, .about-section, .practice-section, .why-section, .stats-section, .cta-section, .services-section, .consult-section { padding: var(--s-20) 0; }
}

/* ≤1024 px — tablet portrait & small landscape laptops */
@media (max-width: 1024px) {
	.hero { padding: var(--s-12) 0 var(--s-10); }
	.hero-grid { grid-template-columns: 1fr; gap: var(--s-8); min-height: auto; padding-top: var(--s-4); }
	.hero-image { min-height: 380px; justify-content: center; }
	.hero-deco { max-width: 100%; margin-top: var(--s-8); }
	.practice-grid { grid-template-columns: 1fr; gap: var(--s-8); }
	.about-grid { grid-template-columns: 1fr; gap: var(--s-8); }
	.about-portrait { aspect-ratio: 16/10; }
	.why-grid { grid-template-columns: 1fr; gap: var(--s-6); }
	.consult-grid { grid-template-columns: 1fr; gap: var(--s-10); }
	.footer-top { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.newsletter-grid { grid-template-columns: 1fr; gap: var(--s-6); }
	.page-head-grid { grid-template-columns: 1fr; gap: var(--s-6); }
	.contact-strip-grid { grid-template-columns: 1fr; gap: var(--s-4); }
	.stats-row { gap: var(--s-8); }
	.stats-watermark { font-size: clamp(4rem, 10vw, 8rem); }
}

/* ≤720 px — phone / small tablet portrait */
@media (max-width: 720px) {
	.primary-nav, .header-cta { display: none; }
	.nav-toggle { display: inline-flex; }

	:root { --header-h: 64px; }
	.header-inner { height: 64px; }
	.brand .brand-mark { font-size: var(--fs-20); }

	/* Touch targets ≥44 px — accessibility & mobile usability */
	.btn { padding: 13px 22px; }
	.btn.lg { padding: 15px 24px; }
	.btn-pill { padding: 13px 22px; }
	.mobile-menu li > a { padding: var(--s-4) 0; min-height: 44px; }
	.lang-switch a { padding: 8px 12px; }
	.footer-social a { width: 44px; height: 44px; }
	.back-to-top { padding: 10px 16px; }

	.hero { padding: var(--s-6) 0 var(--s-10); }
	.hero-title { font-size: clamp(1.85rem, 8vw, 2.75rem); line-height: 1.1; max-width: none; }
	.hero-sub { font-size: var(--fs-15); margin-bottom: var(--s-6); }
	.hero-actions { gap: var(--s-3); }
	.hero-image { min-height: 260px; justify-content: center; }
	.hero-image svg, .hero-image img { max-height: 300px; }
	.hero-deco { margin-top: var(--s-6); }
	.hero-deco-dots .dot.is-active { width: 24px; height: 24px; }

	.practice-cards { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr; }

	.stats-row { grid-template-columns: 1fr; gap: var(--s-6); text-align: center; }
	.stat-item .lbl { margin-inline: auto; }
	.stats-watermark { font-size: 4rem; opacity: 0.5; }

	.consult-form { padding: var(--s-6); }
	.consult-form .row { grid-template-columns: 1fr; }

	.footer-cols { grid-template-columns: 1fr; gap: var(--s-6); }
	.footer-newsletter { padding: var(--s-8) 0; }

	.cta-card { padding: var(--s-8); flex-direction: column; align-items: flex-start; }
	.cta-card h2 { font-size: var(--fs-24); }

	.services-foot { flex-direction: column; align-items: flex-start; }
	.services-foot p { font-size: var(--fs-18); }
	.services-foot a { font-size: var(--fs-15); }

	section,
	.practice-section, .about-section, .why-section, .stats-section,
	.cta-section, .services-section, .consult-section { padding: var(--s-12) 0; }
	.page-head { padding: var(--s-10) 0 var(--s-8); }
}

/* ≤480 px — small phone optimisation */
@media (max-width: 480px) {
	.container { padding-inline: var(--s-4); }
	.hero-copy { padding: var(--s-5); border-radius: var(--radius); }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { width: 100%; }
	.hero-image { min-height: 200px; }
	.hero-image svg, .hero-image img { max-height: 240px; }

	.practice-card { padding: var(--s-6); }
	.practice-card h3 { font-size: var(--fs-20); }

	.section-title { font-size: clamp(1.5rem, 7vw, 2rem); }

	.about-portrait { aspect-ratio: 4/3; }
	.about-portrait .placeholder { font-size: 5rem; }

	.cta-card { padding: var(--s-6); border-radius: var(--radius); }
	.cta-card h2 { font-size: var(--fs-20); }

	.consult-form { padding: var(--s-5); border-radius: var(--radius); }

	.footer-bottom { justify-content: center; text-align: center; }
	.footer-bottom .meta { justify-content: center; width: 100%; }

	.newsletter-form { flex-direction: column; border-radius: var(--radius); padding: var(--s-3); }
	.newsletter-form input { width: 100%; padding: 12px 14px; }
	.newsletter-form button { width: 100%; padding: 12px 18px; }

	.breadcrumb { font-size: var(--fs-12); }
	.page-head h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
}

/* Reduced-motion users get no fade-up reveal (JS keeps elements at opacity 0
   without IntersectionObserver scrolling — safety net). */
@media (prefers-reduced-motion: reduce) {
	.practice-card, .stat-item, .why-list li, .value-block { opacity: 1 !important; transform: none !important; }
}

/* Floating quick-contact buttons (WhatsApp + phone)
   ---------------------------------------------------
   Light state by default (dark fill, light icon — works on light pages).
   When the JS detects a dark section in the band the buttons occupy, the
   `.is-on-dark` class flips them to light fill / dark icon.
   ----------------------------------------------------------------------- */
.floating-actions {
	position: fixed;
	inset-inline-end: 24px;
	bottom: 24px;
	z-index: 90;
	display: flex;
	flex-direction: column-reverse; /* phone above whatsapp visually */
	gap: 12px;
}
.float-btn {
	width: 56px; height: 56px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.30);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
				transform 180ms var(--ease), box-shadow var(--dur) var(--ease);
	will-change: transform;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(0,0,0,0.32); }
.float-btn svg { width: 24px; height: 24px; }

/* WhatsApp keeps brand-green in both states (it's instantly recognisable). */
.float-whatsapp {
	background: #25D366;
	color: #FFFFFF;
}
.float-whatsapp:hover { background: #1FB058; }

/* Call button — inverts based on the section behind it. */
.float-call {
	background: var(--c-ink);
	color: var(--c-paper);
}
.floating-actions.is-on-dark .float-call {
	background: var(--c-paper);
	color: var(--c-ink);
}
.floating-actions.is-on-dark .float-btn {
	box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.18);
}

/* Pulse the WhatsApp button gently on first load to draw attention. */
@keyframes shawer-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.06); }
}
.float-whatsapp { animation: shawer-pulse 2.4s ease-in-out 3; }
@media (prefers-reduced-motion: reduce) {
	.float-whatsapp { animation: none; }
}

@media (max-width: 720px) {
	.floating-actions { inset-inline-end: 16px; bottom: 16px; gap: 10px; }
	.float-btn { width: 50px; height: 50px; }
	.float-btn svg { width: 22px; height: 22px; }
}

/* Service detail page
   -------------------------------------------------------------------------- */
.service-detail { padding: var(--s-20) 0 var(--s-24); }
.service-detail-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: var(--s-12);
	align-items: start;
}
.service-detail-main .why-list li { padding: var(--s-4) 0; }
.service-detail-aside {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--s-8);
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.service-detail-aside .aside-title {
	font-family: var(--font-sans);
	font-size: var(--fs-12);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-mute);
	margin: 0 0 var(--s-5);
	font-weight: 700;
}
.other-services {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 0;
}
.other-services li {
	border-bottom: 1px solid var(--border);
}
.other-services li:last-child { border-bottom: none; }
.other-services a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
	padding: var(--s-4) 0;
	color: var(--c-ink);
	font-size: var(--fs-15);
	font-weight: 500;
	transition: padding var(--dur) var(--ease), color var(--dur) var(--ease);
}
.other-services a span {
	color: var(--c-faint);
	transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.other-services a:hover {
	padding-inline-start: 4px;
	color: var(--c-ink);
}
.other-services a:hover span {
	transform: translateX(3px);
	color: var(--c-ink);
}

@media (max-width: 1024px) {
	.service-detail-grid { grid-template-columns: 1fr; gap: var(--s-8); }
	.service-detail-aside { position: static; }
}
