/* ==========================================================================
   Almossafer™ - design system
   Palette from the official app icon. Logical properties throughout so the
   same rules serve LTR (EN/FR) and RTL (AR).
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Arabic: Noto Kufi Arabic - the Arabic face used on the current Almossafer site.
   TEMPORARY until the approved concept file confirms the exact face (change --font-ar only). */
@font-face {
	font-family: "Noto Kufi Arabic";
	src: url("../fonts/noto-kufi-arabic-arabic-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
	/* Brand (mandatory) */
	--green-900: #1B3D12;
	--green-700: #29591B;
	--green-500: #3E7A2C;
	--green-050: #EEF3EA;
	--orange-500: #FF8201;
	--orange-600: #E87500;
	--orange-700: #B85C00;
	--orange-050: #FFF4E8;
	--white: #FFFFFF;
	--sand-050: #FAF8F3;
	--ink-900: #1C2419;
	--ink-600: #5B6657;
	--line: #E3E6DF;
	--line-strong: #C9CFC4;
	--danger: #B42318;
	--on-orange: #14210F;

	/* Type */
	--font-latin: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-ar: "Noto Kufi Arabic", "Manrope", ui-sans-serif, system-ui, sans-serif;
	--font: var(--font-latin);
	--lh-body: 1.6;
	--lh-head: 1.1;
	--track-head: -0.022em;
	--w-head: 760;
	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
	--step-3: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
	--step-4: clamp(1.95rem, 1.45rem + 2.1vw, 2.9rem);
	--step-5: clamp(2.45rem, 1.55rem + 3.9vw, 4.4rem);

	/* Space & layout */
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(4rem, 3rem + 5vw, 7.5rem);
	--r-sm: 6px;
	--r-md: 12px;
	--header-h: 76px;
	--focus: 0 0 0 3px var(--white), 0 0 0 6px var(--orange-500);
}
:root:lang(ar) {
	--font: var(--font-ar);
	--lh-body: 1.85;
	--lh-head: 1.45;
	--track-head: 0;
	--w-head: 700;
	--step-5: clamp(2.1rem, 1.45rem + 3vw, 3.6rem);
	--step-4: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
	--step-0: 1.03rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink-900);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: var(--lh-body);
	font-feature-settings: "kern";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { margin: 0; color: var(--green-900); font-weight: var(--w-head); line-height: var(--lh-head); letter-spacing: var(--track-head); text-wrap: balance; }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: 0; }
:lang(ar) h3 { line-height: 1.6; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--orange-500); color: var(--on-orange); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--green-900); color: var(--white); padding: 12px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
main:focus { outline: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 50px; padding: 0 1.4rem; border-radius: var(--r-sm);
	border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { min-height: 42px; padding: 0 1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--orange-500); color: var(--on-orange); }
.btn--accent:hover { background: var(--orange-600); color: var(--on-orange); }
.btn--accent:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--green-900); }
.btn--line { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--line:hover { background: var(--green-050); color: var(--green-900); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; color: var(--green-700); }
.link-arrow:hover { color: var(--green-900); text-decoration: underline; }
.link-arrow .icon { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.primary-nav { margin-inline-start: auto; }
.primary-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.primary-nav a { display: block; padding: .5rem .8rem; color: var(--ink-900); font-weight: 600; font-size: .9688rem; text-decoration: none; border-radius: var(--r-sm); }
.primary-nav a:hover { color: var(--green-700); background: var(--green-050); }
.primary-nav a[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--orange-500); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 2px; }
.lang-switch a { display: grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 .5rem; font-size: .875rem; font-weight: 700; color: var(--ink-600); text-decoration: none; border-radius: 4px; }
.lang-switch a:hover { color: var(--green-700); background: var(--green-050); }
.lang-switch a[aria-current="true"] { background: var(--green-700); color: var(--white); }
.lang-switch a[lang="ar"] { font-family: var(--font-ar); }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); color: var(--green-900); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
.drawer { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100dvh - var(--header-h)); overflow: auto; }
.drawer nav { padding-block: 1rem 2rem; display: grid; gap: 1.25rem; }
.drawer__list { list-style: none; }
.drawer__list a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--green-900); font-size: var(--step-1); font-weight: 700; text-decoration: none; }
.lang-switch--drawer { justify-self: start; }
.lang-switch--drawer a { padding-inline: .9rem; }

@media (max-width: 1100px) {
	.primary-nav { display: none; }
	.menu-toggle { display: grid; }
	.header-actions { margin-inline-start: auto; }
}
@media (max-width: 700px) {
	.header-cta, .lang-switch--header { display: none; }
	:root { --header-h: 64px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand-050); }
.section--green { background: var(--green-700); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--contact { background: var(--sand-050); }
.section-head { max-width: 46rem; margin-block-end: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { margin-top: 1rem; color: var(--ink-600); font-size: var(--step-1); line-height: 1.55; }
:lang(ar) .section-head p { line-height: 1.85; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem 4rem; align-items: end; }
.section-foot { margin-top: 2.25rem; }
.fine-print { margin-top: 2rem; font-size: var(--step--1); color: var(--ink-600); max-width: 70ch; }
.fine-print--center { margin-inline: auto; text-align: center; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; background: var(--orange-050); border: 1px solid #F6D2AC; border-radius: var(--r-sm); color: var(--ink-900); font-size: var(--step--1); line-height: 1.55; }
:lang(ar) .notice { line-height: 1.8; }
.notice .icon { color: var(--orange-700); margin-top: .15em; }
.notice--light { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); color: var(--white); }
.notice--light .icon { color: var(--orange-500); }
.notice__meta { display: block; margin-top: .35rem; opacity: .8; }
.placeholder-tag { display: inline-block; padding: .1rem .55rem; border: 1px dashed var(--orange-700); border-radius: 4px; color: var(--orange-700); font-size: var(--step--1); font-weight: 700; }

/* ---------- Hero: Lady Justice inside the Rua Augusta Arch ----------
   Layers (back to front): page background; the arch (grayscale, tinted with --green-700, 15 % opacity, bottom faded);
   the statue (centred, bottom-aligned, never stretched, bottom quarter faded); the content.
   Scroll scene (pinned, scrubbed) lives in assets/js/hero.js and changes transform and opacity only. */
.hero {
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--statue-h: min(54svh, 580px);
	position: relative; isolation: isolate; overflow: clip;
	height: calc(100svh - var(--header-h)); min-height: 620px; max-height: 1040px;
}
.hero ::selection { background: var(--orange-500); color: var(--on-orange); }
.hero__stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Centred with margins (not translate) so the scroll scene can own transform at every viewport size. */
.hero__arch, .hero__statue { position: absolute; left: 50%; bottom: 0; width: var(--w); margin-left: calc(var(--w) / -2); transform-origin: 50% 100%; }
.hero__arch {
	/* wide enough that the statue stands inside the arch opening (opening = 16 % of the arch width) */
	--w: calc(var(--statue-h) * 3.6); aspect-ratio: 2000 / 1333;
	opacity: .15; isolation: isolate;
	-webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 94%);
	mask-image: linear-gradient(to bottom, #000 40%, transparent 94%);
}
.hero__arch img { display: block; width: 100%; height: 100%; filter: grayscale(1) contrast(1.06); }
.hero__arch::after { /* brand tint, limited to the arch itself */
	content: ""; position: absolute; inset: 0; background: var(--green-700); mix-blend-mode: color;
	-webkit-mask: url("../img/hero/arch-1100.webp") center / 100% 100% no-repeat;
	mask: url("../img/hero/arch-1100.webp") center / 100% 100% no-repeat;
}
.hero__statue {
	--w: calc(var(--statue-h) * .5108); z-index: 1; height: var(--statue-h);
	-webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}
.hero__statue img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 24px 28px rgba(27, 61, 18, .18)); }

.hero__content {
	position: relative; z-index: 2; height: 100%;
	display: flex; flex-direction: column; justify-content: space-between;
	padding-block: clamp(1.75rem, 4.5svh, 3.5rem) clamp(1.25rem, 3svh, 2.25rem);
}
.hero__head { max-width: 54rem; margin-inline: auto; text-align: center; }
.hero__title { font-size: var(--step-5); }
.hero__pill {
	display: inline-block; padding: 0 .36em .06em; border-radius: 999px;
	background: var(--orange-500); color: var(--on-orange); line-height: 1.12;
}
.hero__lead { margin: 1.1rem auto 0; max-width: 36rem; font-size: var(--step-1); color: var(--ink-600); line-height: 1.55; }
:lang(ar) .hero__lead { line-height: 1.85; }
.hero__actions { display: flex; justify-content: center; margin-top: 1.6rem; }
.hero .btn { transition: background-color .2s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out); touch-action: manipulation; }
.hero .btn--accent { box-shadow: 0 12px 26px -14px rgba(255, 130, 1, .55); }
@media (hover: hover) {
	.hero .btn:hover { transform: translateY(-2px); }
	.hero .btn--accent:hover { box-shadow: 0 18px 32px -14px rgba(255, 130, 1, .7); }
}
.hero .btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }

