@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/el-messiri-500-700-arabic.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/el-messiri-500-700-latin.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: 'Fraunces';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(../fonts/fraunces-500-600-latin.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';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-400-600-latin.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-400-arabic.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-arabic-400-latin.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-500-arabic.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-arabic-500-latin.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-600-arabic.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-arabic-600-latin.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;
}

/* Al Hayat Homecare — desert sand, palm green, sunset apricot.
   Signature motifs: the arch (a Bahraini doorway = home), the Tree of Life, the pulse line.
   Logical properties throughout so Arabic (rtl) and English (ltr) share one stylesheet. */

:root {
  --sand-50: #fcf8f1;
  --sand-100: #f7f0e4;
  --sand-150: #f2e8d8;
  --sand-200: #eadcc6;
  --sand-300: #dcc6a6;
  --palm-950: #0a2b26;
  --palm-900: #0f3d36;
  --palm-800: #134a41;
  --palm-700: #17594d;
  --palm-600: #1f6b5c;
  --palm-500: #2e8270;
  --palm-100: #deede7;
  --sun-600: #c4662f;
  --sun-500: #e58a4e;
  --sun-400: #eea06c;
  --sun-200: #f7cfae;
  --sun-100: #fbe6d4;
  --ink: #17231f;
  --ink-2: #3d4b46;
  --muted: #626f68;          /* 4.97:1 on sand-50, 4.64:1 on sand-100 (was #69776f, 4.44:1) */
  --sun-700: #a65220;        /* apricot for small TEXT: 5.15:1 on sand-50 */
  --line: #a08a6a;           /* borders of inputs and outlined controls: 3.3:1 on white */
  --focus: #c97a45;          /* focus ring: 3.1:1 on sand, 3.6:1 on palm-900 */
  --wa: #25d366;
  --paper: #fffdf8;
  --sky-top: #fcf1e2;
  --sky-bottom: #f8d8b8;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 54, .06), 0 6px 16px -6px rgba(15, 61, 54, .1);
  --shadow: 0 2px 6px rgba(15, 61, 54, .05), 0 24px 48px -18px rgba(15, 61, 54, .24);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  interpolate-size: allow-keywords;
}

html[lang="ar"] {
  --font-display: "El Messiri", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --lh-body: 1.85;
  --lh-head: 1.32;
  --track-head: 0;
  font-size: 112.5%;
}
html[lang="en"] {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --lh-body: 1.65;
  --lh-head: 1.08;
  --track-head: -0.02em;
  font-size: 106.25%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--sand-50);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Film grain over everything: warmth, not texture you notice. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
