/*
Theme Name: Codyssa
Theme URI: https://codyssa.com
Author: Mohamed Elkhateeb
Description: قالب موقع Codyssa — عربي وإنجليزي (تصميم مواقع وبرامج، توريد أجهزة، شبكات وتأمين، كاميرات مراقبة).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: codyssa
*/

/* ========== الألوان والمقاسات (غيّر من هنا) ========== */
:root {
	--navy: #1E1B4B;
	--ink: #14123A;
	--ink-2: #1B1850;
	--indigo: #4F46E5;
	--teal: #14B8A6;
	--teal-d: #0F8F82;
	--grad: linear-gradient(135deg, #4F46E5 0%, #14B8A6 100%);
	--text: #1D2033;
	--muted: #5A6178;
	--line: #E3E5EF;
	--soft: #F5F6FB;
	--white: #fff;
	--radius: 16px;
	--radius-s: 10px;
	--shadow: 0 1px 2px rgba(20, 18, 58, .05), 0 8px 24px rgba(20, 18, 58, .06);
	--shadow-h: 0 2px 4px rgba(20, 18, 58, .06), 0 18px 40px rgba(20, 18, 58, .12);
	--wrap: 1180px;
	--font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font-h: "IBM Plex Sans Arabic", system-ui, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
.lang-en { --font-h: "Poppins", "IBM Plex Sans Arabic", system-ui, sans-serif; }

/* ========== أساسيات ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
.lang-en body, body.lang-en { line-height: 1.65; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
.lang-en h1, .lang-en h2 { letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ========== أزرار ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.3em; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s; font-family: inherit; white-space: nowrap; }
.btn .ico { width: 1.1em; height: 1.1em; }
[dir="rtl"] .btn .ico, [dir="rtl"] .link-more .ico { transform: scaleX(-1); }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .9em 1.6em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .28); }
.btn--primary:hover { box-shadow: 0 10px 26px rgba(79, 70, 229, .36); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; }
.btn--outline { color: var(--navy); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--indigo); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--indigo); font-size: .95rem; }
.link-more .ico { width: 1em; height: 1em; transition: translate .2s; }

/* ========== الهيدر ========== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20, 18, 58, .05); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand img { height: 35px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: .97rem; }
.nav ul a:hover { color: var(--indigo); background: var(--soft); }
.nav ul a[aria-current="page"] { color: var(--indigo); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { font-weight: 600; color: var(--navy); padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; line-height: 1.2; }
.lang-switch:hover { border-color: var(--teal); color: var(--teal-d); }
.lang-ar .lang-switch { font-family: "Poppins", sans-serif; }
.lang-en .lang-switch { font-family: "IBM Plex Sans Arabic", sans-serif; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ========== الهيرو ========== */
.hero { position: relative; background: var(--ink); color: #C9CBE6; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(800px 420px at 85% -10%, rgba(79, 70, 229, .35), transparent 60%),
	radial-gradient(700px 400px at 0% 110%, rgba(20, 184, 166, .22), transparent 60%),
	linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
	linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px; }
.hero__arc { position: absolute; width: 760px; height: 760px; inset-inline-end: -220px; top: -160px; opacity: .22; }
[dir="rtl"] .hero__arc { transform: scaleX(-1); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 96px 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #A7F3EA; font-size: .92rem; font-weight: 500; background: rgba(20, 184, 166, .1); border: 1px solid rgba(20, 184, 166, .28); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(20, 184, 166, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.18; margin-bottom: 22px; }
.lang-ar .hero h1 { line-height: 1.3; }
.grad { background: linear-gradient(90deg, #8B85FF, #2DD4BF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; max-width: 560px; color: #C3C6E4; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* لوحة التيرمينال */
.term { background: rgba(10, 9, 36, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); font-family: var(--mono); font-size: 14px; overflow: hidden; backdrop-filter: blur(6px); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A3769; }
.term__bar i:first-child { background: #FF5F57; } .term__bar i:nth-child(2) { background: #FEBC2E; } .term__bar i:nth-child(3) { background: #28C840; }
.term__bar span { margin-inline-start: 10px; color: #7E80A8; font-size: 12.5px; }
.term__body { padding: 20px 22px 18px; }
.term__cmd { color: #E6E7FA; margin: 0 0 14px; }
.term__cmd .p { color: var(--teal); }
.term__row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); color: #D7D9F5; opacity: 0; animation: rowIn .45s ease forwards; animation-delay: calc(.25s + var(--d) * .14s); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.term__ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(79, 70, 229, .18); color: #A5A0FF; }
.term__ico .ico { width: 17px; height: 17px; }
.term__name { min-width: 76px; }
.term__dots { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .14); transform: translateY(-3px); }
.term__ok { display: inline-flex; align-items: center; gap: 7px; color: #5EEAD4; font-size: 13px; }
.term__ok b { width: 7px; height: 7px; border-radius: 50%; background: #2DD4BF; box-shadow: 0 0 10px #2DD4BF; }
.term__cursor { margin: 14px 0 0; }
.term__cursor .c { display: inline-block; width: 9px; height: 17px; background: var(--teal); vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ========== الأقسام ========== */
.section { padding-block: 96px; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.kicker { display: inline-block; font-weight: 600; font-size: .9rem; color: var(--teal-d); margin-bottom: 10px; letter-spacing: .02em; }
.lang-en .kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }

/* كروت الخدمات */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s; }
[dir="rtl"] .card::before { --origin: right; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover .link-more .ico { translate: 4px 0; }
[dir="rtl"] .card:hover .link-more .ico { translate: -4px 0; }
.card h3 { font-size: 1.22rem; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card__ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: var(--indigo); background: linear-gradient(135deg, rgba(79, 70, 229, .1), rgba(20, 184, 166, .12)); flex: none; }
.card__ico .ico { width: 27px; height: 27px; }
.cards--compact { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cards--compact .card { padding: 22px 20px; align-items: flex-start; }
.cards--compact .card h3 { font-size: 1rem; margin: 14px 0 0; }

/* لماذا */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split__copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.split__copy p { color: var(--muted); font-size: 1.08rem; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why--stack { grid-template-columns: 1fr; }
.why li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: .95rem; margin: 0; }
.why__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #5EEAD4; flex: none; }
.why__ico .ico { width: 22px; height: 22px; }

/* خطوات */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step__n { position: absolute; inset-inline-end: 22px; top: 18px; font-family: var(--mono); font-size: 1.9rem; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.step__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--teal-d); margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* المشاريع */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.project__media { aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.project:hover .project__media img { transform: scale(1.04); }
.project__ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; padding: 20px; text-align: center; background: radial-gradient(400px 220px at 80% 0%, rgba(79, 70, 229, .55), transparent 70%), radial-gradient(360px 220px at 0% 100%, rgba(20, 184, 166, .45), transparent 70%), var(--ink); }
.project__ph .ico { width: 42px; height: 42px; color: #5EEAD4; }
.project__ph span { font-family: var(--font-h); font-weight: 700; font-size: 1.3rem; }
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.project__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.tag { align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--teal-d); background: rgba(20, 184, 166, .1); padding: 3px 10px; border-radius: 999px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* CTA */
.cta { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 36px 36px; pointer-events: none; }
.cta__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 64px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta p { margin: 0; opacity: .92; font-size: 1.08rem; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ========== الصفحات الداخلية ========== */
.page-hero { background: var(--ink); color: #C3C6E4; padding-block: 56px 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(79, 70, 229, .35), transparent 60%), radial-gradient(500px 300px at 0% 120%, rgba(20, 184, 166, .2), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 10px; }
.page-hero .lead { font-size: 1.12rem; max-width: 680px; margin: 0; }
.page-hero--plain { padding-block: 48px; }
.page-hero__row { display: flex; gap: 22px; align-items: center; }
.page-hero__ico { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: 0 10px 30px rgba(79, 70, 229, .35); }
.page-hero__ico .ico { width: 36px; height: 36px; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; margin-bottom: 20px; color: #7E80A8; flex-wrap: wrap; }
.crumbs a { color: #A5A8CF; }
.crumbs a:hover { color: #fff; }

/* قائمة الخدمات */
.svc-list { display: grid; gap: 18px; }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, border-color .2s; }
.svc-row:hover { box-shadow: var(--shadow-h); border-color: transparent; }
.svc-row h2 { font-size: 1.3rem; margin-bottom: 6px; }
.svc-row h2 a { color: var(--navy); }
.svc-row p { color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; background: var(--soft); border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; color: var(--text); }

/* صفحة خدمة */
.svc { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.svc__intro { font-size: 1.15rem; color: var(--text); margin-bottom: 36px; }
.svc__main h2 { font-size: 1.5rem; margin-bottom: 20px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--soft); border-radius: var(--radius-s); padding: 16px 18px; font-weight: 500; }
.checks li span { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks li span .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; position: sticky; top: 100px; }
.box h3 { font-size: 1.2rem; margin: 0; }
.box p { color: var(--muted); font-size: .97rem; margin: 0 0 6px; }
.box--dark { background: var(--ink); border-color: var(--ink); color: #C3C6E4; }
.box--dark h3 { color: #fff; }

/* محتوى نصي */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 1.07rem; }
.post-item { padding-block: 20px; border-bottom: 1px solid var(--line); }

/* تواصل */
.contact { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.contact__form h2 { font-size: 1.6rem; margin-bottom: 22px; }
.contact__list { display: grid; gap: 20px; margin: 8px 0 10px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ico { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #5EEAD4; }
.contact__list small { display: block; color: #8E91BA; font-size: .82rem; }
.contact__list a, .contact__list span { color: #fff; font-weight: 500; }
.contact__note { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; color: #A5A8CF !important; }

/* الفورم */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-weight: 600; font-size: .92rem; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
[dir="rtl"] .form input[dir="ltr"] { text-align: right; }
.form__note { font-size: .88rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.alert { padding: 14px 18px; border-radius: var(--radius-s); font-weight: 500; }
.alert--ok { background: #E6FAF6; color: #0B6B61; border: 1px solid #A7F3EA; }
.alert--err { background: #FDECEC; color: #9B1C1C; border: 1px solid #F8C4C4; }

/* ========== الفوتر ========== */
.site-footer { background: var(--ink); color: #A5A8CF; padding-top: 72px; font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { height: 33px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer a { color: #A5A8CF; }
.site-footer a:hover { color: #fff; }
.site-footer__contact { display: grid; gap: 12px; }
.site-footer__contact li { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .ico { color: #5EEAD4; width: 18px; height: 18px; }
.site-footer__contact .btn { margin-top: 6px; }
.site-footer .btn--light { color: var(--navy); }
.social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.social a { font-size: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; flex-wrap: wrap; }

.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .ico { width: 30px; height: 30px; }

/* ========== شاشات أصغر ========== */
@media (max-width: 1080px) {
	.cards--compact { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: 74px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px; padding: 20px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
	.admin-bar .nav { top: 106px; }
	.site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
	.site-header.is-open .nav-toggle__open { display: none; }
	.site-header.is-open .nav-toggle__close { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav ul a { padding: 14px 6px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__actions { flex-direction: column; align-items: stretch; }
	.nav__actions .btn, .lang-switch { text-align: center; justify-content: center; padding-block: 12px; }
	.hero__in { grid-template-columns: 1fr; gap: 44px; padding-block: 64px 72px; }
	.cards, .projects { grid-template-columns: repeat(2, 1fr); }
	.split, .svc, .contact { grid-template-columns: 1fr; gap: 40px; }
	.box { position: static; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .nav { top: 120px; } }
@media (max-width: 640px) {
	body { font-size: 16px; }
	.section { padding-block: 68px; }
	.cards, .projects, .why, .steps, .checks, .form__row, .site-footer__grid { grid-template-columns: 1fr; }
	.cards--compact { grid-template-columns: 1fr 1fr; }
	.svc-row { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
	.svc-row .btn { justify-self: start; }
	.page-hero__row { flex-direction: column; align-items: flex-start; }
	.term { font-size: 12.5px; }
	.term__body { padding: 16px; }
	.term__name { min-width: 64px; }
	.hero__cta .btn { flex: 1 1 auto; }
	.cta__btns { width: 100%; }
	.cta__btns .btn { flex: 1 1 auto; }
	.form .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.term__row { opacity: 1; }
}
