/* ==========================================================================
   Faheem Law Associates — brand: Deep Navy #14243A, Warm Ivory #F6F3E9,
   White #FFFFFF, Ink #232B35. Georgia headings, system sans body.
   Logical properties are used so the same CSS works for English (LTR) and Urdu (RTL).
   ========================================================================== */

:root {
	--navy: #14243a;
	--navy-2: #1d3352;
	--navy-3: #2a4468;
	--navy-deep: #0e1a2b;
	--ivory: #f6f3e9;
	--ivory-2: #ece6d4;
	--white: #ffffff;
	--ink: #232b35;
	--muted: #5a6472;
	--line: #e2dccb;
	--line-dark: rgba(246, 243, 233, 0.16);
	--wa: #1fa855;

	--font-head: Georgia, "Times New Roman", serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 4px;
	--radius-lg: 8px;
	--shadow: 0 1px 2px rgba(20, 36, 58, 0.06), 0 8px 24px rgba(20, 36, 58, 0.08);
	--shadow-lg: 0 20px 50px rgba(14, 26, 43, 0.22);
	--container: 1180px;
	--header-h: 76px;
	--lh: 1.65;
	--lh-head: 1.2;
}

/* Urdu: Nastaliq needs more line height and slightly smaller headings. */
[dir="rtl"] {
	--font-head: "Noto Nastaliq Urdu", Georgia, serif;
	--font-body: "Noto Nastaliq Urdu", -apple-system, "Segoe UI", Tahoma, sans-serif;
	--lh: 2.15;
	--lh-head: 1.9;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: var(--lh);
	color: var(--ink);
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-size: 16px; }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-3); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 400;
	line-height: var(--lh-head);
	color: var(--navy);
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
[dir="rtl"] h1 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
[dir="rtl"] h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
[dir="rtl"] h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container.narrow { max-width: 860px; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000;
	background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--navy-3); outline-offset: 3px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ico.arrow { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	padding: 0.85em 1.5em; border-radius: var(--radius); border: 1px solid transparent;
	font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
	white-space: nowrap;
}
[dir="rtl"] .btn { font-weight: 600; line-height: 1.9; padding-block: 0.55em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-ivory { background: var(--ivory); color: var(--navy); }
.btn-ivory:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(246, 243, 233, 0.45); }
.btn-ghost:hover { border-color: var(--ivory); color: var(--white); background: rgba(246, 243, 233, 0.06); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--ivory); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; color: var(--navy);
}
.link-arrow .ico { transition: transform 0.2s; }
.link-arrow:hover .ico { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(3px); }

.kicker {
	display: inline-flex; align-items: center; gap: 0.6em;
	font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--navy-3); margin-bottom: 0.9em;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 0.92rem; }
