/* Advanced Decor - main stylesheet
   Uses logical properties (inline-start/end) so Arabic RTL works automatically. */

:root {
  --navy: #1D2569;
  --navy-2: #2B3590;
  --navy-dark: #10153F;
  --green: #8CC63F;
  --green-hover: #9DD653;
  --green-dark: #4D8A12;
  --green-soft: #EEF7E2;
  --wa: #25D366;
  --ink: #141833;
  --text: #3D4262;
  --muted: #646A8A;
  --line: #E3E6F0;
  --soft: #F5F7FC;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -14px rgba(29, 37, 105, .28);
  --shadow-lg: 0 30px 60px -28px rgba(29, 37, 105, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 80px;
}
html[lang="ar"] { --font: "Cairo", "Tajawal", system-ui, "Segoe UI", Tahoma, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.7; font-size: 16px; overflow-x: hidden; }
html[lang="ar"] body { line-height: 1.9; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.45; letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
button { font: inherit; }
.i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
[dir="rtl"] .flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: 48px; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%); color: #C8CCEA; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.muted { color: var(--muted); }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i:last-child:not(:first-child) { translate: 3px 0; }
[dir="rtl"] .btn:hover .i:last-child:not(:first-child) { translate: -3px 0; }
.btn .i { transition: translate .25s var(--ease); }
.btn-primary { background: var(--green); color: var(--navy-dark); box-shadow: 0 10px 24px -12px rgba(140, 198, 63, .9); }
.btn-primary:hover { background: var(--green-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #05301A; }
.btn-wa:hover { background: #3be07a; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.center-btn { text-align: center; margin-top: 36px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }

/* ---------- Section headings ---------- */
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { margin-bottom: .35em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green-dark); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
html[lang="ar"] .eyebrow { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.eyebrow-light { color: var(--green); }
.lead { font-size: 1.13rem; color: var(--muted); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }
.h-small { font-size: 1.3rem; margin-bottom: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; z-index: -1; }
.site-header.scrolled::before { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(29, 37, 105, .45); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.brand img { flex: none; }
.brand-text strong { display: block; color: var(--navy); font-size: 1.18rem; line-height: 1.15; font-weight: 700; }
.brand-text small { display: block; color: var(--green-dark); font-size: .72rem; font-weight: 500; letter-spacing: .03em; white-space: nowrap; }
.nav-list, .sub { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; transition: color .2s, background .2s; }
.nav-list > li > a:hover { color: var(--navy); background: var(--soft); }
.nav-list > li > a[aria-current="page"], .has-sub.active > a { color: var(--navy); font-weight: 600; }
.nav-list > li > a[aria-current="page"]::after, .has-sub.active > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--green); border-radius: 2px; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-inline-start: -12px; cursor: pointer; color: var(--ink); border-radius: 8px; display: grid; place-items: center; }
.sub-toggle .i { width: 18px; height: 18px; transition: transform .25s; }
.has-sub.open .sub-toggle .i { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); inset-inline-start: -16px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.sub::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .2s; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--soft); }
.sub strong { display: block; font-size: .95rem; font-weight: 600; }
.sub small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.sub-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex: none; }
.sub-all a { justify-content: center; font-weight: 600; color: var(--navy); font-size: .92rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; align-items: center; gap: 8px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; transition: border-color .2s, background .2s; }
.lang-switch:hover { border-color: var(--navy); background: var(--soft); }
.lang-switch[lang="ar"] span { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; }
.lang-switch[lang="en"] span { font-family: "Poppins", "Segoe UI", Arial, sans-serif; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; place-items: center; position: relative; z-index: 70; }
.menu-toggle .i { width: 24px; height: 24px; }
.mt-close { display: none; }
.nav-open .mt-open { display: none; }
.nav-open .mt-close { display: block; }
.nav-mobile-cta { display: none; }
.nav-backdrop { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(380px, 88vw); background: #fff; padding: calc(var(--header-h) + 8px) 20px 28px; transform: translateX(105%); transition: transform .4s var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg); z-index: 60; visibility: hidden; }
  [dir="rtl"] .main-nav { transform: translateX(-105%); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-list > li > a[aria-current="page"]::after, .has-sub.active > a::after { display: none; }
  .nav-list > li > a[aria-current="page"] { background: var(--soft); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; width: 44px; height: 44px; }
  .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px; display: none; }
  .sub::before { display: none; }
  .has-sub.open .sub { display: block; }
  .sub small { display: none; }
  .sub a { align-items: center; padding: 10px 12px; }
  .sub-ic { width: 34px; height: 34px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(16, 21, 63, .5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { display: none; }
  .lang-switch { padding: 8px 11px; }
  .lang-switch .i { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: radial-gradient(900px 520px at 88% 0%, rgba(140, 198, 63, .22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(84, 98, 214, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #C9CDEA; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) clamp(130px, 14vw, 170px); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--green), #C6EA8F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #C9CDEA; font-size: 1.2rem; max-width: 560px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(140, 198, 63, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(140, 198, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 48px); margin: 44px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: #fff; line-height: 1; }
.hero-stats dd { margin: 8px 0 0; font-size: .9rem; color: #AEB3DA; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 28px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); animation: float 7s ease-in-out infinite; }
.chip { position: absolute; display: flex; gap: 8px; align-items: center; background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: .86rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.chip .i { color: var(--green-dark); }
.chip-1 { top: 10%; left: -5%; }
.chip-2 { top: 44%; right: -4%; animation-delay: -2s; }
.chip-3 { bottom: 8%; left: 4%; animation-delay: -4s; }
.chip-4 { top: -4%; right: 12%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 580px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .chip { font-size: .74rem; padding: 7px 10px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .hero-stats { gap: 18px; }
  .hero-stats dd { font-size: .78rem; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Trust row ---------- */
.trust { margin-top: clamp(-110px, -9vw, -80px); position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.trust-item { background: #fff; padding: 28px 24px; display: flex; gap: 16px; align-items: flex-start; }
.trust-item h2 { font-size: 1.05rem; margin-bottom: .3em; }
.trust-item p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }
.trust-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex: none; }
.trust-icon .i { width: 26px; height: 26px; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards-2 { grid-template-columns: 1fr; } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 30px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; text-decoration: none; color: inherit; display: flex; flex-direction: column; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-dark)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
[dir="rtl"] .card::after { transform-origin: right; }
.card:hover::after { transform: scaleX(1); }
.num { position: absolute; top: 16px; inset-inline-end: 22px; font-size: 3rem; font-weight: 800; color: var(--soft); line-height: 1; transition: color .3s; }
.card:hover .num { color: var(--green-soft); }
.card-icon { width: 62px; height: 62px; border-radius: 18px; background: var(--navy); color: var(--green); display: grid; place-items: center; margin-bottom: 22px; transition: background .3s, color .3s, transform .4s var(--ease); flex: none; position: relative; }
.card-icon .i { width: 30px; height: 30px; }
.card:hover .card-icon { background: var(--green); color: var(--navy); transform: rotate(-6deg); }
.card p { color: var(--muted); flex: 1; }
.more { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--navy); margin-top: 8px; }
.more .i { transition: translate .3s var(--ease); }
.card:hover .more .i { translate: 4px 0; }
[dir="rtl"] .card:hover .more .i { translate: -4px 0; }
.mini-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.mini-list li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--ink); }
.mini-list .i { color: var(--green-dark); width: 18px; height: 18px; }
.svc-card p { flex: 0 0 auto; }
.cards-2 .svc-card .more { margin-top: auto; }

/* ---------- Specialist (dark) ---------- */
.specialist::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 198, 63, .22), transparent 65%); inset-inline-end: -160px; top: -160px; pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.specialist .lead { color: #C3C8EA; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--green-dark); background: var(--green-soft); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.checks-light li { color: #E6E8F7; }
.checks-light .i { color: var(--navy-dark); background: var(--green); }
.spec-tiles { display: grid; gap: 18px; }
.spec-tile { display: flex; gap: 20px; align-items: center; padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); transition: transform .35s var(--ease), background .35s; }
.spec-tile:nth-child(2) { margin-inline-start: 36px; }
.spec-tile:nth-child(3) { margin-inline-start: 72px; }
.spec-tile:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); }
[dir="rtl"] .spec-tile:hover { transform: translateX(-6px); }
.spec-tile h3 { margin-bottom: .2em; font-size: 1.25rem; }
.spec-tile p { margin: 0; color: #B9BEE2; font-size: .95rem; }
.spec-icon { width: 66px; height: 66px; border-radius: 18px; background: var(--green); color: var(--navy-dark); display: grid; place-items: center; flex: none; }
.spec-icon .i { width: 32px; height: 32px; }
@media (max-width: 560px) { .spec-tile:nth-child(n) { margin-inline-start: 0; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.section:not(.section-soft) .step { background: var(--soft); border-color: transparent; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: var(--navy-dark); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--green-soft); }
.step-icon { position: absolute; top: 30px; inset-inline-end: 26px; color: var(--navy); opacity: .18; }
.step-icon .i { width: 40px; height: 40px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 55px; inset-inline-start: calc(26px + 50px + 14px); inset-inline-end: -18px; border-top: 2px dashed rgba(77, 138, 18, .45); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }
.sector { position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, var(--navy-2), var(--navy-dark)); color: #C8CCEA; transition: transform .35s var(--ease); isolation: isolate; }
.sector:nth-child(2) { background: linear-gradient(160deg, #2F3A9B, #141A52); }
.sector:nth-child(3) { background: linear-gradient(160deg, #24307F, #0E1239); }
.sector:hover { transform: translateY(-6px); }
.sector h3 { color: #fff; }
.sector p { margin: 0; font-size: .93rem; }
.sector-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(140, 198, 63, .16); color: var(--green); display: grid; place-items: center; margin-bottom: auto; }
.sector-icon .i { width: 28px; height: 28px; }
.sector-bg { position: absolute; inset-inline-end: -26px; top: -20px; color: #fff; opacity: .06; z-index: -1; transition: transform .6s var(--ease); }
.sector-bg .i { width: 170px; height: 170px; }
.sector:hover .sector-bg { transform: rotate(-8deg) scale(1.08); }
.sector h3 { margin-top: 28px; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proj-grid { grid-template-columns: 1fr; } }
.proj { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #E9EDF6; border: 0; padding: 0; cursor: pointer; display: block; width: 100%; text-align: start; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj:hover img { transform: scale(1.06); }
.proj-cap { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(16, 21, 63, .9)); color: #fff; display: grid; gap: 2px; }
.proj-cap strong { font-size: 1.05rem; }
.proj-cap small { color: #C8CCEA; }
.tag { justify-self: start; background: var(--green); color: var(--navy-dark); font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.proj-ph { cursor: default; background: repeating-linear-gradient(135deg, #F1F3F9 0 16px, #EAEEF7 16px 32px); border: 1px solid var(--line); }
.ph-inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--muted); padding: 20px; }
.ph-inner > .i { width: 46px; height: 46px; color: var(--navy); opacity: .35; margin-bottom: 4px; }
.ph-inner strong { color: var(--ink); font-size: 1.02rem; }
.ph-inner span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; background: #fff; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); }
.ph-inner span .i { width: 16px; height: 16px; }
.proj.hide { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filter { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 10px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: all .25s; }
.filter:hover { border-color: var(--navy); }
.filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.note { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; color: var(--muted); margin-bottom: 28px; }
.note .i { color: var(--green-dark); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10, 13, 40, .93); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }

/* before / after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.ba-wrap { margin: 0; }
.ba-wrap figcaption { text-align: center; margin-top: 12px; font-weight: 600; color: var(--ink); }
.ba { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; translate: -50% 0; pointer-events: none; }
.ba-line::after { content: "\2194"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); }
.ba-label { position: absolute; top: 14px; background: rgba(16, 21, 63, .75); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; pointer-events: none; }
.ba-l { left: 14px; } .ba-r { right: 14px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }
.area { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.area p { margin: 0; color: var(--muted); }
.area-pin { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.area-pin .i { width: 26px; height: 26px; }
.area-hq { border-color: var(--green); background: linear-gradient(160deg, #fff, var(--green-soft)); }
.area-hq .area-pin { background: var(--green); color: var(--navy-dark); }
.badge { font-size: .72rem; font-weight: 700; background: var(--navy); color: #fff; padding: 3px 10px; border-radius: 999px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.review { margin: 0; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: #F5B301; }
.review blockquote { margin: 0; color: var(--ink); flex: 1; }
.review figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--muted); }
.review figcaption small { display: block; font-weight: 400; }
.empty { max-width: 640px; margin-inline: auto; text-align: center; padding: clamp(36px, 6vw, 64px); border: 2px dashed var(--line); border-radius: 28px; background: var(--soft); }
.empty-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.empty-icon .i { width: 36px; height: 36px; }
.empty p { color: var(--muted); margin-bottom: 26px; }

/* ---------- CTA band ---------- */
.cta-section { padding-block: 0 clamp(64px, 8vw, 96px); }
.section-soft + .cta-section, .section-dark + .cta-section { padding-top: clamp(64px, 8vw, 96px); }
.cta-box { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%); border-radius: 30px; padding: clamp(36px, 6vw, 68px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; color: #C8CCEA; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(140, 198, 63, .14); inset-inline-end: -140px; top: -200px; z-index: -1; }
.cta-box::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(140, 198, 63, .16); inset-inline-start: -80px; bottom: -120px; z-index: -1; filter: blur(10px); }
.cta-box h2 { color: #fff; }
.cta-box p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 90% 0%, rgba(140, 198, 63, .2), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #C9CDEA; padding-block: clamp(48px, 7vw, 84px) clamp(56px, 7vw, 92px); }
.page-hero-inner { position: relative; max-width: 860px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #C9CDEA; font-size: 1.18rem; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: #9DA3CF; margin-bottom: 22px; }
.crumbs a { color: #fff; text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.hero-icon { width: 70px; height: 70px; border-radius: 20px; background: var(--green); color: var(--navy-dark); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 20px 40px -18px rgba(140, 198, 63, .8); }
.hero-icon .i { width: 36px; height: 36px; }

/* ---------- About ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.stat:nth-child(1) { background: var(--navy); border-color: var(--navy); }
.stat:nth-child(1) strong { color: var(--green); }
.stat:nth-child(1) span { color: #C8CCEA; }
.stat:nth-child(4) { background: var(--green-soft); border-color: #D7EBBD; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
.leader { max-width: 820px; margin-inline: auto; display: flex; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.avatar { width: 120px; height: 120px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; color: var(--green); background: linear-gradient(150deg, var(--navy), var(--navy-dark)); box-shadow: 0 0 0 6px var(--green-soft); font-family: "Poppins", sans-serif; }
.leader h3 { font-size: 1.5rem; margin-bottom: 0; }
.role { color: var(--green-dark); font-weight: 600; }
@media (max-width: 620px) { .leader { flex-direction: column; text-align: center; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.value p { color: var(--muted); margin: 0; }
.licence-box { display: flex; gap: 24px; align-items: flex-start; max-width: 860px; margin-inline: auto; padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: 24px; border: 1px solid var(--line); }
.licence-box h2 { font-size: 1.5rem; }
.licence-box p { margin-bottom: .4em; }
@media (max-width: 560px) { .licence-box { flex-direction: column; } }

/* ---------- Service page ---------- */
.why-card { background: var(--soft); border-radius: 24px; padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); }
.why-card .checks { margin: 0; }
.why-card li { color: var(--text); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { display: flex; gap: 18px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: var(--green); display: grid; place-items: center; flex: none; }
.feature-icon .i { width: 28px; height: 28px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 12px; transition: box-shadow .3s; }
.faq[open] { box-shadow: var(--shadow); }
.faq summary { padding: 20px 24px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--green-dark); transition: transform .3s; flex: none; }
.faq[open] summary .i { transform: rotate(45deg); }
.faq-body { padding: 0 24px 6px; color: var(--muted); }
.other-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .other-svcs { grid-template-columns: 1fr; } }
.other-svc { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .25s, background .25s; }
.other-svc:hover { border-color: var(--green); background: var(--green-soft); }
.other-svc > .i:first-child { color: var(--green-dark); width: 28px; height: 28px; }
.other-svc span { flex: 1; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); position: relative; }
.form-card > h2 { font-size: 1.5rem; margin-bottom: 24px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: 7px; }
.req { color: #CF3B3B; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border: 1.5px solid #D5DAE8; border-radius: 12px; background: #FBFCFE; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background-color: #fff; box-shadow: 0 0 0 4px rgba(140, 198, 63, .28); }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D2569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; }
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: #A0A5BF; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #CF3B3B; background-color: #FFF8F8; }
.err { display: none; color: #C23333; font-size: .84rem; margin-top: 5px; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; color: var(--text) !important; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green-dark); flex: none; }
.photo-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--green-soft); color: var(--text); font-size: .93rem; }
.photo-note p { margin: 0; }
.photo-note .i { color: var(--green-dark); margin-top: 2px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.form-status { margin: 14px 0 0; text-align: center; font-size: .95rem; min-height: 1.4em; }
.form-status.error { color: #C23333; }
.form-status.ok { color: var(--green-dark); }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-success { text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.form-success:focus { outline: none; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: var(--navy-dark); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s var(--ease); }
.success-icon .i { width: 42px; height: 42px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-success p { color: var(--muted); max-width: 480px; margin-inline: auto; margin-bottom: 24px; }
.side-card { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #C8CCEA; border-radius: 26px; padding: clamp(26px, 4vw, 38px); position: sticky; top: calc(var(--header-h) + 20px); }
.side-card h2 { color: #fff; font-size: 1.35rem; }
.side-card h3 { color: #fff; font-size: 1.05rem; }
.side-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 26px 0; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 14px; align-items: center; color: #E6E8F7; }
.next-steps span { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--navy-dark); font-weight: 700; display: grid; place-items: center; flex: none; }
.side-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.side-contact a { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; padding: 8px 0; }
.side-contact .i { color: var(--green); }
.side-contact a:hover { color: var(--green); }
@media (max-width: 960px) { .side-card { position: static; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.c-card { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.c-card h2 { font-size: 1.3rem; }
.c-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.c-card li a { font-weight: 600; text-decoration: none; color: var(--navy); font-size: 1.05rem; }
.c-card li a:hover { color: var(--green-dark); }
.c-card li small { display: block; color: var(--muted); font-size: .82rem; }
.c-card p { color: var(--muted); }
.c-card-wa { background: linear-gradient(160deg, #fff, #EAFBF0); border-color: #BDEFD0; }
.c-card-wa .card-icon { background: var(--wa); color: #fff; }
.office { display: grid; grid-template-columns: 1fr 1.4fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
@media (max-width: 900px) { .office { grid-template-columns: 1fr; } }
.office-info { padding: clamp(28px, 4vw, 44px); }
.office-info h2 { font-size: 1.4rem; }
.addr, .hours { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.addr .i, .hours .i { color: var(--green-dark); margin-top: 3px; }
.map { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(.9); }

/* ---------- Prose (privacy) ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: #A9AFD6; margin-top: 0; }
.skyline { display: block; width: 100%; height: 110px; color: var(--navy-dark); margin-bottom: -1px; }
.footer-main { background: var(--navy-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-block: 40px 44px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--green); display: block; }
.logo-tile { background: #fff; border-radius: 14px; padding: 6px; display: inline-flex; }
.footer-about p { font-size: .94rem; }
.footer-tagline { color: var(--green); font-weight: 600; font-style: italic; }
html[lang="ar"] .footer-tagline { font-style: normal; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C5CAE8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--green); }
.f-contact li, .f-contact a { display: flex; gap: 10px; align-items: center; font-size: .94rem; }
.f-contact .i { color: var(--green); width: 18px; height: 18px; }
.licence { font-size: .88rem; margin-top: 16px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; }
.socials a:hover { background: var(--green); color: var(--navy-dark); border-color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 45; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--wa); color: #05301A; text-decoration: none; font-weight: 700; box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .8); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float .i { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: ring 2.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (max-width: 680px) { .wa-float { width: 58px; padding: 0; justify-content: center; } .wa-float span { display: none; } }
.nav-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- 404 ---------- */
.nf-body { background: var(--soft); }
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 40px 20px; gap: 6px; }
.nf-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 18px 0 0; background: linear-gradient(120deg, var(--navy), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-ar { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-family: "Cairo", sans-serif; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover, .js .step.reveal.in:hover, .js .feature.reveal.in:hover, .js .area.reveal.in:hover { transform: translateY(-5px); transition-delay: 0ms; }
.js .sector.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }
.js .spec-tile.reveal.in:hover { transform: translateX(6px); transition-delay: 0ms; }
[dir="rtl"] .spec-tile.reveal.in:hover { transform: translateX(-6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .cta-section, .skyline { display: none; }
}
