/* ============ Etlaq Holding — main stylesheet (RTL) ============ */

:root {
	--gold: #8f5680;
	--gold-deep: #6b3a5e;
	--ink: #17181c;
	--ink-soft: #2a2c33;
	--paper: #ffffff;
	--ivory: #faf8f3;
	--line: #e8e4da;
	--text: #33363e;
	--muted: #7a7d87;
	--radius: 14px;
	--shadow: 0 18px 45px rgba(23, 24, 28, 0.09);
	--container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
	color: var(--text);
	background: var(--paper);
	line-height: 1.8;
	direction: rtl;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 24px;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.35; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.section { padding-block: 84px; }

.eyebrow {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--gold-deep);
	background: rgba(143, 86, 128, 0.12);
	border: 1px solid rgba(143, 86, 128, 0.35);
	border-radius: 999px;
	padding: 4px 16px;
	margin-bottom: 16px;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ============ Buttons ============ */

.btn {
	display: inline-block;
	padding: 13px 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	cursor: pointer;
	border: 0;
	font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
	background: linear-gradient(135deg, #9c6289, var(--gold-deep));
	color: #fff;
	box-shadow: 0 10px 25px rgba(93, 44, 78, 0.35);
}
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid rgba(23, 24, 28, 0.25);
}
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

.text-link { color: var(--gold-deep); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* ============ Header ============ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.brand-text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.35em; color: var(--gold-deep); }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
	display: block;
	padding: 10px 16px;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--ink-soft);
	border-radius: 8px;
	transition: color 0.2s;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a { color: var(--gold-deep); }

/* dropdown */
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 250px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.22s ease;
}
.nav-list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ink-soft);
}
.sub-menu a:hover { background: var(--ivory); color: var(--gold-deep); }

.nav-toggle, .nav-toggle-input { display: none; }

/* ============ Hero (holding) ============ */

.hero {
	background:
		radial-gradient(900px 420px at 12% -10%, rgba(143, 86, 128, 0.16), transparent 60%),
		radial-gradient(700px 380px at 95% 15%, rgba(143, 86, 128, 0.1), transparent 55%),
		var(--ivory);
	border-bottom: 1px solid var(--line);
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: 48px;
	padding-block: 90px 70px;
}

.hero h1 { margin-bottom: 18px; }
.gold-dot { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }
.hero-art img {
	max-height: 340px;
	width: auto;
	filter: drop-shadow(0 24px 45px rgba(93, 44, 78, 0.22));
	animation: float 7s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

.hero-stats { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); }
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
	padding-block: 26px;
	gap: 12px;
}
.stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--gold-deep); line-height: 1.2; }
.stat span { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* ============ About strip ============ */

.about-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.lead-dark { color: var(--text) !important; font-size: 1.05rem; }

/* ============ Company cards ============ */

.companies { background: var(--ivory); }

.company-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.company-card {
	--c-primary: var(--gold-deep);
	--c-dark: var(--ink);
	--c-soft: var(--ivory);
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 30px 28px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.company-card::before {
	content: '';
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--c-primary), var(--c-dark));
}
.company-card::after {
	content: '';
	position: absolute;
	left: -60px;
	bottom: -60px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: var(--c-soft);
	z-index: 0;
	transition: transform 0.3s ease;
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--c-primary); }
.company-card:hover::after { transform: scale(1.35); }

.company-card > * { position: relative; z-index: 1; }
.company-logo {
	height: 110px;
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}
.company-logo img { max-height: 110px; width: auto; }
.company-card h3 { font-size: 1.25rem; color: var(--c-dark); margin-bottom: 6px; }
.company-tagline { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.company-more {
	margin-top: auto;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--c-primary);
}

/* ============ Values ============ */

.values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.value-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-num {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--gold-deep);
	background: rgba(143, 86, 128, 0.12);
	border-radius: 8px;
	padding: 2px 10px;
	margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* ============ CTA strip ============ */