.kicker-light { color: rgba(246, 243, 233, 0.78); }
.kicker a { color: inherit; text-decoration: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: rgba(246, 243, 233, 0.82); font-size: 0.84rem; }
[dir="rtl"] .topbar { font-size: 0.82rem; }
.topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45em; color: inherit; text-decoration: none; }
.topbar a.topbar-item:hover { color: var(--white); }
.topbar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.lang-switch {
	display: inline-flex; align-items: center; gap: 0.4em; padding: 3px 12px; border: 1px solid rgba(246, 243, 233, 0.35);
	border-radius: 999px; color: var(--ivory); text-decoration: none; font-weight: 600; font-family: "Noto Nastaliq Urdu", var(--font-body);
}
.lang-switch:hover { background: var(--ivory); color: var(--navy); }
.lang-switch-dark { color: var(--navy); border-color: var(--line); justify-content: center; padding: 8px 14px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 36, 58, 0.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand-logo { max-height: 52px; width: auto; }
.brand-mono {
	position: relative; display: inline-flex; align-items: flex-end; font-family: Georgia, serif; font-size: 38px;
	line-height: 1; color: var(--navy); height: 40px; direction: ltr;
}
.brand-mono i { font-style: normal; }
.brand-mono i + i { margin-inline-start: -0.32em; transform: translateY(0.08em); font-size: 1.04em; }
.brand-word { display: flex; flex-direction: column; line-height: 1; direction: ltr; text-align: left; }
.brand-word strong { font-family: Georgia, serif; font-weight: 400; font-size: 25px; letter-spacing: 0.06em; }
.brand-word small {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 10.5px;
	font-weight: 600; letter-spacing: 0.31em; margin-top: 5px;
}

.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
	display: block; padding: 8px 12px; font-size: 0.94rem; font-weight: 600; color: var(--ink); text-decoration: none;
	border-radius: var(--radius); position: relative;
}
.main-nav a::after {
	content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 1px; background: var(--navy);
	transform: scaleX(0); transition: transform 0.2s;
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--navy); }
.nav-mobile-extra { display: none; }
.header-cta { padding: 0.7em 1.1em; }
.nav-toggle {
	display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius);
	width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: var(--ivory);
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(246, 243, 233, 0.08), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
	background-image: repeating-linear-gradient(90deg, rgba(246, 243, 233, 0.035) 0 1px, transparent 1px 120px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.12rem; color: rgba(246, 243, 233, 0.86); max-width: 38em; margin-bottom: 1.8em; }
[dir="rtl"] .hero .lead { font-size: 1.02rem; }
.hero-chips { list-style: none; padding: 0; margin: 2.2em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li {
	font-size: 0.82rem; font-weight: 600; padding: 4px 12px; border: 1px solid var(--line-dark); border-radius: 999px;
	color: rgba(246, 243, 233, 0.85);
}
.hero-chips li + li::before { content: none; }

.hero-visual { position: relative; }
.portrait {
	position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; background: var(--navy-2);
	box-shadow: var(--shadow-lg);
}
.portrait::after {
	content: ""; position: absolute; inset: 14px; border: 1px solid rgba(246, 243, 233, 0.35); border-radius: 4px; pointer-events: none;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
	position: absolute; inset-inline-start: -28px; bottom: 28px; display: flex; gap: 12px; align-items: flex-start;
	background: var(--white); color: var(--ink); padding: 14px 18px; border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg); max-width: 300px; font-size: 0.86rem; line-height: 1.45;
}
[dir="rtl"] .hero-badge { line-height: 1.9; }
.hero-badge strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.hero-badge-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ivory); color: var(--navy); flex: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.bg-white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-text { color: var(--muted); font-size: 1.06rem; }

/* Stages */
.stage-list {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
	counter-reset: stage; position: relative;
}
.stage-list::before {
	content: ""; position: absolute; top: 28px; inset-inline: 10%; height: 1px; background: var(--line);
}
.stage { position: relative; text-align: center; padding: 0 14px; }
.stage-ico {
	position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px;
	border-radius: 50%; background: var(--navy); color: var(--ivory); box-shadow: 0 0 0 8px var(--ivory);
}
.stage-ico .ico { width: 24px; height: 24px; }
.stage-num { display: block; font-family: Georgia, serif; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 4px; }
.stage h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.stage p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--navy); border-radius: var(--radius-lg); z-index: 0;
}
[dir="rtl"] .about-media::before { inset: 18px 18px -18px -18px; }
.about-media img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.prose p { color: var(--ink); }
.prose-light p { color: rgba(246, 243, 233, 0.86); }

.checks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checks .ico {
	width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy); color: var(--ivory); margin-top: 0.15em;
}
[dir="rtl"] .checks .ico { margin-top: 0.55em; }
.checks-light li { color: var(--ivory); font-weight: 400; }
.checks-light .ico { background: var(--ivory); color: var(--navy); }

/* Cards / services */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
	position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 30px 28px 26px; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card::before {
	content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--navy);
	transform: scaleX(0); transform-origin: left; transition: transform 0.3s; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