a { color: var(--palm-700); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button { font: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100;
  background: var(--palm-900); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ic { width: 20px; height: 20px; flex: none; display: block; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* ---------------------------------------------------------------- type */
.h1, .h2, .h3 {
  font-family: var(--font-display);
  color: var(--palm-900);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}
.h1 { font-size: clamp(2.35rem, 1.3rem + 3.4vw, 4.1rem); font-weight: 600; margin: .35em 0 .45em; }
html[lang="ar"] .h1 { font-weight: 700; font-size: clamp(2.15rem, 1.25rem + 2.7vw, 3.5rem); }
.h1 .h1b { display: block; color: var(--sun-600); }
.h1-page { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.8rem); margin-top: .2em; }
html[lang="ar"] .h1-page { font-size: clamp(2.05rem, 1.25rem + 2.9vw, 3.4rem); }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); font-weight: 600; margin-bottom: .5em; }
html[lang="ar"] .h2 { font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.7rem); }
.h3 { font-size: 1.35rem; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); color: var(--ink-2); max-width: 35em; }
.lead-wide { max-width: 44em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  color: var(--sun-700); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
html[lang="ar"] .eyebrow { font-size: .95rem; letter-spacing: 0; text-transform: none; }
.eyebrow .ic { width: 24px; height: 24px; color: var(--sun-500); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-wa {
  background: var(--palm-700); color: #fff; padding-inline: 10px 22px;
  box-shadow: 0 12px 26px -12px rgba(23, 89, 77, .75);
}
.btn-wa:hover { background: var(--palm-800); box-shadow: 0 16px 30px -12px rgba(23, 89, 77, .8); }
.wa-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.wa-dot .ic { width: 19px; height: 19px; }
.btn-ghost, .btn-call { background: transparent; color: var(--palm-800); border-color: var(--line); }
.btn-ghost:hover, .btn-call:hover { background: var(--sand-150); border-color: var(--palm-500); }
.btn-call .num { font-weight: 500; opacity: .85; font-size: .92em; unicode-bidi: isolate; }
.btn-lg { min-height: 58px; padding: 14px 26px; font-size: 1.04rem; }
.btn-lg.btn-wa { padding-inline: 12px 26px; }
.btn-sm { min-height: 44px; padding: 6px 16px 6px 6px; font-size: .93rem; }
[dir="rtl"] .btn-sm { padding: 6px 6px 6px 16px; }
.btn-sm .wa-dot { width: 30px; height: 30px; }
.btn-light { background: var(--sand-50); color: var(--palm-900); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: var(--sand-50); border-color: rgba(252, 248, 241, .32); }
.btn-ghost-light:hover { background: rgba(252, 248, 241, .08); border-color: rgba(252, 248, 241, .6); }
.btn-block { width: 100%; justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--sand-50) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--sand-200); box-shadow: 0 10px 30px -22px rgba(15, 61, 54, .45); }
.header-in { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--palm-900); flex: none; }
.mark { width: 44px; height: 44px; display: block; overflow: visible; }
.mk-arch, .mk-trunk { fill: none; stroke: var(--palm-700); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-ground { fill: none; stroke: var(--sun-500); stroke-width: 2.6; stroke-linecap: round; }
.mk-leaf { fill: var(--palm-500); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: var(--track-head); }
html[lang="ar"] .brand-name { font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.brand-sub { font-size: .74rem; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
html[lang="ar"] .brand-sub { font-size: .8rem; letter-spacing: 0; text-transform: none; margin-top: 0; }
.nav { margin-inline-start: auto; display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
/* nav rules target the LIST links only (.nav ul a): the menu's CTA buttons are .btn and must keep their styling */
.nav ul a {
  display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  color: var(--ink-2); font-weight: 500; transition: background-color .2s, color .2s;
}
.nav ul a:hover { background: var(--sand-150); color: var(--palm-900); }
.nav ul a[aria-current="page"], .nav ul a.in-section { background: var(--palm-100); color: var(--palm-700); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--palm-800); text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: background-color .2s, border-color .2s;
}
.lang:hover { background: var(--sand-150); border-color: var(--palm-500); }
/* the language label uses a system font so a page never downloads the other language's web font for one word */
.lang[lang="ar"] { font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", sans-serif; font-size: 1rem; }
.lang[lang="en"] { font-family: system-ui, "Segoe UI", Roboto, sans-serif; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--sand-50); cursor: pointer; place-items: center; color: var(--palm-900);
}
.bars { position: relative; width: 20px; height: 12px; display: block; }
.bars i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.bars i:first-child { top: 0; }
.bars i:last-child { top: 10px; }
.nav-open .bars i:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .bars i:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-block: clamp(20px, 4vw, 56px) clamp(64px, 8vw, 112px); overflow: clip; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40vw 40vw at 88% 8%, rgba(229, 138, 78, .2), transparent 70%),
    radial-gradient(30vw 30vw at 6% 72%, rgba(46, 130, 112, .1), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
[dir="rtl"] .hero-glow { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .22s; }
.hero-copy > :nth-child(4) { animation-delay: .34s; }
.hero-copy > :nth-child(5) { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.points .ic-check, .visit-list .ic-check {
  width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--palm-100); color: var(--palm-600);
}
.hero-art { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.hero-scene { width: 100%; height: auto; display: block; overflow: visible; }
[dir="rtl"] .hero-scene { transform: scaleX(-1); }
.h-frame-outer { fill: none; stroke: var(--sand-300); stroke-width: 1.6; stroke-dasharray: 3 9; stroke-linecap: round; }
.h-frame { fill: none; stroke: var(--palm-800); stroke-width: 3; }
.h-ground { stroke: var(--palm-800); stroke-width: 3; stroke-linecap: round; }
.h-sun { fill: var(--sun-400); animation: sunrise 2.6s var(--ease) both .2s; }
@keyframes sunrise { from { transform: translateY(90px); opacity: 0; } }
.h-birds path { fill: none; stroke: var(--palm-800); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.h-birds { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, -10px); } }
.h-dune-far { fill: var(--sand-200); }
.h-dune-near { fill: var(--sand-300); }
.h-trunk { fill: none; stroke: var(--palm-900); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.h-leaf-dark { fill: var(--palm-700); }
.h-leaf-light { fill: var(--palm-500); }
.h-canopy { transform-box: view-box; transform-origin: 200px 380px; animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
.h-pulse, .h-door {
  fill: none; stroke: var(--sun-600); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.h-pulse { animation: draw 2.8s var(--ease) forwards .7s; }
.h-door { animation: draw .7s var(--ease) forwards 3.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chips { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--paper); color: var(--palm-900);
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); border: 1px solid var(--sand-200);
  animation: chipIn .9s var(--ease) both, bob 6s ease-in-out infinite alternate;
}
[dir="rtl"] .chip { padding: 9px 10px 9px 16px; }
.chip .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--sun-100); color: var(--sun-600); }
.chip-1 { top: 30%; inset-inline-start: -6%; animation-delay: 1.3s, 2.2s; }
.chip-2 { top: 50%; inset-inline-end: -5%; animation-delay: 1.6s, 2.5s; }
.chip-3 { bottom: 20%; inset-inline-start: 2%; animation-delay: 1.9s, 2.8s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes bob { to { translate: 0 -8px; } }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding-block: clamp(64px, 9vw, 124px); }
.section-tint { background: var(--sand-100); border-block: 1px solid var(--sand-150); --focus: #b8662f; }   /* 3.7:1 on sand-100 */
.section-top-0 { padding-top: 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .h2 { margin-top: .35em; }
.sec-center { text-align: center; margin-inline: auto; }
.sec-center .eyebrow { justify-content: center; }
.sec-lead { color: var(--ink-2); font-size: 1.1rem; margin: 0; }

/* ---------------------------------------------------------------- service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-grid-even { grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); }
.svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--sand-200); border-radius: var(--radius-lg); padding: 12px 12px 22px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sand-300); }
.svc-arch {
  position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3.3;
  border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #fbe2cd, var(--sand-150));
}
.svc-card:nth-child(even) .svc-arch { background: linear-gradient(180deg, #d9ebe4, var(--sand-150)); }
.svc-arch::after { content: ""; position: absolute; inset: 10px 10px auto; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(23, 89, 77, .16); pointer-events: none; }
.svc-art { width: 66%; height: auto; margin-top: 14%; display: block; overflow: visible; transition: transform .6s var(--ease); }
.svc-card:hover .svc-art { transform: translateY(-4px) scale(1.03); }
.svc-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 10px 0; flex: 1; }
.svc-name { font-family: var(--font-display); font-size: 1.36rem; font-weight: 600; color: var(--palm-900); line-height: 1.25; margin: 0; overflow-wrap: break-word; }
.svc-mini { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.svc-mini li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: .98rem; }
.svc-mini .ic-check { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--palm-100); color: var(--palm-600); flex: none; }
html[lang="ar"] .svc-name { font-weight: 700; }
.svc-sum { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.svc-more { margin-top: auto; padding-top: 12px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--palm-600); font-size: .95rem; }
.svc-more .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-more .ic { transform: translateX(4px); }
[dir="rtl"] .svc-card:hover .svc-more .ic { transform: scaleX(-1) translateX(4px); }
/* nine services: the featured card takes a full row, the other eight fill two rows of four */
.svc-big { grid-column: 1 / -1; flex-direction: row; gap: 10px; }
.svc-big .svc-arch { flex: 0 0 min(46%, 380px); aspect-ratio: auto; min-height: 320px; }
.svc-big .svc-art { width: 62%; margin-top: 18%; }
.svc-big .svc-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 10px; max-width: 760px; }
.svc-big .svc-body { justify-content: center; padding: 22px 22px 12px; }
.svc-big .svc-name { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.svc-big .svc-sum { font-size: 1.08rem; }
.svc-big .svc-more { margin-top: 12px; }

/* ---------------------------------------------------------------- artwork */
.i-bg { fill: rgba(255, 255, 255, .6); }
.i-ln { fill: none; stroke: var(--palm-800); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.i-thin { stroke-width: 2; stroke: var(--palm-600); }
.i-ac { fill: var(--sun-500); }
.i-ac-ln { fill: none; stroke: var(--sun-500); stroke-width: 2.6; stroke-linecap: round; }
.i-soft { fill: var(--sand-200); }
.i-ac-soft { fill: var(--sun-200); stroke: var(--palm-800); stroke-width: 2.2; }
.i-dot { fill: var(--palm-800); }
.js [data-reveal] .i-ln, .js [data-reveal] .i-ac-ln, .js [data-reveal] .step-ic .i-ln {
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease) calc(var(--d, 0ms) + .25s);
}
.js [data-reveal].in .i-ln, .js [data-reveal].in .i-ac-ln { stroke-dashoffset: 0; }
.svc-card.in:hover .i-ln { animation: redraw 1.2s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.svc-hero-art .i-ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s var(--ease) forwards .35s; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- situation buttons (families describe a situation, not a service) */
.tri-sec { position: relative; padding-block: 0 clamp(8px, 2vw, 20px); }
.tri-sec + .section-top-0 { padding-top: clamp(32px, 4vw, 52px); }
.tri-head { max-width: 720px; }
.tri-h { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.95rem); line-height: 1.25; color: var(--palm-900); margin: 0 0 6px; }
html[lang="ar"] .tri-h { font-weight: 700; }
.tri-lead { color: var(--ink-2); margin: 0; }
.tri-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tri {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding-block: 10px; padding-inline: 10px 16px;
  border: 1px solid var(--sand-200); border-radius: 20px; background: var(--paper); color: var(--palm-900);
  text-decoration: none; font-weight: 600; line-height: 1.4; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tri:hover { transform: translateY(-2px); border-color: var(--sand-300); box-shadow: var(--shadow); }
.tri-art { flex: none; width: 50px; height: 50px; border-radius: 16px; background: var(--sand-100); display: grid; place-items: center; }
.tri-svg { width: 46px; height: 46px; }
.tri-t { flex: 1; }
.tri .ic-wa { flex: none; width: 22px; height: 22px; color: #1c9a50; }
.tri-sec .hub-unsure { margin-top: 16px; }

/* ---------------------------------------------------------------- steps */
.steps-wrap { position: relative; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); position: relative; }
.step { position: relative; background: var(--paper); border: 1px solid var(--sand-200); border-radius: var(--radius-lg); padding: 28px 28px 30px; }
/* decorative (aria-hidden): the <ol> carries the order. Uses the page's own display font. */
.step-num {
  position: absolute; top: 20px; inset-inline-end: 24px; font-family: var(--font-display); font-weight: 600;
  font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sun-500);
}
.step-ic { width: 72px; height: 72px; padding: 12px; margin-bottom: 20px; display: block; border-radius: 22px; background: var(--sand-100); border: 1px solid var(--sand-200); overflow: visible; }
.step h3 { font-family: var(--font-display); font-size: 1.36rem; font-weight: 600; color: var(--palm-900); margin: 0 0 8px; line-height: 1.3; }
html[lang="ar"] .step h3 { font-weight: 700; }
.step p { color: var(--ink-2); margin: 0; }
/* service pages repeat the three steps as a short reminder, not a second full-size section */
.steps-compact .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px 22px; }
.steps-compact .step-num { display: none; }
.steps-compact .step-ic { width: 52px; height: 52px; padding: 8px; margin: 0; border-radius: 16px; grid-row: span 2; }
.steps-compact .step h3 { font-size: 1.14rem; margin: 2px 0 4px; }
.steps-compact .step p { font-size: .96rem; }

/* ---------------------------------------------------------------- why + visit card */
.why-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.why-item { display: flex; flex-direction: column; gap: 14px; }
.why-ic { width: 56px; height: 56px; padding: 9px; border-radius: 18px; background: var(--sun-100); overflow: visible; }
.why-item h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--palm-900); margin: 0 0 4px; line-height: 1.3; }
html[lang="ar"] .why-item h3 { font-weight: 700; }
.why-item p { margin: 0; color: var(--ink-2); }
.visit-card {
  position: relative; padding: 34px 30px 30px; border-radius: 28px; border: 1px solid var(--sand-200);
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0 47px, rgba(23, 89, 77, .06) 47px 48px);
  box-shadow: var(--shadow); rotate: -1.4deg;
}
[dir="rtl"] .visit-card { rotate: 1.4deg; }
.visit-card::before {
  content: ""; position: absolute; top: -13px; left: 50%; translate: -50% 0; width: 96px; height: 26px;
  border-radius: 9px; background: var(--palm-800); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2);
}
.visit-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.visit-mark .mark { width: 42px; height: 42px; }
.visit-top h2, .visit-top h3 { font-family: var(--font-display); font-size: 1.36rem; font-weight: 600; color: var(--palm-900); margin: 0; line-height: 1.3; }
html[lang="ar"] .visit-top h2, html[lang="ar"] .visit-top h3 { font-weight: 700; }
.visit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.visit-list li { display: flex; gap: 12px; align-items: center; font-size: 1.02rem; }
.js .visit-card .ic-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease) calc(.35s + var(--i, 0) * .13s); }
.js .visit-card.in .ic-check path { stroke-dashoffset: 0; }