.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hero__note { display: flex; gap: .5rem; align-items: flex-start; max-width: 22rem; font-size: var(--step--1); color: var(--ink-600); line-height: 1.55; }
.hero__note .icon { flex: none; margin-top: .15em; color: var(--green-700); }
.hero__badges { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hero__badges li {
	display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem;
	border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .88);
	font-size: var(--step--1); font-weight: 600; color: var(--green-900);
}
.hero__badges .icon { width: 16px; height: 16px; color: var(--green-700); }

/* Load: a short, quiet arrival (children only; the wrappers belong to the scroll scene). */
@media (prefers-reduced-motion: no-preference) {
	.hero__arch img { animation: hero-fade 1.4s var(--ease-out) .05s both; }
	.hero__statue img { animation: hero-rise 1.1s var(--ease-out) .2s both; }
	.hero__head > * { animation: hero-rise .8s var(--ease-out) both; }
	.hero__head > :nth-child(1) { animation-delay: .1s; }
	.hero__head > :nth-child(2) { animation-delay: .22s; }
	.hero__head > :nth-child(3) { animation-delay: .34s; }
	.hero__foot > * { animation: hero-fade .8s ease-out .5s both; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
	/* Phones: the statue stands above the disclaimer; its height is reserved so text never overlaps it. */
	.hero { --statue-h: min(36svh, 320px); --foot-h: 4.75rem; height: auto; min-height: calc(100svh - var(--header-h)); max-height: none; }
	.hero__arch, .hero__statue { bottom: var(--foot-h); }
	.hero__content { justify-content: flex-start; min-height: calc(100svh - var(--header-h)); }
	.hero__foot { margin-top: auto; padding-top: calc(var(--statue-h) + .75rem); min-height: var(--foot-h); }
	.hero__badges { display: none; }
	.hero__note { max-width: 30rem; }
}
@media (max-width: 480px) {
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Service index (homepage) ---------- */
.service-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.service-index li { border-top: 1px solid var(--line); }
.service-index__row { display: grid; grid-template-columns: 44px 1fr 28px; gap: 1rem; align-items: start; padding-block: 1.5rem; text-decoration: none; color: inherit; }
.service-index__icon { color: var(--green-700); padding-top: .15rem; }
.service-index__icon .icon { width: 30px; height: 30px; }
.service-index__title { display: block; font-size: var(--step-1); font-weight: 700; color: var(--green-900); line-height: 1.3; }
.service-index__desc { display: block; margin-top: .35rem; color: var(--ink-600); }
.service-index__go { color: var(--line-strong); padding-top: .25rem; transition: color .15s, transform .15s; }
.service-index__row:hover .service-index__title { color: var(--green-700); text-decoration: underline; text-underline-offset: .2em; }
.service-index__row:hover .service-index__go { color: var(--orange-500); transform: translateX(4px); }
[dir="rtl"] .service-index__row:hover .service-index__go { transform: translateX(-4px); }
@media (max-width: 760px) { .service-index { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why__years { font-size: clamp(5.5rem, 4rem + 7vw, 10rem); line-height: .8; font-weight: 800; color: var(--orange-500); font-family: var(--font-latin); letter-spacing: -0.05em; margin-bottom: 1.5rem; }
.why__head h2 { font-size: var(--step-4); max-width: 16ch; }
.why__lead { margin-top: 1.25rem; color: rgba(255,255,255,.88); font-size: var(--step-1); line-height: 1.6; max-width: 36rem; }
:lang(ar) .why__lead { line-height: 1.9; }
.why__points { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2.5rem; padding-top: .5rem; }
.why__points li { border-top: 1px solid rgba(255,255,255,.28); padding-top: 1.25rem; }
.why__points p { margin-top: .6rem; color: rgba(255,255,255,.86); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why__points { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: step; }
.steps__item { position: relative; padding-top: 3.5rem; }
.steps__num { position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--green-700); border-radius: 50%; color: var(--green-700); font-weight: 800; background: var(--white); font-family: var(--font-latin); }
.steps__item:not(:last-child)::before { content: ""; position: absolute; top: 20px; inset-inline-start: 52px; inset-inline-end: -12px; height: 1.5px; background: var(--line-strong); }
.steps__item h3 { font-size: var(--step-1); }
.steps__item p { margin-top: .5rem; color: var(--ink-600); font-size: .98rem; }
.steps__item:first-child .steps__num { background: var(--orange-500); border-color: var(--orange-500); color: var(--on-orange); }
@media (max-width: 1024px) {
	.steps { grid-template-columns: 1fr; gap: 0; max-width: 40rem; }
	.steps__item { padding-top: 0; padding-inline-start: 3.75rem; padding-bottom: 1.75rem; }
	.steps__item:not(:last-child)::before { top: 44px; bottom: 4px; inset-inline-start: 19px; inset-inline-end: auto; width: 1.5px; height: auto; }
}
.steps--vertical { grid-template-columns: 1fr; gap: 0; }
.steps--vertical .steps__item { padding-top: 0; padding-inline-start: 3.75rem; padding-bottom: 1.5rem; min-height: 40px; }
.steps--vertical .steps__item:not(:last-child)::before { top: 44px; bottom: 4px; inset-inline-start: 19px; inset-inline-end: auto; width: 1.5px; height: auto; }
.steps--vertical .steps__item p { margin-top: .45rem; color: var(--ink-900); }

/* ---------- Our work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.75rem; }
.work-card__art { background: var(--sand-050); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.25rem, 3vw, 2.25rem); }
.work-card__art svg { transform: rotate(var(--tilt, 0deg)); filter: drop-shadow(0 10px 18px rgba(27,61,18,.10)); }
.work-card__title { margin-top: 1rem; font-weight: 700; color: var(--green-900); }
.work-card__meta { margin-top: .15rem !important; font-size: var(--step--1); color: var(--ink-600); }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews (policy until authorised reviews exist) ---------- */

/* ---------- Briefing (immigration updates) ---------- */
.briefing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.briefing__item { border-top: 3px solid var(--orange-500); padding-top: 1.25rem; }
.briefing__item h3 { font-size: var(--step-1); }
.briefing__item p { margin-top: .6rem; color: var(--ink-900); }
.source-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 1rem; font-size: var(--step--1); font-weight: 700; }
.source-link .icon { width: 1em; height: 1em; }
@media (max-width: 900px) { .briefing { grid-template-columns: 1fr; } }

/* ---------- FAQ / accordion ---------- */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem 5rem; align-items: start; }
.faq h2 { font-size: var(--step-4); position: sticky; top: calc(var(--header-h) + 2rem); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding-block: 1.25rem; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--step-1); color: var(--green-900); line-height: 1.4; }
:lang(ar) .accordion summary { line-height: 1.7; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--green-700); }
.accordion__icon { color: var(--orange-700); transition: transform .2s; }
.accordion details[open] .accordion__icon { transform: rotate(45deg); }
.accordion details p { padding-bottom: 1.4rem; max-width: 62ch; color: var(--ink-900); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq h2 { position: static; } }

/* ---------- Contact & form ---------- */
.contact-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-split__intro h2 { font-size: var(--step-4); }
.contact-split__intro > p { margin-top: 1rem; color: var(--ink-600); font-size: var(--step-1); }
.contact-split__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.25rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }

.channels { margin-top: 2.25rem; }
.channels__title { font-size: var(--step-0); font-weight: 700; color: var(--green-900); }
.channels dl { margin: 1rem 0 0; }
.channels__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.channels dt { display: flex; gap: .6rem; align-items: center; color: var(--ink-600); }
.channels dt .icon { color: var(--green-700); }
.channels dd { margin: 0; font-weight: 700; }
.channels__note { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-600); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem; }
.field { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; color: var(--ink-900); }
.field legend { padding: 0; margin-bottom: .45rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.req { font-weight: 500; color: var(--ink-600); font-size: .8125rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
	background: var(--white); color: var(--ink-900); font: inherit; font-size: 1rem; line-height: 1.4;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2329591B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right .8rem center; padding-inline-end: 2.5rem; }
[dir="rtl"] .field select { background-position: left .8rem center; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(41,89,27,.16); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__hint { font-size: .8438rem; color: var(--ink-600); }
.field__error { font-size: .875rem; font-weight: 600; color: var(--danger); }
.field--check label { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; font-weight: 500; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.field--check input, .choices input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--green-700); }
.choices { display: flex; gap: 1.5rem; }
.choices label { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; cursor: pointer; }
.form-errors { margin-bottom: 1.5rem; padding: 1rem 1.15rem; border: 1.5px solid var(--danger); border-radius: var(--r-sm); background: #FEF3F2; color: var(--danger); }
.form-errors ul { margin-top: .5rem; padding-inline-start: 1.1rem; }
.form-errors a { color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.75rem; }
.form-actions__note { display: flex; gap: .5rem; align-items: flex-start; font-size: .8438rem; color: var(--ink-600); max-width: 26rem; }
.form-actions__note .icon { color: var(--green-700); width: 1.1em; height: 1.1em; margin-top: .15em; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--sand-050); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-5); max-width: 18ch; }
.page-head__lead { margin-top: 1.25rem; max-width: 40rem; font-size: var(--step-1); color: var(--ink-600); line-height: 1.55; }
:lang(ar) .page-head__lead { line-height: 1.9; }
.page-head--plain { background: var(--white); border-bottom: 0; }
.page-head__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-head__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
[dir="rtl"] .page-head__photo img { clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); }
@media (max-width: 900px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__photo { display: none; } }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin-bottom: 1.25rem; font-size: var(--step--1); color: var(--ink-600); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-inline-start: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-600); }
.breadcrumb a:hover { color: var(--green-700); }

