/* ==========================================================================
   Al-Sindan theme — main stylesheet
   Written with logical properties so the same CSS serves RTL (Arabic)
   and LTR (English).
   ========================================================================== */

:root {
	--navy: #1b4468;
	--navy-2: #24557f;
	--navy-deep: #112c45;
	--gold: #b39b6e;
	--gold-dark: #8d7648;
	--gold-soft: #eee5d2;
	--cream: #faf7f1;
	--paper: #ffffff;
	--ink: #16222f;
	--muted: #5b6878;
	--line: #e6dfd1;
	--wa: #1faa59;
	--wa-dark: #178a48;

	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(17, 44, 69, .05), 0 12px 32px -12px rgba(17, 44, 69, .18);
	--shadow-lg: 0 30px 60px -24px rgba(17, 44, 69, .35);

	--font-head: "El Messiri", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
}

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

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.lang-en { line-height: 1.65; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy-deep);
	line-height: 1.3;
	margin: 0 0 .5em;
	font-weight: 700;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text,
.form__hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	inset-inline-start: 16px;
	top: -60px;
	z-index: 100;
	background: var(--navy);
	color: #fff;
	padding: 10px 16px;
	border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
[dir="rtl"] .icon--arrow { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 50px;
	padding: 12px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	font: 600 16px/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(27, 68, 104, .6); }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }

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

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 170, 89, .7); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }

.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy-deep); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .45em;
	font-weight: 600; text-decoration: none;
}
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--gold-dark);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .02em;
}
.lang-en .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold); }

/* ---------- Brand ---------- */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--navy);
}
.brand__mark { width: 52px; height: auto; color: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__ar { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--navy-deep); }
.brand__en { font-family: Georgia, "Times New Roman", serif; font-size: 12px; letter-spacing: .28em; color: var(--navy); margin-top: 3px; }
.brand--light .brand__ar { color: #fff; }
.brand--light .brand__en { color: var(--gold-soft); }
.custom-logo-link img { max-height: 64px; width: auto; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(250, 247, 241, .86);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(17, 44, 69, .35); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 84px;
}

.nav { margin-inline-start: auto; }
.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.nav__list a:hover { background: var(--gold-soft); color: var(--navy-deep); }
.nav__list .current-menu-item > a,
.nav__list .current-menu-ancestor > a,
.nav__list .current_page_item > a { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

.nav__list .menu-item-has-children { position: relative; }
.nav__list .sub-menu {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	min-width: 220px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: #fff;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
}
.nav__list .menu-item-has-children:hover > .sub-menu,
.nav__list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { border-radius: 8px; }

.nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.header-phone {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--navy-deep); font-weight: 600; text-decoration: none; font-size: 15px;
}
.header-phone .icon { color: var(--gold-dark); }

.lang-switch a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--navy);
	font-weight: 600; font-size: 14px;
	text-decoration: none;
}
.lang-switch a:hover { border-color: var(--gold); }
.lang-switch--mobile { display: none; }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	align-items: center; justify-content: center;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	color: var(--navy-deep);
	cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px);
	background:
		radial-gradient(900px 480px at 85% 10%, rgba(179, 155, 110, .18), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(27, 68, 104, .08), transparent 60%);
}
.hero::after {
	/* the emblem's circle, echoed large behind the art */
	content: "";
	position: absolute;
	width: 620px; height: 620px;
	inset-inline-end: -140px;
	top: -120px;
	border: 2px solid rgba(179, 155, 110, .35);
	border-radius: 50%;
	pointer-events: none;
}
.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.hero__title {
	font-size: clamp(38px, 5.4vw, 66px);
	line-height: 1.18;
	margin-bottom: 20px;
	letter-spacing: -.01em;
}
.lang-en .hero__title { letter-spacing: -.02em; }
.hero__text { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art {
	position: relative;
	background: linear-gradient(160deg, #fff 0%, #f5efe3 100%);
	border-radius: 28px;
	padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px) 24px;
	box-shadow: var(--shadow-lg);
	border: 1px solid #fff;
}
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-art__layer { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: no-preference) {
	.hero-art .hero-art__layer--1 { animation: float 6s ease-in-out infinite; }
	.hero-art .hero-art__layer--2 { animation: float 6s ease-in-out .15s infinite; }
	.hero-art .hero-art__layer--3 { animation: float 6s ease-in-out .3s infinite; }
	@keyframes float {
		0%, 100% { transform: translateY(0); }
		50% { transform: translateY(-6px); }
	}
}

.layers-legend {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	font-size: 14px;
	color: var(--muted);
}
.layers-legend li { display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.layers-legend span {
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	font-size: 12px; font-weight: 700;
}

.hero__photo img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: var(--shadow-lg);
}

/* ---------- Trust strip ---------- */
.trust { margin-top: -28px; position: relative; z-index: 2; }
.trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: var(--paper);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px;
}
.trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	line-height: 1.4;
}
.trust__item + .trust__item { border-inline-start: 1px solid var(--line); }
.trust__item > .icon {
	width: 46px; height: 46px;
	padding: 11px;
	border-radius: 14px;
	background: var(--gold-soft);
	color: var(--navy);
}
.trust__item strong { display: block; color: var(--navy-deep); font-size: 16px; }
.trust__item span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(36px, 5vw, 64px) var(--section); }
.section--tint { background: #f3eee4; }

.section__head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 640px; }
.section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
}
.section__title { font-size: clamp(28px, 3.4vw, 42px); margin: 0; }