/* ---------------------------------------------------------------- faq */
.faq > .h2 { text-align: center; margin-bottom: 1em; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--sand-200); border-radius: 20px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--sand-300); box-shadow: var(--shadow-sm); }
.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.07rem; color: var(--palm-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .ic-plus { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--palm-100); color: var(--palm-700); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .ic-plus { transform: rotate(45deg); background: var(--sun-100); color: var(--sun-600); }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------------------------------------------------------------- CTA band + form */
.cta-band {
  position: relative; overflow: hidden; color: var(--sand-50); padding-block: clamp(64px, 9vw, 120px);
  /* two palm glows: apricot over dark green mixed into a muddy olive */
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(46, 130, 112, .45), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(46, 130, 112, .35), transparent 62%),
    var(--palm-900);
}
.cta-tree { position: absolute; inset-inline-start: -30px; bottom: -6px; width: min(560px, 70vw); opacity: .16; pointer-events: none; }
[dir="rtl"] .cta-tree { transform: scaleX(-1); }
.cta-band .tree-art .t-dune, .site-footer .tree-art .t-dune { fill: var(--palm-600); }
.cta-band .tree-art .t-trunk, .site-footer .tree-art .t-trunk { stroke: var(--sand-100); }
.cta-band .tree-art .t-canopy, .site-footer .tree-art .t-canopy { fill: var(--palm-500); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.cta-band .h2 { color: var(--sand-50); }
.cta-copy p { color: rgba(252, 248, 241, .8); font-size: 1.15rem; max-width: 30em; }
.req-form {
  background: var(--sand-50); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .45); border: 1px solid var(--sand-200);
}
.form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--palm-900); margin: 0 0 18px; }
html[lang="ar"] .form-title { font-weight: 700; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .88em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field ::placeholder { color: var(--muted); }
/* the site's own focus ring, so a field's focus is visible in every mode, forced colours included */
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--palm-500); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 9px; height: 9px; pointer-events: none;
  border-right: 2px solid var(--palm-700); border-bottom: 2px solid var(--palm-700); translate: 0 -70%; rotate: 45deg;
}
.form-error { color: #b3261e; font-weight: 600; margin: 0 0 12px; }
.form-sent {
  display: flex; gap: 10px; align-items: center; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px;
  background: var(--palm-100); color: var(--palm-800); font-weight: 600; font-size: .95rem; line-height: 1.5;
}
.form-sent .ic-check { width: 22px; height: 22px; flex: none; }
.form-sent[hidden] { display: none; }
.form-note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; text-align: center; line-height: 1.6; }
.form-emergency { font-size: .86rem; color: var(--ink-2); font-weight: 600; margin: 6px 0 0; text-align: center; }
.hub-unsure { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 18px 0 0; color: var(--ink-2); font-weight: 500; }
.hub-unsure a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--palm-700); text-decoration: none; border-bottom: 1.5px solid var(--sun-400); }
.hub-unsure .ic { width: 20px; height: 20px; color: #1c9a50; }
.section-related { border-top: 0; }

/* ---------------------------------------------------------------- inner pages */
.page-hero { position: relative; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px); overflow: clip; }
.page-hero-slim { padding-bottom: clamp(24px, 4vw, 40px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--sand-300); }
.crumbs a { color: var(--palm-600); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.svc-hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc-hero-art { justify-self: center; width: min(100%, 440px); }
.svc-arch-xl {
  display: grid; place-items: center; aspect-ratio: 4 / 4.5; border-radius: 999px 999px 34px 34px;
  background: linear-gradient(180deg, #fbe2cd, var(--sand-150)); border: 1px solid var(--sand-200);
  box-shadow: var(--shadow), inset 0 -40px 60px -40px rgba(23, 89, 77, .2);
}
.svc-art-xl { width: 74%; margin-top: 10%; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.who-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.who-list li { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: var(--paper); border: 1px solid var(--sand-200); border-radius: 18px; }
.who-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sun-100); color: var(--sun-600); display: grid; place-items: center; }
.who-ic .ic { width: 18px; height: 18px; }
.all-link { margin: 32px 0 0; }
.all-link a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--palm-700); text-decoration: none; border-bottom: 1.5px solid var(--sun-400); padding-bottom: 3px; }
.all-link .ic { width: 18px; height: 18px; }
.values { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--paper); border: 1px solid var(--sand-200); border-radius: var(--radius-lg); padding: 30px; }
.value-n { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.8rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sun-500); margin-bottom: 18px; }
.value h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--palm-900); margin: 0 0 8px; }
html[lang="ar"] .value h3 { font-weight: 700; }
.value p { margin: 0; color: var(--ink-2); }
.name-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.name-art { max-width: 440px; justify-self: center; width: 100%; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.c-card {
  display: grid; gap: 4px; align-content: start; padding: 22px; border-radius: 24px; background: var(--paper);
  border: 1px solid var(--sand-200); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--palm-100); color: var(--palm-700); margin-bottom: 10px; }