/* ---------- Services landing ---------- */
.category-jump { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.category-jump ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-jump a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-900); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.category-jump a:hover { border-color: var(--green-700); color: var(--green-700); }
.category { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.category + .category { border-top: 1px solid var(--line); }
.category__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem clamp(2rem, 6vw, 6rem); }
.category__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.category__head h2 { font-size: var(--step-3); }
.category__head p { margin-top: .75rem; color: var(--ink-600); }
.service-entry { display: grid; grid-template-columns: 44px 1fr; gap: 1.25rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.service-entry:first-child { border-top: 0; padding-top: 0; }
.service-entry__icon { color: var(--green-700); }
.service-entry__icon .icon { width: 32px; height: 32px; }
.service-entry h3 { font-size: var(--step-2); }
.service-entry h3 a { color: var(--green-900); text-decoration: none; }
.service-entry h3 a:hover { color: var(--green-700); text-decoration: underline; }
.service-entry__body > p { margin-top: .6rem; color: var(--ink-600); max-width: 60ch; }
.service-entry .link-arrow { margin-top: 1.1rem; }
@media (max-width: 860px) { .category__grid { grid-template-columns: 1fr; } .category__head { position: static; } }

.tick-list { list-style: none; display: grid; gap: .7rem; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.tick-list .icon { color: var(--green-700); width: 20px; height: 20px; margin-top: .2em; }
:lang(ar) .tick-list .icon { margin-top: .35em; }
.tick-list--no .icon { color: var(--ink-600); }
.tick-list--compact { margin-top: 1rem; gap: .45rem; font-size: .9688rem; }

.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding: clamp(1.75rem, 4vw, 3rem); background: var(--green-050); border-radius: var(--r-md); }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin-top: .6rem; max-width: 42rem; color: var(--ink-900); }

/* ---------- Individual service ---------- */
.service-head__grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 2rem 4rem; align-items: end; }
.service-head__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--orange-500); color: var(--on-orange); }
.service-head__icon .icon { width: 28px; height: 28px; }
@media (max-width: 860px) { .service-head__grid { grid-template-columns: 1fr; } }

.service-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.service-main { display: grid; gap: clamp(2.75rem, 2rem + 2vw, 3.75rem); min-width: 0; }
.block h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.block > p { max-width: 64ch; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.scope__col { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-md); }
.scope__col h2 { font-size: var(--step-2); }
.scope__col--yes { background: var(--green-050); }
.scope__col--no { background: var(--sand-050); border: 1px solid var(--line); }
@media (max-width: 700px) { .scope { grid-template-columns: 1fr; } }
.block--notes { padding: clamp(1.25rem, 3vw, 2rem); background: var(--orange-050); border-inline-start: 4px solid var(--orange-500); border-radius: 0 var(--r-md) var(--r-md) 0; }
[dir="rtl"] .block--notes { border-radius: var(--r-md) 0 0 var(--r-md); }
.block--notes h2 { font-size: var(--step-2); }
.block--notes ul { display: grid; gap: .6rem; padding-inline-start: 1.15rem; }
.source-list { list-style: none; display: grid; gap: .25rem; }
.source-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.source-list .source-link { margin-top: 0; font-size: 1rem; }
.source-list__host { font-size: .8125rem; color: var(--ink-600); }

.service-aside { display: grid; gap: 1.5rem; align-content: start; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.aside-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.aside-card__title { font-weight: 800; color: var(--green-900); font-size: var(--step-1); }
.aside-card p + p { margin-top: .5rem; color: var(--ink-600); font-size: var(--step--1); }
.aside-card .btn { margin-top: 1.25rem; }
.aside-related__title { font-weight: 700; color: var(--green-900); margin-bottom: .5rem; }
.aside-related ul { list-style: none; }
.aside-related a { display: flex; gap: .65rem; align-items: center; padding-block: .7rem; border-bottom: 1px solid var(--line); color: var(--ink-900); text-decoration: none; font-weight: 600; font-size: .9688rem; }
.aside-related a:hover { color: var(--green-700); }
.aside-related .icon { color: var(--green-700); }
@media (max-width: 980px) { .service-body { grid-template-columns: 1fr; } .service-aside { position: static; } }

/* ---------- Thanks / prose ---------- */
.thanks { max-width: 44rem; text-align: center; padding-block: 2rem; }
.thanks h1 { font-size: var(--step-4); margin-inline: auto; }
.thanks__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.5rem; border-radius: 50%; background: var(--green-700); color: var(--white); }
.thanks__mark .icon { width: 32px; height: 32px; }
.thanks__ref { margin-block: 1.5rem; padding: 1rem; border: 1.5px dashed var(--green-700); border-radius: var(--r-sm); font-size: var(--step-1); }
.thanks__ref strong { display: block; margin-top: .25rem; font-size: var(--step-3); letter-spacing: .04em; color: var(--green-900); font-family: var(--font-latin); }
.thanks .hero__actions { justify-content: center; }
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; margin-bottom: .75rem; }
.prose .notice { margin-block: 1.5rem 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.82); padding-top: clamp(3.5rem, 6vw, 5.5rem); font-size: .9688rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #FFB066; text-decoration: underline; }
.lang-switch--footer { border-color: rgba(255,255,255,.25); }
.lang-switch--footer a { color: rgba(255,255,255,.82); }
.lang-switch--footer a:hover { background: rgba(255,255,255,.1); color: var(--white); text-decoration: none; }
.lang-switch--footer a[aria-current="true"] { background: var(--white); color: var(--green-900); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .contact-split__form, .service-aside { display: none !important; }
	body { font-size: 11pt; }
}

/* ---------- Brand mark (official logo on its green tile) ---------- */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-900); }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; white-space: nowrap; }
:lang(ar) .brand__name { letter-spacing: 0; font-size: 1.05rem; }
.brand:hover { color: var(--green-700); }
@media (max-width: 380px) { .brand__name { font-size: .95rem; } }

/* ---------- Photography placements ---------- */

.contact-figure { margin: 2rem 0 0; width: 180px; }
.contact-figure img { width: 100%; height: auto; }
@media (max-width: 900px) { .contact-figure { display: none; } }
.contact-photo { margin: 0 0 1rem; max-width: 380px; }
.contact-photo img { width: 100%; height: auto; }

.cta-band--photo { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; }
.cta-band__photo { margin: 0; width: clamp(140px, 16vw, 220px); }
.cta-band__photo img { width: 100%; height: auto; border-radius: var(--r-md); }
@media (max-width: 760px) { .cta-band--photo { grid-template-columns: 1fr; } .cta-band__photo { width: 160px; } }

.service-head__side { display: grid; gap: 1.5rem; align-content: end; }
.service-head__photo { margin: 0; max-width: 320px; }
.service-head__photo img { width: 100%; height: auto; }
.destinations { display: flex; gap: .75rem; list-style: none; }
.destinations img { width: 88px; height: 88px; }
.primary-nav a, .header-cta { white-space: nowrap; }
/* Phase 8 header: official logo + name never shrink under the menu; the account label becomes an icon
   on desktop widths (accessible name kept); the name hides only where space really runs out. */
.brand { flex: none; }
.primary-nav a { padding-inline: .6rem; }
@media (min-width: 1101px) { .header-account__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .header-actions { gap: .5rem; } }
@media (max-width: 1239px) and (min-width: 1101px) { .brand__name { display: none; } }

/* ==========================================================================
   Commerce - price list, order journey, payment result (same tokens as the site)
   ========================================================================== */
