/* =========================================================
   Creative Octopus — Main Stylesheet (RTL / Dark)
   Brand: Orange #FF6045 · Neon Blue #2B34FF · Red #B20C20 · Sky #5EC3FF
   ========================================================= */

/* لو تملك رخصة خط 29LT Azer ضع ملفات woff2 في assets/fonts بهذه الأسماء وسيعمل تلقائيًا */
@font-face {
	font-family: '29LT Azer';
	src: url('../fonts/29LTAzer-Light.woff2') format('woff2');
	font-weight: 300; font-display: swap;
}
@font-face {
	font-family: '29LT Azer';
	src: url('../fonts/29LTAzer-Regular.woff2') format('woff2');
	font-weight: 400; font-display: swap;
}
@font-face {
	font-family: '29LT Azer';
	src: url('../fonts/29LTAzer-Bold.woff2') format('woff2');
	font-weight: 700; font-display: swap;
}

:root {
	--orange: #FF6045;
	--blue: #2B34FF;
	--red: #B20C20;
	--sky: #5EC3FF;
	--dark: #0B0B12;
	--dark-2: #12121C;
	--dark-3: #1A1A28;
	--white: #F7F6F2;
	--muted: #9C9CB0;
	--co-bg: var(--dark);
	--font: '29LT Azer', 'Alexandria', system-ui, sans-serif;
	--radius: 22px;
	--ease: cubic-bezier(.65, .05, 0, 1);
}

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

html { scroll-behavior: smooth; }

body {
	font-family: var(--font);
	background: var(--dark);
	color: var(--white);
	line-height: 1.8;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.co-loading { overflow: hidden; }

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

::selection { background: var(--orange); color: var(--dark); }

.co-wrap { width: min(1240px, 92vw); margin-inline: auto; }

/* ---------- Typography ---------- */
.co-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--orange); font-weight: 700; font-size: .95rem;
	letter-spacing: .5px; margin-bottom: 14px;
}
.co-kicker::before { content: ''; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }

.co-h2 {
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800; line-height: 1.35; margin-bottom: 26px;
}
.co-h2 em, .statement__text em, .cta__title em { font-style: normal; }

.txt-orange { color: var(--orange); }
.txt-blue { color: var(--blue); text-shadow: 0 0 34px rgba(43, 52, 255, .55); }
.txt-sky { color: var(--sky); }

/* ---------- Buttons ---------- */
.co-btn {
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	padding: 17px 34px; border: none; border-radius: 999px; cursor: pointer;
	font-family: var(--font); font-weight: 700; font-size: 1.02rem;
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s;
	will-change: transform;
}
.co-btn--sm { padding: 11px 24px; font-size: .92rem; }
.co-btn--primary {
	background: var(--orange); color: var(--dark);
	box-shadow: 0 10px 40px rgba(255, 96, 69, .35);
}
.co-btn--primary:hover { box-shadow: 0 16px 55px rgba(255, 96, 69, .55); }
.co-btn--ghost {
	background: transparent; color: var(--white);
	outline: 2px solid rgba(247, 246, 242, .25); outline-offset: -2px;
}
.co-btn--ghost:hover { outline-color: var(--sky); color: var(--sky); }
.co-btn--light { background: var(--white); color: var(--blue); }
.co-btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.co-btn:hover .co-btn__arrow { transform: translateX(-6px); }

/* ---------- Preloader ---------- */
.co-preloader {
	position: fixed; inset: 0; z-index: 10000;
	background: var(--dark);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
	animation: co-pre-hide .5s ease 4s forwards; /* أمان: يختفي حتى لو تعطل الجافاسكربت */
}
@keyframes co-pre-hide { to { opacity: 0; visibility: hidden; } }
.co-preloader__logo { width: 90px; color: var(--orange); animation: co-pulse 1.2s ease-in-out infinite; }
.co-preloader__logo svg { width: 100%; height: auto; }
.co-preloader__bar { width: 180px; height: 3px; background: var(--dark-3); border-radius: 3px; overflow: hidden; }
.co-preloader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--blue)); }
@keyframes co-pulse { 50% { transform: scale(1.12) rotate(6deg); } }

/* ---------- Page transition curtains ---------- */
.co-transition { position: fixed; inset: 0; z-index: 9999; display: flex; pointer-events: none; }
.co-transition__panel {
	flex: 1; background: var(--blue); transform: scaleY(0); transform-origin: top;
}
.co-transition__panel:nth-child(2) { background: var(--orange); }
.co-transition__panel:nth-child(3) { background: var(--dark-2); }