[dir="rtl"] .card::before { transform-origin: right; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-ico {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--ivory);
	color: var(--navy); margin-bottom: 18px;
}
.card-ico .ico { width: 26px; height: 26px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.dash-list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.dash-list li { position: relative; padding-inline-start: 18px; color: var(--muted); font-size: 0.95rem; margin-bottom: 6px; }
.dash-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.8em; width: 8px; height: 1px; background: var(--navy); }
[dir="rtl"] .dash-list li::before { top: 1.1em; }
.service-card .link-arrow { position: relative; z-index: 1; margin-top: auto; }

/* International */
.intl {
	color: var(--ivory);
	background:
		radial-gradient(900px 420px at 0% 0%, rgba(246, 243, 233, 0.06), transparent 60%),
		var(--navy);
}
.intl h2, .intl h3 { color: var(--white); }
.intl-head { max-width: 820px; margin-bottom: 48px; }
.conv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.conv-card {
	position: relative; padding: 30px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
	background: rgba(246, 243, 233, 0.03); transition: background 0.25s, border-color 0.25s;
}
.conv-card:hover { background: rgba(246, 243, 233, 0.07); border-color: rgba(246, 243, 233, 0.32); }
.conv-year { display: block; font-family: Georgia, serif; font-size: 3rem; line-height: 1; color: rgba(246, 243, 233, 0.24); margin-bottom: 14px; }
.conv-card h3 { font-size: 1.2rem; }
.conv-sub { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246, 243, 233, 0.62); }
[dir="rtl"] .conv-sub { letter-spacing: 0; text-transform: none; font-family: -apple-system, "Segoe UI", sans-serif; }
.conv-text p { color: rgba(246, 243, 233, 0.84); font-size: 0.96rem; margin: 0; }
.benefits {
	padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--navy-deep); border: 1px solid var(--line-dark);
}
.benefits .checks { grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.closing {
	margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line-dark); font-family: var(--font-head);
	font-size: 1.2rem; color: var(--white); font-style: italic;
}
[dir="rtl"] .closing { font-style: normal; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-item { text-align: center; padding: 28px 18px; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); }
.why-ico { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid var(--navy); color: var(--navy); }
.why-ico .ico { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.06rem; }
.why-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.testi-quote { width: 30px; height: 30px; color: var(--navy); opacity: 0.25; margin-bottom: 12px; }
.testi blockquote { margin: 0 0 16px; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.testi figcaption { font-weight: 700; color: var(--navy); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 20px 24px; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy);
}
[dir="rtl"] .faq-item summary { font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 22px; height: 22px; transition: transform 0.25s; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* Articles */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.center-row { text-align: center; margin-top: 40px; }

/* CTA band */
.cta-band { background: var(--navy-deep); color: var(--ivory); padding-block: 56px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 0.25em; }
.cta-band p { margin: 0; color: rgba(246, 243, 233, 0.8); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.info-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--ivory); flex: none; }
.info-item strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; }
.info-item p { margin: 0.2em 0 0.3em; color: var(--muted); }
.info-item a { color: var(--ink); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 1em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; transition: border-color 0.2s, background 0.2s;
}
[dir="rtl"] .field input, [dir="rtl"] .field select, [dir="rtl"] .field textarea { padding-block: 6px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

.map { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* Inner page hero */
.page-hero {
	color: var(--ivory); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	padding-block: clamp(48px, 7vw, 84px);
}
.page-hero h1 { color: var(--white); margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-hero .lead { color: rgba(246, 243, 233, 0.82); margin: 0.8em 0 0; max-width: 42em; }
.page-hero .meta { color: rgba(246, 243, 233, 0.7); margin: 1em 0 0; font-size: 0.9rem; }
.page-hero p a.btn { margin-top: 1.4em; }
.page-hero-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(246, 243, 233, 0.4); }
.page-hero-ico .ico { width: 26px; height: 26px; }

.entry { font-size: 1.06rem; }
.entry h2 { font-size: 1.7rem; margin-top: 1.4em; }
.entry h3 { margin-top: 1.2em; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry li { margin-bottom: 0.4em; }
.entry blockquote { margin: 1.5em 0; padding: 0.5em 1.2em; border-inline-start: 3px solid var(--navy); font-family: var(--font-head); font-size: 1.15rem; }
.entry img { border-radius: var(--radius-lg); }
.single-media { margin-bottom: 32px; }
.single-media img { width: 100%; border-radius: var(--radius-lg); }

.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.service-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.service-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.help-box { background: var(--navy); color: var(--ivory); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; margin-top: 32px; }
.service-aside .help-box { margin-top: 0; }
.help-box h3 { color: var(--white); margin: 0; }
.help-box p { color: rgba(246, 243, 233, 0.8); margin: 0 0 6px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.side-card h3 { font-size: 1.1rem; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover { color: var(--navy-3); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); }
.pagination .current { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(246, 243, 233, 0.75); padding-top: 72px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand, .site-footer .brand-mono { color: var(--ivory); }
.footer-about p { margin-top: 18px; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(246, 243, 233, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { margin-top: 0.25em; color: var(--ivory); }
[dir="rtl"] .footer-contact .ico { margin-top: 0.6em; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; }
.socials a:hover { background: var(--ivory); color: var(--navy); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px 26px; font-size: 0.84rem; }
.footer-bottom p { margin: 0 0 6px; }
.disclaimer { color: rgba(246, 243, 233, 0.58); max-width: 900px; }

/* Floating WhatsApp + mobile bar */
.wa-float {
	position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: var(--wa); color: var(--white); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); color: var(--white); }
.wa-float .ico { width: 28px; height: 28px; }
.mobile-bar { display: none; }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.main-nav a { padding: 8px 8px; font-size: 0.9rem; }
	.header-cta span { display: none; }
	.why-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
	:root { --header-h: 66px; }
	.topbar .hide-sm, .topbar-inner > .topbar-item:first-child { display: none; }
	.topbar-end { margin-inline-start: 0; width: 100%; justify-content: space-between; }
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 18px 22px 120px;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
		overflow-y: auto; border-top: 1px solid var(--line);
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { padding: 14px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav a::after { display: none; }
	.nav-mobile-extra { display: grid; gap: 12px; margin-top: 22px; }
	body.nav-open { overflow: hidden; }

	.hero-grid, .about-grid, .contact-grid, .service-layout { grid-template-columns: 1fr; }
	.hero-visual { max-width: 420px; margin-inline: auto; width: 100%; }
	.hero-badge { inset-inline-start: 12px; }
	.stage-list { grid-template-columns: 1fr; gap: 0; }
	.stage-list::before { top: 0; bottom: 0; inset-inline-start: 28px; inset-inline-end: auto; width: 1px; height: auto; }
	.stage { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: start; padding: 0 0 26px; }
	.stage-ico { grid-row: span 3; margin: 0; }
	.card-grid, .conv-grid, .post-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
	.service-aside { position: static; }
}

@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.container { padding-inline: 18px; }
	.topbar .hide-sm, .topbar-inner > .topbar-item:first-child { display: none; }
	.topbar-end { margin-inline-start: 0; width: 100%; justify-content: space-between; }
	.brand-mono { font-size: 30px; height: 32px; }
	.brand-word strong { font-size: 20px; }
	.brand-word small { font-size: 8.5px; letter-spacing: 0.28em; }
	.card-grid, .conv-grid, .post-grid, .testi-grid, .why-grid, .checks, .benefits .checks, .footer-grid { grid-template-columns: 1fr; }
	.btn-row .btn { flex: 1 1 100%; }
	.hero-chips { display: none; }
	.about-media::before { display: none; }
	.cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
	.wa-float { display: none; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
		background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 36, 58, 0.1);
	}
	.mobile-bar a {
		display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700;
		text-decoration: none; color: var(--navy);
	}
	.mobile-bar .mobile-bar-wa { background: var(--wa); color: var(--white); }
	.map iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