.pricelist__group { margin: 2rem 0 .75rem; font-weight: 800; color: var(--green-700); font-size: var(--step-0); }
.pricelist__group:first-child { margin-top: 0; }
.pricelist__list { list-style: none; border-top: 1px solid var(--line); }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2.5rem; align-items: center; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.plan__name { font-size: var(--step-1); color: var(--green-900); }
.plan__summary { margin-top: .3rem; color: var(--ink-600); }
.plan__buy { display: grid; justify-items: end; gap: .6rem; text-align: end; }
.plan__price { font-size: var(--step-3); font-weight: 800; color: var(--green-900); line-height: 1; font-family: var(--font-latin); }
.pricelist__note { margin-top: 1.25rem; font-size: var(--step--1); color: var(--ink-600); }
.pricelist__staging { margin-top: .4rem; font-size: .8125rem; color: var(--orange-700); }
@media (max-width: 640px) { .plan { grid-template-columns: 1fr; } .plan__buy { justify-items: start; text-align: start; grid-auto-flow: column; align-items: center; justify-content: space-between; } }
.block--plans { padding: clamp(1.25rem, 3vw, 2rem); border: 1.5px solid var(--green-700); border-radius: var(--r-md); }
.block__lead { color: var(--ink-600); margin-bottom: 1.25rem !important; max-width: 60ch; }
.category-jump a.category-jump__shop { background: var(--orange-500); border-color: var(--orange-500); color: var(--on-orange); }
.service-entry__badge { display: inline-block; margin-top: .6rem; padding: .15rem .6rem; border-radius: 999px; background: var(--orange-050); color: var(--orange-700); font-size: .8125rem; font-weight: 700; text-decoration: none; }

.page-head--order { padding-bottom: 1.5rem; }
.page-head--order h1 { font-size: var(--step-4); }
.order-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; margin-top: 1.5rem; font-size: var(--step--1); color: var(--ink-600); }
.order-steps li { display: inline-flex; align-items: center; gap: .55rem; }
.order-steps__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-weight: 800; font-family: var(--font-latin); }
.order-steps__num .icon { width: 16px; height: 16px; }
.order-steps .is-current { color: var(--green-900); font-weight: 700; }
.order-steps .is-current .order-steps__num { background: var(--orange-500); border-color: var(--orange-500); color: var(--on-orange); }
.order-steps .is-done .order-steps__num { background: var(--green-700); border-color: var(--green-700); color: var(--white); }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); padding-block: 1rem clamp(3rem, 6vw, 5rem); align-items: start; }
.order-form { background: var(--white); }
.order-form__heading { font-size: var(--step-2); margin-bottom: 1.25rem; }
.order-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--sand-050); display: grid; gap: .75rem; }
.order-summary__title { font-size: var(--step--1); font-weight: 700; color: var(--ink-600); }
.order-summary__name { font-weight: 800; font-size: var(--step-1); color: var(--green-900); }
.order-summary__desc { color: var(--ink-600); font-size: .9375rem; }
.order-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: .5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.order-summary__total dt { font-weight: 700; }
.order-summary__total dd { margin: 0; font-size: var(--step-3); font-weight: 800; color: var(--green-900); font-family: var(--font-latin); }
.order-summary__note { font-size: .8125rem; color: var(--ink-600); }
.order-summary__secure { display: flex; gap: .5rem; align-items: flex-start; font-size: .8438rem; color: var(--ink-900); }
.order-summary__secure .icon { color: var(--green-700); margin-top: .15em; width: 1.1em; height: 1.1em; }
.choices--wrap { flex-wrap: wrap; gap: .6rem 1.25rem; }
.order-summary__lines > div { grid-template-columns: 1fr auto; padding-block: .5rem; } /* reused review list: item | price */
.order-summary__lines dd, .order-summary__lines + .order-summary__total dd { white-space: nowrap; }
[data-gov-amount] { white-space: nowrap; }
.form-grid > .order-form__heading { margin: .75rem 0 -.6rem; } /* section headings inside the order form (new services) */
.pw-field { display: flex; gap: .5rem; align-items: stretch; } /* masked password + show/hide (existing .btn--line) */
.pw-field input { flex: 1 1 auto; min-width: 0; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; } /* chosen files, each removable */
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .4rem .4rem .4rem .7rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: .875rem; }
.file-list li span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .order-layout { grid-template-columns: 1fr; } .order-summary { position: static; order: -1; } }

.review-block { margin-bottom: 1.75rem; }
.review-block h2 { font-size: var(--step-2); margin-bottom: .75rem; }
.review-list { margin: 0; border-top: 1px solid var(--line); }
.review-list > div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--line); }
.review-list dt { color: var(--ink-600); }
.review-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.order-pay { display: grid; gap: .75rem; justify-items: start; margin-top: 1.5rem; }

