/* ==========================================================
   Al-Attawi Contracting — main stylesheet
   Arabic-first (RTL) with logical properties so LTR works too
   ========================================================== */

:root {
  --teal: #02736d;
  --teal-600: #015f5a;
  --teal-700: #034b47;
  --teal-900: #04211f;
  --teal-50: #e8f3f2;
  --navy: #00368d;
  --navy-700: #022a6b;
  --red: #b0070e;
  --sand: #f6f2eb;
  --sand-200: #ece4d6;
  --ink: #0d1b1a;
  --body: #3d4a49;
  --muted: #6b7877;
  --line: #e3e7e6;
  --white: #fff;

  --font-head: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(4, 33, 31, .18);
  --shadow-lg: 0 30px 60px -20px rgba(4, 33, 31, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.85;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
html[dir="ltr"] .flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(2, 115, 109, .7); }
.btn-primary:hover { background: var(--teal-600); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-white { background: #fff; color: var(--teal-700); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: #fff; color: var(--teal-700); }

/* ---------- Eyebrow & titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  color: var(--teal); letter-spacing: .02em; margin-bottom: 1rem;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.eyebrow .dot { width: 26px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--teal) 0 50%, var(--navy) 50%); }
.eyebrow-light { color: #9fe0d8; }

.section-title { font-size: clamp(1.75rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
.section-title em, .hero-title em { font-style: normal; color: var(--teal); }
.section-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(36px, 5vw, 60px); align-items: end; }
.section-sub { color: var(--muted); max-width: 560px; margin: 0; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.1fr 1fr; } }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .25);
  --header-h: 68px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; margin-inline-end: auto; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; color: #fff; font-weight: 700; transition: color .3s; }
.brand-text small { font-size: .72rem; color: rgba(255, 255, 255, .75); transition: color .3s; }
.is-scrolled .brand-text strong { color: var(--ink); }
.is-scrolled .brand-text small { color: var(--muted); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
  position: relative; padding: .5em .85em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: rgba(255, 255, 255, .9);
  transition: color .25s, background .25s;
}
.nav a:not(.btn):hover { background: rgba(255, 255, 255, .12); color: #fff; }
.is-scrolled .nav a:not(.btn) { color: var(--ink); }
.is-scrolled .nav a:not(.btn):hover { background: var(--teal-50); color: var(--teal); }
.nav a.is-current { color: #fff; background: rgba(255,255,255,.14); }
.is-scrolled .nav a.is-current { color: var(--teal); background: var(--teal-50); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  min-width: 44px; height: 40px; padding: 0 .8rem; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  transition: all .25s;
}
.lang-toggle:hover { background: rgba(255,255,255,.12); }
.is-scrolled .lang-toggle { color: var(--teal); border-color: var(--line); }
.is-scrolled .lang-toggle:hover { background: var(--teal-50); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); position: relative; }
.menu-toggle span { position: absolute; inset-inline-start: 12px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s, background .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.is-scrolled .menu-toggle { background: var(--teal-50); }
.is-scrolled .menu-toggle span { background: var(--teal-700); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: .3rem;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: radial-gradient(120% 80% at 100% 0%, var(--teal-700), var(--teal-900) 70%);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav a:not(.btn) { color: #fff !important; font-size: 1.5rem; font-weight: 600; padding: .45em .2em; border-radius: 0; background: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta-mobile { display: inline-flex; margin-top: 1.5rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .brand-text strong { color: #fff; }
  body.menu-open .brand-text small { color: rgba(255,255,255,.7); }
  body.menu-open .lang-toggle { color: #fff; border-color: rgba(255,255,255,.4); }
  body.menu-open .menu-toggle { background: rgba(255,255,255,.12); }
  body.menu-open .menu-toggle span { background: #fff; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: .95rem; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 40px);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 33, 31, .55) 0%, rgba(4, 33, 31, .2) 35%, rgba(4, 33, 31, .85) 78%, rgba(4, 33, 31, .97) 100%),
    linear-gradient(90deg, rgba(2, 75, 71, .45), rgba(0, 54, 141, .25));
}
.hero-pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='%23fff'%3E%3Crect x='6' y='6' width='24' height='24' rx='5'/%3E%3Crect x='34' y='34' width='24' height='24' rx='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 85%);
          mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 85%);
}
.hero-content { padding-bottom: clamp(32px, 5vw, 56px); }
.hero-title {
  color: #fff; font-weight: 800;
  font-size: clamp(2.3rem, 6.6vw, 5rem); line-height: 1.18; letter-spacing: -.015em;
  max-width: 15ch; margin-bottom: .45em;
}
html[lang="en"] .hero-title { max-width: 17ch; line-height: 1.08; }
.hero-title em { color: transparent; background: linear-gradient(90deg, #5fe1cf, #7fb2ff); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 640px; color: rgba(255, 255, 255, .85); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-stats-wrap { padding-bottom: clamp(20px, 4vw, 40px); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}
.hero-stats li { padding: 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .15rem; }
.hero-stats li + li { border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.hero-stats b { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; display: inline-flex; align-items: baseline; gap: .15em; align-self: flex-start; }
.hero-stats b small { font-size: .45em; font-weight: 600; color: #9fe0d8; }
.hero-stats span:not(.count) { font-size: .88rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li { padding: 1rem 1.1rem; }
  .hero-stats li:nth-child(3) { border-inline-start: 0; }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ==========================================================
   CLIENTS MARQUEE
   ========================================================== */
.clients { padding: clamp(36px, 5vw, 56px) 0; background: var(--white); border-bottom: 1px solid var(--line); }
.clients-title { text-align: center; color: var(--muted); font-family: var(--font-head); font-size: .9rem; font-weight: 500; margin-bottom: 1.6rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: clamp(48px, 6vw, 72px); width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); }
.about-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.05fr; } }
.about-media { position: relative; padding-bottom: 18%; padding-inline-end: 14%; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.about-img-main img, .about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sub {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 52%; aspect-ratio: 4/3;
  border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; top: 8%; inset-inline-start: -14px;
  background: var(--teal); color: #fff; padding: 1rem 1.3rem; border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px -14px rgba(2, 115, 109, .8);
  display: flex; flex-direction: column; line-height: 1.2;
}
.about-badge b { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.about-badge span { font-size: .8rem; opacity: .85; }
@media (max-width: 600px) { .about-badge { inset-inline-start: 10px; } }

.mv-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 600px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .3s var(--ease), box-shadow .3s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mv-card h3 { font-size: 1.15rem; margin-top: .8rem; }
.mv-card p { font-size: .93rem; margin: 0; color: var(--muted); }
.mv-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal); font-size: 1.15rem; }

