/* WEBIT layout shell — header, page hero, CTA band, footer.
   Ported from the WEBIT homepage and scoped under .wbp-shell so the
   theme's own styles are not touched. */

body.webit-shell-page {
	background: #FAF9F6;
	margin: 0;
}

.wbp-shell {
	--teal: #16A596;
	--teal-dark: #0B6E63;
	--teal-tint: #E4F5F2;
	--ink: #14161A;
	--ink-soft: #4A4F55;
	--paper: #FAF9F6;
	--paper-dim: #F0EFEA;
	--white: #FFFFFF;
	--ease: cubic-bezier(.16,.8,.3,1);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--paper);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.wbp-shell *,
.wbp-shell *::before,
.wbp-shell *::after { box-sizing: border-box; }

.wbp-shell img,
.wbp-shell svg { display: block; max-width: 100%; }

.wbp-shell a { color: inherit; text-decoration: none; }

.wbp-shell .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.wbp-shell h1,
.wbp-shell h2,
.wbp-shell h3 {
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	letter-spacing: -.02em;
	line-height: 1.08;
	margin: 0;
}

.wbp-shell .eyebrow {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--teal-dark);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.wbp-shell .eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--teal);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--teal-tint);
}

/* ---------- buttons ---------- */

.wbp-shell .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 15px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}

.wbp-shell .btn-sm { padding: 10px 18px; font-size: 14px; }

.wbp-shell .btn-solid { background: var(--ink); color: var(--white); }
.wbp-shell .btn-solid:hover,
.wbp-shell .btn-solid:focus { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(11,110,99,.55); }

.wbp-shell .btn-outline { border-color: rgba(20,22,26,.18); color: var(--ink); background: transparent; }
.wbp-shell .btn-outline:hover,
.wbp-shell .btn-outline:focus { border-color: var(--ink); transform: translateY(-2px); }

.wbp-shell .btn-light { background: var(--white); color: var(--ink); }
.wbp-shell .btn-light:hover,
.wbp-shell .btn-light:focus { background: var(--teal); color: var(--white); transform: translateY(-2px); }

.wbp-shell .btn-on-dark { border-color: rgba(255,255,255,.25); color: #fff; }
.wbp-shell .btn-on-dark:hover,
.wbp-shell .btn-on-dark:focus { border-color: #fff; color: #fff; }

.wbp-shell .btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- reveal ---------- */

.wbp-shell [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.wbp-shell [data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- header ---------- */

.wbp-shell header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250,249,246,.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(20,22,26,.07);
}

.wbp-shell header nav.wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
	transition: padding .3s var(--ease);
}

.wbp-shell header.shrink nav.wrap { padding-top: 11px; padding-bottom: 11px; }

.wbp-shell .logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; }
.wbp-shell .logo img { width: 170px; height: auto; }

.wbp-shell .nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.wbp-shell .nav-links li { margin: 0; }
.wbp-shell .nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.wbp-shell .nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--teal); transition: width .3s var(--ease); }
.wbp-shell .nav-links a:hover { color: var(--ink); }
.wbp-shell .nav-links a:hover::after { width: 100%; }
.wbp-shell .nav-links a.active,
.wbp-shell .nav-links .current-menu-item > a { color: var(--ink); }
.wbp-shell .nav-links a.active::after,
.wbp-shell .nav-links .current-menu-item > a::after { width: 100%; }

.wbp-shell .nav-cta { display: flex; align-items: center; gap: 18px; }

.wbp-shell .burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; padding: 6px; }
.wbp-shell .burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.wbp-shell .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wbp-shell .burger.open span:nth-child(2) { opacity: 0; }
.wbp-shell .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.wbp-shell .mobile-panel {
	display: none;
	background: var(--paper);
	border-bottom: 1px solid rgba(20,22,26,.08);
	padding: 8px 24px 24px;
}

.wbp-shell .mobile-panel.open { display: block; }
.wbp-shell .mobile-panel a { display: block; padding: 12px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid rgba(20,22,26,.06); }

/* ---------- page hero ---------- */

.wbp-shell .page-hero { position: relative; padding: 74px 0 38px; overflow: hidden; }
.wbp-shell .page-hero .peak-wm { position: absolute; top: -60px; right: -140px; width: 560px; opacity: .16; pointer-events: none; }
.wbp-shell .page-hero .wrap { position: relative; z-index: 1; }
.wbp-shell .page-hero h1 { font-size: clamp(32px,4.4vw,52px); font-weight: 700; margin: 18px 0 0; }
.wbp-shell .page-hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 560px; line-height: 1.6; margin: 18px 0 0; }

/* ---------- content ---------- */

.wbp-shell .shell-content { padding: 34px 0 84px; }
.wbp-shell .shell-content > .wrap > *:first-child { margin-top: 0; }
.wbp-shell .shell-content p { line-height: 1.7; color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.wbp-shell .cta-section { padding: 0 0 90px; }
.wbp-shell .cta-band { background: var(--ink); border-radius: 26px; margin: 0 24px; padding: 64px 48px; position: relative; overflow: hidden; }
.wbp-shell .cta-inner { max-width: 1132px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.wbp-shell .cta-band h2 { color: var(--white); font-size: clamp(24px,3vw,34px); max-width: 520px; margin-top: 14px; }
.wbp-shell .cta-band .eyebrow { color: var(--teal); }
.wbp-shell .cta-band .eyebrow::before { box-shadow: 0 0 0 4px rgba(22,165,150,.25); }
.wbp-shell .cta-peak { position: absolute; bottom: -2px; right: -2px; width: 340px; opacity: .5; }
.wbp-shell .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.wbp-shell .site-foot { background: var(--ink); color: #B9BEC4; padding: 64px 0 28px; }
.wbp-shell .foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.wbp-shell .foot-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 14px; }
.wbp-shell .foot-logo img { width: 150px; height: auto; }
.wbp-shell .foot-about p { font-size: 14px; line-height: 1.65; max-width: 280px; margin: 0; }
.wbp-shell .foot-col h4 { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #7D8590; margin: 0 0 16px; }
.wbp-shell .foot-col a,
.wbp-shell .foot-col .foot-address { display: block; font-size: 14.5px; margin-bottom: 11px; color: #B9BEC4; transition: color .25s; }
.wbp-shell .foot-col a:hover { color: var(--teal); }
.wbp-shell .socials { display: flex; gap: 10px; margin-top: 16px; }
.wbp-shell .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s; }
.wbp-shell .socials a:hover { background: var(--teal); transform: translateY(-3px); }
.wbp-shell .socials svg { width: 16px; height: 16px; stroke: #fff; }
.wbp-shell .foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
	.wbp-shell .page-hero .peak-wm { display: none; }
	.wbp-shell .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.wbp-shell .nav-links,
	.wbp-shell .nav-cta .btn { display: none; }
	.wbp-shell .burger { display: flex; }
	.wbp-shell .cta-band { margin: 0 14px; padding: 48px 24px; }
	.wbp-shell .cta-inner { justify-content: center; text-align: center; }
	.wbp-shell .foot-grid { grid-template-columns: 1fr; }
	.wbp-shell .page-hero { padding: 46px 0 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.wbp-shell [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
	.wbp-shell * { animation: none !important; }
	.wbp-shell .btn:hover { transform: none; }
}

/* RTL: the Arabic version of the site */
[dir="rtl"] .wbp-shell .page-hero .peak-wm { right: auto; left: -140px; }
[dir="rtl"] .wbp-shell .nav-links a::after { left: auto; right: 0; }
[dir="rtl"] .wbp-shell .cta-peak { right: auto; left: -2px; transform: scaleX(-1); }