.payment-result { max-width: 46rem; padding-block: 0 clamp(3rem, 6vw, 5rem); }
.payment-result h1 { font-size: var(--step-4); margin-top: 1rem; }
.payment-result__mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sand-050); color: var(--ink-600); }
.payment-result__mark .icon { width: 30px; height: 30px; }
.payment-result--paid .payment-result__mark { background: var(--green-700); color: var(--white); }
.payment-result--failed .payment-result__mark { background: #FEF3F2; color: var(--danger); }
.payment-result--processing .payment-result__mark, .payment-result--waiting .payment-result__mark { background: var(--orange-050); color: var(--orange-700); }
.payment-result__text { margin-top: .75rem; font-size: var(--step-1); color: var(--ink-600); }
.payment-result__facts { margin-top: 1.75rem; }
.payment-result__next { font-size: var(--step-2); margin: 2rem 0 1rem; }
.payment-result__retry { margin-top: 1.5rem; }
.notice-block { margin-top: 1.5rem; }
.notice-block__action { margin-top: 1rem; }

.mock-checkout { max-width: 40rem; padding-block: 0 4rem; }
.mock-checkout__banner { padding: .75rem 1rem; border: 2px dashed var(--orange-700); border-radius: var(--r-sm); background: var(--orange-050); color: var(--orange-700); font-weight: 800; font-size: .9375rem; }
.mock-checkout h1 { margin-top: 1.5rem; font-size: var(--step-4); }
.mock-checkout__amount { margin-top: .5rem; font-size: var(--step-1); }
.mock-checkout__actions { display: grid; gap: .75rem; margin-top: 1.75rem; justify-items: start; }
.mock-checkout__actions--inline { margin-top: 1.5rem; }

/* ---------- Availability states (suspended / discontinued / retired) ---------- */
.plan__vat { font-size: .8125rem; color: var(--ink-600); margin-top: -.35rem !important; }
.order-summary__vat { font-size: .8125rem; font-weight: 700; color: var(--green-700); margin-top: -.4rem !important; }
.plan--unavailable { opacity: .92; }
.plan--unavailable .plan__name { color: var(--ink-600); }
.status-badge { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.status-badge--suspended { background: var(--orange-050); color: var(--orange-700); border: 1px solid #F6D2AC; }
.availability { max-width: 44rem; }
.availability h2, .availability h1 { margin-top: .75rem; }
.availability p { margin-top: .75rem; color: var(--ink-600); }
.availability__langs { list-style: none; margin-top: 1rem; display: grid; gap: .35rem; font-size: .9375rem; }

/* ===================== Phase 6/7: individual services, documents, customer portal ===================== */
.icon--lucide { width: 22px; height: 22px; flex: none; }
.field input[type="date"], .field input[type="password"], .field input[type="file"] { width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--ink-900); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.field input[type="file"] { padding: .55rem .6rem; font-size: .9375rem; }
.field input[readonly] { background: var(--sand-050); color: var(--ink-600); }
.btn--ghost { border: 1px solid transparent; background: transparent; color: var(--ink-600); }
.btn--ghost:hover { color: var(--danger); background: #FDF1EF; }
.btn .icon { width: 18px; height: 18px; }
.wrap--narrow { max-width: 920px; }
.notice--ok { background: var(--green-050); border-color: #CFDDC6; }
.notice--ok .icon { color: var(--green-700); }
.notice--warn { background: #FFF6EC; border-color: #F6D2AC; }
.notice--quiet { background: var(--sand-050); border-color: var(--line); color: var(--ink-600); }

/* Header: WhatsApp + account */
.header-icon { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; min-width: 40px; justify-content: center; padding: 0 .5rem; border-radius: var(--r-sm); color: var(--green-700); text-decoration: none; font-weight: 700; font-size: .9375rem; }
.header-icon:hover, .header-icon[aria-current="page"] { background: var(--green-050); color: var(--green-900); }
@media (max-width: 1100px) { .header-account__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (max-width: 560px) { .header-icon[data-channel="whatsapp"] { display: none; } }
.drawer__account { gap: .5rem; }
.drawer__channels { list-style: none; display: grid; gap: .25rem; }
.drawer__channels a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; color: var(--green-900); font-weight: 700; text-decoration: none; }
.drawer__channels .icon { color: var(--green-700); }

/* Contact channels (confirmed values only) */
.channels__list { list-style: none; margin-top: 1rem; display: grid; gap: .6rem; }
.channels__link { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); text-decoration: none; color: inherit; transition: border-color .15s; }
.channels__link:hover { border-color: var(--green-700); }
.channels__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--green-050); color: var(--green-700); flex: none; }
.channels__label { display: block; font-size: .8438rem; color: var(--ink-600); }
.channels__value { display: block; font-weight: 800; color: var(--green-900); unicode-bidi: isolate; }
[dir="rtl"] .channels__value { text-align: right; }

/* Brand composition replacing the contact photos */
.contact-visual { position: relative; overflow: hidden; margin-top: 1.75rem; padding: 1.5rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.contact-visual__sun { position: absolute; inset-inline-end: -46px; top: -46px; width: 132px; height: 132px; border-radius: 50%; background: var(--orange-500); opacity: .92; }
.contact-visual__arc { position: absolute; inset-inline-end: 22px; top: 22px; width: 92px; height: 92px; border-radius: 50%; border: 10px solid var(--green-700); border-color: var(--green-700) transparent transparent transparent; transform: rotate(-35deg); }
[dir="rtl"] .contact-visual__arc { transform: rotate(35deg); }
.contact-visual__title { position: relative; font-weight: 800; color: var(--green-900); font-size: var(--step-0); max-width: 70%; }
.contact-visual__chips { position: relative; list-style: none; margin-top: 1.1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.contact-visual__chips li { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .9375rem; color: var(--ink-900); }
.contact-visual__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--green-050); color: var(--green-700); flex: none; }
.contact-visual__ico .icon { width: 20px; height: 20px; }

/* Offer cards */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.offer-grid--narrow { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.offer-card { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .15s; }
.offer-card:hover { border-color: var(--green-500); }
.offer-card__media { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.offer-thumb { display: block; width: 72px; height: auto; border-radius: 6px; border: 1px solid var(--line); background: var(--sand-050); }
.offer-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--green-050); color: var(--green-700); }
.offer-card__title { font-size: var(--step-1); line-height: 1.3; }
.offer-card__title a { color: var(--green-900); text-decoration: none; }
.offer-card__title a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: .2em; }
.offer-card__text { margin-top: .5rem; color: var(--ink-600); font-size: .9688rem; line-height: 1.55; }
.offer-card__foot { display: grid; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.offer-card__price { font-weight: 800; font-size: var(--step-1); color: var(--green-900); }
.offer-card__price--none { font-weight: 700; font-size: .9375rem; color: var(--ink-600); }
.offer-card__vat { font-weight: 600; font-size: .8125rem; color: var(--ink-600); margin-inline-start: .35rem; }
.offer-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.category__head--row { max-width: 46rem; }
.category__head--row p { margin-top: .6rem; color: var(--ink-600); }
.category__topic { margin-top: 1.25rem; }
.service-index__row { grid-template-columns: 44px 1fr auto 28px; }
.service-index__price { align-self: center; font-weight: 800; color: var(--green-900); white-space: nowrap; }

/* Individual service page */
.offer-head__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 1rem; }
.offer-head__intro { margin-top: 1rem; max-width: 40rem; color: var(--ink-600); }
.offer-head__side { display: grid; gap: 1rem; }
.offer-head__thumb { margin: 0; display: grid; gap: .4rem; justify-items: start; }
.offer-head__thumb .offer-thumb { width: 200px; }
.offer-head__thumb figcaption { font-size: .75rem; color: var(--ink-600); letter-spacing: .02em; text-transform: uppercase; }
.price-box { padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--orange-500); border-radius: var(--r-sm); }
.price-box__label { font-size: .8125rem; font-weight: 700; color: var(--ink-600); text-transform: uppercase; letter-spacing: .04em; }
.price-box__amount { margin-top: .2rem; font-size: var(--step-3); font-weight: 800; color: var(--green-900); }
.price-box__amount--none { font-size: var(--step-1); }
.price-box__vat { font-size: .875rem; color: var(--ink-600); }
.price-box__rule { margin-top: .6rem; font-size: .875rem; line-height: 1.5; }
.offer-body { padding-block: clamp(2rem, 4vw, 3.5rem); }
.offer-main { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); max-width: 920px; }
.secure-step { padding: 1.25rem; border: 1px solid #CFDDC6; background: var(--green-050); border-radius: var(--r-sm); }
.secure-step h2 { display: flex; align-items: center; gap: .5rem; font-size: var(--step-1); }
.secure-step p { margin-top: .5rem; }
.doc-checklist { list-style: none; display: grid; gap: .5rem; margin-top: .75rem; }
.doc-checklist li { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.doc-checklist li .icon { color: var(--green-700); }
.doc-badge { display: inline-block; margin-inline-start: auto; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; background: var(--sand-050); color: var(--ink-600); border: 1px solid var(--line); white-space: nowrap; }
label .doc-badge { margin-inline-start: .4rem; }
.doc-badge--req { background: var(--orange-050); color: var(--orange-700); border-color: #F6D2AC; }
.doc-badge--opt { background: var(--green-050); color: var(--green-700); border-color: #CFDDC6; }
.note-list { list-style: none; display: grid; gap: .6rem; margin-top: .75rem; }
.note-list li { display: flex; gap: .6rem; align-items: flex-start; }
.note-list .icon { color: var(--green-700); margin-top: .1rem; }
.tick-list--no .icon { color: var(--ink-600); }
.cta-band--offer { margin-top: .5rem; }
.doc-fields { display: grid; gap: 1rem; padding: 1.1rem; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--sand-050); }
.doc-field { display: grid; gap: .4rem; }
.price-preview { font-weight: 700; color: var(--green-900); }
.secure-confirm { gap: .75rem; }

/* Questionnaires */
.questionnaire { display: grid; gap: 1.5rem; }
.q-section { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.1rem 1.2rem 1.25rem; background: var(--white); min-width: 0; }
.q-section__title { padding-inline: .4rem; font-weight: 800; color: var(--green-900); font-size: var(--step-0); }
.q-row { display: grid; gap: 1rem; margin-top: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.eligibility { display: grid; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sand-050); }
.eligibility__label { font-weight: 700; margin-bottom: .4rem; display: block; }
.form-grid--nested { grid-column: 1 / -1; }
.availability--outside { padding: 1.25rem; border: 1px solid #F6D2AC; background: #FFF6EC; border-radius: var(--r-sm); }
.availability--outside h3 { font-size: var(--step-1); color: var(--green-900); }
.availability--outside p { margin-top: .6rem; }

/* Customer portal: requests and progress only (no financial sections) */
.portal-head h1 { max-width: none; }
.portal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.portal-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); text-decoration: none; color: var(--ink-900); font-weight: 700; background: var(--white); }
.portal-nav a[aria-current="page"] { border-color: var(--green-700); background: var(--green-700); color: var(--white); }
.portal-nav__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 999px; background: var(--orange-500); color: var(--on-orange); font-size: .75rem; }
.portal { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3rem, 6vw, 5rem); display: grid; gap: 1.25rem; }
.portal-auth { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.25rem; align-items: start; }
.portal-card { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.portal-card--alt { background: var(--sand-050); }
.portal-card--narrow { max-width: 560px; }
.portal-card h2 { font-size: var(--step-2); }
.portal-card__lead { color: var(--ink-600); }
.portal-card__links { font-size: .9375rem; }
.portal-section-head h2 { font-size: var(--step-3); }
.portal-section-head p { margin-top: .4rem; color: var(--ink-600); }
.portal-section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.portal-empty { display: flex; gap: .6rem; align-items: center; padding: 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); color: var(--ink-600); }
.portal-more { margin-top: 1rem; }
.portal-signout { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.request-list { list-style: none; display: grid; gap: .6rem; margin-top: 1rem; }
.request-row a { display: grid; grid-template-columns: 40px 1fr auto; gap: .4rem 1rem; align-items: center; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: inherit; }
.request-row a:hover { border-color: var(--green-700); }
.request-row__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--green-050); color: var(--green-700); }
.request-row__title { display: block; font-weight: 800; color: var(--green-900); }
.request-row__meta { display: block; font-size: .875rem; color: var(--ink-600); margin-top: .15rem; }
.action-flag { grid-column: 2 / -1; display: inline-flex; align-items: center; gap: .35rem; font-size: .8438rem; font-weight: 700; color: var(--orange-700); }
.action-flag .icon { width: 18px; height: 18px; }
.status-pill { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .8125rem; font-weight: 800; white-space: nowrap; background: var(--sand-050); border: 1px solid var(--line); color: var(--ink-900); }
.status-pill--received, .status-pill--under_review, .status-pill--processing { background: var(--green-050); border-color: #CFDDC6; color: var(--green-900); }
.status-pill--waiting_documents { background: var(--orange-050); border-color: #F6D2AC; color: var(--orange-700); }
.status-pill--completed { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.status-pill--cancelled, .status-pill--rejected { background: #F4F4F2; color: var(--ink-600); }
.request-detail { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.request-detail__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.request-detail__head h2 { font-size: var(--step-2); margin-top: .25rem; }
.request-detail__ref, .request-detail__meta { font-size: .9375rem; color: var(--ink-600); }
.request-detail__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.25rem, 4vw, 3rem); }
.request-detail h3 { font-size: var(--step-1); margin-bottom: .9rem; }
.link-arrow--back { margin-bottom: .25rem; }
.timeline { list-style: none; position: relative; display: grid; gap: 1.1rem; padding-inline-start: 1.6rem; }
.timeline::before { content: ""; position: absolute; inset-inline-start: .45rem; top: .35rem; bottom: .35rem; width: 2px; background: var(--line); }
.timeline__item { position: relative; display: grid; gap: .15rem; }
.timeline__dot { position: absolute; inset-inline-start: -1.6rem; top: .2rem; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--green-700); }
.timeline__item--current .timeline__dot { background: var(--orange-500); border-color: var(--orange-500); box-shadow: 0 0 0 4px var(--orange-050); }
.timeline__label { font-weight: 800; color: var(--green-900); }
.timeline__time { font-size: .875rem; color: var(--ink-600); }
.doc-list { list-style: none; display: grid; gap: .75rem; }
.doc-item { display: grid; gap: .75rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.doc-item--requested { border-color: #F6D2AC; background: #FFFBF6; }
.doc-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.doc-item__head > .icon { color: var(--green-700); }
.doc-item--requested .doc-item__head > .icon { color: var(--orange-700); }
.doc-item__name { font-weight: 700; }
.doc-item__head .doc-badge { margin-inline-start: 0; }
.doc-state { margin-inline-start: auto; font-size: .8125rem; font-weight: 700; color: var(--ink-600); }
.doc-item__actions, .doc-upload { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.doc-upload input[type="file"] { flex: 1 1 220px; min-width: 0; font-size: .875rem; }
.note-feed { list-style: none; display: grid; gap: .5rem; margin-top: 1rem; }
.note-feed__item { display: grid; grid-template-columns: 24px 1fr auto; gap: .75rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.note-feed__item--unread { border-inline-start: 4px solid var(--orange-500); }
.note-feed__item .icon { color: var(--green-700); }
.note-feed__item time { font-size: .8125rem; color: var(--ink-600); white-space: nowrap; }
@media (max-width: 900px) {
	.offer-head__grid, .portal-auth, .request-detail__grid { grid-template-columns: 1fr; }
	.offer-head__thumb .offer-thumb { width: 160px; }
	.note-feed__item { grid-template-columns: 24px 1fr; }
	.note-feed__item time { grid-column: 2; }
}
@media (max-width: 560px) {
	.request-row a { grid-template-columns: 40px 1fr; }
	.request-row a .status-pill { grid-column: 2; justify-self: start; }
	.contact-visual__chips { grid-template-columns: 1fr 1fr; }
	.service-index__row { grid-template-columns: 36px 1fr 24px; }
	.service-index__price { grid-column: 2; justify-self: start; }
}
.channels__list .channels__row { display: block; padding: 0; border: 0; }
.channels__link { width: 100%; }
.header-icon { white-space: nowrap; }
@media (max-width: 1280px) { .header-account__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* ===================== Phase 8: official logo, footer, app download, service discovery ===================== */
.brand__logo { display: block; height: 46px; width: auto; flex: none; }
@media (max-width: 1100px) { .brand__logo { height: 40px; } }

.site-footer--v8 { padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer-main { display: grid; grid-template-columns: minmax(230px, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem 2.25rem; align-items: start; }
.footer-brand__mark { display: inline-flex; align-items: center; gap: .9rem; color: var(--white); text-decoration: none; font-weight: 800; font-size: var(--step-1); }
.site-footer .footer-brand__mark:hover { color: var(--white); text-decoration: none; }
.footer-brand__tile { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 16px; background: var(--white); flex: none; }
.footer-brand__logo { display: block; height: 52px; width: auto; }
.footer-brand__about { margin-top: 1.15rem; max-width: 30ch; color: rgba(255,255,255,.78); line-height: 1.65; }
.footer-col { min-width: 0; }
.footer-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: default; }
.footer-col summary::-webkit-details-marker { display: none; }
.site-footer .footer-col__title { margin: 0 0 1.1rem; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-500); }
:lang(ar) .site-footer .footer-col__title { letter-spacing: 0; font-size: .9375rem; }
.footer-col__chev { display: none; color: var(--orange-500); transition: transform .2s; }
.site-footer .footer-col__list { list-style: none; display: grid; gap: .65rem; }
.site-footer .footer-link { color: rgba(255,255,255,.86); font-size: .9375rem; line-height: 1.45; }
.site-footer .footer-link:hover { color: var(--white); }
.site-footer .footer-channel { display: flex; align-items: flex-start; gap: .65rem; color: var(--white); }
.footer-channel .icon { width: 20px; height: 20px; color: var(--orange-500); margin-top: .15rem; }
.footer-channel__label { display: block; font-size: .75rem; color: rgba(255,255,255,.62); letter-spacing: .02em; }
.footer-channel bdi { font-weight: 700; word-break: break-word; }
.footer-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(2.5rem, 4vw, 3.25rem); padding: 1.4rem 1.6rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); background: rgba(255,255,255,.045); }
.site-footer .footer-app h2 { margin: 0; color: var(--white); font-size: var(--step-1); }
.footer-app__text p { margin-top: .35rem; color: rgba(255,255,255,.7); font-size: .875rem; max-width: 52ch; }
.site-footer .store-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .9rem; }
.store-badge { position: relative; display: inline-flex; align-items: center; gap: .6rem; min-width: 176px; min-height: 54px; padding: .45rem 1rem .45rem .85rem; border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.45); color: var(--white); text-decoration: none; }
.store-badge .platform-glyph { width: 26px; height: 26px; flex: none; }
.store-badge__text { display: grid; line-height: 1.1; }
.store-badge__small { font-size: .6875rem; }
.store-badge__big { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.store-badge--soon { cursor: not-allowed; }
.store-badge--soon .platform-glyph, .store-badge--soon .store-badge__text { opacity: .55; }
.store-badge__soon { position: absolute; top: -.65rem; inset-inline-end: -.5rem; padding: .15rem .55rem; border-radius: 999px; background: var(--orange-500); color: var(--on-orange); font-size: .6875rem; font-weight: 800; white-space: nowrap; }
.footer-bottom { margin-top: clamp(2.5rem, 4vw, 3.25rem); background: rgba(0,0,0,.2); border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.6rem 1.9rem; }
.footer-bottom__disclaimer { font-size: .8125rem; line-height: 1.6; color: rgba(255,255,255,.7); max-width: 92ch; }
.footer-bottom__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.1rem; font-size: .875rem; }
.footer-bottom__copy { color: rgba(255,255,255,.75); }
.footer-bottom__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.site-footer .footer-bottom__legal a { color: rgba(255,255,255,.85); }
@media (max-width: 1180px) {
	.footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
	.footer-brand__about { margin-top: 0; max-width: 60ch; }
}
@media (max-width: 860px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.footer-main { grid-template-columns: 1fr; gap: 0; }
	.footer-brand { display: block; padding-bottom: 1.6rem; }
	.footer-brand__about { margin-top: 1rem; }
	.footer-col { border-top: 1px solid rgba(255,255,255,.14); }
	.footer-col summary { cursor: pointer; padding-block: 1rem; min-height: 48px; }
	.site-footer .footer-col__title { margin: 0; }
	.footer-col__chev { display: block; transform: rotate(90deg); }
	.footer-col[open] .footer-col__chev { transform: rotate(-90deg); }
	.site-footer .footer-col__list { padding-bottom: 1.2rem; }
	.footer-app { flex-direction: column; align-items: flex-start; }
	.footer-bottom__row { flex-direction: column; align-items: flex-start; }
}

/* "How can we help?": every service as its own card, USA visa featured, Canada secondary */
.discovery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.discovery-head h2 { font-size: var(--step-4); }
.discovery-head p { margin-top: .75rem; max-width: 52ch; color: var(--ink-600); font-size: var(--step-0); }
.offer-feature { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem 1.75rem; align-items: center; padding: 1.4rem 1.6rem; margin-bottom: 1rem; border: 1px solid var(--line); border-inline-start: 5px solid var(--orange-500); border-radius: var(--r-sm); background: linear-gradient(90deg, var(--orange-050), var(--white) 55%); }
[dir="rtl"] .offer-feature { background: linear-gradient(270deg, var(--orange-050), var(--white) 55%); }
.offer-feature .offer-thumb { width: 132px; }
.offer-feature__tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-700); }
:lang(ar) .offer-feature__tag { letter-spacing: 0; }
.offer-feature h3 { margin-top: .35rem; font-size: var(--step-2); }
.offer-feature h3 a { color: var(--green-900); text-decoration: none; }
.offer-feature p { margin-top: .4rem; color: var(--ink-600); max-width: 60ch; }
.offer-feature__actions { display: grid; gap: .6rem; justify-items: end; }
.offer-card--secondary { background: var(--sand-050); }
.offer-card--secondary .offer-card__title a { color: var(--ink-900); }
.discovery-more { margin-top: 1.5rem; }
@media (max-width: 760px) {
	.offer-feature { grid-template-columns: 1fr; }
	.offer-feature__actions { justify-items: start; }
	.offer-feature .offer-thumb { width: 104px; }
}

/* Service page: structured sections */
.offer-section h2 { font-size: var(--step-2); }
.offer-section > p { margin-top: .75rem; color: var(--ink-900); line-height: 1.65; }
.process-steps { list-style: none; counter-reset: step; display: grid; gap: .75rem; margin-top: 1rem; }
.process-steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; align-items: start; }
.process-steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--green-700); color: var(--white); font-weight: 800; }
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
.doc-cols h3 { font-size: var(--step-0); margin-bottom: .6rem; }
@media (max-width: 760px) { .doc-cols { grid-template-columns: 1fr; } }
.offer-feature h3 a { display: inline-flex; align-items: center; gap: .5rem; }
.offer-feature h3 .icon--lucide { color: var(--orange-600); }
.footer-main { grid-template-columns: minmax(220px, 1.25fr) minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(205px, 1.15fr); }
.footer-channel bdi { word-break: normal; overflow-wrap: normal; font-size: .9063rem; }
@media (min-width: 1101px) {
	.site-header__inner { gap: 1rem; }
	.primary-nav a { padding-inline: .5rem; font-size: .9375rem; }
	.header-actions { gap: .4rem; }
}
@media (max-width: 1180px) { .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; } }
@media (max-width: 1279px) and (min-width: 1101px) {
	.header-icon[data-channel="whatsapp"] { display: none; }
	.primary-nav a { padding-inline: .42rem; font-size: .9063rem; }
	.header-cta { padding-inline: .9rem; }
}
@media (max-width: 1199px) and (min-width: 1101px) { .header-cta { font-size: .875rem; padding-inline: .75rem; } .primary-nav a { padding-inline: .36rem; } }
.footer-app-wrap { margin-top: clamp(2.5rem, 4vw, 3.25rem); }
.footer-app-wrap .footer-app { margin-top: 0; }
.footer-channel[data-channel="email"] bdi { font-size: .8125rem; letter-spacing: -.005em; }
@media (min-width: 1101px) { .site-header__inner { gap: .7rem; } }
@media (min-width: 1101px) { .primary-nav a { padding-inline: .46rem; } }