.goals { display: grid; gap: 1rem; margin-top: clamp(48px, 7vw, 80px); }
@media (min-width: 800px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goals li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.goal-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--teal); line-height: 1; padding-top: .2rem; }
.goals h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.goals p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; padding: 1.8rem; border-radius: var(--radius); background: var(--sand);
  border: 1px solid transparent; overflow: hidden;
  transition: transform .35s var(--ease), background .35s, box-shadow .35s, border-color .35s;
}
.service-card::after {
  content: ""; position: absolute; inset-inline-end: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 28px;
  background: var(--teal); opacity: 0; transform: rotate(15deg) scale(.6); transition: all .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.service-card:hover::after { opacity: .08; transform: rotate(15deg) scale(1); }
.service-card h3 { font-size: 1.2rem; margin: 1.1rem 0 .5rem; }
.service-card p { font-size: .94rem; color: var(--muted); margin: 0; }
.svc-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--teal); font-size: 1.4rem; box-shadow: 0 6px 16px -8px rgba(4, 33, 31, .25); transition: background .3s, color .3s; }
.service-card:hover .svc-icon { background: var(--teal); color: #fff; }

.service-feature { padding: 0; min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--teal-900); }
@media (min-width: 640px) { .service-feature { grid-column: span 2; } }
@media (min-width: 1024px) { .service-feature { grid-column: span 2; grid-row: span 2; min-height: 100%; } }
.service-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,33,31,.05) 20%, rgba(4,33,31,.92)); }
.service-feature:hover { background: var(--teal-900); }
.service-feature:hover img { transform: scale(1.05); }
.service-feature-body { position: relative; z-index: 2; padding: clamp(1.5rem, 3vw, 2.5rem); max-width: 620px; }
.service-feature h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin-top: .8rem; }
.service-feature p { color: rgba(255,255,255,.85); font-size: 1rem; }
.tag { display: inline-block; padding: .3em .9em; border-radius: 999px; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 600; font-family: var(--font-head); }