.c-ic .ic { width: 22px; height: 22px; }
.c-wa .c-ic { background: var(--wa); color: #fff; }
.c-label { font-weight: 600; color: var(--muted); font-size: .9rem; }
.c-num { justify-self: start; unicode-bidi: isolate; font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 600; color: var(--palm-900); }
.c-text { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.c-area { display: flex; gap: 8px; align-items: center; color: var(--ink-2); margin-top: 22px; }
.c-area .ic { color: var(--sun-600); }
.c-legal { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.contact-form { position: sticky; top: calc(var(--header-h) + 20px); }
.prose h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--palm-900); margin: 1.8em 0 .5em; line-height: 1.3; }
.prose p { color: var(--ink-2); }
.nf-in { text-align: center; }
.nf-in .cta-row { justify-content: center; }
.nf-in .lead { margin-inline: auto; }
.nf-art { width: min(300px, 80%); margin: 0 auto; }
.tree-art { display: block; width: 100%; height: auto; }
.cta-tree, .footer-tree { -webkit-mask-image: radial-gradient(70% 80% at 50% 70%, #000 45%, transparent 78%); mask-image: radial-gradient(70% 80% at 50% 70%, #000 45%, transparent 78%); }
.t-dune { fill: var(--sand-200); }
.t-trunk { fill: none; stroke: var(--palm-900); stroke-width: 6; stroke-linecap: round; }
.t-canopy { fill: var(--palm-600); }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; overflow: hidden; background: var(--palm-950); color: rgba(252, 248, 241, .76); padding-top: clamp(56px, 7vw, 96px); }
.footer-tree { position: absolute; inset-inline-end: -40px; bottom: 60px; width: 440px; opacity: .1; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1.3fr 1fr .8fr; gap: 36px; }
.f-brand p { margin: 18px 0 0; max-width: 24em; }
.brand-light { color: var(--sand-50); }
.brand-light .brand-sub { color: rgba(252, 248, 241, .6); }
.brand-light .mk-arch, .brand-light .mk-trunk { stroke: var(--sand-100); }
.brand-light .mk-leaf { fill: var(--sun-500); }
.f-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-400); margin: 0 0 18px; font-weight: 600; }
html[lang="ar"] .f-h { font-size: .95rem; letter-spacing: 0; text-transform: none; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.f-links a, .f-contact a { color: rgba(252, 248, 241, .86); text-decoration: none; transition: color .2s; }
.f-links a:hover, .f-contact a:hover { color: #fff; }
.f-contact li, .f-contact a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.f-contact .ic { width: 18px; height: 18px; color: var(--sun-400); }
.f-contact li:last-child { flex-wrap: nowrap; align-items: flex-start; }
.f-contact li:last-child .ic { margin-top: 4px; }
.f-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(252, 248, 241, .12); margin-top: 52px; padding-block: 22px 30px; font-size: .9rem; }
.f-bottom p { margin: 0; }
.lang-light { color: var(--sand-50); border-color: rgba(252, 248, 241, .28); }
.lang-light:hover { background: rgba(252, 248, 241, .08); border-color: rgba(252, 248, 241, .6); }
.mbar { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav ul a { padding-inline: 10px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  /* the nav is off-canvas here, so it no longer pushes the actions to the edge */
  .js .header-actions { margin-inline-start: auto; }
  .tri-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-big .svc-mini { grid-template-columns: 1fr; }
  /* thumb-sized targets for the footer and breadcrumb links */
  .f-links, .f-contact { gap: 0; }
  .f-links a, .f-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs a { display: inline-block; padding-block: 10px; }
  .crumbs ol { margin-bottom: 8px; align-items: center; }
  /* the off-canvas menu needs JS to open; without JS the links stay visible in the header instead */
  .js .menu-btn { display: inline-grid; }
  html:not(.js) .header-in { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-block: 8px; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; z-index: 49;
    display: flex; flex-direction: column; align-items: stretch; gap: 28px;
    padding: 20px var(--gutter) 120px; background: var(--sand-50); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .js.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-open, .nav-open body { overflow: hidden; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul a { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--sand-200); color: var(--palm-900); }
  .js .nav ul a:hover, .js .nav ul a[aria-current="page"], .js .nav ul a.in-section { background: none; color: var(--sun-700); }
  .js .nav-cta { display: grid; gap: 12px; }
  .nav-cta .btn { justify-content: center; min-height: 56px; }
  .hero-grid, .why-grid, .two-col, .cta-grid, .svc-hero-grid, .contact-grid, .name-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 470px; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .svc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .visit-card, [dir="rtl"] .visit-card { rotate: 0deg; }
  .contact-form { position: static; }
  .svc-hero-art { width: min(100%, 360px); }
}
@media (max-width: 759px) {
  html { scroll-padding-bottom: 96px; }   /* keyboard focus never lands under the sticky bar */
  .hide-sm { display: none; }
  .mbar {
    position: fixed; inset-inline: 10px; bottom: 10px; z-index: 40; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px;
    padding: 7px; border-radius: 20px; background: rgba(15, 61, 54, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45);
    transition: transform .35s var(--ease), opacity .35s;
  }
  /* WhatsApp (the main action) sits on the RIGHT, under the right thumb, in both languages */
  [dir="rtl"] .mbar { grid-template-columns: 1.35fr 1fr; }
  [dir="rtl"] .mbar-wa { order: -1; }
  .nav-open .mbar, .mbar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 600; text-decoration: none; }
  .mbar-call { color: var(--sand-50); background: rgba(255, 255, 255, .08); }
  .mbar-wa { background: var(--wa); color: #06301d; }
  .mbar .ic { width: 20px; height: 20px; }
  body { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .svc-grid, .svc-grid-3, .svc-grid-even { grid-template-columns: 1fr; gap: 12px; }
  /* compact rows on phones: a tall narrow arch beside the text */
  .svc-card, .svc-big { grid-column: auto; flex-direction: row; align-items: stretch; gap: 14px; padding: 10px; border-radius: 24px; }
  .svc-arch, .svc-big .svc-arch { flex: 0 0 104px; aspect-ratio: auto; min-height: 136px; border-radius: 999px 999px 14px 14px; }
  .svc-arch::after { display: none; }
  .svc-art, .svc-big .svc-art { width: 88%; margin-top: 22%; }
  .svc-body, .svc-big .svc-body { padding: 8px 4px 6px; gap: 4px; justify-content: center; }
  .svc-name, .svc-big .svc-name { font-size: 1.16rem; }
  .svc-sum, .svc-big .svc-sum { font-size: .92rem; line-height: 1.55; }
  .svc-more, .svc-big .svc-more { margin-top: 4px; padding-top: 4px; font-size: .9rem; }
  .svc-big .svc-mini { grid-template-columns: 1fr; }
  .svc-big .svc-mini li:nth-child(n+4) { display: none; }
  .why-list, .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .chip { font-size: .8rem; padding-block: 7px; }
  .chip .ic { width: 24px; height: 24px; }
  .chip-1 { inset-inline-start: -2%; }
  .chip-2 { inset-inline-end: -2%; }
  .brand-name { font-size: 1.28rem; }
  html[lang="ar"] .brand-name { font-size: 1.36rem; }
  .mark { width: 40px; height: 40px; }
  .lang { padding-inline: 11px; }
  .faq-item summary { padding: 18px; }
  .faq-a { padding: 0 18px 20px; }
  .svc-hero-art { width: min(100%, 230px); }   /* decoration must not cost a whole phone screen */
  .tri-grid { grid-template-columns: 1fr; gap: 8px; }
  .tri { min-height: 60px; }
  .tri-art { width: 44px; height: 44px; border-radius: 14px; }
  .tri-svg { width: 40px; height: 40px; }
}
@media (max-width: 374px) {   /* the English header needs every pixel at 320 */
  .header-in { gap: 8px; }
  .header-actions { gap: 6px; }
  .brand { gap: 6px; min-width: 0; }
  .mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.1rem; }
  .lang { padding-inline: 8px; }
}
@media (forced-colors: active) {
  .bars i { background: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .h-pulse, .h-door, .i-ln, .i-ac-ln, .ic-check path { stroke-dashoffset: 0 !important; }
}
@media print {
  .site-header, .mbar, .cta-band, .site-footer, .hero-art { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  body::after { display: none; }
}