/* Phase 8 final: NIF featured checklist, International Visa Assistance destinations, €50 fee note */
.offer-feature__docs { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: .7rem 0 0; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink-600); }
.offer-feature__docs li { display: inline-flex; align-items: center; gap: .35rem; }
.offer-feature__docs .icon--lucide { width: 16px; height: 16px; color: var(--green-500); }
.offer-feature__docs .doc-badge { margin-inline-start: .15rem; }
.offer-feature__price { margin: 0; font-weight: 800; font-size: var(--step-2); color: var(--green-900); }
.offer-feature__price span { display: block; font-size: .75rem; font-weight: 700; color: var(--ink-600); text-align: end; }
.visa-dest > p { color: var(--ink-600); max-width: 62ch; }
.visa-dest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.visa-dest__card { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: .45rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.visa-dest__card--primary { border-color: var(--orange-500); box-shadow: inset 0 4px 0 var(--orange-500); background: linear-gradient(180deg, var(--orange-050), var(--white) 45%); }
.visa-dest__media .offer-thumb { width: 96px; height: auto; }
.visa-dest__tag { display: inline-flex; align-items: center; gap: .35rem; justify-self: start; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-700); }
:lang(ar) .visa-dest__tag { letter-spacing: 0; }
.visa-dest__name { margin: 0; font-size: var(--step-1); }
.visa-dest__name a { color: var(--green-900); text-decoration: none; }
.visa-dest__title { margin: 0; font-size: var(--step--1); color: var(--ink-600); }
.visa-dest__price { margin: 0; font-weight: 800; color: var(--green-900); font-size: var(--step-1); }
.visa-dest__price span { font-size: .75rem; font-weight: 700; color: var(--ink-600); }
.visa-dest__docs { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; font-size: var(--step--1); align-content: start; }
.visa-dest__docs li { display: flex; align-items: center; gap: .4rem; }
.visa-dest__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .35rem; }
.fee-note { margin: 1.1rem 0 0; padding: .95rem 1.1rem; border: 1px solid #F6D2AC; border-inline-start: 4px solid var(--orange-500); border-radius: var(--r-sm); background: var(--orange-050); }
.fee-note p { margin: 0; color: var(--ink-900); font-size: var(--step--1); }
.fee-note p + p { margin-top: .35rem; }
.fee-note__title { display: flex; align-items: center; gap: .4rem; }
.fee-note__title .icon--lucide { width: 18px; height: 18px; color: var(--orange-700); }
.questionnaire .fee-note { margin-bottom: 1rem; }
@media (max-width: 860px) { .visa-dest__grid { grid-template-columns: 1fr; } }

/* Phase 9.1: payment confirmation download (portal request page + payment result page) */
.pay-conf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1rem 0 1.25rem; }