/* ---------- Categories ---------- */
.cats {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 18px;
}
.cat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px;
	min-height: 220px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.cat__icon {
	display: grid; place-items: center;
	width: 60px; height: 60px;
	border-radius: 18px;
	background: var(--gold-soft);
	color: var(--navy);
	margin-bottom: auto;
}
.cat__icon .icon { width: 30px; height: 30px; }
.cat__name { font-family: var(--font-head); font-size: 23px; font-weight: 700; color: var(--navy-deep); margin-top: 18px; }
.cat__desc { color: var(--muted); font-size: 15px; line-height: 1.6; }
.cat__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); font-size: 15px; margin-top: 6px; }

.cat--feature {
	grid-row: span 2;
	background:
		radial-gradient(400px 300px at 100% 0%, rgba(179, 155, 110, .35), transparent 70%),
		linear-gradient(160deg, var(--navy-2), var(--navy-deep));
	border: 0;
	color: #fff;
	min-height: 100%;
	justify-content: flex-end;
}
.cat--feature:hover { color: #fff; }
.cat--feature .cat__icon { position: absolute; top: 28px; inset-inline-start: 28px; background: rgba(255, 255, 255, .12); color: var(--gold-soft); width: 72px; height: 72px; }
.cat--feature .cat__icon .icon { width: 36px; height: 36px; }
.cat--feature .cat__name { color: #fff; font-size: clamp(28px, 3vw, 36px); }
.cat--feature .cat__desc { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 26em; }
.cat--feature .cat__more { color: var(--gold-soft); }
.cats > .cat:nth-child(4) { grid-column: span 2; }

/* ---------- Guide (firmness) ---------- */
.guide {
	padding-block: var(--section);
	background:
		radial-gradient(700px 400px at 100% 100%, rgba(179, 155, 110, .2), transparent 60%),
		var(--navy-deep);
	color: rgba(255, 255, 255, .82);
}
.guide .section__title { color: #fff; margin-bottom: 16px; }
.guide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.guide__steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.guide__steps li { counter-increment: s; position: relative; padding-inline-start: 56px; line-height: 1.6; }
.guide__steps li::before {
	content: counter(s);
	position: absolute; inset-inline-start: 0; top: 2px;
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border-radius: 12px;
	border: 1px solid rgba(179, 155, 110, .6);
	color: var(--gold);
	font-weight: 700;
}
.guide__steps strong { display: block; color: #fff; font-size: 17px; }
.guide__steps span { font-size: 15px; }

.scale { display: grid; gap: 12px; }
.scale__row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 22px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .08);
	line-height: 1.5;
	transition: background-color .2s ease;
}
.scale__row:hover { background: rgba(255, 255, 255, .09); }
.scale__row strong { display: block; color: #fff; font-size: 17px; }
.scale__row span { font-size: 14px; }
.scale__bar { display: flex; gap: 4px; flex-shrink: 0; }
.scale__bar i { width: 10px; height: 30px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.scale__bar i.on { background: var(--gold); }

/* ---------- Product grid & card ---------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}
.card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border-radius: var(--radius);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 9 / 7; background: #f1ebdf; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__cat { font-size: 13px; font-weight: 600; color: var(--gold-dark); text-decoration: none; }
.card__title { font-size: 20px; margin: 4px 0 8px; }
.card__title a { color: var(--navy-deep); text-decoration: none; }
.card__title a:hover { color: var(--navy); }
.card__text { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px dashed var(--line);
	font-size: 14px;
}
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-inline-start: auto; }

.badge {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.firm-mini { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.firm-mini__dots { display: inline-flex; gap: 3px; }
.firm-mini__dots i { width: 6px; height: 14px; border-radius: 2px; background: var(--line); }
.firm-mini__dots i.on { background: var(--gold); }

/* placeholder art for products without a photo */
.ph {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	background:
		repeating-linear-gradient(135deg, rgba(179, 155, 110, .09) 0 2px, transparent 2px 14px),
		linear-gradient(160deg, #f7f2e8, #ece3d0);
}
.ph__icon {
	display: grid; place-items: center;
	width: 38%; aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	box-shadow: 0 10px 30px -12px rgba(17, 44, 69, .3);
}
.ph__icon .icon { width: 50%; height: 50%; stroke-width: 1.3; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector { background: var(--paper); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.sector__icon {
	display: grid; place-items: center;
	width: 54px; height: 54px;
	border-radius: 16px;
	background: var(--navy);
	color: var(--gold-soft);
	margin-bottom: 20px;
}
.sector__icon .icon { width: 26px; height: 26px; }
.sector h3 { font-size: 21px; margin-bottom: 8px; }
.sector p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- CTA ---------- */
.cta { padding-block: var(--section); }
.section--tint + .cta { background: #f3eee4; padding-top: 0; }
.cta__box {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 28px;
	padding: clamp(28px, 5vw, 56px);
	border-radius: 28px;
	background:
		radial-gradient(500px 300px at 0% 0%, rgba(179, 155, 110, .35), transparent 70%),
		linear-gradient(135deg, var(--navy-2), var(--navy-deep));
	color: rgba(255, 255, 255, .85);
	overflow: hidden;
}
.cta__box h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta__box p { margin: 0; max-width: 36em; }
.cta__mark {
	position: absolute;
	width: 300px;
	inset-inline-end: -40px;
	bottom: -60px;
	color: rgba(255, 255, 255, .06);
	pointer-events: none;
}
.cta__text, .cta__actions { position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page head / breadcrumbs ---------- */
.page-head {
	padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px);
	background:
		radial-gradient(700px 300px at 100% 0%, rgba(179, 155, 110, .16), transparent 60%);
	border-bottom: 1px solid var(--line);
}
.page-head__title { font-size: clamp(32px, 4.4vw, 52px); margin: 10px 0 8px; }
.page-head__text { color: var(--muted); font-size: 18px; max-width: 42em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Catalog chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
	font-weight: 500; font-size: 15px;
	text-decoration: none;
	transition: all .2s ease;
}
.chip .icon { width: 18px; height: 18px; color: var(--gold-dark); }
.chip:hover { border-color: var(--gold); color: var(--navy-deep); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active .icon { color: var(--gold-soft); }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-grid; place-items: center;
	border-radius: 12px; background: #fff; border: 1px solid var(--line);
	text-decoration: none; color: var(--ink); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty > .icon { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--gold); }

/* ---------- Single product ---------- */
.product { padding-block: 28px var(--section); }
.product__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	margin-top: 24px;
	align-items: start;
}
.product__media {
	position: relative;
	aspect-ratio: 1;
	border-radius: 24px;
	overflow: hidden;
	background: #f1ebdf;
	position: sticky;
	top: 110px;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__title { font-size: clamp(30px, 3.6vw, 44px); margin: 6px 0 12px; }
.product__lead { font-size: 18px; color: var(--muted); }

.firmness {
	margin: 24px 0;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.firmness__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.firmness__head strong { color: var(--navy-deep); font-size: 17px; }
.firmness__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.firmness__track i { height: 10px; border-radius: 6px; background: var(--line); }
.firmness__track i.on { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.firmness__ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--muted); }

.specs { margin: 0 0 20px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.specs__row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 20px; }
.specs__row + .specs__row { border-top: 1px solid var(--line); }
.specs dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.specs dt .icon { color: var(--gold-dark); }
.specs dd { margin: 0; font-weight: 600; color: var(--navy-deep); }

.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--wa); margin-top: .25em; }

.product__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product__note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.product__content { margin-top: clamp(40px, 6vw, 72px); max-width: 820px; }

/* ---------- Prose ---------- */
.prose { font-size: 18px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose .lead { font-size: 21px; color: var(--navy-deep); }
.prose blockquote { margin: 1.5em 0; padding: 4px 24px; border-inline-start: 4px solid var(--gold); color: var(--navy-deep); font-size: 20px; }
.page-thumb img { border-radius: 24px; margin-bottom: 32px; width: 100%; }
.meta { color: var(--muted); font-size: 14px; }
.list-item { padding-block: 24px; border-bottom: 1px solid var(--line); }
.list-item h2 { font-size: 24px; margin: 0; }
.list-item h2 a { text-decoration: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact-card {
	display: flex; align-items: center; gap: 16px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--ink);
	line-height: 1.5;
	transition: border-color .2s ease, transform .2s ease;
}
a.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.contact-card > .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--gold-soft); color: var(--navy); }
.contact-card strong { display: block; color: var(--navy-deep); }
.contact-card span { color: var(--muted); font-size: 15px; }
.contact-card--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.contact-card--wa > .icon { background: rgba(255, 255, 255, .18); color: #fff; }
.contact-card--wa strong, .contact-card--wa span { color: #fff; }
a.contact-card--wa:hover { color: #fff; border-color: var(--wa-dark); }

.contact__form {
	background: #fff;
	border-radius: 24px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: var(--shadow);
}
.contact__form h2 { font-size: 28px; }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--navy-deep); }
.field input,
.field textarea,
.search-form input[type="search"] {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--cream);
	font: 400 16px/1.5 var(--font-body);
	color: var(--ink);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input:focus,
.field textarea:focus { outline: 0; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(179, 155, 110, .2); }
.form .btn { justify-self: start; }
.form__notice { padding: 14px 18px; border-radius: 12px; background: var(--gold-soft); color: var(--navy-deep); margin: 0; font-size: 15px; }
.form__notice--ok { background: #e3f5ea; color: #145c33; }
.form__notice--err { background: #fbe7e4; color: #8a2a1c; }

.map { margin-top: 40px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--section); text-align: center; }
.notfound__mark { width: 140px; margin: 0 auto 20px; color: var(--gold); }
.notfound .eyebrow::before { display: none; }
.notfound .hero__actions { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, .72);
	padding-top: clamp(56px, 7vw, 88px);
	font-size: 15px;
}
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer__about p { margin: 18px 0; max-width: 26em; line-height: 1.8; }
.site-footer__title { color: #fff; font-size: 18px; margin-bottom: 16px; }
.site-footer__links,
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold); margin-top: .3em; }
.social { display: flex; gap: 10px; }
.social a {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
}
.social a:hover { background: var(--gold); color: var(--navy-deep); }
.site-footer__bottom {
	margin-top: 56px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 14px;
}
.site-footer__bottom p { margin: 0; }

/* floating WhatsApp */
.wa-float {
	position: fixed;
	bottom: 22px;
	inset-inline-end: 22px;
	z-index: 40;
	width: 58px; height: 58px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--wa);
	color: #fff;
	box-shadow: 0 14px 30px -10px rgba(31, 170, 89, .7);
	transition: transform .2s ease;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); color: #fff; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
	.js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; max-width: 420px; margin: 20px auto 0; }
.search-form label { flex: 1; }
.search-form .search-submit { padding: 12px 20px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font: 600 15px var(--font-body); cursor: pointer; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.header-phone { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-wa { display: none; }
	.lang-switch--desktop { display: none; }
	.site-header__actions { margin-inline-start: auto; }
	.site-header__inner { min-height: 72px; }

	.nav {
		position: fixed;
		inset: 72px 0 0 0;
		margin: 0;
		padding: 20px var(--gutter) 32px;
		background: var(--cream);
		display: flex;
		flex-direction: column;
		gap: 20px;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
	}
	.admin-bar .nav { top: calc(72px + 46px); }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }

	.nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav__list a { padding: 14px 16px; font-size: 19px; border-radius: 12px; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0; padding-inline-start: 16px; min-width: 0; }
	.nav__extra { display: grid; gap: 14px; margin-top: auto; }
	.lang-switch--mobile { display: block; }
	.lang-switch--mobile a { width: 100%; justify-content: center; padding: 12px; font-size: 16px; }

	.hero__grid,
	.guide__grid,
	.product__grid,
	.contact { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; }
	.product__media { position: relative; top: 0; }

	.trust__grid { grid-template-columns: 1fr 1fr; }
	.trust__item:nth-child(3) { border-inline-start: 0; }
	.trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }

	.cats { grid-template-columns: 1fr 1fr; }
	.cat--feature { grid-row: auto; grid-column: span 2; min-height: 280px; }
	.cats > .cat:nth-child(4) { grid-column: auto; }

	.sectors { grid-template-columns: 1fr; }
	.cta__box { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.brand__mark { width: 42px; }
	.brand__ar { font-size: 22px; }
	.brand__en { font-size: 10px; }

	.hero__actions .btn,
	.cta__actions .btn,
	.product__actions .btn { flex: 1 1 100%; }
	.layers-legend { grid-template-columns: 1fr; }

	.trust__grid { grid-template-columns: 1fr; }
	.trust__item + .trust__item { border-inline-start: 0; border-top: 1px solid var(--line); }

	.cats { grid-template-columns: 1fr; }
	.cat--feature { grid-column: auto; }
	.cat { min-height: 0; }
	.cat__icon { margin-bottom: 4px; }
	.cat--feature .cat__icon { position: static; margin-bottom: 40px; }

	.section__head--row { flex-direction: column; align-items: flex-start; }
	.grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.card__body { padding: 14px; }
	.card__title { font-size: 16px; }
	.card__text { display: none; }
	.card__foot { flex-direction: column; align-items: flex-start; }
	.card__more { margin-inline-start: 0; }
	.badge { top: 10px; inset-inline-start: 10px; font-size: 12px; padding: 3px 10px; }

	.specs__row { grid-template-columns: 1fr; gap: 4px; }
	.form__row { grid-template-columns: 1fr; }
	.form .btn { justify-self: stretch; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.wa-float { width: 54px; height: 54px; bottom: 16px; inset-inline-end: 16px; }
}

/* ==========================================================================
   v1.1 — brand lockup, 3D viewer, gallery, about, location map
   ========================================================================== */

/* Brand: round emblem badge + bilingual name */
.brand { gap: 12px; }
.brand__badge {
	display: grid; place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 2.5px var(--gold), inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(179, 155, 110, .5);
	flex-shrink: 0;
}
.brand__badge .brand__mark { width: 34px; margin-top: 2px; color: var(--navy); }
.brand__ar { font-size: 25px; }
.brand__en { font-size: 11.5px; margin-top: 2px; }
.brand__tag { font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: .01em; white-space: nowrap; }
.brand--light .brand__badge { background: #fff; }
@media (max-width: 1180px) { .site-header .brand__tag { display: none; } }

/* Footer brand */
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand__emblem { width: 92px; height: 92px; flex-shrink: 0; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-head); font-size: 19px; line-height: 1.4; }
.footer-brand span { display: block; color: var(--gold-soft); font-size: 13px; line-height: 1.5; margin-top: 4px; }

/* 3D viewer */
.viewer3d {
	position: relative;
	aspect-ratio: 1;
	border-radius: 28px;
	overflow: hidden;
	background: radial-gradient(circle at 50% 38%, #fdfbf7 0%, #f4eee3 55%, #e6dccb 100%);
}
.viewer3d--hero { box-shadow: var(--shadow-lg); border: 1px solid #fff; }
.viewer3d__poster {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: opacity .6s ease;
}
.viewer3d model-viewer {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	direction: ltr;
	--poster-color: transparent;
	--progress-bar-color: transparent;
	opacity: 0;
	transition: opacity .6s ease;
}
.viewer3d.is-ready model-viewer { opacity: 1; }
.viewer3d.is-ready .viewer3d__poster { opacity: 0; }
.viewer3d__start {
	position: absolute;
	inset-inline-start: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 20px 10px 12px;
	border: 0;
	border-radius: 999px;
	background: rgba(17, 44, 69, .88);
	color: #fff;
	font: 600 15px var(--font-body);
	cursor: pointer;
	backdrop-filter: blur(6px);
	box-shadow: 0 12px 24px -12px rgba(17, 44, 69, .6);
	transition: background-color .2s ease, transform .2s ease;
}
[dir="rtl"] .viewer3d__start { transform: translateX(50%); padding: 10px 12px 10px 20px; }
.viewer3d__start:hover { background: var(--navy-deep); }
.viewer3d__cube { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); }
.viewer3d__cube .icon { width: 18px; height: 18px; }
.viewer3d.is-loading .viewer3d__start,
.viewer3d.is-ready .viewer3d__start { opacity: 0; pointer-events: none; }
.viewer3d[data-autoload] .viewer3d__start { display: none; }
.viewer3d.is-error .viewer3d__start { display: inline-flex; opacity: 1; pointer-events: auto; }
.viewer3d__loading {
	position: absolute; inset-inline: 30%; bottom: 36px; height: 4px;
	border-radius: 4px; background: rgba(17, 44, 69, .12); overflow: hidden;
	opacity: 0; transition: opacity .3s;
}
.viewer3d__loading span { position: absolute; inset-block: 0; width: 40%; background: var(--gold); border-radius: 4px; animation: mvload 1.1s ease-in-out infinite; }
@keyframes mvload { 0% { inset-inline-start: -40%; } 100% { inset-inline-start: 100%; } }
.viewer3d.is-loading .viewer3d__loading { opacity: 1; }
.viewer3d__hint {
	position: absolute; bottom: 14px; inset-inline-start: 16px;
	display: inline-flex; align-items: center; gap: 6px;
	margin: 0; padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .85);
	color: var(--muted);
	font-size: 13px;
	opacity: 0; transition: opacity .4s ease .4s;
	pointer-events: none;
}
.viewer3d.is-ready .viewer3d__hint { opacity: 1; }
.viewer3d__ar {
	position: absolute; bottom: 14px; inset-inline-end: 14px;
	padding: 9px 16px;
	border: 0; border-radius: 999px;
	background: var(--navy); color: #fff;
	font: 600 14px var(--font-body);
	cursor: pointer;
}
.layers-legend--hero { margin-top: 18px; padding-inline: 8px; }

/* Product gallery */
.product__media { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
.product__stage { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #f1ebdf; }
.product__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.product__slide.is-active { opacity: 1; visibility: visible; }
.product__slide img { width: 100%; height: 100%; object-fit: cover; }
.product__slide .viewer3d { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb {
	width: 76px; height: 76px; padding: 0;
	border-radius: 14px; overflow: hidden;
	border: 2px solid transparent;
	background: #f1ebdf;
	cursor: pointer;
	transition: border-color .2s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--gold); }
.thumb--3d { display: grid; place-content: center; justify-items: center; gap: 2px; background: var(--navy); color: #fff; font: 700 13px var(--font-body); }
.thumb--3d .icon { width: 24px; height: 24px; color: var(--gold-soft); }
.badge-3d {
	position: absolute; top: 14px; inset-inline-end: 14px;
	display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--navy-deep);
	font-size: 12px; font-weight: 700;
}
.badge-3d .icon { width: 15px; height: 15px; color: var(--gold-dark); }

/* About */
.about { padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__visual { position: relative; padding-bottom: 40px; padding-inline-end: 40px; }
.about__photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1; background: #f1ebdf; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__emblem {
	position: absolute; bottom: 0; inset-inline-end: 0;
	width: clamp(130px, 16vw, 190px);
	border-radius: 50%;
	box-shadow: 0 20px 40px -18px rgba(17, 44, 69, .45);
	background: #fff;
}
.about__emblem .emblem { width: 100%; height: auto; }
.about__name { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 6px; }
.about__name-en { font-family: Georgia, "Times New Roman", serif; color: var(--gold-dark); font-size: 16px; letter-spacing: .04em; margin-bottom: 22px; }
.about__text { color: var(--muted); font-size: 17px; }
.about__points { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 16px; }
.about__points li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.about__points .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--gold-soft); color: var(--navy); }
.about__points strong { display: block; color: var(--navy-deep); }
.about__points span { font-size: 15px; color: var(--muted); }
.about__since { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 24px; color: var(--muted); }
.about__since strong { font-family: var(--font-head); font-size: 32px; color: var(--navy); }
.sectors--4 { grid-template-columns: repeat(4, 1fr); }

/* Location */
.location { padding-block: var(--section) 0; }
.location__wrap { position: relative; }
.map { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #e9e4da; }
.map--live { height: clamp(360px, 48vw, 520px); z-index: 0; }
.location__card {
	position: absolute; top: 24px; inset-inline-start: 24px; z-index: 2;
	width: min(360px, calc(100% - 48px));
	padding: 24px;
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--shadow-lg);
}
.location__brand { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.location__brand strong { display: block; font-family: var(--font-head); color: var(--navy-deep); line-height: 1.4; }
.location__brand span { display: block; font-size: 12.5px; color: var(--gold-dark); line-height: 1.4; }
.location__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.location__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.location__list .icon { color: var(--gold-dark); margin-top: .15em; }
.location__demo { margin: 14px 0 0; font-size: 13px; color: #8a2a1c; background: #fbe7e4; padding: 8px 12px; border-radius: 10px; }
.contact__map { margin-top: 40px; display: grid; gap: 16px; justify-items: start; }
.contact__map .map { width: 100%; }

.map-pin { background: none; border: 0; }
.map-pin__dot {
	position: relative;
	display: grid; place-items: center;
	width: 52px; height: 52px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: var(--navy);
	box-shadow: 0 0 0 4px #fff, 0 10px 20px -6px rgba(17, 44, 69, .6);
}
.map-pin__dot svg { width: 30px; transform: rotate(45deg); color: var(--gold-soft); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content { font-family: var(--font-head); font-size: 15px; }

@media (max-width: 960px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__visual { max-width: 560px; }
	.sectors--4 { grid-template-columns: 1fr 1fr; }
	.location__card { position: relative; top: auto; inset-inline-start: auto; width: auto; margin: -60px 16px 0; }
}
@media (max-width: 640px) {
	.brand__badge { width: 46px; height: 46px; }
	.brand__badge .brand__mark { width: 28px; }
	.sectors--4 { grid-template-columns: 1fr; }
	.footer-brand__emblem { width: 76px; height: 76px; }
	.thumb { width: 64px; height: 64px; }
	.viewer3d__hint { display: none; }
}
