/* ==========================================================================
   شركة الانتصار لتجارة الأدوية والمستلزمات الطبية — main.css
   الألوان مشتقة من شعار الشركة (#4EA4C5)
   ========================================================================== */

:root {
	--brand: #4ea4c5;
	--brand-light: #7cc4de;
	--brand-deep: #1e6b8c;
	--brand-dark: #14506b;
	--ink: #07222e;
	--ink-2: #123a4b;
	--body: #4a6773;
	--wash: #eaf4f9;
	--wash-2: #f6fbfd;
	--line: #dcebf2;
	--paper: #ffffff;
	--stock: #14a37a;

	--font-display: "Almarai", "Tajawal", system-ui, sans-serif;
	--font-display-latin: "Alexandria", "Almarai", system-ui, sans-serif;
	--font-body: "Tajawal", "Almarai", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;

	--wrap: 1200px;
	--sec-y: clamp(72px, 9vw, 128px);

	--r-xl: 28px;
	--r-lg: 20px;
	--r: 14px;
	--r-sm: 10px;

	--sh-sm: 0 2px 8px -2px rgba(7, 34, 46, .06);
	--sh-md: 0 8px 28px -12px rgba(7, 34, 46, .16);
	--sh-lg: 0 26px 60px -30px rgba(7, 34, 46, .35);
	--sh-brand: 0 14px 34px -14px rgba(30, 107, 140, .48);

	--grad: linear-gradient(135deg, var(--brand-deep), var(--brand));
	--grad-soft: linear-gradient(150deg, #ffffff, var(--wash-2) 70%);
}

/* ——— أساسيات ——— */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.95;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.lang-en { font-size: 16.5px; line-height: 1.8; }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	margin: 0 0 .55em;
}
.lang-en h1, .lang-en h2, .lang-en h3, .lang-en h4,
.lang-en .btn, .lang-en .nav-list a, .lang-en .ops-val {
	font-family: var(--font-display-latin); letter-spacing: -.015em;
}
.lang-en h1, .lang-en h2, .lang-en h3 { line-height: 1.22; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.mono { font-family: var(--font-mono); font-size: .84em; letter-spacing: .01em; }

.wrap { width: min(100% - 2 * clamp(20px, 5vw, 56px), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec-y); }
.muted { color: #8aa3ad; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

/* ——— العلامة المتدرجة (من مربّعي الشعار) ——— */
.step-mark { display: inline-flex; align-items: flex-end; margin-inline-end: 9px; translate: 0 1px; }
.step-mark i { display: block; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.step-mark i:last-child { translate: 0 4px; opacity: .5; }

/* ——— الأزرار ——— */
.btn {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--font-display); font-weight: 500; font-size: .95rem;
	padding: 14px 30px; border-radius: 100px; border: 1.5px solid transparent;
	cursor: pointer; line-height: 1.2;
	transition: background .25s ease, color .25s ease, border-color .25s ease,
	            transform .25s ease, box-shadow .25s ease;
}
.btn-sm { padding: 10px 20px; font-size: .86rem; }

.btn-solid { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.btn-solid:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(30, 107, 140, .6); }

.btn-line { border-color: rgba(7, 34, 46, .18); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line); color: var(--brand-deep); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); background: var(--wash); }

.hero .btn-line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* سهم مائل بزاوية الشعار */
.arrow { width: 15px; height: 15px; display: inline-block; position: relative; flex: none; transition: transform .28s ease; }
.arrow::before {
	content: ""; position: absolute; inset: 0; margin: auto;
	width: 15px; height: 1.7px; background: currentColor; border-radius: 2px; rotate: -45deg;
}
.arrow::after {
	content: ""; position: absolute; top: 1px; inset-inline-end: 1px; width: 8px; height: 8px;
	border-top: 1.7px solid currentColor; border-inline-end: 1.7px solid currentColor; border-radius: 2px;
}
.dir-rtl .arrow::before { rotate: 45deg; }
.dir-rtl .arrow::after {
	inset-inline-end: auto; inset-inline-start: 1px;
	border-inline-end: 0; border-inline-start: 1.7px solid currentColor;
}
.btn:hover .arrow { transform: translate(3px, -3px); }
.dir-rtl .btn:hover .arrow { transform: translate(-3px, -3px); }