/* ---------------------------------------------------------------- Legal documents (Terms of Use, Privacy Notice) */
.legal-meta { margin-top: .5rem; font-size: var(--step--1); color: var(--ink-600); }
.legal { max-width: 48rem; }
.legal-lead p { font-size: var(--step-0); }
.legal-toc { margin-block: 1.75rem 2.25rem; padding: 1.15rem 1.4rem; background: var(--sand-050); border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose .legal-toc__title { margin: 0 0 .65rem; font-size: var(--step-0); }
.legal-toc ol { margin: 0; padding-inline-start: 1.4rem; columns: 2 15rem; column-gap: 2.25rem; }
.legal-toc li { margin-bottom: .35rem; break-inside: avoid; font-size: var(--step--1); }
.legal-section { scroll-margin-top: calc(var(--header-h, 4.5rem) + 1rem); }
.prose .legal-section h2 { display: flex; gap: .45rem; align-items: baseline; }
.legal-num { color: var(--orange-700); font-variant-numeric: tabular-nums; flex: none; }
.prose .legal-section h3 { margin: 1.4rem 0 .45rem; font-size: var(--step-0); }
.legal-list { margin: .6rem 0 1.1rem; padding-inline-start: 1.35rem; }
.legal-list li { margin-bottom: .45rem; }
.legal-dl { margin: 1rem 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.legal-dl > div { display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr; gap: 1rem; padding: .6rem 1rem; border-top: 1px solid var(--line); }
.legal-dl > div:first-child { border-top: 0; }
.legal-dl dt { font-weight: 600; }
.legal-dl dd { margin: 0; overflow-wrap: anywhere; }
.legal-note { font-size: var(--step--1); color: var(--ink-600); }
.legal-form { margin: .75rem 0 1rem; padding: 1rem 1.25rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); }
.legal-form p { margin: .4rem 0; }
:lang(ar) .legal-list li, :lang(ar) .legal-dl dd { line-height: 1.85; }
@media (max-width: 36rem) {
	.legal-dl > div { grid-template-columns: 1fr; gap: .1rem; }
	.legal-toc { padding: 1rem; }
}
.legal-links { margin: 1rem 0 0; font-size: var(--step--1); color: var(--ink-600); line-height: 1.9; }
.legal-links a { white-space: nowrap; }
.legal-links--aside { margin-top: .85rem; }

/* ---------------------------------------------------------------- Shared: eyebrow, centred heads, carousel controls */
.eyebrow { margin: 0 0 .6rem; font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
:lang(ar) .eyebrow { letter-spacing: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.flip-ltr { transform: scaleX(-1); }
[dir="rtl"] .flip-ltr { transform: none; }
.carousel-nav { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink-900); cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; flex: none; }
.carousel-nav:hover:not(:disabled) { border-color: var(--green-700); color: var(--green-700); }
.carousel-nav:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.carousel-nav:disabled { opacity: .35; cursor: default; }
.carousel-nav .icon { width: 1.15rem; height: 1.15rem; }
[data-static] .carousel-nav, [data-static] .carousel-dots { visibility: hidden; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; grid-column: 1 / -1; margin-top: 1.25rem; }
.carousel-dot { width: .6rem; height: .6rem; padding: 0; border-radius: 50%; border: 0; background: var(--line-strong); cursor: pointer; transition: width .25s, background .25s; }
.carousel-dot[aria-current="true"] { width: 1.6rem; border-radius: .3rem; background: var(--green-700); }
.carousel-dot:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------------------------------------------------------------- Partners Affiliation */
.partners__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.partners__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; height: 100%; min-height: 8.5rem; padding: 1.25rem 1rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink-600); transition: border-color .2s, box-shadow .2s, transform .2s; }
.partners__card:hover, .partners__card:focus-visible { border-color: var(--green-700); box-shadow: 0 8px 24px rgba(28, 36, 25, .08); transform: translateY(-2px); }
.partners__card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.partners__logo { display: block; width: 100%; max-width: 11rem; height: 3rem; margin-inline: auto; flex: none; }
.partners__logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.partners__card:hover img, .partners__card:focus-visible img { filter: none; opacity: 1; }
.partners__cat { font-size: var(--step--1); text-align: center; }
.partners__disclosure { display: flex; gap: .5rem; align-items: flex-start; max-width: 46rem; margin: 1.5rem auto 0; font-size: var(--step--1); color: var(--ink-600); }
.partners__disclosure .icon, .partners__disclosure svg { flex: none; width: 1rem; height: 1rem; margin-top: .2em; }
@media (max-width: 52rem) { .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 22rem) { .partners__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .partners__card { transition: none; } .partners__card:hover { transform: none; } }

