/*
Theme Name: Brand Platform
Description: One presentation system for the ZAD brand portfolio. Identity comes exclusively from Brand Platform Core.
Version: 1.2.3
Author: Ahmed Morsy
Requires at least: 6.3
Requires PHP: 8.1
Text Domain: brand-platform
*/

:root {
	--brand-background: #fff;
	--brand-foreground: #111827;
	--brand-accent: #2563eb;
	--brand-accent-2: #f59e0b;
	--brand-muted: #64748b;
	--brand-font-heading: system-ui, sans-serif;
	--brand-font-body: system-ui, sans-serif;
	--layout-width: 1180px;
	--layout-gutter: clamp(18px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { color-scheme: light dark; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--brand-background);
	color: var(--brand-foreground);
	font-family: var(--brand-font-body);
	line-height: 1.65;
}
a { color: inherit; text-decoration-color: var(--brand-accent); text-underline-offset: .2em; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-accent-2); outline-offset: 3px; }
.bp-shell { width: min(100% - (var(--layout-gutter) * 2), var(--layout-width)); margin-inline: auto; }
.bp-skip { position: fixed; inset-inline-start: 12px; top: -80px; z-index: 10000; background: var(--brand-accent); color: var(--brand-background); padding: 12px 18px; }
.bp-skip:focus { top: 12px; }
.bp-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid color-mix(in srgb, var(--brand-foreground) 16%, transparent); background: color-mix(in srgb, var(--brand-background) 94%, transparent); backdrop-filter: blur(12px); }
.bp-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bp-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--brand-font-heading); font-weight: 800; }
.bp-brand img { max-width: 172px; max-height: 48px; }
.bp-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.bp-nav a { text-decoration: none; font-weight: 700; }
.bp-main { min-height: 65vh; padding-block: clamp(42px, 7vw, 96px); }
.bp-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(28px, 6vw, 84px); align-items: center; padding-block: clamp(36px, 8vw, 112px); }
.bp-kicker { color: var(--brand-accent); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.bp-title { margin: .2em 0; font-family: var(--brand-font-heading); font-size: clamp(2.5rem, 7vw, 6.7rem); line-height: .94; letter-spacing: -.045em; }
.bp-lede { max-width: 65ch; color: var(--brand-muted); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.bp-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 2px solid var(--brand-accent); background: var(--brand-accent); color: var(--brand-background); padding: 10px 20px; font-weight: 900; text-decoration: none; }
.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bp-card { border-top: 4px solid var(--brand-accent); padding: 24px 0; }
.bp-card h2, .bp-card h3 { font-family: var(--brand-font-heading); }
.bp-content { max-width: 820px; }
.bp-content > * + * { margin-block-start: 1.3em; }
.bp-footer { border-top: 1px solid color-mix(in srgb, var(--brand-foreground) 16%, transparent); padding-block: 32px; color: var(--brand-muted); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select { min-height: 48px; background: var(--brand-background); color: var(--brand-foreground); border: 1px solid var(--brand-muted); padding: 10px 12px; }
.woocommerce button.button,
.woocommerce a.button { border-radius: 0; background: var(--brand-accent); color: var(--brand-background); min-height: 48px; }

@media (max-width: 780px) {
	.bp-header__inner { min-height: 64px; align-items: flex-start; flex-direction: column; padding-block: 14px; }
	.bp-nav ul { gap: 6px 14px; }
	.bp-hero, .bp-grid { grid-template-columns: 1fr; }
	.bp-main { padding-block: 36px; }
}

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