/* ---------- Custom cursor ---------- */
.co-cursor, .co-cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; }
.co-cursor {
	width: 44px; height: 44px; border: 1.5px solid rgba(255, 96, 69, .8);
	transform: translate(-50%, -50%);
	transition: width .3s, height .3s, background .3s, border-color .3s;
}
.co-cursor-dot { width: 6px; height: 6px; background: var(--orange); transform: translate(-50%, -50%); }
.co-cursor.is-hover { width: 74px; height: 74px; background: rgba(43, 52, 255, .18); border-color: var(--sky); }
@media (hover: none), (max-width: 900px) { .co-cursor, .co-cursor-dot { display: none; } }

/* ---------- Header ---------- */
.co-header {
	position: fixed; top: 0; right: 0; left: 0; z-index: 900;
	transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.co-header.is-scrolled {
	background: rgba(11, 11, 18, .72);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(247, 246, 242, .06);
}
.co-header.is-hidden { transform: translateY(-110%); }
.co-header__inner {
	width: min(1300px, 94vw); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 0;
}
.co-header__brand { display: flex; align-items: center; gap: 12px; }
.co-logo { display: inline-block; width: 46px; color: var(--orange); }
.co-logo svg, .co-logo img { width: 100%; height: auto; display: block; }
.co-preloader__logo .co-logo { width: 100%; }
/* أمان إضافي لأي شعار ووردبريس */
.custom-logo-link, .custom-logo { max-width: 60px !important; height: auto !important; }
.co-header__name { font-weight: 800; font-size: .82rem; line-height: 1.25; letter-spacing: 1.5px; }
.co-nav { display: flex; align-items: center; gap: 30px; }
.co-nav__link { position: relative; font-weight: 500; font-size: .98rem; padding: 6px 0; }
.co-nav__link::after {
	content: ''; position: absolute; bottom: 0; right: 0; height: 2px; width: 0;
	background: var(--orange); border-radius: 2px; transition: width .4s var(--ease);
}
.co-nav__link:hover::after, .co-nav__link.is-active::after { width: 100%; }
.co-nav__cta { margin-inline-start: 8px; background: var(--blue); color: var(--white); box-shadow: 0 8px 30px rgba(43,52,255,.4); }
.co-nav__cta:hover { background: var(--orange); color: var(--dark); }

.co-burger { display: none; position: relative; z-index: 1001; width: 46px; height: 46px; background: var(--dark-3); border: none; border-radius: 50%; cursor: pointer; }
.co-burger span { position: absolute; right: 13px; width: 20px; height: 2px; background: var(--white); transition: transform .4s var(--ease), top .4s; }
.co-burger span:first-child { top: 19px; }
.co-burger span:last-child { top: 26px; }
.co-burger.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.co-burger.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

/* Mobile fullscreen menu */
.co-menu {
	position: fixed; inset: 0; z-index: 950; background: var(--blue);
	display: flex; flex-direction: column; justify-content: center; gap: 40px;
	padding: 0 8vw;
	clip-path: circle(0 at calc(0% + 40px) 40px);
	transition: clip-path .8s var(--ease);
	visibility: hidden;
}
.co-menu.is-open { clip-path: circle(150% at calc(0% + 40px) 40px); visibility: visible; }
.co-menu__links { display: flex; flex-direction: column; gap: 8px; }
.co-menu__links a {
	font-size: clamp(2rem, 8vw, 3rem); font-weight: 800;
	transition: color .3s, transform .4s var(--ease);
}
.co-menu__links a:hover { color: var(--orange); transform: translateX(-12px); }
.co-menu__foot { color: rgba(247,246,242,.7); font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100svh;
	display: flex; align-items: center;
	padding: 150px 0 90px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(130px); opacity: .5; }
.hero__glow--blue { width: 560px; height: 560px; background: var(--blue); top: -160px; left: -120px; }
.hero__glow--orange { width: 480px; height: 480px; background: var(--orange); bottom: -180px; right: -100px; opacity: .32; }
.hero__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(247,246,242,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(247,246,242,.04) 1px, transparent 1px);
	background-size: 68px 68px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__shapes .shape { position: absolute; opacity: .85; will-change: transform; }
.shape--wave { width: 110px; top: 22%; left: 12%; }
.shape--bulb { width: 74px; top: 62%; left: 22%; filter: drop-shadow(0 0 26px rgba(255,96,69,.5)); }
.shape--tentacle { width: 84px; top: 18%; right: 8%; opacity: .55; }

.hero__content { position: relative; z-index: 2; }
.hero__kicker {
	display: inline-block; padding: 9px 22px; margin-bottom: 26px;
	background: rgba(43, 52, 255, .16); border: 1px solid rgba(94, 195, 255, .35);
	border-radius: 999px; color: var(--sky); font-weight: 500; font-size: .95rem;
}
.hero__title {
	font-size: clamp(3.2rem, 11vw, 8rem);
	font-weight: 900; line-height: 1.08; margin-bottom: 30px;
}
.hero__line { display: block; overflow: hidden; }
.hero__line span { display: inline-block; }
.hero__title .txt-orange { text-shadow: 0 0 60px rgba(255, 96, 69, .45); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin-bottom: 42px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 64px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px); }
.hero__stat strong { display: block; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: var(--sky); line-height: 1.2; }
.hero__stat span { color: var(--muted); font-size: .95rem; }