/* ---------------------------------------------------------------- Our work: digital album */
.album { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.album__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; margin: 0; padding: .25rem .1rem 1rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.album__track::-webkit-scrollbar { display: none; }
.album__slide { scroll-snap-align: start; }
.album__card { margin: 0; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 10px 30px rgba(28, 36, 25, .06); }
.album__media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; padding: 1.25rem; border: 0; background: var(--sand-050); cursor: zoom-in; }
.album__media img { width: 100%; height: 100%; object-fit: contain; }
.album__art { display: block; width: 92%; }
.album__art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(28, 36, 25, .12)); }
.album__media:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.album__badge { position: absolute; inset-block-start: .75rem; inset-inline-start: .75rem; padding: .25rem .6rem; border-radius: 999px; background: var(--ink-900); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
:lang(ar) .album__badge { letter-spacing: 0; }
.album__zoom { position: absolute; inset-block-end: .75rem; inset-inline-end: .75rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--green-900); opacity: 0; transition: opacity .2s; }
.album__media:hover .album__zoom, .album__media:focus-visible .album__zoom { opacity: 1; }
.album__card figcaption { padding: 1rem 1.15rem 1.15rem; }
.album__title { margin: 0; font-weight: 600; color: var(--ink-900); }
.album__meta { margin: .25rem 0 0; font-size: var(--step--1); color: var(--ink-600); }
@media (max-width: 60rem) { .album__track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 40rem) { .album { grid-template-columns: minmax(0, 1fr); } .album > .carousel-nav { display: none; } .album__track { grid-auto-columns: 86%; } }

/* ---------------------------------------------------------------- Enlarged view */
.lightbox { width: min(56rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--r-md); background: var(--white); color: var(--ink-900); }
.lightbox::backdrop { background: rgba(14, 20, 12, .82); }
.lightbox__frame { position: relative; padding: 1rem; }
.lightbox__close { position: absolute; inset-block-start: .75rem; inset-inline-end: .75rem; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--sand-050); cursor: pointer; }
.lightbox__close:focus-visible { outline: 3px solid var(--focus); }
.lightbox__media { position: relative; display: grid; place-items: center; min-height: 40vh; padding: 2.5rem 1rem 1rem; background: var(--sand-050); border-radius: var(--r-sm); touch-action: pan-y; }
.lightbox__media img { max-width: 100%; max-height: 68vh; object-fit: contain; }
.lightbox__media .album__art { width: min(100%, 38rem); }
.lightbox__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; margin-top: .85rem; }
.lightbox__caption { margin: 0; text-align: center; font-size: var(--step--1); color: var(--ink-600); }

/* ---------- Payment receipt: printer (shown only for a verified paid order; templates/payment.php) ---------- */
.receipt-printer { --paper: #FBFAF5; width: min(100%, 430px); margin: 1.75rem auto 0; }
.receipt-printer__body { position: relative; z-index: 2; padding: 14px 16px 18px; border-radius: 22px; background: var(--green-900) repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 5px); box-shadow: 0 14px 30px rgba(27,61,18,.28), inset 0 1px 0 rgba(255,255,255,.08); }
.receipt-printer__screen { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .55rem .8rem; border-radius: 10px; background: #0E2108; color: #D9EBCF; font-size: .9rem; font-weight: 600; box-shadow: inset 0 2px 6px rgba(0,0,0,.45); }
.receipt-printer__status { flex: 1 1 auto; }
.receipt-printer__led { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 8px var(--orange-500); }
[data-stage="complete"] .receipt-printer__led { background: #6CCB5F; box-shadow: 0 0 8px #6CCB5F; }
.receipt-printer__spinner { width: 18px; height: 18px; flex: none; border: 2.5px solid rgba(217,235,207,.25); border-top-color: #D9EBCF; border-radius: 50%; animation: receipt-spin .8s linear infinite; }
.receipt-printer__done { display: none; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: #6CCB5F; color: #0E2108; }
.receipt-printer__done .icon { width: 13px; height: 13px; }
[data-stage="complete"] .receipt-printer__spinner { display: none; }
[data-stage="complete"] .receipt-printer__done { display: inline-grid; }
.receipt-printer__slot { height: 7px; margin: 16px 6px 0; border-radius: 4px; background: #050C03; box-shadow: inset 0 2px 3px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.07); }
.receipt-printer__feed { position: relative; z-index: 1; margin: -12px 18px 0; padding-top: 12px; overflow: hidden; filter: drop-shadow(0 8px 12px rgba(27,61,18,.16)); }
.receipt-printer__feed::before { content: ""; position: absolute; z-index: 2; inset: 12px 0 auto; height: 16px; background: linear-gradient(rgba(14,33,8,.22), transparent); pointer-events: none; }
.receipt { position: relative; padding: 1.25rem 1.1rem 1.9rem; background: var(--paper) radial-gradient(rgba(41,89,27,.035) 1px, transparent 1px) 0 0 / 4px 4px; color: var(--ink-900); font-size: .875rem; line-height: 1.45; clip-path: polygon(0 0, 100% 0, 100.0% calc(100% - 8px), 97.9167% 100%, 95.8333% calc(100% - 8px), 93.75% 100%, 91.6667% calc(100% - 8px), 89.5833% 100%, 87.5% calc(100% - 8px), 85.4167% 100%, 83.3333% calc(100% - 8px), 81.25% 100%, 79.1667% calc(100% - 8px), 77.0833% 100%, 75.0% calc(100% - 8px), 72.9167% 100%, 70.8333% calc(100% - 8px), 68.75% 100%, 66.6667% calc(100% - 8px), 64.5833% 100%, 62.5% calc(100% - 8px), 60.4167% 100%, 58.3333% calc(100% - 8px), 56.25% 100%, 54.1667% calc(100% - 8px), 52.0833% 100%, 50.0% calc(100% - 8px), 47.9167% 100%, 45.8333% calc(100% - 8px), 43.75% 100%, 41.6667% calc(100% - 8px), 39.5833% 100%, 37.5% calc(100% - 8px), 35.4167% 100%, 33.3333% calc(100% - 8px), 31.25% 100%, 29.1667% calc(100% - 8px), 27.0833% 100%, 25.0% calc(100% - 8px), 22.9167% 100%, 20.8333% calc(100% - 8px), 18.75% 100%, 16.6667% calc(100% - 8px), 14.5833% 100%, 12.5% calc(100% - 8px), 10.4167% 100%, 8.3333% calc(100% - 8px), 6.25% 100%, 4.1667% calc(100% - 8px), 2.0833% 100%, 0.0% calc(100% - 8px)); transform: translateY(-101%); }
[data-stage="printing"] .receipt { animation: receipt-feed 1.75s steps(20, end) forwards; }
[data-stage="complete"] .receipt { transform: none; }
@keyframes receipt-feed { to { transform: translateY(0); } }
@keyframes receipt-spin { to { transform: rotate(360deg); } }
.receipt__head { display: grid; justify-items: center; gap: .35rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--line-strong); text-align: center; }
.receipt__logo { width: auto; height: 34px; }
.receipt__title { font-weight: 800; color: var(--green-900); letter-spacing: .02em; }
.receipt__stamp { padding: .1rem .6rem; border: 1.5px solid var(--green-700); border-radius: 999px; color: var(--green-700); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.receipt__rows { margin: .75rem 0 0; display: grid; gap: .35rem; }
.receipt__rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 1rem; }
.receipt__rows dt { color: var(--ink-600); }
.receipt__rows dd { margin: 0 0 0 auto; text-align: end; font-weight: 600; overflow-wrap: anywhere; }
[dir="rtl"] .receipt__rows dd { margin: 0 auto 0 0; }
.receipt__lines { list-style: none; margin: .9rem 0 0; padding: .75rem 0; display: grid; gap: .45rem; border-block: 1px dashed var(--line-strong); }
.receipt__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.receipt__totals { margin-top: .75rem; }
.receipt__total { padding-top: .35rem; font-size: 1.05rem; }
.receipt__total dt { color: var(--ink-900); font-weight: 800; }
.receipt__total dd { color: var(--green-900); font-weight: 800; }
.receipt__mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; font-size: .9em; }
.receipt__muted { color: var(--ink-600); font-size: .8rem; }
.receipt__ok { color: var(--green-700); letter-spacing: .06em; }
.receipt__note { margin-top: .9rem; color: var(--ink-600); font-size: .75rem; }
.receipt-actions { margin-top: 1.25rem; }
@media (prefers-reduced-motion: reduce) {
	[data-stage="printing"] .receipt { animation: none; transform: none; }
	.receipt-printer__spinner { animation: none; border-top-color: rgba(217,235,207,.25); }
}
@media print {
	body * { visibility: hidden !important; }
	.receipt, .receipt * { visibility: visible !important; }
	.receipt { position: absolute; inset: 0 auto auto 0; width: 80mm; transform: none !important; animation: none !important; clip-path: none; background: #fff; }
	.receipt-printer__feed { overflow: visible; filter: none; }
}
