/* Self-hosted fonts (no internet needed): Plus Jakarta Sans (EN) + IBM Plex Sans Arabic (AR) */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==========================================================
   Khalda Landscaping — website styles
   Light / Dark themes · LTR / RTL (logical properties)
   ========================================================== */
:root {
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --brand: #8CC63F;
  --brand-hover: #9ED64F;
  --on-brand: #0E1A11;
  --deep: #10241A;
  --deep-2: #17301F;
  --header-h: 72px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F7F2;
  --bg-alt: #ECF0E4;
  --surface: #FFFFFF;
  --surface-2: #F2F5EC;
  --ink: #14201A;
  --ink-2: #3F4E45;
  --muted: #66746B;
  --line: rgba(20, 32, 26, .12);
  --brand-ink: #3B7A14;
  --tile: rgba(140, 198, 63, .2);
  --shadow: 0 1px 2px rgba(16, 36, 26, .06), 0 10px 30px -12px rgba(16, 36, 26, .18);
  --shadow-lg: 0 2px 4px rgba(16, 36, 26, .06), 0 28px 60px -24px rgba(16, 36, 26, .35);
  --header-bg: rgba(246, 247, 242, .82);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B120E;
  --bg-alt: #0F1812;
  --surface: #131D17;
  --surface-2: #19261E;
  --ink: #EBF2E6;
  --ink-2: #BAC7BC;
  --muted: #8B9A8F;
  --line: rgba(235, 242, 230, .12);
  --brand-ink: #A6DC5C;
  --tile: rgba(140, 198, 63, .16);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -24px rgba(0, 0, 0, .8);
  --header-bg: rgba(11, 18, 14, .82);
  --deep: #070D0A;
  --deep-2: #0D1A12;
}
html[lang="en"] { --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
html[lang="ar"] { --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; --font-display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  background: var(--bg); color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease);
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.9; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; font-weight: 700; line-height: 1.45; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.ic { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
bdi { unicode-bidi: isolate; }
[dir="rtl"] .arrow-dir { transform: scaleX(-1); }

.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120; background: var(--brand); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[dir="rtl"] .scroll-progress { transform-origin: right; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: .06em; }
html[lang="ar"] .brand-text b { letter-spacing: 0; font-size: 1.5rem; line-height: 1.2; }
.brand-text small { font-size: .62rem; letter-spacing: .32em; color: var(--brand-ink); font-weight: 600; margin-top: 3px; }
html[lang="ar"] .brand-text small { letter-spacing: .02em; font-size: .72rem; margin-top: 0; }
.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text small { color: var(--brand); }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: background-color .2s, color .2s; position: relative; }
.main-nav a:hover { background: var(--tile); color: var(--ink); }
.main-nav a.active { color: var(--ink); background: var(--tile); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang-switch { height: 42px; min-width: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.lang-switch { padding: 0 12px; font-weight: 600; font-size: .9rem; }
.icon-btn:hover, .lang-switch:hover { border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle .i-moon, [data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: inline-flex; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-open { display: none; }
body.nav-open .nav-toggle .i-close { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -10px rgba(140, 198, 63, .8); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 16px 30px -10px rgba(140, 198, 63, .9); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .92rem; border-radius: 12px; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(580px, 88vh, 840px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 20, 13, .92) 0%, rgba(8, 20, 13, .72) 45%, rgba(8, 20, 13, .28) 100%), linear-gradient(0deg, rgba(8, 20, 13, .6), transparent 40%); }
[dir="rtl"] .hero-overlay { background: linear-gradient(-100deg, rgba(8, 20, 13, .92) 0%, rgba(8, 20, 13, .72) 45%, rgba(8, 20, 13, .28) 100%), linear-gradient(0deg, rgba(8, 20, 13, .6), transparent 40%); }
.hero-inner { padding-block: 90px 110px; }
.hero-copy { max-width: 720px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(140, 198, 63, .16); border: 1px solid rgba(140, 198, 63, .45); color: #D6F0A6; font-size: .86rem; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.1; margin-bottom: .45em; font-weight: 800; letter-spacing: -.035em; }
html[lang="ar"] .hero h1 { line-height: 1.4; font-weight: 700; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--brand); }
html[lang="ar"] .hero h1 em { font-style: normal; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 620px; margin-bottom: 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { z-index: 2; position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); display: grid; place-items: center; color: #fff; animation: bob 2.4s ease-in-out infinite; }
[dir="rtl"] .hero-scroll { transform: translateX(50%); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }


/* ---------- Animated hero ---------- */
.hero-slides { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--deep); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; will-change: opacity, transform; transform: scale(1.04); }
.hero-slide.active, .hero-slide.leaving { animation: kb 9s ease-out forwards; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide.leaving { opacity: 0; z-index: 1; }
.hero-slide:nth-child(2n).active, .hero-slide:nth-child(2n).leaving { animation-name: kb2; }
@keyframes kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-1.8%, -1.2%); } }
@keyframes kb2 { from { transform: scale(1.16) translate(1.5%, 1%); } to { transform: scale(1.04) translate(0, 0); } }
.hero-rays { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .8; background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, .06) 32%, transparent 42%, rgba(255, 255, 255, .05) 56%, transparent 66%); background-size: 220% 100%; animation: rays 14s linear infinite; }
@keyframes rays { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.hero-water { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-dots-wrap { position: absolute; inset-inline: 0; bottom: 34px; z-index: 2; pointer-events: none; margin-inline: auto; left: 0; right: 0; }
.hero-dots { display: flex; gap: 10px; pointer-events: auto; width: max-content; }
.hero-dot { position: relative; width: 46px; height: 16px; padding: 0; border: 0; background: transparent; }
.hero-dot::before { content: ""; position: absolute; inset-inline: 0; top: 6px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.hero-dot i { position: absolute; inset-inline-start: 0; top: 6px; height: 3px; width: 0; border-radius: 3px; background: var(--brand); }
.hero-dot.on i { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
@media (max-width: 640px) { .hero-dots-wrap { bottom: 26px; } .hero-dot { width: 34px; } .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-slide.active { animation: none; transform: none; } .hero-rays { animation: none; } .hero-dot.on i { animation: none; width: 100%; } }

/* ---------- Stats ---------- */
.stats-band { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1; color: var(--brand-ink); margin-bottom: 12px; }
.stat-label { font-weight: 600; color: var(--ink); line-height: 1.4; }
.stat-sub { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt, .service-section.alt { background: var(--bg-alt); }
.section-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(140, 198, 63, .12), transparent 60%), var(--deep-2); color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255, 255, 255, .78); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; position: relative; padding-inline-start: 34px; }
.eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 24px; height: 2px; background: var(--brand); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.section-dark .eyebrow { color: var(--brand); }
.section-head.center .eyebrow { padding-inline: 0; }
.section-head.center .eyebrow::before { display: none; }
.lead { font-size: 1.15rem; color: var(--ink-2); line-height: 1.7; }
.mini-title { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 28px 0 14px; }
html[lang="ar"] .mini-title { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.center-title { text-align: center; margin-top: 64px; }

/* icon tile */
.icon-tile { width: 56px; height: 56px; border-radius: 16px; background: var(--tile); color: var(--brand-ink); display: inline-grid; place-items: center; flex: none; }
.icon-tile.sm { width: 42px; height: 42px; border-radius: 12px; }
.section-dark .icon-tile, .why-card .icon-tile { background: rgba(140, 198, 63, .16); color: var(--brand); }

/* grids */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* service cards */
.service-card, .project-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.service-card:hover, .project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.service-img, .project-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.service-img img, .project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover img, .project-card:hover img { transform: scale(1.07); }
.service-tag, .project-area { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; background: rgba(8, 20, 13, .78); color: #fff; backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.service-body, .project-body { padding: 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service-body .icon-tile { margin-bottom: 10px; }
.service-body h3, .project-body h3 { font-size: 1.35rem; margin-bottom: .2em; }
.service-body p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.project-body p { margin: 0 0 12px; font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-ink); font-weight: 600; margin-top: auto; transition: gap .25s var(--ease); }
.service-card:hover .link-arrow, .project-card:hover .link-arrow, .contact-card:hover .link-arrow { gap: 14px; }
.link-arrow.sm { font-size: .9rem; margin-top: 8px; }

/* why / info cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { padding: 34px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(140, 198, 63, .55); }
.why-card .icon-tile { margin-bottom: 22px; }
.why-card h3 { color: #fff; font-size: 1.2rem; }
.why-card p { color: rgba(255, 255, 255, .72); font-size: .97rem; margin: 0; }
.info-card { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s; }
.info-card:hover { transform: translateY(-6px); border-color: var(--brand); }
.info-card .icon-tile { margin-bottom: 20px; }
.info-card h3 { font-size: 1.2rem; }
.info-card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.cards-4.on-dark .info-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.cards-4.on-dark .info-card h3 { color: #fff; }
.cards-4.on-dark .info-card p { color: rgba(255, 255, 255, .72); }
.cards-4.on-dark .info-card .icon-tile { background: rgba(140, 198, 63, .16); color: var(--brand); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 26px; box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: var(--brand); }
.step-num { position: absolute; inset-block-start: 14px; inset-inline-end: 18px; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--brand); opacity: .55; }
.step .icon-tile { margin-bottom: 18px; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* trust */
.trust { padding-block: 56px; }
.trust-title { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
html[lang="ar"] .trust-title { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 960px; margin-inline: auto; }
.trust-chips span { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .95rem; color: var(--ink-2); }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--deep-2), var(--deep)); color: #fff; padding-block: 72px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -140px; top: -200px; background: radial-gradient(circle, rgba(140, 198, 63, .35), transparent 65%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3em; }
.cta-inner p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(900px 380px at 90% 0%, rgba(140, 198, 63, .22), transparent 60%), radial-gradient(700px 300px at 0% 120%, rgba(140, 198, 63, .12), transparent 60%), linear-gradient(135deg, var(--deep-2), var(--deep)); color: #fff; padding-block: 76px 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 860px; margin-bottom: .35em; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 700px; margin: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: rgba(255, 255, 255, .65); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand); }
.subnav-wrap { position: sticky; top: var(--header-h); z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); border: 1px solid transparent; transition: all .2s; }
.subnav a:hover { background: var(--tile); color: var(--ink); }
.subnav a.active { background: var(--brand); color: var(--on-brand); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.about-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.about-text p { color: var(--ink-2); }
.about-text strong { color: var(--ink); }
.quote { margin: 32px 0 0; padding: 26px 28px; border-radius: var(--radius); background: var(--deep-2); color: #fff; position: relative; }
.quote .ic { color: var(--brand); margin-bottom: 8px; }
.quote p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1.12rem; line-height: 1.65; font-weight: 500; }
.about-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.facts { margin: 22px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; text-align: end; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-grid.flip .service-visual { order: 2; }
.service-visual { position: relative; }
.service-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.visual-badge { position: absolute; inset-block-end: -18px; inset-inline-start: 24px; display: inline-flex; gap: 10px; align-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; padding: 12px 20px; border-radius: 14px; box-shadow: var(--shadow); }
.service-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .ic { color: var(--brand-ink); margin-top: 2px; }
.notes { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.notes-head { display: flex; gap: 10px; align-items: center; color: var(--brand-ink); margin-bottom: 20px; }
.notes-head h3 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.notes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; }
.note b { display: block; margin-bottom: 4px; font-size: 1rem; }
.note p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th, .data-table td { padding: 18px 22px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--surface-2); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .data-table thead th { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td { color: var(--ink-2); font-size: .96rem; }
.data-table td:first-child { color: var(--ink); }

/* engineering */
.eng-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 44px; border-top: 1px solid rgba(255, 255, 255, .1); }
.eng-row:first-of-type { border-top: 0; }
.eng-row.flip .eng-copy { order: 2; }
.eng-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--brand); background: rgba(140, 198, 63, .12); border: 1px solid rgba(140, 198, 63, .35); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.eng-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; }
.bullet-list { display: grid; gap: 10px; margin-top: 16px; }
.bullet-list li { position: relative; padding-inline-start: 24px; color: rgba(255, 255, 255, .82); }
.bullet-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); transform: rotate(45deg) scale(.8); }
.legend { display: grid; gap: 12px; margin-top: 18px; }
.legend li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .85); font-size: .97rem; }
.num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: .85rem; display: grid; place-items: center; margin-top: 1px; font-family: var(--font-body); }
.eng-visual { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; }
.fig-note { margin: 12px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .5); text-align: center; }
.stack { display: flex; flex-direction: column; gap: 6px; }
.layer { position: relative; overflow: hidden; padding: 14px 20px; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; color: #fff; min-height: 58px; justify-content: center; }
.layer b { font-size: .98rem; font-family: var(--font-body); }
.layer small { font-size: .82rem; opacity: .85; }
.layer.tall { min-height: 130px; }
.l-media, .l-eng { padding-bottom: 30px; }
.l-plant { background: #3F8B24; }
.l-media { background: #7A5A38; }
.l-filter { background: #7C7F72; }
.l-drain { background: #4F6E7E; }
.l-proof { background: #2E3A40; }
.l-slab { background: #A4A39B; color: #1A1F1B; }
.l-eng { background: #8A6A44; }
.l-native { background: #C2A36F; color: #1D1A12; min-height: 90px; }
.drip-line { position: absolute; inset-inline: 14px; inset-block-end: 12px; height: 0; border-top: 2px dashed rgba(140, 198, 63, .85); }
.drip-line::before, .drip-line::after { content: ""; position: absolute; top: -6px; width: 9px; height: 9px; border-radius: 50%; background: #7EC8FF; }
.drip-line::before { inset-inline-start: 20%; }
.drip-line::after { inset-inline-start: 62%; }
.drain-svg { width: 100%; height: auto; border-radius: 12px; overflow: hidden; }
.sv-sky { fill: #1B3B2A; } .sv-soil { fill: #5B4630; } .sv-roof { fill: #8A5A3C; } .sv-house { fill: #D9D4C7; } .sv-foot { fill: #9C9C94; }
.sv-grass { stroke: #8CC63F; stroke-width: 6; fill: none; stroke-linecap: round; }
.sv-wt { stroke: #7EC8FF; stroke-width: 2.5; stroke-dasharray: 7 6; fill: none; }
.sv-geo { fill: none; stroke: #EDEDE4; stroke-width: 2; stroke-dasharray: 5 4; }
.sv-gravel { fill: rgba(255, 255, 255, .12); } .sv-gravel-dot { fill: #D5D2C4; }
.sv-pipe { fill: #E8EEF2; stroke: #5C9BD1; stroke-width: 3; } .sv-hole { fill: #35546E; }
.sv-outpipe { stroke: #5C9BD1; stroke-width: 9; stroke-linecap: round; }
.sv-manhole { fill: #46565F; stroke: #8CC63F; stroke-width: 2; }
.sv-flow { stroke: #7EC8FF; stroke-width: 3; fill: none; stroke-dasharray: 2 7; stroke-linecap: round; }
.sv-arrow-fill { fill: #7EC8FF; }
.sv-mark circle { fill: #8CC63F; } .sv-mark text { fill: #0E1A11; font: 700 13px var(--font-body); }
.flow { display: grid; gap: 18px; }
.flow-row { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.node { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; text-align: start; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--brand); }
.node b { color: #fff; font-size: .85rem; font-family: var(--font-body); line-height: 1.35; }
.node.accent { background: rgba(140, 198, 63, .16); border-color: var(--brand); }
.flow-arrow { align-self: center; color: rgba(255, 255, 255, .45); transform: rotate(90deg); }
[dir="rtl"] .flow-arrow { transform: rotate(90deg); }
.flow-side { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .8); font-size: .92rem; padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .25); color: #7EC8FF; }
.flow-side span { color: rgba(255, 255, 255, .85); }

/* ---------- Projects ---------- */
.case.section { padding-block: clamp(56px, 7vw, 96px); }
.case.alt { background: var(--bg-alt); }
.case-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.case-grid.flip .case-visual { order: 2; }
.case-visual { position: sticky; top: calc(var(--header-h) + 76px); }
.case-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.case-chip { position: absolute; inset-block-end: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(8, 20, 13, .82); color: #fff; font-weight: 600; padding: 10px 16px; border-radius: 12px; backdrop-filter: blur(8px); }
.case-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.case-facts > div { padding: 14px 18px; border-inline-start: 1px solid var(--line); }
.case-facts > div:first-child { border-inline-start: 0; }
.case-facts dt { font-size: .76rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .case-facts dt { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.case-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.case-copy > p { color: var(--ink-2); }
.cs-box { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-sm); margin-top: 16px; border: 1px solid var(--line); background: var(--surface); }
.cs-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.challenge .cs-icon { background: rgba(224, 142, 54, .16); color: #C77614; }
:root[data-theme="dark"] .challenge .cs-icon { color: #F0A650; }
.solution { border-color: rgba(140, 198, 63, .5); background: linear-gradient(0deg, var(--surface), var(--surface)); }
.solution .cs-icon { background: var(--tile); color: var(--brand-ink); }
.cs-box h4 { margin: 0 0 4px; font-size: 1.02rem; }
.cs-box p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.results { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.result { flex: 1 1 160px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--deep-2); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.result b { font-family: var(--font-display); font-size: 1.9rem; color: var(--brand); line-height: 1.1; text-align: start; }
.result span { font-size: .88rem; color: rgba(255, 255, 255, .78); }

/* toolbar / chips */
.toolbar { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip.active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip .count { font-size: .76rem; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .1); }
.chip.active .count { background: rgba(0, 0, 0, .14); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); min-width: min(100%, 300px); color: var(--muted); transition: border-color .2s; }
.search:focus-within { border-color: var(--brand); }
.search input { flex: 1; border: 0; background: transparent; outline: none; color: var(--ink); font: inherit; font-size: .95rem; min-width: 0; }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.p-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.p-item:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.p-item[hidden] { display: none; }
.p-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.p-cat { font-size: .74rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .02em; }
.p-status { font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(224, 142, 54, .16); color: #B86A12; }
:root[data-theme="dark"] .p-status { color: #F0A650; }
.p-flag { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--brand); color: var(--on-brand); }
.p-item h3 { font-size: 1.12rem; margin: 0; }
.p-place { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .9rem; color: var(--muted); }
.p-scope { margin: 6px 0 0; font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
html[lang="ar"] .p-scope { line-height: 1.8; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: 18px; }
.g-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; cursor: zoom-in; box-shadow: var(--shadow); }
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item[hidden] { display: none; }
.g-cap { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; align-items: center; gap: 8px; padding: 36px 16px 14px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(0deg, rgba(8, 20, 13, .85), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 10, 7, .94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 1200px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin-inline: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: 14px; font-size: .95rem; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background-color .2s, transform .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 28px); padding: 32px; border-radius: var(--radius); background: var(--deep-2); color: #fff; }
.faq-aside h2 { font-size: 1.5rem; }
.faq-aside p { color: rgba(255, 255, 255, .78); }
.faq-groups { display: grid; gap: 44px; }
.faq-group-title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--brand-ink); transition: transform .3s var(--ease); }
.faq-item[open] .faq-plus { transform: rotate(135deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 2px; font-family: var(--font-body); }
html[lang="ar"] .contact-card h3 { font-family: var(--font-display); }
.contact-card p { margin: 0; color: var(--ink-2); }
.reg-card { display: grid; gap: 4px; padding: 20px 24px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--ink-2); font-size: .93rem; }
.reg-card b { color: var(--ink); }
.quote-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.quote-form h2 { font-size: 1.7rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-top: 16px; }
.field span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(140, 198, 63, .22); }
.field input.invalid { border-color: #E5604D; }
.form-error { color: #D9503E; font-weight: 600; margin: 14px 0 0; }
.form-error[hidden] { display: none; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .78); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand p { margin-top: 18px; max-width: 340px; font-size: .96rem; }
.site-footer h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
html[lang="ar"] .site-footer h3 { font-family: var(--font-display); letter-spacing: 0; text-transform: none; font-size: 1.1rem; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--brand); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.footer-contact .ic { color: var(--brand); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.to-top-link { display: inline-flex; align-items: center; gap: 6px; }
.to-top-link:hover { color: var(--brand); }
.wa-float { position: fixed; z-index: 90; inset-inline-end: 22px; inset-block-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .65); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }


/* ---------- Irrigation animation (home) ---------- */
:root[data-theme="light"] { --sc-sky-a: #8FD0FF; --sc-sky-b: #E6F6FF; --sc-sun: #FFD25A; --sc-cloud: #FFFFFF; --sc-cloud-o: .95; --sc-soil-a: #8F6E49; --sc-soil-b: #6C5036; --sc-grass: #67B531; --sc-grass-2: #4E9A24; --sc-water: #2FA8EE; --sc-head: #44505A; --sc-field-bg: #D2C193; --sc-pivot: #6FBF38; --sc-ring: rgba(0,0,0,.09); --sc-leaf: #4FA32A; --sc-star: 0; }
:root[data-theme="dark"] { --sc-sky-a: #060F1A; --sc-sky-b: #16344A; --sc-sun: #EAF0FA; --sc-cloud: #2A4560; --sc-cloud-o: .7; --sc-soil-a: #4B3A28; --sc-soil-b: #33271B; --sc-grass: #2F6C22; --sc-grass-2: #3C8A2C; --sc-water: #7FD3FF; --sc-head: #8793A0; --sc-field-bg: #2E2A1F; --sc-pivot: #2D7A2B; --sc-ring: rgba(255,255,255,.07); --sc-leaf: #3C9A2E; --sc-star: .85; }
.irr-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.irr-tabs { display: grid; gap: 12px; margin-bottom: 26px; }
.irr-tab { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); text-align: start; transition: all .3s var(--ease); width: 100%; }
.irr-tab:hover { border-color: var(--brand); transform: translateX(4px); }
[dir="rtl"] .irr-tab:hover { transform: translateX(-4px); }
.irr-tab.active { border-color: var(--brand); box-shadow: var(--shadow); background: var(--surface); }
.irr-tab.active .icon-tile { background: var(--brand); color: var(--on-brand); }
.irr-tab-text b { display: block; font-size: 1.02rem; font-family: var(--font-display); }
.irr-tab-text small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; margin-top: 2px; }
.irr-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 800 / 480; background: #0c1a12; border: 1px solid var(--line); }
.irr-card > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.irr .scene { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.irr[data-active="sprinkler"] .s-sprinkler, .irr[data-active="drip"] .s-drip, .irr[data-active="pivot"] .s-pivot { opacity: 1; visibility: visible; }
.irr:not(.in-view) .scene * { animation-play-state: paused !important; }
.sk-a { stop-color: var(--sc-sky-a); } .sk-b { stop-color: var(--sc-sky-b); }
.so-a { stop-color: var(--sc-soil-a); } .so-b { stop-color: var(--sc-soil-b); }
.sun { fill: var(--sc-sun); filter: drop-shadow(0 0 14px var(--sc-sun)); }
.stars circle { fill: #fff; opacity: var(--sc-star); animation: twinkle 3s ease-in-out infinite; }
.stars circle:nth-child(2n) { animation-delay: -1.2s; } .stars circle:nth-child(3n) { animation-delay: -2.1s; }
@keyframes twinkle { 50% { opacity: calc(var(--sc-star) * .3); } }
.cloud ellipse { fill: var(--sc-cloud); opacity: var(--sc-cloud-o); }
.cloud.c1 { animation: drift 38s linear infinite alternate; } .cloud.c2 { animation: drift 52s linear infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(60px); } }
.grass-top { fill: var(--sc-grass); }
.tuft { fill: none; stroke: var(--sc-grass-2); stroke-width: 2.4; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.4s ease-in-out infinite alternate; }
@keyframes sway { from { transform: skewX(-6deg); } to { transform: skewX(6deg); } }
.rotor { animation: sweep 4.2s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: scaleX(1); } to { transform: scaleX(-1); } }
.jet { fill: none; stroke: var(--sc-water); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 3 8; animation: jetflow 1s linear infinite; opacity: .95; filter: drop-shadow(0 0 3px var(--sc-water)); }
@keyframes jetflow { to { stroke-dashoffset: -11; } }
.s-head { fill: var(--sc-head); }
.wet { fill: var(--sc-water); opacity: .25; transform-box: fill-box; transform-origin: center; animation: wetpulse 2.8s ease-in-out infinite; }
@keyframes wetpulse { 50% { opacity: .5; transform: scaleX(1.12); } }
.soil-wet { fill: var(--sc-water); opacity: .12; animation: wetpulse 3s ease-in-out infinite; }
.pipe { fill: #2C3338; stroke: rgba(255,255,255,.12); }
.emitter { fill: #4A5560; }
.stem { stroke: var(--sc-grass-2); stroke-width: 4; stroke-linecap: round; fill: none; }
.leaf { fill: var(--sc-leaf); }
.plant { animation: grow 3.6s ease-in-out infinite alternate; }
@keyframes grow { from { transform: scale(.95); } to { transform: scale(1.05); } }
.root { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.8; stroke-linecap: round; }
.drop { transform-box: fill-box; transform-origin: center; fill: var(--sc-water); filter: drop-shadow(0 0 3px var(--sc-water)); animation: dropfall 1.4s ease-in infinite; opacity: 0; }
@keyframes dropfall { 0% { transform: translateY(0) scale(.7); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(40px) scale(1); opacity: 0; } }
.halo { fill: var(--sc-water); opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(3); opacity: 0; } }
.field-bg { fill: var(--sc-field-bg); }
.field { fill: var(--sc-pivot); }
.ring { fill: none; stroke: var(--sc-ring); stroke-width: 2; }
.arm { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wedge { fill: var(--sc-water); }
.wedge.w1 { opacity: .38; } .wedge.w2 { opacity: .22; } .wedge.w3 { opacity: .1; }
.arm-bar { fill: #E7ECEF; stroke: rgba(0,0,0,.25); }
.nz { stroke: var(--sc-water); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 4; animation: jetflow .7s linear infinite; filter: drop-shadow(0 0 2px var(--sc-water)); }
.tower { fill: #39434B; stroke: #E7ECEF; stroke-width: 2; }
.hub { fill: #C7CED3; stroke: #39434B; stroke-width: 3; }
.irr-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(8, 20, 13, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.irr-chip.live { inset-block-start: 14px; inset-inline-start: 14px; }
.irr-chip.weather { inset-block-end: 14px; inset-inline-start: 14px; color: #BFE8FF; }
.irr-chip i { width: 9px; height: 9px; border-radius: 50%; background: #5BE37A; box-shadow: 0 0 0 0 rgba(91,227,122,.7); animation: led 1.8s ease-out infinite; }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgba(91,227,122,.7); } 100% { box-shadow: 0 0 0 10px rgba(91,227,122,0); } }
@media (max-width: 960px) { .irr-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .irr-chip { font-size: .72rem; padding: 6px 10px; } .irr-chip.weather { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; } .reveal[data-d="2"] { transition-delay: .18s; } .reveal[data-d="3"] { transition-delay: .27s; } .reveal[data-d="4"] { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}
@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset-inline: 0; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 16px 20px 24px; gap: 4px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  body.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .header-actions { margin-inline-start: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .cards-3, .about-grid, .service-grid, .eng-row, .case-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid, .service-grid, .eng-row, .case-grid { gap: 36px; }
  .service-grid.flip .service-visual, .eng-row.flip .eng-copy, .case-grid.flip .case-visual { order: 0; }
  .case-visual { position: relative; top: 0; }
  .notes-grid { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr; }
  .case-facts > div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .case-facts > div:first-child { border-top: 0; }
  .subnav-wrap { top: var(--header-h); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  html[lang="ar"] body { font-size: 17px; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero-inner { padding-block: 64px 96px; }
  .why-grid, .cards-4, .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .stat { padding: 28px 16px; }
  .brand-text small { display: none; }
  .lang-switch span { display: none; }
  .lang-switch { padding: 0; width: 42px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .data-table { min-width: 0; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .data-table td { border: 0; padding: 8px 18px; }
  .data-table td::before { content: attr(data-l); display: block; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
  html[lang="ar"] .data-table td::before { letter-spacing: 0; text-transform: none; font-size: .85rem; }
  .masonry { columns: 2 150px; column-gap: 12px; }
  .g-item { margin-bottom: 12px; }
  .g-cap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .wa-float, .scroll-progress, .cta-band { display: none; } }