/* ==========================================================
   PROCESS
   ========================================================== */
.process { background: var(--teal-900); color: rgba(255,255,255,.8); overflow: hidden; isolation: isolate; }
.process-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/hero-glass.webp") center/cover;
  opacity: .12; filter: grayscale(1);
}
.process::after {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,115,109,.5), transparent 70%); top: -200px; inset-inline-start: -200px;
}
.section-head-light .section-title { color: #fff; }
.section-head-light .section-title em { color: #5fe1cf; }
.section-head-light .section-sub { color: rgba(255,255,255,.7); }
.steps { display: grid; gap: 1.2rem; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 2rem 1.8rem; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .3s, transform .35s var(--ease);
}
.step:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.step h3 { color: #fff; font-size: 1.25rem; }
.step p { margin: 0; font-size: .95rem; }
.step-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.2rem;
  border-radius: 16px; background: linear-gradient(135deg, var(--teal), var(--navy));
  font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.1rem;
}
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 59px; inset-inline-end: -1.2rem; width: 1.2rem; height: 2px;
    background: repeating-linear-gradient(90deg, #5fe1cf 0 4px, transparent 4px 8px);
  }
}

/* ==========================================================
   PROJECTS GALLERY
   ========================================================== */
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters { justify-content: flex-end; flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.filter {
  flex-shrink: 0; padding: .55em 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--ink);
  transition: all .25s;
}
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }

.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px; grid-auto-flow: dense;
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand-200);
  transition: opacity .4s, transform .4s var(--ease);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,33,31,.88)); transition: opacity .35s; }
.g-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem;
  color: #fff; display: flex; flex-direction: column; line-height: 1.4;
  transform: translateY(6px); transition: transform .35s var(--ease);
}
.g-item figcaption b { font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.g-item figcaption span { font-size: .78rem; opacity: .8; margin-top: .2rem; }
.g-item:hover img { transform: scale(1.07); }
.g-item:hover figcaption { transform: none; }
.g-item.is-hidden { display: none; }
@media (max-width: 699px) {
  .g-item figcaption { padding: .7rem .8rem; }
  .g-item figcaption b { font-size: .82rem; }
  .g-item figcaption span { display: none; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 18, 17, .95);
  display: flex; align-items: center; justify-content: center; padding: 60px 16px;
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox img { max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; text-align: center; font-family: var(--font-head); }
.lightbox figcaption span { display: block; font-family: var(--font-body); color: rgba(255,255,255,.65); font-size: .9rem; }
.lb-close, .lb-nav {
  position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.8rem; line-height: 1;
  transition: background .25s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: 16px; translate: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }
@keyframes fade { from { opacity: 0; } }

/* ==========================================================
   TIMELINE
   ========================================================== */
.journey { background: var(--sand); }
.timeline { display: grid; gap: 1.2rem; position: relative; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 3.5rem; }
  .timeline::before { content: ""; position: absolute; top: 14px; inset-inline: 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--navy)); opacity: .35; }
  .timeline li::before { content: ""; position: absolute; top: -3.5rem; margin-top: 6px; inset-inline-start: 1.6rem; width: 18px; height: 18px; border-radius: 6px; background: var(--teal); box-shadow: 0 0 0 6px var(--sand), 0 0 0 7px rgba(2,115,109,.35); transform: rotate(45deg); }
  .timeline li:last-child::before { background: var(--navy); }
}
@media (max-width: 899px) {
  .timeline { padding-inline-start: 28px; }
  .timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 8px; width: 2px; background: linear-gradient(180deg, var(--teal), var(--navy)); opacity: .35; }
  .timeline li::before { content: ""; position: absolute; top: 2rem; inset-inline-start: -27px; width: 16px; height: 16px; border-radius: 5px; background: var(--teal); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--sand); }
}
.timeline li { position: relative; background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.timeline li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tl-year { display: inline-block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: .8rem; background: linear-gradient(90deg, var(--teal), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ==========================================================
   STRATEGY
   ========================================================== */
.strategy-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .strategy-grid { grid-template-columns: 1fr 1fr; } }
.strategy-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; }
.strategy-media img { width: 100%; height: 100%; object-fit: cover; }
.strategy-media figcaption {
  position: absolute; inset-inline-start: 1rem; bottom: 1rem; padding: .6rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--ink);
}
.focus { padding-inline-start: 1.2rem; border-inline-start: 3px solid var(--teal); margin-bottom: 1.4rem; }
.focus:nth-of-type(2) { border-color: var(--navy); }
.focus h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.focus p { color: var(--muted); margin: 0; font-size: .95rem; }
.partners-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 2rem 0 .8rem; }
.partner-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
html[dir="rtl"] .partner-chips { justify-content: flex-end; }
.partner-chips li { padding: .55em 1.1em; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }

/* ==========================================================
   TEAM
   ========================================================== */
.team { background: linear-gradient(180deg, #fff, var(--sand)); }
.team-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(5, 1fr); gap: 1.2rem; } }
.member { background: #fff; border-radius: var(--radius); padding: .7rem .7rem 1.2rem; border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-photo { aspect-ratio: 1/1.1; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--teal-50), var(--sand-200)); margin-bottom: 1rem; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.05); }
.member h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.member .role { font-size: .84rem; color: var(--teal); margin: 0; font-weight: 500; }
@media (max-width: 759px) { .team-grid .member:last-child { grid-column: 1 / -1; max-width: calc(50% - .5rem); margin-inline: auto; width: 100%; } }

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band { padding: 0 0 clamp(60px, 8vw, 100px); background: var(--sand); }
.cta-inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-700) 50%, var(--navy) 100%);
  color: rgba(255,255,255,.85);
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='%23fff'%3E%3Crect x='6' y='6' width='24' height='24' rx='5'/%3E%3Crect x='34' y='34' width='24' height='24' rx='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
html[dir="rtl"] .cta-inner::before { -webkit-mask-image: linear-gradient(-90deg, transparent 30%, #000); mask-image: linear-gradient(-90deg, transparent 30%, #000); }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } }
@media (max-width: 520px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { background: #fff; }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-form { position: sticky; top: calc(var(--header-h) + 20px); } }
.contact-info > p { color: var(--muted); }
.contact-list { display: grid; gap: .8rem; margin: 1.8rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--radius-sm); background: var(--sand); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.contact-list b { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.5; word-break: break-word; }
.contact-list a:hover { color: var(--teal); }
.ci { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--teal); color: #fff; font-size: 1.1rem; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--sand-200); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-btn { position: absolute; bottom: 14px; inset-inline-start: 14px; }

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: calc(var(--radius) + 4px);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.form-note { color: var(--muted); font-size: .9rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sand);
  transition: border-color .25s, background .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2302736d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 1em center; padding-inline-end: 2.5em;
}
html[dir="ltr"] .field select { background-position: right 1em center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(2,115,109,.12); }
.field input.invalid { border-color: var(--red); }
.form-error { color: var(--red); font-size: .88rem; margin: .8rem 0 0; text-align: center; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.65); padding-top: clamp(56px, 7vw, 80px); font-size: .93rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; padding-bottom: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { width: 170px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a:hover { color: #5fe1cf; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.to-top { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .25s; }
.to-top:hover { background: var(--teal); color: #fff !important; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-start: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; inset-inline-start: 14px; } .wa-float svg { width: 28px; height: 28px; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================
   Reveal animations
   ========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   UX ENHANCEMENTS
   ========================================================== */
html { -webkit-tap-highlight-color: transparent; }
.btn:active, .filter:active, .chip:active, .mobile-bar a:active { transform: scale(.97); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Scroll progress */
.scroll-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.is-scrolled .scroll-progress { opacity: 1; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--teal), var(--navy)); }
html[dir="rtl"] .scroll-progress span { transform-origin: right; }

/* Header hides while reading down, returns on scroll up */
.site-header { transition: background .35s, box-shadow .35s, height .35s, transform .35s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { transform: none; }

/* Language toggle labels */
.lt-short { display: none; }
@media (max-width: 420px) { .lt-long { display: none; } .lt-short { display: inline; } }

/* Current section marker in mobile menu */
@media (max-width: 1080px) {
  .nav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; }
  .nav a.is-current::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #5fe1cf; transform: rotate(45deg); }
}

/* Service request links */
.svc-link {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 1.1rem; position: relative; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--teal);
  padding: .35em 0; border-bottom: 1.5px solid transparent; transition: gap .25s, border-color .25s;
}
.svc-link:hover { gap: .7em; border-color: currentColor; }
.service-feature .svc-link { color: #9fe0d8; }
.service-card { display: flex; flex-direction: column; }
.service-card > p { flex: 1; }
.service-feature { flex-direction: row; }

/* Compact service cards on phones: icon beside title */
@media (max-width: 639px) {
  .service-card:not(.service-feature) { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.3rem; }
  .service-card:not(.service-feature) .svc-icon { width: 48px; height: 48px; grid-row: span 2; }
  .service-card:not(.service-feature) h3 { margin: .2rem 0 .3rem; align-self: center; }
  .service-card:not(.service-feature) p, .service-card:not(.service-feature) .svc-link { grid-column: 2; }
  .service-card:not(.service-feature) .svc-link { margin-top: .6rem; justify-self: start; }
  .service-feature { min-height: 420px; }
}

/* Filter counts */
.filter { display: inline-flex; align-items: center; gap: .45em; }
.fc { min-width: 1.6em; padding: 0 .4em; border-radius: 999px; background: var(--sand); color: var(--muted); font-size: .75em; line-height: 1.6; text-align: center; }
.filter.is-active .fc { background: rgba(255,255,255,.22); color: #fff; }

/* Gallery "show more" */
.g-item.is-collapsed { display: none; }
.g-item.is-entering { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.gallery-more { display: flex; justify-content: center; margin-top: 1.6rem; }
.gallery-more[hidden] { display: none; }
.g-item::before {
  content: ""; position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302736d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/18px no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.g-item:hover::before, .g-item:focus-visible::before { opacity: 1; transform: none; }

/* Lightbox counter */
.lb-count { position: absolute; top: 24px; inset-inline-start: 24px; color: rgba(255,255,255,.75); font-family: var(--font-head); font-size: .9rem; direction: ltr; }
.lightbox img { transition: opacity .25s; }
.lightbox img.is-loading { opacity: .3; }

/* Copy buttons + toast */
.contact-list li { position: relative; }
.contact-list li > div { flex: 1; min-width: 0; }
.copy-btn {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted);
  display: grid; place-items: center; transition: color .2s, border-color .2s, background .2s;
}
.copy-btn:hover { color: var(--teal); border-color: var(--teal); }
.copy-btn.is-done { background: var(--teal); color: #fff; border-color: var(--teal); }
.toast {
  position: fixed; z-index: 400; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); translate: -50% 20px;
  background: var(--ink); color: #fff; padding: .7em 1.3em; border-radius: 999px; font-size: .9rem; font-family: var(--font-head);
  opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); box-shadow: var(--shadow-lg); white-space: nowrap;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* Form */
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.contact-form legend { font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--ink); margin-bottom: .55rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--sand);
  font-size: .86rem; font-weight: 500; color: var(--body); line-height: 1.5; transition: all .2s;
}
.chip:hover span { border-color: var(--teal); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 6px 14px -8px rgba(2,115,109,.8); }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.req { color: var(--red); font-style: normal; }
.opt { color: var(--muted); font-weight: 400; font-size: .8em; }
.field-error { display: none; color: var(--red); font-size: .8rem; line-height: 1.4; }
.field.has-error .field-error { display: block; }
.field.has-error input { border-color: var(--red); background: #fff7f7; }
.field.is-valid input { border-color: #7cc9bf; }
.char-count { align-self: flex-end; color: var(--muted); font-size: .75rem; }
.form-hint { text-align: center; color: var(--muted); font-size: .85rem; margin: .9rem 0 0; }
.form-hint a { color: var(--teal); font-weight: 600; }
.contact-form.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow-lg); } 30% { box-shadow: 0 0 0 4px rgba(2,115,109,.35), var(--shadow-lg); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field.has-error input.shake { animation: shake .35s; }
.form-success { text-align: center; padding: 2rem .5rem; outline: none; }
.form-success[hidden] { display: none; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--teal-50); color: var(--teal); font-size: 2rem; margin-bottom: 1rem; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-success p { color: var(--muted); max-width: 380px; margin-inline: auto; }
.success-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.2rem; }

/* Team: swipeable row on phones */
@media (max-width: 759px) {
  .team-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-grid .member { flex: 0 0 62%; scroll-snap-align: start; }
  .team-grid .member:last-child { max-width: none; margin: 0; grid-column: auto; }
  .team-grid .member.reveal { opacity: 1; transform: none; }
}
.swipe-hint { display: none; align-items: center; justify-content: center; gap: .4em; color: var(--muted); font-size: .82rem; margin-top: .2rem; }
@media (max-width: 759px) { .swipe-hint { display: flex; } }

/* Mobile quick-action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; z-index: 95; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; padding: 6px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 40px -16px rgba(4,33,31,.45);
    transition: transform .4s var(--ease), opacity .3s;
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px;
    border-radius: 14px; color: var(--teal-700); font-family: var(--font-head); font-size: .74rem; font-weight: 600; line-height: 1.2;
    transition: background .2s, transform .15s;
  }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar .mb-wa { color: #1aa851; }
  .mobile-bar .mb-primary { flex-direction: row; gap: .5em; background: var(--teal); color: #fff; font-size: .9rem; }
  .mobile-bar.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body.menu-open .mobile-bar { transform: translateY(140%); opacity: 0; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* ==========================================================
   LIGHT MOTION
   Subtle, transform/opacity-only. All of it is disabled by the
   prefers-reduced-motion rule above.
   ========================================================== */

/* Header drops in on first load */
@keyframes drop-in { from { transform: translateY(-100%); opacity: 0; } }
.site-header { animation: drop-in .8s var(--ease) backwards; }

/* Hero: soft drifting light orbs (gradients, no blur filter = cheap) */
.hero-orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-orbs span { position: absolute; border-radius: 50%; opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.hero-orbs span:nth-child(1) { width: 46vmax; height: 46vmax; top: -18vmax; inset-inline-end: -12vmax; background: radial-gradient(circle, rgba(2,115,109,.55), transparent 65%); }
.hero-orbs span:nth-child(2) { width: 38vmax; height: 38vmax; bottom: -16vmax; inset-inline-start: -10vmax; background: radial-gradient(circle, rgba(0,54,141,.45), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.hero-orbs span:nth-child(3) { width: 22vmax; height: 22vmax; top: 30%; left: 45%; background: radial-gradient(circle, rgba(95,225,207,.18), transparent 65%); animation-duration: 18s; animation-delay: -3s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, -2vh, 0) scale(.95); }
}

/* Hero highlighted word: slow colour shimmer */
.hero-title em { background-image: linear-gradient(90deg, #5fe1cf, #7fb2ff, #5fe1cf); background-size: 200% 100%; animation: shimmer 7s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }

/* Hero stats: gentle glow sweep across the glass panel, once */
.hero-stats { position: relative; overflow: hidden; }
.hero-stats::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%);
  transform: translateX(-100%);
}
.hero-stats.is-visible::after { animation: sweep 1.8s .6s var(--ease) both; }
@keyframes sweep { to { transform: translateX(100%); } }

/* Eyebrow accent bar grows in */
.eyebrow.reveal .dot { transform: scaleX(0); transform-origin: right; transition: transform .7s .25s var(--ease); }
html[dir="ltr"] .eyebrow.reveal .dot { transform-origin: left; }
.eyebrow.reveal.is-visible .dot { transform: none; }

/* Section titles: highlighter sweep behind the coloured words */
.section-title em {
  background-image: linear-gradient(rgba(2,115,109,.14), rgba(2,115,109,.14));
  background-repeat: no-repeat; background-position: 100% 88%; background-size: 0% .32em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s .45s var(--ease);
}
html[dir="ltr"] .section-title em { background-position: 0 88%; }
.section-head-light .section-title em { background-image: linear-gradient(rgba(95,225,207,.18), rgba(95,225,207,.18)); }
.section-title.is-visible em, .cta-inner h2 em { background-size: 100% .32em; }

/* Images settle in (slight zoom-out) as their block appears */
.about-media.reveal img, .strategy-media.reveal img, .service-feature.reveal img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.about-media.reveal.is-visible img, .strategy-media.reveal.is-visible img, .service-feature.reveal.is-visible img { transform: none; }
.service-feature.reveal.is-visible:hover img { transform: scale(1.05); }

/* Founded badge floats softly */
.about-badge { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Service icons: small tilt on hover */
.svc-icon svg, .mv-icon svg { transition: transform .4s var(--ease); }
.service-card:hover .svc-icon svg, .mv-card:hover .mv-icon svg { transform: rotate(-10deg) scale(1.12); }

/* Primary buttons: light shine on hover */
.btn-primary, .btn-white { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-white::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover::after, .btn-white:hover::after { transition: transform .8s var(--ease); transform: translateX(120%); }

/* Process: steps' connectors flow; numbers pop in */
@media (min-width: 860px) {
  .step:not(:last-child)::after { animation: flow 1.2s linear infinite; }
}
@keyframes flow { to { background-position: 8px 0; } }
.steps.draw .step-num { transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.steps.draw.is-in .step-num { transform: none; opacity: 1; }
.steps.draw.is-in .step:nth-child(2) .step-num { transition-delay: .15s; }
.steps.draw.is-in .step:nth-child(3) .step-num { transition-delay: .3s; }

/* Timeline: the line draws itself, markers pop */
.timeline.draw::before { transform: scaleX(0); transform-origin: right; transition: transform 1.4s var(--ease); }
html[dir="ltr"] .timeline.draw::before { transform-origin: left; }
.timeline.draw.is-in::before { transform: none; }
@media (max-width: 899px) {
  .timeline.draw::before { transform: scaleY(0); transform-origin: top; }
  .timeline.draw.is-in::before { transform: none; }
}
.timeline.draw li::before { opacity: 0; scale: .3; transition: opacity .5s, scale .5s var(--ease); }
.timeline.draw.is-in li::before { opacity: 1; scale: 1; }
.timeline.draw.is-in li:nth-child(2)::before { transition-delay: .3s; }
.timeline.draw.is-in li:nth-child(3)::before { transition-delay: .6s; }
.timeline.draw.is-in li:nth-child(4)::before { transition-delay: .9s; }

/* Gallery tiles fade up in small staggered groups */
.js .g-item { opacity: 0; transform: translateY(24px); }
.js .g-item.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* Team photos: soft lift of the photo frame */
.member-photo { transition: box-shadow .4s; }
.member:hover .member-photo { box-shadow: inset 0 0 0 3px rgba(2,115,109,.25); }

/* CTA band pattern drifts very slowly */
.cta-inner::before { animation: pattern-drift 40s linear infinite; }
@keyframes pattern-drift { to { background-position: 112px 56px; } }

/* Contact icons pulse once when the list appears */
.contact-list.is-visible .ci { animation: ping .9s var(--ease) both; }
.contact-list.is-visible li:nth-child(2) .ci { animation-delay: .12s; }
.contact-list.is-visible li:nth-child(3) .ci { animation-delay: .24s; }
.contact-list.is-visible li:nth-child(4) .ci { animation-delay: .36s; }
@keyframes ping { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }

/* Mobile bar slides up the first time it appears */
@media (max-width: 760px) {
  .mobile-bar { animation: bar-up .6s .4s var(--ease) backwards; }
  @keyframes bar-up { from { transform: translateY(140%); } }
}