/* ——— الشريط العلوي ——— */
.utility { background: var(--ink); color: #a8c6d2; font-size: .8rem; }
.utility-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; min-height: 44px; flex-wrap: wrap;
}
.utility p { margin: 0; }
.utility-right { display: flex; align-items: center; gap: 18px; }
.utility-link { color: #a8c6d2; }
.utility-link:hover { color: #fff; }
.utility .sep { opacity: .3; margin-inline: 8px; }

.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px currentColor; opacity: .95; }
.status .dot { box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.status.is-open { color: #3ed39d; }
.status.is-closed { color: #e0b64a; }

.lang-toggle {
	color: #fff; background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	padding: 4px 14px; border-radius: 100px;
	font-family: var(--font-display); font-size: .78rem;
}
.lang-toggle:hover { background: #fff; color: var(--ink); }

/* ——— الرأس ——— */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.is-stuck {
	box-shadow: 0 10px 30px -22px rgba(7, 34, 46, .55);
	border-color: var(--line); background: rgba(255, 255, 255, .93);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }

.site-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 16px); }
.nav-list a {
	font-family: var(--font-display); font-size: .92rem; font-weight: 400;
	color: var(--ink-2); padding: 9px 14px; border-radius: 100px;
	display: inline-block; transition: background .22s ease, color .22s ease;
}
.nav-list a:hover, .nav-list .current-menu-item > a { background: var(--wash); color: var(--brand-deep); }
.nav-list .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 12px; cursor: pointer; }
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars i { height: 2px; background: var(--ink); display: block; border-radius: 2px; }

.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-nav-inner { padding: 14px clamp(20px, 5vw, 56px) 28px; }
.mobile-list { display: grid; gap: 4px; }
.mobile-list a {
	display: block; padding: 13px 16px; border-radius: var(--r-sm);
	font-family: var(--font-display); color: var(--ink); background: var(--wash-2);
}
.mobile-list a:hover { background: var(--wash); }
.mobile-contact { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 20px; }
.mobile-contact .lang-toggle { color: var(--ink); border-color: var(--line); background: var(--wash); }

/* ——— الواجهة ——— */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(75% 95% at 88% -15%, rgba(35, 116, 150, .75) 0%, transparent 58%),
	            radial-gradient(45% 55% at 2% 108%, rgba(23, 96, 127, .5) 0%, transparent 65%),
	            linear-gradient(165deg, #07222e 0%, #0b3346 50%, #07222e 100%);
	background-color: #07222e;
	color: #cfe4ed; padding-block: clamp(72px, 10vw, 132px);
}
.hero-lattice {
	position: absolute; inset: 0; opacity: .2; pointer-events: none; z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130'%3E%3Cg fill='none' stroke='%237CC4DE' stroke-width='1.3'%3E%3Crect x='18' y='18' width='50' height='19' rx='9.5' transform='rotate(-45 43 27)'/%3E%3Crect x='82' y='82' width='50' height='19' rx='9.5' transform='rotate(-45 107 91)'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 130px 130px;
	mask-image: radial-gradient(80% 80% at 50% 30%, rgba(0,0,0,.95), transparent 80%);
}
.hero-inner {
	position: relative; display: grid; gap: clamp(36px, 5vw, 68px);
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr);
	align-items: center;
}

.eyebrow {
	display: inline-flex; align-items: center; font-family: var(--font-display);
	font-size: .8rem; letter-spacing: .02em; color: var(--brand-deep);
	background: var(--wash); border-radius: 100px; padding: 7px 18px; margin: 0 0 20px;
}
.eyebrow-light { color: #9fdcf0; background: rgba(124, 196, 222, .13); border: 1px solid rgba(124, 196, 222, .22); }

.hero-title {
	font-size: clamp(2rem, 4.8vw, 3.35rem);
	color: #fff; font-weight: 600; line-height: 1.35;
	margin-bottom: 24px; max-width: 20ch;
}
.lang-en .hero-title { line-height: 1.14; max-width: 17ch; }
.hero-text { font-size: 1.04rem; max-width: 56ch; color: #a9c9d6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* بطاقة "حول الشركة" */
.ops-card {
	background: linear-gradient(155deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
	border: 1px solid rgba(124, 196, 222, .26);
	border-radius: var(--r-xl); padding: 30px 28px;
	backdrop-filter: blur(14px); box-shadow: var(--sh-lg);
}
.ops-card-tag {
	color: #9fdcf0; letter-spacing: .04em; font-family: var(--font-display);
	font-size: .82rem; margin: 0 0 20px; padding-bottom: 16px;
	border-bottom: 1px solid rgba(124, 196, 222, .2);
}
.ops-row { display: grid; gap: 3px; padding-block: 14px; border-bottom: 1px solid rgba(124, 196, 222, .12); }
.ops-key { font-size: .78rem; color: #7fa4b4; }
.ops-val { color: #fff; font-family: var(--font-display); font-size: .95rem; line-height: 1.65; font-weight: 400; }
.ops-big { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; }
.ops-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; flex-wrap: wrap; }
.ops-foot a { color: #9fdcf0; }
.ops-foot a:hover { color: #fff; }

/* ——— رؤوس الأقسام ——— */
.sec-head { max-width: 64ch; margin-bottom: clamp(36px, 4.5vw, 58px); }
.sec-title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.sec-text { font-size: 1.02rem; }
.sec-cta { margin-top: 44px; }

/* ——— من نحن ——— */
.about-grid {
	display: grid; gap: clamp(28px, 4vw, 56px);
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
	align-items: start;
}
.lead {
	font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--ink-2); line-height: 2.05;
	background: var(--grad-soft); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
	position: relative; overflow: hidden;
}
.lead::before {
	content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
	width: 4px; background: var(--grad);
}
.about-side { display: grid; gap: 18px; }
.vm-card {
	background: var(--wash); border-radius: var(--r-lg); padding: 28px;
	position: relative; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.vm-card::after {
	content: ""; position: absolute; inset-block-start: -40px; inset-inline-end: -40px;
	width: 130px; height: 130px; border-radius: 50%;
	background: radial-gradient(circle, rgba(78, 164, 197, .22), transparent 70%);
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.vm-title { font-size: 1.1rem; margin-bottom: 10px; }
.vm-card p { font-size: .96rem; position: relative; }

.value-grid {
	display: grid; gap: 18px; margin-top: clamp(40px, 5vw, 66px);
	grid-template-columns: repeat(4, 1fr);
}
.value {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 28px 24px 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.value-t { font-size: 1.02rem; margin-bottom: 8px; padding-top: 16px; display: inline-block; position: relative; }
.value-t::before {
	content: ""; position: absolute; top: 0; inset-inline-start: 0;
	width: 32px; height: 4px; border-radius: 4px; background: var(--grad);
}
.value-d { font-size: .93rem; margin: 0; }

/* ——— التغطية ——— */
.section-coverage { background: linear-gradient(180deg, var(--wash-2), #fff 70%); }
.hubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hub {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 32px 30px 34px; position: relative; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.hub::after {
	content: ""; position: absolute; inset-block-start: -60px; inset-inline-end: -60px;
	width: 180px; height: 180px; border-radius: 50%;
	background: radial-gradient(circle, rgba(78, 164, 197, .16), transparent 70%);
}
.hub:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.hub-city { font-size: 1.7rem; margin-bottom: 8px; }
.hub-role { font-weight: 500; color: var(--brand-deep); font-size: .97rem; margin-bottom: 6px; position: relative; }
.hub-line { font-size: .92rem; margin: 0; position: relative; }

.supply-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(38px, 5vw, 58px); position: relative; }
.supply-line::before {
	content: ""; position: absolute; top: 26px; inset-inline: 10%;
	height: 2px; border-radius: 2px;
	background: linear-gradient(to right, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.stop { position: relative; padding: 0 16px; text-align: start; }
.stop-no {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: #fff; border: 1.5px solid var(--line); color: var(--brand-deep);
	font-size: .85rem; position: relative; z-index: 1; margin-bottom: 18px;
	box-shadow: var(--sh-sm); transition: all .3s ease;
}
.stop:hover .stop-no { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--sh-brand); transform: translateY(-3px); }
.stop-t { font-size: 1.04rem; margin-bottom: 7px; }
.stop-d { font-size: .92rem; margin: 0; }

/* ——— المنتجات ——— */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.chip {
	background: #fff; border: 1px solid var(--line); border-radius: 100px;
	padding: 9px 20px; font-family: var(--font-body); font-size: .89rem;
	color: var(--ink-2); cursor: pointer; transition: all .2s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.chip.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }

.p-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.p-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.p-card-media {
	aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--wash), #fff);
	overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.p-card-media img {
	width: 100%; height: 100%; object-fit: contain;
	padding: 18px; transition: scale .55s ease;
}
.p-card:hover .p-card-media img { scale: 1.04; }
.p-card-fallback {
	width: 68px; height: 27px; border: 2.5px solid var(--brand); opacity: .3;
	border-radius: 100px; rotate: -45deg; position: relative;
}
.p-card-fallback::after {
	content: ""; position: absolute; inset-block: -2.5px; inset-inline-start: 50%;
	width: 2.5px; background: var(--brand);
}
.p-card-body { padding: 20px 20px 22px; }
.p-card-cat { font-size: .78rem; color: var(--brand-deep); margin-bottom: 6px; font-weight: 500; }
.p-card-title { font-size: 1.03rem; margin-bottom: 5px; }
.p-card-meta { font-size: .87rem; margin: 0; }
.stock { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--stock); margin: 12px 0 0; font-weight: 500; }
.stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.empty-state {
	background: var(--wash-2); border: 1.5px dashed var(--line); border-radius: var(--r-lg);
	padding: 40px; text-align: center; color: #8aa3ad;
}

/* ——— الشركاء ——— */
.section-partners { background: linear-gradient(180deg, #fff, var(--wash-2)); }
.a-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.a-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.a-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.a-card > a { display: block; padding: 28px 24px 26px; color: inherit; }
.a-card-logo { height: 64px; display: flex; align-items: center; margin-bottom: 18px; }
.a-card-logo img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.a-card:hover .a-card-logo img { filter: grayscale(0); opacity: 1; }
.a-card-initial {
	width: 58px; height: 58px; display: grid; place-items: center;
	background: var(--wash); color: var(--brand-deep);
	font-family: var(--font-display); font-size: 1.5rem; border-radius: var(--r);
}
.a-card-cat { font-size: .78rem; color: var(--brand-deep); margin: 0 0 4px; font-weight: 500; }
.a-card-title { font-size: 1.02rem; margin-bottom: 0; }

.partner-cta {
	margin-top: 36px; border-radius: var(--r-xl); padding: 36px clamp(26px, 4vw, 46px);
	background: radial-gradient(80% 130% at 90% 0%, #1d5f7d, transparent 60%), var(--ink);
	color: #b7d4e0; display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap; box-shadow: var(--sh-lg);
}
.partner-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.partner-cta p { margin: 0; font-size: .96rem; }
.partner-cta .btn-solid { background: #fff; color: var(--ink); box-shadow: none; }
.partner-cta .btn-solid:hover { background: var(--brand-light); color: var(--ink); }

/* ——— التواصل ——— */
.contact-grid {
	display: grid; gap: clamp(24px, 3vw, 40px);
	grid-template-columns: minmax(290px, .9fr) minmax(0, 1.1fr); align-items: start;
}
.offices { display: grid; gap: 18px; }
.office-card, .hours-card {
	border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff;
	transition: box-shadow .3s ease, transform .3s ease;
}
.office-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.hours-card { background: var(--grad); border-color: transparent; color: #d9eef6; box-shadow: var(--sh-brand); }
.hours-card .office-tag { color: rgba(255, 255, 255, .8); }
.hours-card .muted { color: rgba(255, 255, 255, .65); }
.office-tag { font-size: .78rem; color: var(--brand-deep); margin-bottom: 8px; font-weight: 500; }
.office-title { font-size: 1.1rem; margin-bottom: 16px; line-height: 1.6; }
.office-dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.office-dl dt { font-size: .79rem; color: #8aa3ad; padding-top: 2px; }
.office-dl dd { margin: 0; font-size: .94rem; color: var(--ink-2); }
.hours-days { font-family: var(--font-display); color: #fff; margin-bottom: 2px; }
.hours-time { font-size: 1.3rem; color: #fff; margin-bottom: 8px; font-weight: 500; }

.form-wrap { border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 40px); background: var(--grad-soft); }
.form-title { font-size: 1.2rem; margin-bottom: 6px; }
.form-note { font-size: .92rem; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; color: var(--ink-2); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line);
	border-radius: var(--r); background: #fff; font-family: var(--font-body);
	font-size: .95rem; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(78, 164, 197, .16);
}
.hp { position: absolute; inset-inline-start: -9999px; }

.notice { padding: 14px 18px; border-radius: var(--r); font-size: .93rem; margin-bottom: 20px; }
.notice-ok { background: #e4f7ef; color: #10684b; border: 1px solid #b3e5d1; }
.notice-err { background: #fdeeeb; color: #973722; border: 1px solid #f3cdc3; }

/* ——— صفحات المحتوى ——— */
.page-hero {
	background: radial-gradient(70% 120% at 85% 0%, var(--wash), transparent 70%), var(--wash-2);
	border-bottom: 1px solid var(--line); padding-block: clamp(48px, 6vw, 84px);
}
.page-hero .sec-head { margin-bottom: 0; }
.page-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0; }
.crumbs { font-size: .84rem; color: #8aa3ad; margin-bottom: 12px; }
.crumbs a { color: #8aa3ad; }
.crumbs a:hover { color: var(--brand-deep); }

.entry { max-width: 74ch; }
.entry h2 { font-size: 1.45rem; margin-top: 1.7em; }
.entry h3 { font-size: 1.16rem; margin-top: 1.5em; }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .45em; }
.entry blockquote {
	margin: 1.6em 0; padding: 18px 24px; background: var(--wash);
	border-radius: var(--r); border-inline-start: 4px solid var(--brand); color: var(--ink-2);
}
.entry img { border-radius: var(--r-lg); margin-block: 1.5em; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { border: 1px solid var(--line); padding: 12px 14px; text-align: start; }

.single-grid { display: grid; gap: clamp(28px, 4vw, 54px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
.single-media {
	border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
	background: linear-gradient(150deg, var(--wash), #fff);
	display: flex; align-items: center; justify-content: center; padding: 28px;
}
.single-media img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.spec-table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 26px; background: #fff; }
.spec-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { background: var(--wash-2); padding: 13px 18px; font-size: .85rem; color: #74909c; }
.spec-row dd { margin: 0; padding: 13px 18px; font-size: .95rem; color: var(--ink-2); }
.disclaimer { font-size: .84rem; color: #8aa3ad; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }

.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px;
	border: 1px solid var(--line); border-radius: 100px; padding-inline: 14px;
	font-family: var(--font-mono); font-size: .85rem; color: var(--ink-2); background: #fff;
}
.pagination .page-numbers:hover { border-color: var(--brand); }
.pagination .current { background: var(--grad); border-color: transparent; color: #fff; }

.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-form input[type="search"] {
	flex: 1; padding: 14px 18px; border: 1px solid var(--line);
	border-radius: 100px; font-family: var(--font-body); background: #fff;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand); }

.card-list { display: grid; gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post-card h2 { font-size: 1.18rem; margin-bottom: 8px; }
.post-meta { font-family: var(--font-mono); font-size: .77rem; color: #8aa3ad; margin-bottom: 8px; }

/* ——— التذييل ——— */
.site-footer {
	background: radial-gradient(70% 100% at 85% 0%, #124a63, transparent 60%), var(--ink);
	color: #93b5c3; padding-top: clamp(58px, 6.5vw, 84px);
}
.footer-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1.5fr 1fr 1.4fr 1fr; padding-bottom: 52px; }
.footer-brand .brand-logo { height: 62px; width: auto; margin-bottom: 20px; }
.footer-about { font-size: .93rem; max-width: 38ch; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; font-size: .87rem; }
.footer-social a, .footer-list a, .office-line a { color: #93b5c3; }
.footer-social a:hover, .footer-list a:hover, .office-line a:hover { color: #fff; }
.footer-h { font-size: .87rem; color: #fff; font-family: var(--font-display); font-weight: 500; margin-bottom: 18px; }
.footer-list { display: grid; gap: 10px; font-size: .93rem; }
.office { margin-bottom: 24px; }
.office:last-child { margin-bottom: 0; }
.site-footer .office-tag { color: var(--brand-light); font-size: .76rem; margin-bottom: 4px; }
.office-name { color: #fff; font-family: var(--font-display); font-size: .96rem; margin-bottom: 4px; line-height: 1.6; }
.office-line { font-size: .9rem; margin: 0 0 3px; }
.site-footer .muted { color: #6e909e; }
.site-footer .btn-ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #cfe4ed; margin-top: 12px; }
.site-footer .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px;
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: .83rem; color: #6e909e;
}
.footer-bottom p { margin: 0; }

/* ——— الحركة ——— */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }

.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .3, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .09s; }
.hero-copy > *:nth-child(3) { animation-delay: .18s; }
.hero-copy > *:nth-child(4) { animation-delay: .27s; }
.ops-card { animation: rise .9s .2s cubic-bezier(.2, .7, .3, 1) both; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0 !important; transition-duration: .001ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ——— الاستجابة ——— */
@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.value-grid { grid-template-columns: repeat(2, 1fr); }
	.supply-line { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
	.supply-line::before { display: none; }
}

@media (max-width: 960px) {
	.site-nav { display: none; }
	.nav-toggle { display: block; }
	.mobile-nav { display: block; }
	.hero-inner, .about-grid, .contact-grid, .single-grid, .hubs { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.utility-inner { justify-content: center; text-align: center; padding-block: 9px; }
	.utility-hours { width: 100%; }
	.utility-right { width: 100%; justify-content: center; gap: 12px; flex-wrap: wrap; }
	.header-inner { min-height: 72px; }
	.brand-logo { height: 42px; }
	.header-actions .btn-solid { display: none; }
	.value-grid, .supply-line, .field-row, .footer-grid { grid-template-columns: 1fr; }
	.stop { padding: 0; }
	.p-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
	.partner-cta { flex-direction: column; align-items: flex-start; }
	.office-dl { grid-template-columns: 1fr; gap: 2px 0; }
	.office-dl dt { padding-top: 8px; }
}

@media print {
	.utility, .site-header, .mobile-nav, .hero-lattice, .form-wrap, .site-footer .footer-list { display: none; }
	body { color: #000; }
}

/* ——— كتل معلومات المنتج (التركيبة / دواعي الاستعمال) ——— */
.info-block {
	margin-top: 26px; background: var(--wash-2); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: 24px 26px 26px; position: relative; overflow: hidden;
}
.info-block::before {
	content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
	width: 4px; background: var(--grad);
}
.info-block-title {
	font-size: 1.05rem; margin-bottom: 10px; padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}
.info-block-body { font-size: .96rem; }
.info-block-body p { margin-bottom: .7em; }
.info-block-body p:last-child { margin-bottom: 0; }
