/* =====================================================================
   Nilex Contracting — site styles
   Brand: navy #021A4E · teal #02938A · petrol #2B5A77 · mint #5EEAD4
   Layout uses logical properties so English (LTR) and Arabic (RTL) share one sheet.
   All motion lives inside @media (prefers-reduced-motion: no-preference).
   ===================================================================== */

:root {
  --navy: #021A4E;
  --navy-2: #0B2A63;
  --navy-3: #12357A;
  --teal: #02938A;
  --teal-btn: #027F77;      /* 4.9:1 with white text */
  --teal-btn-hover: #01675F;
  --teal-ink: #017068;      /* teal for small text on white, 6:1 */
  --teal-50: #E8F6F4;
  --teal-100: #CDEEEA;
  --petrol: #2B5A77;
  --mint: #5EEAD4;
  --ink: #0E2245;
  --muted: #4A5F78;
  --line: #DCE5EB;
  --line-2: #C3D1DC;
  --tint: #F3F7F9;
  --white: #FFFFFF;
  --danger: #B42318;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(2, 26, 78, .06), 0 1px 3px rgba(2, 26, 78, .08);
  --shadow: 0 10px 30px -12px rgba(2, 26, 78, .22), 0 2px 6px rgba(2, 26, 78, .06);
  --shadow-lg: 0 30px 60px -24px rgba(2, 26, 78, .35);
  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-en: "Signika", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-ar: "Readex Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --focus: 3px solid var(--teal);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; font-size: 1.04rem; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 600; color: var(--navy); text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.45; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--mint); color: var(--navy); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* icons */
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
[dir="rtl"] .ico--dir { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 12px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal-btn); color: #fff; box-shadow: 0 8px 20px -10px rgba(2, 147, 138, .8); }
.btn--primary:hover { background: var(--teal-btn-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--text { padding-inline: 0; min-height: 44px; color: var(--teal-ink); background: none; }
.btn--text:hover { color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
:is(.hero, .cta-band, .section--navy) .btn--primary { background: var(--mint); color: var(--navy); box-shadow: 0 10px 26px -12px rgba(94, 234, 212, .9); }
:is(.hero, .cta-band, .section--navy) .btn--primary:hover { background: #8FF3E3; color: var(--navy); }
:is(.hero, .cta-band, .section--navy, .site-footer) :focus-visible { outline-color: var(--mint); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
/* the blur sits on a pseudo-element: a backdrop-filter on the header itself would trap the fixed mobile drawer inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(2, 26, 78, .4); }
.header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { height: 40px; width: auto; }
.nav { flex: 1; display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 14px; border-radius: 10px;
  color: var(--navy); font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--tint); color: var(--navy); }
.nav__link.is-active, .nav__link[aria-current="page"] { color: var(--teal-ink); }
.nav__link.is-active::after, .nav__link[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal);
}
.ico--chev { width: 1em; height: 1em; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.subnav { display: none; }
.subnav__list { list-style: none; margin: 0; padding: 0; }
.subnav__link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink);
  text-decoration: none; font-weight: 500; line-height: 1.35;
}
.subnav__link .ico { color: var(--teal); width: 22px; height: 22px; }
.subnav__link:hover { background: var(--teal-50); color: var(--navy); }
.subnav__link[aria-current="page"] { background: var(--teal-50); color: var(--teal-ink); }
.subnav__link--all { justify-content: space-between; color: var(--teal-ink); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border-radius: 10px;
  color: var(--navy); text-decoration: none; font-weight: 500;
}
.lang-switch:hover { background: var(--tint); color: var(--navy); }
.lang-switch .ico { color: var(--teal); }
.lang-switch span[lang="ar"], .lang-switch:lang(en) > span:not(.visually-hidden) { font-family: var(--font-ar); }
html[lang="ar"] .lang-switch > span:not(.visually-hidden) { font-family: var(--font-en); }
html[lang="en"] .lang-switch > span:not(.visually-hidden) { font-family: var(--font-ar); }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
}
.menu-btn .ico { width: 24px; height: 24px; }
.menu-btn__close { display: none; }
.nav-open .menu-btn__open { display: none; }
.nav-open .menu-btn__close { display: inline-flex; }
.nav__mobile-extra { display: none; }

@media (min-width: 1024px) {
  .subnav {
    position: absolute; top: calc(100% + 10px); inset-inline-start: 50%; translate: -50% 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
    min-width: 330px;
  }
  [dir="rtl"] .subnav { translate: 50% 0; }
  .subnav::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
  .subnav__list--services { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: min(620px, 80vw); }
  .subnav__list--services > li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
  .subnav__list--sectors > li:first-child { border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
  .nav__item.is-open > .subnav { display: block; }
  html:not(.js) .nav__item--sub:is(:hover, :focus-within) > .subnav { display: block; }
}
@media (min-width: 1024px) and (max-width: 1239.98px) {
  .header__cta { display: none; }
  .nav__link { padding-inline: 11px; }
}

@media (max-width: 1023.98px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .menu-btn { display: inline-flex; }
  .header__bar { gap: 12px; }
  .header__actions { margin-inline-start: auto; }
  .header__actions > .lang-switch { padding-inline: 8px; }
  /* without JavaScript the menu is simply shown under the header */
  html:not(.js) .header__bar { flex-wrap: wrap; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav { order: 3; flex-basis: 100%; }
  html:not(.js) .nav__list { flex-wrap: wrap; margin-inline: 0; }
  html:not(.js) .subnav { display: none; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; display: block; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; padding: 12px var(--gutter) 32px; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav-open { overflow: hidden; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav__item { border-bottom: 1px solid var(--line); }
  .js .nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.1rem; padding-inline: 4px; border-radius: 0; }
  .js .nav__link:hover, .js .nav__item.is-open > .nav__link { background: none; }
  .js .nav__link.is-active::after, .js .nav__link[aria-current="page"]::after { display: none; }
  .js .nav__item.is-open > .subnav { display: block; padding-bottom: 12px; }
  .js .nav__mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
  .js .nav__mobile-extra .lang-switch { justify-content: center; border: 1px solid var(--line); }
}
@media (max-width: 599.98px) {
  .header__cta { display: none; }
  .header__actions > .lang-switch .ico { display: none; }
}

/* ---------- shared section pieces ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--tint); }
.section--navy { background: radial-gradient(900px 420px at 90% 0%, rgba(2, 147, 138, .28), transparent 60%), var(--navy); color: #D5E2EC; }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { font-size: clamp(1.75rem, 3.2vw, 2.55rem); letter-spacing: -.01em; }
html[lang="ar"] .section-head__title { letter-spacing: 0; }
.section-head__lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.section-head--light .section-head__title { color: #fff; }
.section-head--light .section-head__lead { color: #BFD0DD; }
.section-foot { margin-top: 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: var(--teal-ink); font-weight: 600; font-size: .9rem;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--mint); }
.eyebrow [lang="ar"] { letter-spacing: 0; text-transform: none; font-family: var(--font-ar); }

.breadcrumb ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #D5E2EC;
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(2, 147, 138, .35), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(43, 90, 119, .55), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #031F5C 100%);
  padding-block: clamp(48px, 7vw, 96px) clamp(96px, 10vw, 140px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 600; letter-spacing: -.015em; margin-bottom: 20px; }
html[lang="ar"] .hero__title { letter-spacing: 0; font-size: clamp(2rem, 4.6vw, 3.3rem); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 56ch; color: #C9D8E3; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px !important; }
.hero__tags li {
  padding: 6px 12px; border-radius: 999px; font-size: .88rem; color: #D9F7F2;
  background: rgba(94, 234, 212, .1); border: 1px solid rgba(94, 234, 212, .28);
}
.hero__art { justify-self: center; width: 100%; max-width: 560px; }
.hero-art { width: 100%; height: auto; display: block; overflow: visible; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
}

/* pillars overlap the hero */
.pillars { position: relative; z-index: 2; margin-top: clamp(-88px, -7vw, -56px); }
.pillars__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pillars .pillar { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pillar { position: relative; padding: 26px; border-radius: var(--radius); }
.pillar--plain { background: #fff; border: 1px solid var(--line); }
.section--tint .pillar--plain { border-color: transparent; box-shadow: var(--shadow-sm); }
.pillar__icon, .card__icon, .why__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  color: var(--teal-ink); background: var(--teal-50);
}
.pillar__icon .ico, .card__icon .ico, .why__icon .ico { width: 26px; height: 26px; }
.pillar__title { font-size: 1.2rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }
.pillars__grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 1024px) { .pillars__grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- journey (source to reuse) ---------- */
.journey__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.journey__tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.journey__tab .ico { color: var(--teal); width: 20px; height: 20px; }
.journey__tab:hover { border-color: var(--teal); }
.journey__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.journey__tab[aria-selected="true"] .ico { color: var(--mint); }
.journey__stage { display: grid; gap: 20px; align-items: stretch; }
.journey__map {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(8px, 2vw, 20px); overflow: hidden;
}
.jmap-art { width: 100%; height: auto; display: block; }
.jlabel { font-size: 16px; font-weight: 600; fill: var(--navy); font-family: inherit; }
.journey [data-svc] { transition: opacity .35s; }
.journey.is-ready [data-svc] { opacity: .28; cursor: pointer; }
.journey.is-ready [data-svc].is-on { opacity: 1; }
.journey.is-ready .jbadge { opacity: 0; }
.journey.is-ready .jbadge.is-on { opacity: 1; }
.journey__panels { display: grid; gap: 16px; }
.journey__panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; }
.journey__panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.journey__panel-title .ico { color: var(--teal); width: 28px; height: 28px; }
.journey__panel p { color: var(--muted); }
html:not(.js) .journey__tabs { display: none; }
html:not(.js) .journey__panels { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.js .journey:not(.is-ready) .journey__panel:not(:first-child) { display: none; }
.journey__panel[hidden] { display: none; }
@media (min-width: 800px) {
  .js .journey__panel { display: grid; grid-template-columns: minmax(220px, .8fr) 2fr auto; gap: 8px 28px; align-items: center; }
  .js .journey__panel-title { margin: 0; }
  .js .journey__panel p { margin: 0; }
  .js .journey__panel[hidden] { display: none; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--art { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.card.card--help { background: var(--navy); border-color: var(--navy); color: #C9D8E3; }
.card.card--help .card__body { justify-content: center; }
.card.card--help .card__icon { background: rgba(94, 234, 212, .14); color: var(--mint); }
.card.card--help .card__link, .card.card--help:hover .card__link { color: #fff; }
.card.card--help .card__text { color: #C9D8E3; }
.card.card--help .card__more { color: var(--mint); }
.card.card--help .card__link:focus-visible::after { outline-color: var(--mint); }
.card.card--help .nilo { width: 120px; height: auto; display: block; margin: -8px 0 8px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.section--tint .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card:hover { box-shadow: var(--shadow); border-color: var(--teal-100); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card__title { font-size: 1.2rem; margin-bottom: 8px; }
.card__link { color: var(--navy); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: var(--focus); outline-offset: -3px; border-radius: var(--radius); }
.card:hover .card__link { color: var(--teal-ink); }
.card__text { color: var(--muted); margin-bottom: 18px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); font-weight: 600; font-size: .95rem; }
.card__more .ico { width: 1.1em; height: 1.1em; transition: translate .2s; }
.card__art, .art-card {
  background-color: #F7FAFB;
  background-image: linear-gradient(rgba(2, 26, 78, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 26, 78, .045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.card__art { border-bottom: 1px solid var(--line); padding: 12px 16px 0; }
.card__art .art { display: block; width: 100%; height: auto; }

/* ---------- sector tiles (navy section) ---------- */
.sector-tiles { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sector-tiles > li { flex: 1 1 100%; }
@media (min-width: 560px) { .sector-tiles > li { flex: 0 1 calc((100% - 14px) / 2); } }
@media (min-width: 800px) { .sector-tiles > li { flex: 0 1 calc((100% - 28px) / 3); } }
@media (min-width: 1100px) { .sector-tiles > li { flex: 1 1 0; } }
.sector-tile__link {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none;
  transition: background-color .25s, border-color .25s, transform .25s;
}
.sector-tile__link:hover { background: rgba(2, 147, 138, .22); border-color: rgba(94, 234, 212, .5); color: #fff; }
.sector-tile__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(94, 234, 212, .14); color: var(--mint); margin-bottom: 6px; }
.sector-tile__icon .ico { width: 26px; height: 26px; }
.sector-tile__name { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.sector-tile__text { color: #BFD0DD; font-size: .95rem; line-height: 1.55; }
.sector-tile__arrow { margin-top: auto; color: var(--mint); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps--6 { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
}
.step { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.section--tint .step { border-color: transparent; box-shadow: var(--shadow-sm); }
.step__num {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 8px; border-radius: 12px; margin-bottom: 14px;
  font-weight: 700; font-size: 1rem; color: #fff; background: linear-gradient(135deg, var(--teal), var(--petrol)); font-family: var(--font-en);
}
.step__title { font-size: 1.15rem; margin-bottom: 6px; }
.step__text { color: var(--muted); margin: 0; }
.step__outcome { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .95rem; color: var(--ink); }
.step__outcome strong { color: var(--teal-ink); }

/* ---------- why + tip ---------- */
.why { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .why { grid-template-columns: 1.6fr 1fr; gap: 48px; } }
.why__list { display: grid; gap: 16px; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; } }
.why__item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.why__icon { margin-bottom: 0; flex: none; }
.why__title { font-size: 1.1rem; margin-bottom: 4px; }
.why__item p { color: var(--muted); margin: 0; font-size: .98rem; }
.tip {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center;
  padding: 20px; border-radius: var(--radius); background: var(--teal-50); border: 1px solid var(--teal-100);
}
.tip__nilo .nilo { width: 100%; height: auto; display: block; }
.tip__label { margin: 0 0 4px; font-weight: 700; color: var(--teal-ink); font-size: .9rem; }
html[lang="en"] .tip__label { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.tip__text { margin: 0; color: var(--ink); }
.note-tip { margin-top: 32px; max-width: 760px; }
@media (min-width: 1024px) { .why__aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #C9D8E3;
  background: radial-gradient(700px 360px at 100% 0%, rgba(2, 147, 138, .4), transparent 65%), linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding-block: clamp(48px, 7vw, 84px);
}
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; }
.cta-band--nilo .cta-band__inner { grid-template-columns: 1fr; }
@media (min-width: 800px) { .cta-band--nilo .cta-band__inner { grid-template-columns: 220px 1fr; gap: 40px; } }
.cta-band__nilo { max-width: 220px; margin-inline: auto; }
.cta-band__nilo .nilo { width: 100%; height: auto; display: block; }
.cta-band__title { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-band__lead { font-size: 1.1rem; max-width: 60ch; }
.cta-band__flow {
  position: absolute; inset-inline: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--mint) 0 14px, transparent 14px 32px); opacity: .45;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px);
}
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .page-hero--art .page-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.page-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.01em; }
html[lang="ar"] .page-hero__title { letter-spacing: 0; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.art-card { border-radius: 24px; border: 1px solid var(--line); padding: 16px; box-shadow: var(--shadow); }
.art-card .art { display: block; width: 100%; height: auto; }
.nilo-card { max-width: 320px; margin-inline: auto; }
.hero-nilo .nilo { width: 100%; height: auto; display: block; }
.brand-card { display: grid; place-items: center; }
.brand-panel {
  width: 100%; max-width: 420px; display: grid; place-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px;
  background: radial-gradient(400px 260px at 80% 0%, rgba(2, 147, 138, .45), transparent 70%), var(--navy); box-shadow: var(--shadow-lg);
}
.brand-panel img { width: min(100%, 260px); }

/* ---------- photo ---------- */
.photo { margin: 32px 0 0; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }

/* ---------- split layout, accordion, chips ---------- */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
}
.split__aside { display: grid; gap: 20px; }
.accordion { display: grid; gap: 12px; }
.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.acc__sum {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: var(--radius-sm);
  font-weight: 600; color: var(--navy); font-size: 1.08rem;
}
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum::marker { content: ""; }
.acc__sum:hover { color: var(--teal-ink); }
.acc__num { flex: none; font-family: var(--font-en); font-size: .85rem; font-weight: 700; color: var(--teal-ink); background: var(--teal-50); border-radius: 8px; padding: 3px 8px; }
.acc__title { flex: 1; }
.acc__chev { width: 20px; height: 20px; color: var(--teal); transition: transform .25s; }
.acc[open] .acc__chev { transform: rotate(180deg); }
.acc__body { padding: 0 20px 20px; padding-inline-start: 66px; color: var(--muted); }
@media (max-width: 599.98px) { .acc__body { padding-inline-start: 20px; } }
.chips-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.chips-card__title { font-size: 1.05rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.chip .ico { color: var(--teal); width: 18px; height: 18px; }
.chip:hover { border-color: var(--teal); background: var(--teal-50); color: var(--navy); }

/* needs (sector pages) */
.needs { display: grid; gap: 14px; }
.need { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.need__icon { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-50); color: var(--teal-ink); }
.need__icon .ico { width: 20px; height: 20px; }
.need__title { font-size: 1.1rem; margin-bottom: 4px; }
.need p { margin: 0; color: var(--muted); }

/* ---------- about ---------- */
.prose p { font-size: 1.08rem; color: var(--ink); max-width: 68ch; }
.facts-card { padding: 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.facts-card__title { font-size: 1.15rem; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts__row { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: .85rem; color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); }
.meet { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .meet { grid-template-columns: 300px 1fr; gap: 56px; } }
.meet__nilo { max-width: 300px; margin-inline: auto; width: 100%; }
.meet__nilo .nilo { width: 100%; height: auto; display: block; }
.meet__copy p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

/* ---------- capabilities ---------- */
.checklist-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--navy); color: #D5E2EC; }
.checklist-card__title { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 1.35rem; }
.checklist-card__title .ico { color: var(--mint); width: 28px; height: 28px; }
.checks { display: grid; gap: 12px; margin-top: 18px !important; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--mint); margin-top: .2em; }
.principles { display: grid; gap: 14px; }
.principle { padding: 18px 20px; border-inline-start: 4px solid var(--teal); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
[dir="rtl"] .principle { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.principle__title { font-size: 1.1rem; margin-bottom: 4px; }
.principle p { margin: 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: .85fr 1.15fr; gap: 48px; } }
.contact__nilo { width: 170px; margin-bottom: -8px; margin-inline-start: auto; }
.contact__nilo .nilo { width: 100%; height: auto; display: block; }
@media (max-width: 1023.98px) { .contact__nilo { display: none; } }
.methods { display: grid; gap: 12px; }
.method {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
a.method:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); color: var(--ink); }
.method--wa { background: var(--teal-50); border-color: var(--teal-100); }
.method__icon { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--teal-ink); border: 1px solid var(--line); }
.method--wa .method__icon { background: var(--teal-btn); color: #fff; border-color: transparent; }
.method__icon .ico { width: 24px; height: 24px; }
.method__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.method__label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.method__value { font-weight: 600; color: var(--navy); font-size: 1.08rem; overflow-wrap: anywhere; }
[dir="rtl"] .method__value[dir="ltr"] { text-align: end; }
.method__desc { font-size: .92rem; color: var(--muted); }
.method__arrow { color: var(--teal); }
.contact__social { margin-top: 24px; }
.footer__label { font-size: .95rem; font-weight: 600; margin: 0 0 10px; }
.contact__social .footer__label { color: var(--navy); }

.form-card { padding: clamp(22px, 3.5vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.5rem; margin-bottom: 20px; }
.form__grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field__label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field__req, .field__opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field__hint { margin: -2px 0 8px; font-size: .9rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #AFC0CE; background: #fff;
  color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field :is(input, textarea, select):hover { border-color: var(--petrol); }
.field :is(input, textarea, select):focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(2, 147, 138, .2); }
.field.has-error :is(input, textarea) { border-color: var(--danger); }
.field__error { margin: 6px 0 0; color: var(--danger); font-size: .92rem; font-weight: 500; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select .ico { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--teal); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__status { margin: 0; font-weight: 500; color: var(--navy); }
.form__status:empty { display: none; }
.form__note, .form__privacy { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.form__note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--tint); }
.form__note .ico { color: var(--teal); margin-top: .15em; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-success { text-align: center; padding: 16px 0; }
.form-success:focus { outline: none; }
.form-success__nilo { width: 200px; margin: 0 auto 12px; }
.form-success__nilo .nilo { width: 100%; height: auto; display: block; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); }

/* ---------- 404 + gateway ---------- */
.notfound__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .notfound__inner { grid-template-columns: 300px 1fr; gap: 56px; } }
.notfound__nilo { width: 100%; max-width: 300px; margin-inline: auto; }
.notfound__nilo--sm { max-width: 200px; }
.notfound__nilo .nilo { width: 100%; height: auto; display: block; }
.notfound .page-hero__lead { margin-bottom: 0; }
.gateway { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--tint); padding: 24px; }
.gateway__main { width: min(100%, 720px); text-align: center; }
.gateway__logo { width: 120px; margin: 0 auto 28px; }
.gateway__choices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gateway__choice {
  display: grid; gap: 14px; justify-items: center; padding: 28px 20px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1.1rem;
}
.gateway__choice:hover { border-color: var(--teal); color: var(--navy); box-shadow: var(--shadow); }
.gateway__choice img { height: 40px; width: auto; }
.gateway__choice[lang="ar"] { font-family: var(--font-ar); }
.gateway__404 { display: grid; gap: 16px; text-align: start; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 16px; }
.gateway__404 section { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; }
.gateway__404 h1, .gateway__404 h2 { font-size: 1.4rem; }
.gateway__404 p { color: var(--muted); }
.gateway__404 [lang="ar"] { font-family: var(--font-ar); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy); color: #BFD0DD; padding-top: 72px; font-size: .98rem; }
.footer__pipe { position: absolute; inset-inline: 0; top: 0; height: 14px; background: linear-gradient(180deg, #A3B4C3, #F2F6F9 40%, #9DAFBF); }
.footer__pipe span {
  position: absolute; inset-inline: 0; top: 5px; height: 4px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--teal) 0 16px, transparent 16px 30px);
}
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; } }
.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 45px; width: auto; }
.footer__brand p { max-width: 40ch; }
.footer__brand .footer__label { color: #fff; margin-top: 22px; }
.footer__heading { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: #D5E2EC; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer__col a { display: inline-block; padding-block: 5px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; padding-block: 4px; }
.footer__contact .ico { color: var(--mint); margin-top: .2em; }
.footer__contact a { padding-block: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; transition: background-color .2s, border-color .2s;
}
.social:hover { background: var(--teal-btn); border-color: var(--teal-btn); text-decoration: none !important; }
.social .ico { width: 20px; height: 20px; }
.social--dark { background: #fff; border-color: var(--line-2); color: var(--navy) !important; }
.social--dark:hover { background: var(--teal-50); border-color: var(--teal); color: var(--navy) !important; }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding-block: 22px 96px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #9FB3C3;
}
.footer__legal p { margin: 0; }
.footer__legal a[lang="ar"] { font-family: var(--font-ar); }
.footer__legal a[lang="en"] { font-family: var(--font-en); }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--teal-btn); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(2, 26, 78, .55);
  transition: background-color .2s, opacity .3s, transform .3s, visibility 0s;
}
[dir="rtl"] .wa-float { padding: 0 16px 0 20px; }
.wa-float .ico { width: 26px; height: 26px; }
.wa-float:hover { background: var(--teal-btn-hover); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.js .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
.nav-open .wa-float { display: none; }
@media (max-width: 599.98px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; inset-inline-end: 16px; bottom: 16px; }
  [dir="rtl"] .wa-float { padding: 0; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- illustration + mascot sizing ---------- */
.art { overflow: visible; }
.nilo { overflow: visible; }

/* =====================================================================
   Motion — only for visitors who have not asked to reduce it
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .card:hover { transform: translateY(-3px); }
  .card:hover .card__more .ico { translate: 4px 0; }
  [dir="rtl"] .card:hover .card__more .ico { translate: -4px 0; }
  .sector-tile__link:hover { transform: translateY(-3px); }

  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .reveal.is-in { opacity: 1; transform: none; }

  /* illustrations */
  .flow { animation: flow 1.6s linear infinite; }
  .flow--rev { animation-direction: reverse; }
  .power { animation: power 1.4s linear infinite; }
  .pour { animation: pour .9s linear infinite; }
  .bubble { animation: bubble 2.4s ease-in infinite; transform-box: fill-box; transform-origin: center; }
  .drip { animation: drip 1.6s ease-in infinite; transform-box: fill-box; }
  .rise { animation: rise 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .level { animation: level 5s ease-in-out infinite; }
  .needle { animation: needle 3.4s ease-in-out infinite; }
  .wave { animation: wave 3.2s ease-in-out infinite alternate; }
  .membrane { animation: membrane 1.8s ease-in-out infinite; }
  .glow { animation: glow 2.2s ease-in-out infinite; }
  .blink { animation: blink 1.4s steps(2, jump-none) infinite; }
  .pulse { animation: glow 1.6s ease-in-out infinite; }
  .tick { stroke-dasharray: 20; stroke-dashoffset: 20; animation: tick 3s ease-out infinite; }
  .glint { animation: glint 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .ribbon { animation: ribbon 6s ease-in-out infinite; }
  .cta-band__flow, .footer__pipe span { animation: pipeflow 1.8s linear infinite; }
  [dir="rtl"] .cta-band__flow, [dir="rtl"] .footer__pipe span { animation-direction: reverse; }

  /* NILO */
  .nilo-bob { animation: nilo-bob 4.2s ease-in-out infinite; transform-origin: 120px 240px; }
  .nilo-shadow { animation: nilo-shadow 4.2s ease-in-out infinite; transform-origin: 120px 241px; }
  .nilo-eyes { animation: nilo-blink 5.6s infinite; transform-box: fill-box; transform-origin: center; }
  .nilo-needle { animation: nilo-needle 3.2s ease-in-out infinite; transform-origin: 120px 141px; }
  .nilo-wave { animation: nilo-wave 1.8s ease-in-out infinite; transform-origin: 190px 158px; }
  .nilo-spark { animation: nilo-spark 2.4s ease-in-out infinite; }
  .nilo--success .nilo-bob { animation-name: nilo-hop; animation-duration: 1.6s; }
  .form-success:not([hidden]) .nilo { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }

  .hero__art { animation: fade-in 1.2s ease both; }
}

@keyframes flow { to { stroke-dashoffset: -36; } }
@keyframes power { to { stroke-dashoffset: -18; } }
@keyframes pour { to { stroke-dashoffset: -32; } }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-16px); opacity: 0; } }
@keyframes drip { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes rise { 0% { transform: translateY(12px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
@keyframes level { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.82); } }
@keyframes needle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
@keyframes wave { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
@keyframes membrane { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: .2; } }
@keyframes tick { 0%, 10% { stroke-dashoffset: 20; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes glint { 0%, 100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
@keyframes ribbon { 0%, 100% { opacity: .26; } 50% { opacity: .4; } }
@keyframes pipeflow { from { background-position: 0 0; } to { background-position: 32px 0; } }
@keyframes nilo-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes nilo-hop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-10px); } 60% { transform: translateY(0); } }
@keyframes nilo-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.9); opacity: .75; } }
@keyframes nilo-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes nilo-needle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } }
@keyframes nilo-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(8deg); } }
@keyframes nilo-spark { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: .55; transform: translateY(-3px); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- forced colours + print ---------- */
@media (forced-colors: active) {
  .btn, .card, .method, .journey__tab, .chip { border: 1px solid CanvasText; }
  .journey__tab[aria-selected="true"] { outline: 2px solid Highlight; }
}
@media print {
  .site-header, .wa-float, .cta-band, .footer__pipe, .skip-link, .journey__tabs { display: none !important; }
  .site-footer { background: none; color: #000; padding-top: 0; }
  .site-footer a { color: #000; }
  .hero { background: none; color: #000; padding: 0; }
  .hero__title { color: #000; }
}