.hero__scroll {
	position: absolute; bottom: 26px; right: 50%; transform: translateX(50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	color: var(--muted); font-size: .8rem; letter-spacing: 2px;
}
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: co-drop 1.6s ease-in-out infinite; }
@keyframes co-drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee {
	background: var(--orange); color: var(--dark);
	padding: 20px 0; overflow: hidden; transform: rotate(-1.6deg) scale(1.02);
	border-block: 3px solid var(--dark);
}
.marquee__track { display: flex; gap: 40px; width: max-content; white-space: nowrap; }
.marquee__track span { font-size: 1.5rem; font-weight: 800; }
.marquee__track i { font-style: normal; font-size: 1.3rem; }

/* ---------- Sections base ---------- */
.about, .services, .work, .process, .quotes { padding: clamp(90px, 12vw, 150px) 0; }

/* ---------- About ---------- */
.about { background: var(--dark-2); border-radius: 60px 60px 0 0; margin-top: -20px; position: relative; z-index: 2; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text p { color: var(--muted); margin-bottom: 20px; font-size: 1.08rem; }
.about__text .co-btn { margin-top: 12px; }
.about__visual { display: grid; gap: 22px; }
.about__card {
	display: flex; align-items: center; gap: 22px;
	padding: 26px 30px; border-radius: var(--radius);
	font-weight: 800; font-size: 1.2rem;
	transition: transform .5s var(--ease);
}
.about__card:hover { transform: translateX(-14px) rotate(-1deg); }
.about__card svg { width: 56px; flex: none; }
.about__card--blue { background: var(--blue); color: var(--white); }
.about__card--blue svg { color: var(--sky); }
.about__card--orange { background: var(--orange); color: var(--dark); margin-inline-start: 40px; }
.about__card--orange svg { color: var(--dark); }
.about__card--sky { background: var(--sky); color: var(--dark); }
.about__card--sky svg { color: var(--blue); }

/* ---------- Services ---------- */
.services { background: var(--dark-2); }
.services__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px;
}
.service-card {
	position: relative; overflow: hidden;
	padding: 34px 26px; border-radius: var(--radius);
	background: var(--dark-3); border: 1px solid rgba(247,246,242,.06);
	transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.service-card::before {
	content: ''; position: absolute; inset: auto -30% -55% auto; width: 190px; height: 190px;
	border-radius: 50%; background: var(--blue); filter: blur(60px); opacity: 0;
	transition: opacity .5s;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(94,195,255,.4); }
.service-card:hover::before { opacity: .5; }
.service-card__num { position: absolute; top: 22px; left: 24px; color: rgba(247,246,242,.14); font-size: 2rem; font-weight: 900; }
.service-card__icon { width: 46px; color: var(--orange); margin-bottom: 20px; position: relative; }
.service-card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.service-card p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; position: relative; }
.service-card__link { position: relative; color: var(--sky); font-weight: 700; font-size: .9rem; }
.service-card__link span { display: inline-block; transition: transform .3s var(--ease); }
.service-card:hover .service-card__link span { transform: translateX(-5px); }