.cta-strip {
	background:
		radial-gradient(700px 300px at 85% 0%, rgba(143, 86, 128, 0.25), transparent 60%),
		var(--ink);
	color: #fff;
	padding-block: 70px;
	text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 10px; }
.cta-strip p { color: rgba(255, 255, 255, 0.65); margin-bottom: 26px; }
.cta-strip .btn-dark { background: linear-gradient(135deg, #9c6289, var(--gold-deep)); }

/* ============ Company page ============ */

.company-page {
	--c-primary: var(--gold-deep);
	--c-dark: var(--ink);
	--c-soft: var(--ivory);
	--c-accent: var(--gold-deep);
}

.company-hero {
	background:
		radial-gradient(800px 400px at 90% -20%, rgba(255, 255, 255, 0.14), transparent 60%),
		linear-gradient(135deg, var(--c-dark), var(--c-primary));
	color: #fff;
}
.company-hero-inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	gap: 48px;
	padding-block: 84px;
}
.company-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.crumb { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 14px; font-weight: 600; }
.crumb a { color: rgba(255, 255, 255, 0.9); }
.crumb a:hover { text-decoration: underline; }
.company-hero-tagline { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; margin-bottom: 28px; }

.company-hero-logo { display: flex; justify-content: center; }
.company-hero-logo img {
	max-height: 280px;
	width: auto;
	background: #fff;
	border-radius: 20px;
	padding: 22px 28px;
	box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
}

.btn-company { background: #fff; color: var(--c-dark); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { border-color: #fff; }

.eyebrow-company {
	color: var(--c-primary);
	background: color-mix(in srgb, var(--c-primary) 10%, white);
	border-color: color-mix(in srgb, var(--c-primary) 35%, white);
}

.company-services { background: var(--c-soft); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-right: 4px solid var(--c-primary);
	border-radius: var(--radius);
	padding: 28px 26px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-num {
	display: inline-block;
	font-weight: 800;
	font-size: 0.8rem;
	color: var(--c-primary);
	background: color-mix(in srgb, var(--c-primary) 10%, white);
	border-radius: 8px;
	padding: 2px 10px;
	margin-bottom: 12px;
}
.service-card h3 { margin-bottom: 8px; color: var(--c-dark); }
.service-card p { color: var(--muted); font-size: 0.93rem; }

.cta-company {
	background:
		radial-gradient(700px 300px at 85% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
		linear-gradient(135deg, var(--c-dark), var(--c-primary));
}

.company-grid-sisters { grid-template-columns: repeat(3, 1fr); }
.company-grid-sisters .company-logo, .company-grid-sisters .company-logo img { height: 84px; max-height: 84px; }
.company-grid-sisters h3 { font-size: 1.05rem; }

/* ============ Generic page / contact ============ */

.page-hero {
	background:
		radial-gradient(700px 320px at 15% -20%, rgba(143, 86, 128, 0.18), transparent 60%),
		var(--ivory);
	border-bottom: 1px solid var(--line);
	padding-block: 64px;
	text-align: center;
}
.page-hero p { color: var(--muted); margin-top: 10px; }

.content-narrow { max-width: 780px; }
.entry-content p { margin-bottom: 16px; }
.entry-content h2, .entry-content h3 { margin: 28px 0 12px; }
.entry-content ul, .entry-content ol { margin: 0 24px 16px 0; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: arabic-indic; }

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 48px;
	align-items: start;
}
.contact-list li {
	display: flex;
	flex-direction: column;
	padding-block: 14px;
	border-bottom: 1px solid var(--line);
}
.contact-list strong { color: var(--ink); font-size: 0.9rem; }
.contact-list span { color: var(--muted); }
.contact-sub { margin: 26px 0 12px; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-tags a {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--c-primary, var(--gold-deep));
	border: 1.5px solid currentColor;
	border-radius: 999px;
	padding: 4px 14px;
	transition: all 0.2s;
}
.contact-tags a:hover { background: var(--c-primary, var(--gold-deep)); color: #fff; }

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 34px;
}
.contact-form label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ink);
	margin-bottom: 16px;
}
.contact-form input, .contact-form textarea {
	width: 100%;
	margin-top: 6px;
	padding: 12px 16px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--ivory);
	transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
	outline: none;
	border-color: var(--gold);
	background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-weight: 700; }