/* ---------- Work ---------- */
.work { background: var(--dark); }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.work__note { color: var(--muted); max-width: 320px; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.work-card { cursor: pointer; }
.work-card__media {
	overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3;
	border: 1px solid rgba(247,246,242,.07);
}
.work-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .9s var(--ease), filter .5s;
	filter: saturate(.9);
}
.work-card:hover .work-card__media img { transform: scale(1.08) rotate(.6deg); filter: saturate(1.15); }
.work-card__info { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 18px 6px 0; }
.work-card__info h3 { font-size: 1.05rem; font-weight: 700; }
.work-card__info span { color: var(--orange); font-size: .82rem; font-weight: 500; white-space: nowrap; }

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 14vw, 180px) 0; background: var(--blue); position: relative; overflow: hidden; }
.statement::after {
	content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
	background: var(--orange); filter: blur(160px); opacity: .5; top: -120px; left: -100px;
}
.statement__text {
	position: relative; z-index: 1;
	font-size: clamp(1.8rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.4; text-align: center;
}

/* ---------- Process ---------- */
.process { background: var(--dark); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; counter-reset: step; }
.process__step {
	position: relative; padding: 90px 26px 34px;
	background: var(--dark-2); border-radius: var(--radius);
	border: 1px solid rgba(247,246,242,.06);
	transition: transform .5s var(--ease), border-color .4s;
}
.process__step:hover { transform: translateY(-8px); border-color: rgba(255,96,69,.45); }
.process__num {
	position: absolute; top: 20px; right: 24px;
	font-size: 2.6rem; font-weight: 900; color: var(--orange); opacity: .9;
}
.process__step:nth-child(even) .process__num { color: var(--sky); }
.process__step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.process__step p { color: var(--muted); font-size: .93rem; }

/* ---------- Quotes ---------- */
.quotes { background: var(--dark-2); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.quote-card {
	position: relative; padding: 44px 30px 30px;
	background: var(--dark-3); border-radius: var(--radius);
	border: 1px solid rgba(247,246,242,.06);
	transition: transform .5s var(--ease);
}
.quote-card:hover { transform: translateY(-8px) rotate(-.5deg); }
.quote-card__mark { position: absolute; top: 6px; right: 24px; font-size: 4.4rem; color: var(--orange); line-height: 1; }
.quote-card p { font-size: 1.02rem; margin-bottom: 20px; }
.quote-card footer { color: var(--sky); font-size: .88rem; font-weight: 700; }

/* ---------- CTA ---------- */
.cta {
	position: relative; overflow: hidden; text-align: center;
	padding: clamp(110px, 14vw, 170px) 0;
	background: linear-gradient(135deg, var(--orange), var(--red));
	color: var(--dark);
}
.cta__bg {
	position: absolute; inset: -40%;
	background: radial-gradient(circle at 30% 30%, rgba(247,246,242,.22), transparent 45%);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.3; margin-bottom: 18px; color: var(--white); }
.cta__title em { color: var(--dark); }
.cta p { color: rgba(247,246,242,.9); font-size: 1.1rem; margin-bottom: 36px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 12vw, 150px) 0; background: var(--dark); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.contact__text p { color: var(--muted); font-size: 1.06rem; margin-bottom: 26px; }
.contact__meta li { margin-bottom: 10px; color: var(--muted); }
.contact__meta strong { color: var(--white); }

.contact__form {
	background: var(--dark-2); border: 1px solid rgba(247,246,242,.07);
	border-radius: 28px; padding: clamp(26px, 4vw, 46px);
	display: flex; flex-direction: column; gap: 20px;
}
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__form label { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; font-weight: 700; color: var(--muted); }
.contact__form input, .contact__form select, .contact__form textarea {
	font-family: var(--font); font-size: 1rem; color: var(--white);
	background: var(--dark-3); border: 1px solid rgba(247,246,242,.1);
	border-radius: 14px; padding: 15px 18px; outline: none;
	transition: border-color .3s, box-shadow .3s;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
	border-color: var(--sky); box-shadow: 0 0 0 4px rgba(94,195,255,.14);
}
.contact__form button { justify-content: center; }
.co-hp { position: absolute !important; opacity: 0; pointer-events: none; height: 0; }
.contact__ok { background: rgba(94,195,255,.14); border: 1px solid var(--sky); color: var(--sky); padding: 14px 20px; border-radius: 14px; font-weight: 700; }
.contact__err { background: rgba(178,12,32,.18); border: 1px solid var(--red); color: #ff8896; padding: 14px 20px; border-radius: 14px; font-weight: 700; }

/* ---------- Footer ---------- */
.co-footer { background: var(--dark-2); border-top: 1px solid rgba(247,246,242,.06); }
.co-footer__inner {
	display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
	padding: 70px 0 50px;
}
.co-footer__logo { width: 56px; margin-bottom: 18px; }
.co-footer__brand p { color: var(--muted); font-size: .95rem; }
.co-footer__nav { display: flex; flex-direction: column; gap: 12px; }
.co-footer__nav a { color: var(--muted); transition: color .3s, transform .3s; }
.co-footer__nav a:hover { color: var(--orange); transform: translateX(-6px); }
.co-footer__contact a { color: var(--sky); font-weight: 700; }
.co-footer__bar { border-top: 1px solid rgba(247,246,242,.06); padding: 22px 0; color: var(--muted); font-size: .85rem; }

/* ---------- Page hero (الصفحات الداخلية) ---------- */
.page-hero {
	position: relative; overflow: hidden;
	padding: 190px 0 70px;
	background: var(--dark);
}
.page-hero__glow {
	position: absolute; width: 520px; height: 520px; border-radius: 50%;
	background: var(--blue); filter: blur(150px); opacity: .35;
	top: -220px; left: -140px;
}
.page-hero__title {
	font-size: clamp(2.4rem, 7vw, 5rem);
	font-weight: 900; line-height: 1.2; margin-bottom: 20px;
}
.page-hero__title em { font-style: normal; }
.page-hero__sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 620px; }
.values { padding: clamp(70px, 9vw, 110px) 0; background: var(--dark-2); }

/* ---------- Generic page ---------- */
.co-page { padding: 180px 0 100px; min-height: 70vh; }
.co-content { color: var(--muted); font-size: 1.05rem; }
.co-content h2, .co-content h3 { color: var(--white); margin: 30px 0 12px; }
.co-content p { margin-bottom: 16px; }

/* ---------- Reveal base states (JS animates) ---------- */
.reveal { opacity: 0; transform: translateY(46px); }
.split-lines .co-split-line { display: block; overflow: hidden; }
.split-lines .co-split-inner { display: inline-block; transform: translateY(115%); }
html.no-js .reveal, html.no-js .split-lines .co-split-inner { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.process__steps { grid-template-columns: repeat(2, 1fr); }
	.work__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.co-nav { display: none; }
	.co-burger { display: block; }
	.about__grid, .contact__grid { grid-template-columns: 1fr; }
	.quotes__grid { grid-template-columns: 1fr; }
	.co-footer__inner { grid-template-columns: 1fr; gap: 30px; }
	.shape--tentacle, .shape--wave { display: none; }
}
@media (max-width: 620px) {
	.services__grid, .process__steps, .work__grid { grid-template-columns: 1fr; }
	.contact__row { grid-template-columns: 1fr; }
	.about__card--orange { margin-inline-start: 0; }
	.hero__cta .co-btn { width: 100%; justify-content: center; }
}

/* ---------- Marquee 2.0 ---------- */
.mq { position: relative; padding: 52px 0 60px; overflow: hidden; background: var(--dark); }
.mq__strip { overflow: hidden; padding: 15px 0; border-block: 3px solid var(--dark); }
.mq__strip--orange { background: var(--orange); color: var(--dark); transform: rotate(-2deg) scale(1.06); position: relative; z-index: 2; box-shadow: 0 24px 70px rgba(255,96,69,.35); }
.mq__strip--blue { background: var(--blue); color: var(--white); transform: rotate(2.2deg) scale(1.06); margin-top: -26px; }
.mq__track { display: flex; align-items: center; gap: 38px; width: max-content; white-space: nowrap; will-change: transform; }
.mq__track span { font-size: 1.7rem; font-weight: 900; letter-spacing: .5px; }
.mq__strip--orange .out { color: transparent; -webkit-text-stroke: 2px var(--dark); }
.mq__strip--blue .out { color: transparent; -webkit-text-stroke: 2px var(--white); }
.mq__ico { width: 24px; height: auto; flex: none; transform: rotate(18deg); opacity: .85; }
@media (max-width: 620px) { .mq__track span { font-size: 1.25rem; } .mq__track { gap: 24px; } }

/* ---------- صفحة المشروع ---------- */
.project { padding: 10px 0 100px; }
.project__cover { border-radius: 28px; overflow: hidden; margin-bottom: 46px; border: 1px solid rgba(247,246,242,.08); }
.project__cover img { width: 100%; height: auto; display: block; }
.project__body { max-width: 820px; font-size: 1.08rem; }
.project__body p { margin-bottom: 18px; }
.project__body h2, .project__body h3 { color: var(--white); margin: 30px 0 12px; }
.project__body ul, .project__body ol { margin: 0 20px 18px 0; color: var(--muted); }
.project__nav { display: flex; gap: 16px; margin-top: 50px; flex-wrap: wrap; }
.work-card__media img.attachment-large, .work-card__media img.wp-post-image { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.reveal, .split-lines .co-split-inner { opacity: 1 !important; transform: none !important; }
}

/* ستارة دخول الصفحات الداخلية — CSS خالص لا يتجمد */
body.co-inner .co-transition__panel { transform: scaleY(1); transform-origin: bottom; animation: co-curtain-in .75s cubic-bezier(.65,.05,0,1) forwards; }
body.co-inner .co-transition__panel:nth-child(2) { animation-delay: .08s; }
body.co-inner .co-transition__panel:nth-child(3) { animation-delay: .16s; }
@keyframes co-curtain-in { from { transform: scaleY(1); } to { transform: scaleY(0); } }