.form-success { background: #eef7ee; color: #2f6b33; border: 1px solid #bfe0c1; }
.form-error { background: #fdf0f0; color: #a33; border: 1px solid #efc7c7; }

.post-item { padding-block: 20px; border-bottom: 1px solid var(--line); }

/* ============ Footer ============ */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
	gap: 40px;
	padding-block: 64px 44px;
}
.footer-logo {
	height: 74px;
	width: auto;
	background: #fff;
	border-radius: 12px;
	padding: 8px 14px;
	margin-bottom: 18px;
}
.footer-about p { font-size: 0.92rem; line-height: 1.9; }
.footer-col h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--gold-deep);
	display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { font-size: 0.92rem; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 18px;
	font-size: 0.85rem;
	text-align: center;
}

/* ============ Responsive ============ */

@media (max-width: 960px) {
	.hero-inner, .company-hero-inner { grid-template-columns: 1fr; text-align: center; padding-block: 60px; }
	.hero-actions { justify-content: center; }
	.hero-art img { max-height: 240px; }
	.company-hero-logo img { max-height: 200px; }
	.about-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
	.stats-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
	.company-grid-sisters { grid-template-columns: 1fr; }

	/* mobile nav */
	.nav-toggle {
		display: flex;
		flex-direction: column;
		gap: 5px;
		cursor: pointer;
		padding: 8px;
	}
	.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all 0.25s; }
	.site-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		padding: 12px 20px 20px;
	}
	.nav-toggle-input:checked ~ .site-nav { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-right: 2px solid var(--line);
		border-radius: 0;
		margin-right: 14px;
	}
}

@media (max-width: 600px) {
	.company-grid, .services-grid, .form-row { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.values-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.section { padding-block: 56px; }
	.brand-text em { display: none; }
}

/* ============ Companies showcase (redesigned) ============ */

.showcase-list { display: grid; gap: 22px; }
.showcase-row {
	--c-primary: var(--gold-deep);
	--c-dark: var(--ink);
	--c-soft: var(--ivory);
	position: relative;
	display: grid;
	grid-template-columns: auto 200px 1fr auto;
	align-items: center;
	gap: 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 32px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.showcase-row::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: linear-gradient(var(--c-primary), var(--c-dark));
}
.showcase-row:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--c-primary);
}
.showcase-num {
	font-size: 2.2rem;
	font-weight: 900;
	color: color-mix(in srgb, var(--c-primary) 22%, white);
	line-height: 1;
}
.showcase-logo {
	background: var(--c-soft);
	border-radius: 14px;
	padding: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.showcase-logo img { max-height: 120px; width: auto; }
.showcase-body h3 { font-size: 1.25rem; color: var(--c-dark); margin-bottom: 4px; }
.showcase-tagline { color: var(--muted); font-size: 0.93rem; margin-bottom: 12px; }
.showcase-services {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.showcase-services li {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--c-primary);
	background: color-mix(in srgb, var(--c-primary) 8%, white);
	border: 1px solid color-mix(in srgb, var(--c-primary) 28%, white);
	border-radius: 999px;
	padding: 3px 14px;
}
.showcase-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--c-primary);
	font-weight: 800;
	font-size: 0.88rem;
	white-space: nowrap;
}
.showcase-cta-arrow { font-size: 1.4rem; transition: transform 0.25s; }
.showcase-row:hover .showcase-cta-arrow { transform: translateX(-6px); }
@media (max-width: 960px) {
	.showcase-row {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 16px;
	}
	.showcase-num { display: none; }
	.showcase-logo { margin-inline: auto; }
	.showcase-services { justify-content: center; }
}
