@charset "UTF-8";
/* ==========================================================================
   CHEMOLIB — شركة كيماويات ليبيا
   Laboratory, Pharmaceutical & Industrial Chemicals
   --------------------------------------------------------------------------
   1. Tokens          6. Hero
   2. Base            7. Home sections
   3. Utilities       8. Inner pages
   4. Buttons         9. Products catalog
   5. Header & nav   10. Drawer / modal / toast / tube
                     11. Footer
                     12. Keyframes
                     13. Responsive
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  --navy-900: #04132f;
  --navy-800: #061a40;
  --navy-700: #0a2a66;
  --primary: #1557c0;
  --primary-600: #0f479f;
  --sky: #1ea5e9;
  --cyan: #22d3ee;
  --green: #3bb54a;
  --lime: #7ed957;
  --rose: #e5484d;

  --cat-lab: #1d7cf2;
  --cat-pharma: #10b981;
  --cat-industrial: #f59e0b;
  --cat-prep: #8b5cf6;

  --bg: #ffffff;
  --bg-alt: #f3f7fc;
  --surface: #ffffff;
  --surface-2: #f5f8fd;
  --ink: #0b1b3a;
  --text: #3a4864;
  --muted: #64738e;
  --line: #e2e9f3;
  --link: #1557c0;
  --header-glass: rgba(255, 255, 255, .82);
  --bar-glass: rgba(255, 255, 255, .86);

  --grad: linear-gradient(135deg, #1557c0 0%, #1ea5e9 55%, #3bb54a 100%);
  --grad-soft: linear-gradient(135deg, rgba(21, 87, 192, .10), rgba(59, 181, 74, .12));
  --grad-text: linear-gradient(100deg, #38bdf8 0%, #22d3ee 40%, #7ed957 100%);
  --grad-dark: linear-gradient(160deg, #04132f 0%, #0a2a66 62%, #0d3f8f 100%);

  --hex-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cpath d='M26 0 52 15v30L26 60 0 45V15zM26 60v30' fill='none' stroke='%2322d3ee' stroke-opacity='.16'/%3E%3C/svg%3E");
  --hex-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cpath d='M26 0 52 15v30L26 60 0 45V15zM26 60v30' fill='none' stroke='%231557c0' stroke-opacity='.09'/%3E%3C/svg%3E");

  --shadow-sm: 0 2px 10px -2px rgba(10, 42, 102, .08);
  --shadow: 0 18px 40px -18px rgba(10, 42, 102, .25);
  --shadow-lg: 0 40px 90px -30px rgba(10, 42, 102, .35);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 38px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 42px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-body: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Plus Jakarta Sans", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

html[lang="ar"] {
  --font-body: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;
  --font-head: "Cairo", "IBM Plex Sans Arabic", system-ui, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #050f24;
  --bg-alt: #081733;
  --surface: #0c1d3e;
  --surface-2: #10264d;
  --ink: #eef4ff;
  --text: #c2cfe6;
  --muted: #8ea2c6;
  --line: rgba(148, 178, 230, .16);
  --link: #6cb6ff;
  --header-glass: rgba(5, 15, 36, .82);
  --bar-glass: rgba(8, 23, 51, .88);
  --grad-soft: linear-gradient(135deg, rgba(30, 165, 233, .16), rgba(59, 181, 74, .14));
  --shadow-sm: 0 2px 10px -2px rgba(0, 0, 0, .4);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .4s, color .4s;
}

html[lang="ar"] body { line-height: 1.85; }

body.lock { overflow: hidden; }
main { overflow-x: clip; }

img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
img.broken { opacity: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}

html[lang="ar"] :is(h1, h2, h3, h4, h5) { letter-spacing: 0; line-height: 1.45; }

::selection { background: var(--sky); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* Bilingual content: both languages live in the markup, CSS shows one. */
html[lang="ar"] .en,
html[lang="en"] .ar { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform .3s;
}
.skip-link:focus { transform: none; }

/* 3. UTILITIES ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 7vw, 90px); }
.section--hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hex-dark);
  -webkit-mask: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  mask: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  pointer-events: none;
}

.ic {
  width: 1.25em;
  height: 1.25em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
[dir="rtl"] .ic-dir { transform: scaleX(-1); }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.sec-head {
  max-width: 740px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
}
.sec-head--start { margin-inline: 0; text-align: start; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
[data-theme="dark"] .eyebrow { color: var(--cyan); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow--light { color: var(--cyan); }

.sec-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--light {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-lead { font-size: 1.08rem; color: var(--muted); }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--text);
}
.check-list .tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(59, 181, 74, .14);
  color: var(--green);
  flex: none;
  margin-top: 3px;
}
.check-list .tick .ic { width: 14px; height: 14px; stroke-width: 3; }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  background: var(--grad-soft);
  color: var(--primary);
}
[data-theme="dark"] .pill-tag { color: var(--cyan); }

/* 4. BUTTONS =============================================================== */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding-inline: 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s, background-color .3s, color .3s, border-color .3s;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic-dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ic-dir { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: scale(.97); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: 0 14px 30px -12px rgba(21, 87, 192, .65);
  transition: transform .35s var(--ease), box-shadow .35s, background-position .6s var(--ease);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 20px 40px -14px rgba(21, 87, 192, .75);
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; color: var(--navy-700); border-color: #fff; transform: translateY(-2px); }

.btn-outline { color: var(--primary); border: 1.5px solid currentColor; }
[data-theme="dark"] .btn-outline { color: var(--cyan); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-soft {
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.btn-soft:hover { border-color: var(--sky); color: var(--primary); }
[data-theme="dark"] .btn-soft:hover { color: var(--cyan); }

.btn-white { background: #fff; color: var(--navy-700); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-white:hover { transform: translateY(-2px); background: var(--lime); color: var(--navy-900); }

.btn-sm { --h: 42px; padding-inline: 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.icon-btn .ic { width: 20px; height: 20px; }

/* 5. HEADER & NAV ========================================================== */
.header-shell {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 130;
  transition: transform .5s var(--ease);
}

.topbar {
  height: var(--topbar-h);
  font-size: .84rem;
  color: rgba(255, 255, 255, .8);
  background: rgba(4, 19, 47, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar-in {
  height: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tb-info { display: flex; align-items: center; gap: 26px; }
.tb-info > * { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.tb-info a:hover { color: #fff; }
.tb-info .ic { width: 15px; height: 15px; color: var(--cyan); }
.tb-tag {
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  height: var(--header-h);
  transition: background-color .45s, box-shadow .45s, height .45s var(--ease);
}
.nav-wrap {
  height: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 50px; height: 50px; color: #fff; transition: transform .6s var(--ease-spring), color .4s; }
.is-scrolled .brand-logo { color: var(--navy-700); }
[data-theme="dark"] .is-scrolled .brand-logo,
.menu-open .header-shell .brand-logo { color: #fff; }
.brand:hover .brand-logo { transform: rotate(-10deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  transition: color .4s;
}
.brand-sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .68);
  transition: color .4s;
}
html[lang="ar"] .brand-sub { letter-spacing: 0; font-size: .74rem; }

.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  color: rgba(255, 255, 255, .86);
  transition: color .3s, background-color .3s;
}
.nav-link .ic { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-link.active { color: #fff; background: rgba(255, 255, 255, .13); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--lime);
}

.has-mega { position: relative; }
.has-mega:hover > .nav-link .ic,
.has-mega:focus-within > .nav-link .ic { transform: rotate(180deg); }
.mega {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 560px;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-col { display: grid; gap: 2px; }
.mega-link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  transition: background-color .3s;
}
.mega-link:hover { background: var(--surface-2); }
.mega-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--cc);
  background: color-mix(in srgb, var(--cc) 14%, transparent);
  transition: transform .4s var(--ease-spring);
}
.mega-link:hover .mega-ic { transform: scale(1.1) rotate(-6deg); }
.mega-link strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.mega-link small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.mega-promo {
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mega-promo::before { content: ""; position: absolute; inset: 0; background: var(--hex-light); opacity: .9; }
.mega-promo > * { position: relative; }
.mega-promo strong { font-size: 1.05rem; line-height: 1.4; display: block; margin-bottom: 6px; }
.mega-promo small { color: rgba(255, 255, 255, .72); display: block; margin-bottom: 14px; font-size: .8rem; line-height: 1.5; }
.mega-promo .btn { --h: 38px; font-size: .82rem; padding-inline: 14px; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.main-nav + .nav-actions { margin-inline-start: 0; }

.lang-switch {
  direction: ltr;
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 42px;
  min-width: 92px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-weight: 800;
  font-size: .86rem;
  color: #fff;
  transition: border-color .3s, color .3s;
}
.lang-switch span { position: relative; z-index: 1; text-align: center; transition: color .35s; font-family: "Cairo", "Plus Jakarta Sans", sans-serif; }
.lang-switch .knob {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 6px 14px -6px rgba(21, 87, 192, .8);
  transition: left .45s var(--ease-spring);
}
html[lang="en"] .lang-switch .knob { left: 50%; }
html[lang="ar"] .lang-switch [data-l="ar"],
html[lang="en"] .lang-switch [data-l="en"] { color: #fff; }

.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.burger { display: none; }
.burger-lines { position: relative; width: 20px; height: 14px; }
.burger-lines i {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform .45s var(--ease), opacity .3s, width .3s, top .45s var(--ease);
}
.burger-lines i:nth-child(1) { top: 0; }
.burger-lines i:nth-child(2) { top: 6px; width: 70%; }
.burger-lines i:nth-child(3) { top: 12px; }
.menu-open .burger-lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger-lines i:nth-child(2) { opacity: 0; }
.menu-open .burger-lines i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Scrolled header */
.header-shell.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
.header-shell.is-scrolled .site-header {
  height: 74px;
  background: var(--header-glass);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 12px 34px -18px rgba(10, 42, 102, .3);
}
.is-scrolled .brand-name { color: var(--ink); }
.is-scrolled .brand-sub { color: var(--muted); }
.is-scrolled .nav-link { color: var(--text); }
.is-scrolled .nav-link:hover,
.is-scrolled .nav-link.active { color: var(--primary); background: rgba(21, 87, 192, .08); }
[data-theme="dark"] .is-scrolled .nav-link:hover,
[data-theme="dark"] .is-scrolled .nav-link.active { color: var(--cyan); background: rgba(34, 211, 238, .08); }
.is-scrolled .icon-btn,
.is-scrolled .lang-switch { color: var(--ink); border-color: var(--line); }
.is-scrolled .icon-btn:hover { background: var(--surface-2); }
.is-scrolled .lang-switch span { color: var(--muted); }

.menu-open .header-shell .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .header-shell .brand-name { color: #fff; }
.menu-open .header-shell .brand-sub { color: rgba(255, 255, 255, .7); }
.menu-open .header-shell .icon-btn,
.menu-open .header-shell .lang-switch { color: #fff; border-color: rgba(255, 255, 255, .22); }

/* Mobile navigation */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) var(--gutter) 28px;
  overflow-y: auto;
  color: #fff;
  background: var(--grad-dark);
  clip-path: circle(0% at var(--cx, 90%) 42px);
  visibility: hidden;
  transition: clip-path .75s var(--ease), visibility 0s linear .75s;
}
.mnav::before { content: ""; position: absolute; inset: 0; background: var(--hex-light); pointer-events: none; opacity: .7; }
.mnav > * { position: relative; }
.mnav.open { clip-path: circle(150% at var(--cx, 90%) 42px); visibility: visible; transition-delay: 0s; }
.mnav-links li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 150ms);
}
.mnav.open .mnav-links li { opacity: 1; transform: none; }
.mnav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mnav-link .n { font-size: .8rem; font-weight: 700; color: var(--cyan); font-family: "Plus Jakarta Sans", sans-serif; }
.mnav-link.active { color: var(--lime); }
.mnav-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.mnav-cats a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
  font-weight: 600;
}
.mnav-cats a .ic { color: var(--cc); }
.mnav-foot { margin-top: auto; display: grid; gap: 10px; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.mnav-foot a, .mnav-foot span { display: flex; align-items: center; gap: 10px; }
.mnav-foot .ic { color: var(--cyan); }
.mnav-tools { display: flex; gap: 10px; margin-top: 10px; }

/* 6. HERO ================================================================== */
.hero {
  --mx: 70%;
  --my: 30%;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--topbar-h) + var(--header-h) + 40px) 0 170px;
  color: #fff;
  background:
    radial-gradient(1100px 620px at 88% 8%, rgba(30, 165, 233, .28), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(59, 181, 74, .18), transparent 60%),
    var(--grad-dark);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hex-light);
  -webkit-mask: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  mask: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(34, 211, 238, .13), transparent 60%);
}
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
[dir="rtl"] .hero-badge { padding: 6px 6px 6px 16px; }
.hero-badge .dot {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
}
.hero-badge .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: ping 2s var(--ease) infinite;
}
.hero-badge .dot .ic { width: 15px; height: 15px; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  margin: 22px 0 18px;
  line-height: 1.1;
}
html[lang="ar"] .hero h1 { font-size: clamp(2.1rem, 4.7vw, 3.9rem); line-height: 1.35; }

.hero-rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 2em;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}
.rotator-word {
  color: var(--cyan);
  font-weight: 800;
  padding-inline-end: 4px;
  border-inline-end: 2px solid var(--lime);
  animation: caret 1s steps(1) infinite;
}
.hero-lead {
  max-width: 560px;
  margin: 18px 0 34px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .76);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 38px; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--lime); stroke-width: 2.4; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.hv-layer { position: absolute; inset: 0; transition: transform .4s ease-out; will-change: transform; }
.hv-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .2);
  animation: spin 50s linear infinite;
}
.hv-ring--2 { inset: 8%; border: 1px solid rgba(34, 211, 238, .16); animation-duration: 30s; animation-direction: reverse; }
.hv-ring .orb {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px 4px rgba(34, 211, 238, .7);
}
.hv-ring--2 .orb { top: auto; bottom: -5px; width: 10px; height: 10px; background: var(--lime); box-shadow: 0 0 16px 4px rgba(126, 217, 87, .6); }

.hv-blob {
  position: absolute;
  inset: 15%;
  overflow: hidden;
  border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%;
  background: var(--grad);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .15);
  animation: morph 14s ease-in-out infinite;
}
.hv-blob img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hv-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(21, 87, 192, .12), rgba(4, 19, 47, .5));
}

.hv-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}
[dir="rtl"] .hv-card { padding: 12px 12px 12px 18px; }
.hv-card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); flex: none; }
.hv-card .ico .ic { width: 22px; height: 22px; }
.hv-card b { display: block; font-size: 1.35rem; line-height: 1.1; font-family: "Plus Jakarta Sans", sans-serif; }
.hv-card small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.hv-card--a { top: 10%; inset-inline-start: -4%; }
.hv-card--b { bottom: 12%; inset-inline-end: -5%; animation-delay: -3s; }
.hv-card--c { top: 46%; inset-inline-end: -8%; animation-delay: -1.5s; padding: 10px 14px; }
.hv-card--c .grades { display: flex; gap: 6px; font-size: .74rem; font-weight: 800; }
.hv-card--c .grades span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); }

.hv-flask { position: absolute; width: 26%; bottom: 2%; inset-inline-start: 4%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.flask-anim .liq-wave { animation: wave 3.2s linear infinite; }
.flask-anim .bub { animation: bubble 3s ease-in infinite; transform-box: fill-box; transform-origin: center; }
.flask-anim .bub:nth-of-type(2) { animation-delay: .8s; animation-duration: 3.6s; }
.flask-anim .bub:nth-of-type(3) { animation-delay: 1.7s; animation-duration: 2.6s; }
.flask-anim .bub:nth-of-type(4) { animation-delay: 2.3s; }

.hv-pill { position: absolute; width: 15%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4)); }
.hv-pill svg { animation: float 7s ease-in-out infinite; }
.hv-pill--1 { top: 2%; inset-inline-end: 18%; transform: rotate(-28deg); }
.hv-pill--2 { bottom: 26%; inset-inline-start: -2%; width: 11%; transform: rotate(35deg); }
.hv-pill--2 svg { animation-delay: -2s; }
.hv-pill--3 { bottom: -1%; inset-inline-end: 22%; width: 12%; transform: rotate(12deg); }
.hv-pill--3 svg { animation-delay: -4s; }

.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; height: 90px; color: var(--bg); z-index: 1; }
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave path { fill: currentColor; transition: fill .4s; }

/* Marquee */
.marquee {
  direction: ltr;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: var(--navy-800);
  border-block: 1px solid rgba(255, 255, 255, .06);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .86);
}
.marquee-item i {
  width: 12px;
  height: 12px;
  background: var(--grad-text);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

/* 7. HOME SECTIONS ========================================================= */
/* Features band */
.features { position: relative; z-index: 3; margin-top: -120px; }
.feat-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.feat {
  position: relative;
  padding: 26px 18px;
  text-align: center;
  border-radius: 20px;
  transition: background-color .4s, transform .45s var(--ease);
}
.feat + .feat::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}
.feat:hover { background: var(--surface-2); transform: translateY(-4px); }
.feat-ic {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--grad-soft);
  transition: transform .5s var(--ease-spring), background .4s, color .4s;
}
[data-theme="dark"] .feat-ic { color: var(--cyan); }
.feat-ic .ic { width: 30px; height: 30px; }
.feat:hover .feat-ic { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.06); }
.feat h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feat p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* About teaser */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 14%; padding-inline-end: 12%; }
.am-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background: var(--grad);
}
.am-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover .am-main img { transform: scale(1.05); }
.am-sub {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 46%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r);
  border: 8px solid var(--bg);
  box-shadow: var(--shadow);
  background: var(--grad);
  transition: border-color .4s;
}
.am-sub img { width: 100%; height: 100%; object-fit: cover; }
.am-badge {
  position: absolute;
  top: -34px;
  inset-inline-start: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: var(--navy-700);
  box-shadow: 0 20px 40px -14px rgba(4, 19, 47, .6);
  border: 6px solid var(--bg);
  transition: border-color .4s;
}
.am-badge .ring { position: absolute; inset: 6px; animation: spin 22s linear infinite; }
.am-badge .ring text { fill: rgba(255, 255, 255, .78); font-size: 9.6px; font-weight: 700; letter-spacing: 2.4px; font-family: "Plus Jakarta Sans", sans-serif; }
.am-badge b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.am-badge small { font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.am-tag {
  position: absolute;
  bottom: 22%;
  inset-inline-start: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.am-tag .ic { color: var(--green); }

.about-copy p { color: var(--text); }

/* Periodic-table elements */
.elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 34px; }
.elements--6 { grid-template-columns: repeat(6, 1fr); }
.el { perspective: 900px; aspect-ratio: 1 / 1.08; cursor: pointer; outline: none; }
.el-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.el:hover .el-inner,
.el:focus-visible .el-inner,
.el.flipped .el-inner { transform: rotateY(180deg); }
.el:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 18px; }
.el-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 16px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.el-front {
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--el) 55%, transparent);
  box-shadow: inset 0 -40px 60px -40px color-mix(in srgb, var(--el) 30%, transparent), var(--shadow-sm);
}
.el-num { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 800; color: var(--el); font-family: "Plus Jakarta Sans", sans-serif; direction: ltr; }
.el-sym {
  margin-top: auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
  direction: ltr;
  text-align: left;
}
.el-name { font-weight: 800; font-size: .9rem; color: var(--ink); margin-top: 6px; line-height: 1.3; }
.el-back {
  transform: rotateY(180deg);
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: .84rem;
  line-height: 1.55;
  background: linear-gradient(140deg, var(--el), var(--navy-700));
}
.el-back b { font-size: 1rem; }

/* Categories bento */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
  grid-template-areas:
    "lab lab pharma ind"
    "lab lab prep serv";
}
.cat {
  --cc: var(--cat-lab);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  color: #fff;
  background: var(--navy-700);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.cat:hover { box-shadow: var(--shadow-lg); }
.cat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.cat:hover > img { transform: scale(1.09); }
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 19, 47, .05) 15%, rgba(4, 19, 47, .9) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--cc) 45%, transparent), transparent 55%);
}
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .18), transparent 50%);
  opacity: 0;
  transition: opacity .4s;
}
.cat:hover::after { opacity: 1; }
.cat--lab { grid-area: lab; --cc: var(--cat-lab); }
.cat--pharma { grid-area: pharma; --cc: var(--cat-pharma); }
.cat--ind { grid-area: ind; --cc: var(--cat-industrial); }
.cat--prep { grid-area: prep; --cc: var(--cat-prep); }
.cat--serv { grid-area: serv; --cc: var(--sky); }
.cat-num {
  position: absolute;
  top: 22px;
  inset-inline-start: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cat-ic {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--cc) 70%, transparent);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .5s var(--ease-spring);
}
.cat:hover .cat-ic { transform: rotate(-10deg) scale(1.08); }
.cat-ic .ic { width: 26px; height: 26px; }
.cat-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cat h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.cat--lab h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cat-sub { display: block; font-size: .82rem; color: rgba(255, 255, 255, .7); font-weight: 600; margin-top: 2px; }
.cat p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .86);
  transition: max-height .6s var(--ease), opacity .5s, margin .5s;
}
.cat:hover p, .cat:focus-visible p { max-height: 140px; opacity: 1; margin-top: 10px; }
.cat--lab p { max-height: none; opacity: 1; margin-top: 12px; max-width: 460px; }
.cat-go {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--navy-700);
  background: #fff;
  transition: transform .5s var(--ease), background-color .4s, color .4s;
}
.cat:hover .cat-go { background: var(--cc); color: #fff; transform: rotate(-45deg); }
[dir="rtl"] .cat:hover .cat-go { transform: rotate(45deg); }

/* Stats band */
.stats {
  position: relative;
  padding-block: clamp(70px, 9vw, 110px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(135deg, #061a40, #0a2a66 55%, #0d3f8f);
}
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hex-light); opacity: .7; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { position: relative; text-align: center; padding: 10px; }
.stat + .stat::before {
  content: "";
  position: absolute;
  inset-inline-start: -15px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .2), transparent);
}
.stat-ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}
.stat-ic .ic { width: 26px; height: 26px; }
.stat-num {
  display: inline-block;
  direction: ltr;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { margin-top: 10px; font-weight: 600; color: rgba(255, 255, 255, .76); }

/* Molecule lab */
.mol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.mol-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(30, 165, 233, .18), transparent 62%),
    radial-gradient(circle at 50% 50%, var(--surface) 0 58%, transparent 59%);
}
.mol-stage canvas { position: relative; z-index: 1; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.mol-stage canvas:active { cursor: grabbing; }
.mol-orbit { position: absolute; inset: 3%; border-radius: 50%; border: 1px dashed var(--line); animation: spin 70s linear infinite; }
.mol-orbit--2 { inset: 14%; border-style: solid; animation-direction: reverse; animation-duration: 45s; }
.mol-orbit i {
  position: absolute;
  top: 50%;
  left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(30, 165, 233, .7);
}
.mol-chip {
  position: absolute;
  z-index: 2;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 800;
  color: var(--ink);
  direction: ltr;
}
.mol-chip sub { font-size: .7em; }
.mol-chip small { color: var(--muted); font-weight: 600; }
.mol-hint {
  position: absolute;
  z-index: 2;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.mol-hint .ic { width: 16px; height: 16px; animation: nudge 2.4s ease-in-out infinite; }
.mol-legend { position: absolute; z-index: 2; top: 50%; inset-inline-end: -4px; transform: translateY(-50%); display: grid; gap: 8px; }
.mol-legend span { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); direction: ltr; }
.mol-legend i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset -2px -2px 4px rgba(0, 0, 0, .25); }

.mol-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.mol-tab { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: color .3s, background .3s, box-shadow .3s; }
.mol-tab:hover { color: var(--ink); }
.mol-tab.active { color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(21, 87, 192, .7); }
.mol-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 26px; }
.mol-fact { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.mol-fact small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.mol-fact b { display: block; color: var(--ink); font-size: 1.02rem; margin-top: 2px; }
.mol-fact b.f { direction: ltr; text-align: start; }
.mol-desc { min-height: 3.5em; color: var(--text); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.sector::before {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0;
  filter: blur(34px);
  transition: opacity .5s;
}
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.sector:hover::before { opacity: .28; }
.sector-ic {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 22px -10px rgba(21, 87, 192, .6);
  transition: transform .5s var(--ease-spring);
}
.sector:hover .sector-ic { transform: translateY(-4px) rotate(-6deg); }
.sector-ic .ic { width: 26px; height: 26px; }
.sector h3 { position: relative; font-size: 1.06rem; }
.sector p { position: relative; margin: 0; font-size: .9rem; color: var(--muted); }

/* Process steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before {
  content: "";
  position: absolute;
  top: 44px;
  inset-inline: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.steps-line {
  position: absolute;
  top: 44px;
  inset-inline-start: 12.5%;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width 2.2s var(--ease) .3s;
}
.steps.in .steps-line { width: 75%; }
.step { position: relative; z-index: 1; text-align: center; padding-inline: 6px; }
.step-ic {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease-spring), background .4s, color .4s;
}
[data-theme="dark"] .step-ic { color: var(--cyan); }
.step:hover .step-ic { transform: translateY(-6px); background: var(--grad); color: #fff; }
.step-ic .ic { width: 34px; height: 34px; }
.step-n {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-700);
  border: 3px solid var(--bg);
  font-size: .78rem;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Slogan banner */
.slogan {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(50px, 7vw, 92px) clamp(22px, 5vw, 70px);
  border-radius: var(--r-xl);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #061a40, #0a2a66 55%, #1557c0);
}
.slogan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hex-light); }
.slogan .orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; }
.slogan .orb--1 { width: 320px; height: 320px; background: var(--sky); top: -120px; left: -80px; }
.slogan .orb--2 { width: 280px; height: 280px; background: var(--green); bottom: -140px; right: -60px; }
.slogan-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 26px);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.3rem, 6.8vw, 5.4rem);
  line-height: 1.25;
  margin-bottom: 18px;
}
.slogan-words .w {
  background: linear-gradient(100deg, #fff 0%, #a5f3fc 30%, #7ed957 50%, #a5f3fc 70%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.slogan-words .w:nth-child(3) { animation-delay: -2.3s; }
.slogan-words .w:nth-child(5) { animation-delay: -4.6s; }
.slogan-words .dots { color: rgba(255, 255, 255, .3); font-weight: 400; }
.slogan p { max-width: 640px; margin: 0 auto 32px; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.slogan-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Contact CTA card */
.cta-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-list { display: grid; gap: 12px; }
.contact-list li > * {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s;
}
.contact-list li > a:hover { transform: translateX(6px); border-color: var(--sky); }
[dir="rtl"] .contact-list li > a:hover { transform: translateX(-6px); }
.contact-list .ci { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); flex: none; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.contact-list b { display: block; color: var(--ink); font-size: 1rem; word-break: break-word; }

/* 8. INNER PAGES =========================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--topbar-h) + var(--header-h) + 64px) 0 140px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(30, 165, 233, .3), transparent 60%),
    var(--grad-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: .15;
  mix-blend-mode: luminosity;
  transform: scale(1.05);
  animation: slowzoom 20s ease-in-out infinite alternate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hex-light);
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%);
  mask: linear-gradient(90deg, transparent, #000 60%);
}
[dir="rtl"] .page-hero::before { -webkit-mask: linear-gradient(-90deg, transparent, #000 60%); mask: linear-gradient(-90deg, transparent, #000 60%); }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.crumbs a { color: rgba(255, 255, 255, .75); transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.crumbs span { color: var(--lime); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 860px; }
.page-hero p { max-width: 660px; font-size: 1.1rem; color: rgba(255, 255, 255, .78); }
.page-hero .hero-wave { height: 70px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}
.page-hero-meta .ic { color: var(--lime); width: 16px; height: 16px; }

/* About page */
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.story-photo { position: relative; }
.story-photo .frame { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--grad); }
.story-photo .frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-photo figcaption {
  position: absolute;
  bottom: -26px;
  inset-inline-start: 24px;
  inset-inline-end: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.story-photo figcaption .ci { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.story-photo figcaption b { display: block; color: var(--ink); }
.story-photo figcaption small { color: var(--muted); }
.reg-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.reg-strip > div {
  flex: 1 1 140px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.reg-strip small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.reg-strip b { color: var(--ink); font-size: 1.05rem; }

.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv-card {
  position: relative;
  overflow: hidden;
  padding: 38px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.vmv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vmv-card .big-ic {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--primary);
  background: var(--grad-soft);
}
[data-theme="dark"] .vmv-card .big-ic { color: var(--cyan); }
.vmv-card .big-ic .ic { width: 32px; height: 32px; }
.vmv-card h3 { font-size: 1.4rem; }
.vmv-card p { color: var(--muted); margin: 0; }
.vmv-card .ghost-n {
  position: absolute;
  top: 10px;
  inset-inline-end: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
}
.vmv-card.featured { color: #fff; background: linear-gradient(150deg, #0a2a66, #1557c0 70%, #1ea5e9); border-color: transparent; }
.vmv-card.featured h3 { color: #fff; }
.vmv-card.featured p { color: rgba(255, 255, 255, .8); }
.vmv-card.featured .big-ic { background: rgba(255, 255, 255, .14); color: #fff; }
.vmv-card.featured .ghost-n { -webkit-text-stroke-color: rgba(255, 255, 255, .2); }

.timeline { position: relative; max-width: 1000px; margin-inline: auto; }
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
}
.timeline::before { bottom: 0; background: var(--line); }
.timeline::after { height: var(--tl, 0%); background: var(--grad); transition: height .2s linear; }
.tl-item { position: relative; width: 50%; padding: 0 48px 54px; }
.tl-item:nth-child(odd) { text-align: end; }
.tl-item:nth-child(even) { margin-inline-start: 50%; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  top: 10px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--line);
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease-spring);
}
.tl-item:nth-child(odd) .tl-dot { inset-inline-end: -10px; }
.tl-item:nth-child(even) .tl-dot { inset-inline-start: -10px; }
.tl-item.in .tl-dot { border-color: var(--sky); box-shadow: 0 0 0 6px rgba(30, 165, 233, .16); transform: scale(1.1); }
.tl-year {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1.1;
  margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl-card {
  padding: 22px 24px;
  border-radius: 20px;
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tl-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tl-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .4s, transform .4s var(--ease);
}
.why:hover { border-color: var(--sky); transform: translateY(-4px); }
.why .n {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why p { margin: 0; font-size: .9rem; color: var(--muted); }

.facility { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.map-frame {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }
.map-frame iframe { height: calc(100% - 68px); }
.map-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.map-actions .btn { flex: 1; padding-inline: 12px; }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .86rem; font-weight: 700; color: var(--link) !important; }
.map-link .ic { width: 16px; height: 16px; }
.map-link:hover { text-decoration: underline; }
.facility-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  isolation: isolate;
  background: var(--navy-700);
}
.facility-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.facility-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(4, 19, 47, .92)); }
.facility-card h3 { color: #fff; font-size: 1.5rem; }
.facility-card p { color: rgba(255, 255, 255, .8); margin: 0; }

/* Services page */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  position: relative;
  overflow: hidden;
  padding: 34px 30px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s;
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc:hover::before { opacity: 1; }
.svc-n {
  position: absolute;
  top: 16px;
  inset-inline-end: 22px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  transition: -webkit-text-stroke-color .4s;
}
.svc:hover .svc-n { -webkit-text-stroke-color: var(--sky); }
.svc-ic {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 26px -12px rgba(21, 87, 192, .65);
  transition: transform .5s var(--ease-spring);
}
.svc:hover .svc-ic { transform: rotate(-8deg) scale(1.06); }
.svc-ic .ic { width: 30px; height: 30px; }
.svc h3 { font-size: 1.25rem; }
.svc > p { color: var(--muted); font-size: .94rem; }
.svc ul { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.svc li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--text); }
.svc li .ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.6; }

.journey { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.j-track { position: relative; height: 150px; margin-bottom: 24px; }
.j-road { position: absolute; top: 92px; left: 0; right: 0; height: 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.j-road::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 2%;
  right: 2%;
  height: 0;
  border-top: 2px dashed var(--line);
}
.j-fill { position: absolute; top: 92px; height: 8px; border-radius: 8px; background: var(--grad); transition: left .9s var(--ease), width .9s var(--ease); }
.j-truck {
  position: absolute;
  top: 26px;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 16px 30px -12px rgba(21, 87, 192, .7);
  transition: left .9s var(--ease);
}
.j-truck::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: var(--sky);
}
.j-truck .ic { width: 30px; height: 30px; }
[dir="rtl"] .j-truck .ic { transform: scaleX(-1); }
.j-truck.moving .ic { animation: rumble .3s linear infinite; }
.j-stops { position: absolute; top: 78px; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.j-stop { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; font-size: .88rem; color: var(--muted); text-align: center; transition: color .3s; }
.j-stop .pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .8rem;
  font-weight: 800;
  transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease-spring);
}
.j-stop:hover { color: var(--ink); }
.j-stop.done .pin { border-color: var(--sky); color: var(--primary); }
[data-theme="dark"] .j-stop.done .pin { color: var(--cyan); }
.j-stop.active { color: var(--ink); }
.j-stop.active .pin { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.18); }
.jp-item { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.jp-item[hidden], .cp-item[hidden] { display: none; }
.j-panel {
  margin-top: 36px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.j-panel .big-ic { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.j-panel .big-ic .ic { width: 36px; height: 36px; }
.j-panel h3 { margin-bottom: 6px; }
.j-panel p { margin: 0; color: var(--muted); }
.j-panel.swap { animation: fadeUp .5s var(--ease); }

.docs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.doc {
  position: relative;
  padding: 26px 18px 22px;
  border-radius: 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.doc:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.doc-sheet {
  position: relative;
  width: 62px;
  height: 78px;
  margin: 0 auto 16px;
  border-radius: 8px 20px 8px 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--grad-soft);
  border: 1px solid var(--line);
}
[data-theme="dark"] .doc-sheet { color: var(--cyan); }
.doc-sheet .ic { width: 28px; height: 28px; }
.doc b { display: block; font-family: "Plus Jakarta Sans", sans-serif; color: var(--ink); font-size: 1.05rem; }
.doc small { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; line-height: 1.5; }

/* Quality page */
.policy {
  position: relative;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.policy-mark {
  width: clamp(90px, 14vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 24px 50px -20px rgba(21, 87, 192, .7);
  position: relative;
}
.policy-mark::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed var(--sky); animation: spin 30s linear infinite; }
.policy-mark .ic { width: 46%; height: 46%; stroke-width: 1.5; }
.policy blockquote {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  color: var(--ink);
}
.policy p { margin: 0; color: var(--muted); }

.cycle-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.cycle { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin-inline: auto; }
.cycle-ring { position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed var(--line); }
.cycle-prog { position: absolute; inset: 12%; width: 76%; height: 76%; transform: rotate(-90deg); overflow: visible; }
.cycle-prog circle { fill: none; stroke: url(#g-brand); stroke-width: 1.4; stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease); }
.cycle-node {
  position: absolute;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease-spring), background .4s, color .4s, box-shadow .4s;
}
[data-theme="dark"] .cycle-node { color: var(--cyan); }
.cycle-node .ic { width: 30px; height: 30px; }
.cycle-node:hover { transform: scale(1.08); }
.cycle-node.active { color: #fff; background: var(--grad); transform: scale(1.16); box-shadow: 0 0 0 10px rgba(30, 165, 233, .14), var(--shadow); }
.cycle-node .k {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  background: var(--navy-700);
  border: 2px solid var(--bg);
}
.cycle-center {
  position: absolute;
  inset: 29%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.cycle-center b {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cycle-center small { font-weight: 700; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.cycle-panel { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cycle-panel .step-k { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--sky); font-size: .9rem; letter-spacing: .1em; }
.cycle-panel h3 { font-size: 1.6rem; margin-top: 6px; }
.cycle-panel p { color: var(--muted); }
.cycle-panel.swap { animation: fadeUp .5s var(--ease); }
.cycle-dots { display: flex; gap: 8px; margin-top: 18px; }
.cycle-dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--line); transition: width .4s var(--ease), background .4s; }
.cycle-dots button.active { width: 32px; background: var(--grad); }

.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.std {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.std:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.std-code {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--grad);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: .04em;
  direction: ltr;
}
.std h3 { font-size: 1.08rem; }
.std p { margin: 0; font-size: .9rem; color: var(--muted); }

.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gauge { padding: 28px 20px; border-radius: var(--r); text-align: center; background: var(--surface); border: 1px solid var(--line); }
.gauge-ring { position: relative; width: 130px; height: 130px; margin: 0 auto 16px; }
.gauge-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge-ring .track { stroke: var(--surface-2); }
.gauge-ring .val { stroke: url(#g-brand); stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2s var(--ease); }
.gauge.in .gauge-ring .val { stroke-dashoffset: var(--off); }
.gauge-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  direction: ltr;
}
.gauge h3 { font-size: 1.02rem; margin-bottom: 4px; }
.gauge p { margin: 0; font-size: .86rem; color: var(--muted); }

.ghs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ghs-item { padding: 24px 12px 20px; border-radius: 18px; text-align: center; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.ghs-item:hover { transform: translateY(-6px); }
.diamond {
  width: 62px;
  height: 62px;
  margin: 10px auto 22px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 5px solid #e11d2e;
  border-radius: 6px;
  background: #fff;
  transition: transform .6s var(--ease-spring);
}
.ghs-item:hover .diamond { transform: rotate(225deg); }
.diamond .ic { width: 28px; height: 28px; color: #111; transform: rotate(-45deg); stroke-width: 2.2; }
.ghs-item:hover .diamond .ic { transform: rotate(-225deg); }
.ghs-item b { display: block; color: var(--ink); font-size: .95rem; }
.ghs-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; margin-top: 4px; }

/* Contact page */
.info-cards { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -90px; }
.info-card {
  padding: 30px 22px;
  border-radius: 22px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease);
}
.info-card:hover { transform: translateY(-6px); }
.info-card .ci { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.info-card .ci .ic { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.info-card p, .info-card a { margin: 0; color: var(--muted); font-size: .94rem; word-break: break-word; }
.info-card a:hover { color: var(--link); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field .full, .field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label i { color: var(--rose); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; 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='%2364738e' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] .field select { background-position: left 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); background-color: var(--surface); box-shadow: 0 0 0 4px rgba(30, 165, 233, .15); }
.field .err { display: none; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--rose); }
.field.invalid input, .field.invalid textarea { border-color: var(--rose); }
.field.invalid .err { display: block; }
.form-note { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
.form-note .ic { width: 16px; height: 16px; color: var(--green); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ci { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); animation: pop .6s var(--ease-spring); }
.form-success .ci .ic { width: 40px; height: 40px; stroke-width: 2.6; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

.faq { max-width: 880px; margin-inline: auto; }
.faq-item { margin-bottom: 12px; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; text-align: start; font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.faq-q .pm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); transition: transform .45s var(--ease), background .3s, color .3s; }
.faq-q .pm .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* 9. PRODUCTS CATALOG ====================================================== */
.p-hero-search {
  position: relative;
  max-width: 620px;
  margin-top: 30px;
}
.p-hero-search input {
  width: 100%;
  height: 62px;
  padding-inline: 58px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.02rem;
  outline: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.p-hero-search input::placeholder { color: rgba(255, 255, 255, .6); }
.p-hero-search input:focus { background: rgba(255, 255, 255, .16); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(34, 211, 238, .15); }
.p-hero-search .ic { position: absolute; top: 50%; inset-inline-start: 22px; width: 22px; height: 22px; transform: translateY(-50%); color: var(--cyan); }

.catalog-bar {
  position: sticky;
  top: 86px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: var(--bar-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  --cc: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-inline: 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--cc); transform: translateY(-1px); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cc); }
.chip .count { min-width: 26px; padding: 1px 8px; border-radius: 999px; font-size: .75rem; text-align: center; background: var(--surface-2); }
.chip.active { color: #fff; background: var(--navy-700); border-color: var(--navy-700); }
[data-theme="dark"] .chip.active { background: var(--primary); border-color: var(--primary); }
[data-theme="dark"] .chip--sm.active { background: var(--sky); border-color: var(--sky); }
.chip.active .count { background: rgba(255, 255, 255, .16); }
.chip.active .dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.bar-tools { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; min-width: 240px; }
.search-mini { position: relative; flex: 1; max-width: 320px; }
.search-mini input {
  width: 100%;
  height: 44px;
  padding-inline: 42px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.search-mini input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(30, 165, 233, .14); }
.search-mini .ic { position: absolute; top: 50%; inset-inline-start: 14px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.result-count { font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.result-count b { color: var(--ink); }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.chips--types { flex-wrap: wrap; margin-top: -14px; margin-bottom: 26px; padding: 0 2px; }
.chip--sm { height: 36px; padding-inline: 14px; font-size: .84rem; font-weight: 600; }
.chip--sm.active { background: var(--primary); border-color: var(--primary); }
.pcard {
  --cc: var(--cat-prep);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
  animation: cardIn .6s var(--ease) both;
  animation-delay: var(--d, 0s);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cc) 45%, transparent); }
.pcard[data-cat="chem"] { --cc: var(--cat-lab); }
.pcard-media, .modal-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #eef1f6;
}
.pcard-media { width: 100%; aspect-ratio: 1 / .86; cursor: zoom-in; }
.pm-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) saturate(1.15);
  transform: scale(1.25);
  opacity: .55;
}
.pm-fg {
  max-width: 88%;
  max-height: 86%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 34px -16px rgba(4, 19, 47, .5);
  transition: transform .7s var(--ease);
}
.pcard:hover .pm-fg { transform: scale(1.05); }
.pcard-cat, .pcard-form {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pcard-cat { inset-inline-start: 12px; color: #fff; background: color-mix(in srgb, var(--cc) 88%, #000); }
.pcard-form { inset-inline-end: 12px; color: var(--navy-700); background: rgba(255, 255, 255, .88); }
.pcard-zoom {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(4, 19, 47, .55);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s, transform .4s var(--ease-spring);
}
.pcard-zoom .ic { width: 18px; height: 18px; }
.pcard:hover .pcard-zoom { opacity: 1; transform: none; }
.pcard-body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.pcard h3 { font-size: 1.05rem; margin-bottom: 2px; }
.pcard-alt { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.pcard .tag-row { margin-bottom: 12px; gap: 6px; }
.pcard .tag { font-size: .74rem; padding: 3px 10px; }
.tag--pack { display: inline-flex; align-items: center; gap: 5px; }
.tag--pack .ic { width: 13px; height: 13px; color: var(--cc); }
.pcard p {
  flex: 1;
  margin: 0;
  font-size: .87rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-btn { --h: 44px; margin-top: 16px; font-size: .88rem; }

.p-empty { display: none; padding: 60px 20px; text-align: center; border-radius: var(--r-lg); border: 2px dashed var(--line); }
.p-empty.show { display: block; }
.p-empty .ci { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--primary); background: var(--grad-soft); }
.p-empty .ci .ic { width: 38px; height: 38px; }

.p-request {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-xl);
  color: #fff;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.p-request::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hex-light); }
.p-request h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.p-request p { margin: 0; color: rgba(255, 255, 255, .78); }

/* Product modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 19, 47, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-box {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(.97);
  transition: transform .5s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), background .3s;
}
.modal-close:hover { transform: rotate(90deg); background: var(--surface); }
.modal-visual { min-height: 420px; }
.modal-visual .pm-fg { max-width: 86%; max-height: 82%; box-shadow: 0 24px 50px -20px rgba(4, 19, 47, .55); }
.pm-alt { margin: -4px 0 12px; font-weight: 600; color: var(--muted); }
.pill-tag--muted { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.pm-warn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
  color: #b42318;
  background: rgba(229, 72, 77, .09);
}
[data-theme="dark"] .pm-warn { color: #ff8b8f; }
.pm-warn .ic { width: 18px; height: 18px; }
.modal-body { padding: 34px 30px 30px; }
.modal-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); padding-inline-end: 40px; }
.modal-body .lead { color: var(--muted); }
.modal-body h4 { font-size: .9rem; margin: 20px 0 10px; color: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  direction: ltr;
}
.haz-row { display: flex; flex-wrap: wrap; gap: 14px; }
.haz { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 700; color: var(--ink); }
.haz i { width: 30px; height: 30px; display: grid; place-items: center; transform: rotate(45deg); border: 3px solid #e11d2e; border-radius: 4px; background: #fff; margin: 4px; }
.haz i .ic { width: 15px; height: 15px; color: #111; transform: rotate(-45deg); stroke-width: 2.4; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* 10. TOAST / TUBE ========================================================= */
.toasts { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: .92rem;
  animation: toastIn .5s var(--ease) both;
  pointer-events: auto;
}
.toast.out { animation: toastOut .4s var(--ease) both; }
.toast .ti { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--green); flex: none; }
.toast .ti .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.toast.info .ti { background: var(--sky); }

/* Test-tube scroll progress / back to top */
.tube {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 90;
  width: 48px;
  height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .4s, transform .5s var(--ease), visibility .4s;
}
.tube.show { opacity: 1; visibility: visible; transform: none; }
.tube-rim { width: 40px; height: 9px; border-radius: 6px; background: var(--surface); border: 2px solid var(--primary); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .tube-rim { border-color: var(--cyan); }
.tube-body {
  position: relative;
  width: 30px;
  height: 100px;
  margin-top: -2px;
  overflow: hidden;
  border: 2px solid var(--primary);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
[data-theme="dark"] .tube-body { border-color: var(--cyan); }
.tube-liquid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--p, 0) * 100%);
  background: linear-gradient(0deg, #1557c0, #1ea5e9 60%, #7ed957);
  transition: height .15s linear;
}
.tube-liquid::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -50%;
  width: 200%;
  height: 10px;
  background: radial-gradient(circle at 10px -3px, transparent 7px, #7ed957 8px) 0 0 / 20px 10px repeat-x;
  animation: tubewave 1.4s linear infinite;
}
.tube-bubbles i {
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  animation: tubebub 2.4s ease-in infinite;
}
.tube-bubbles i:nth-child(1) { left: 7px; }
.tube-bubbles i:nth-child(2) { left: 15px; animation-delay: .8s; width: 4px; height: 4px; }
.tube-bubbles i:nth-child(3) { left: 11px; animation-delay: 1.6s; }
.tube-arrow {
  position: absolute;
  top: 34px;
  left: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-700);
  opacity: 0;
  transform: translateY(8px) scale(.6);
  transition: opacity .3s, transform .4s var(--ease-spring);
}
.tube:hover .tube-arrow, .tube:focus-visible .tube-arrow { opacity: 1; transform: none; }
.tube-arrow .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.tube-pct { margin-top: 4px; font-size: .68rem; font-weight: 800; color: var(--primary); font-family: "Plus Jakarta Sans", sans-serif; }
[data-theme="dark"] .tube-pct { color: var(--cyan); }

/* Preloader */
.preloader { display: none; }
.first-visit .preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--grad-dark);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #fff; }
.pl-flask { width: 92px; height: 92px; filter: drop-shadow(0 10px 30px rgba(34, 211, 238, .4)); }
.pl-liquid { animation: plfill 1.4s var(--ease) forwards; }
.pl-name { font-family: "Cairo", sans-serif; font-weight: 900; font-size: 1.8rem; line-height: 1; text-align: center; }
.pl-name small { display: block; margin-top: 6px; font-family: "Plus Jakarta Sans", sans-serif; font-size: .78rem; letter-spacing: .5em; color: var(--cyan); }
.pl-bar { width: 160px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.pl-bar i { display: block; height: 100%; width: 0; background: var(--grad-text); animation: plbar 1.3s var(--ease) forwards; }

/* Page / language transitions */
body.leaving { opacity: 0; transition: opacity .28s ease; }
main, .site-footer, .main-nav, .topbar { transition: opacity .22s ease; }
body.lang-fade main, body.lang-fade .site-footer, body.lang-fade .main-nav, body.lang-fade .topbar { opacity: 0; }

/* Reveal on scroll */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="start"] { transform: translateX(-46px); }
.js [data-reveal="end"] { transform: translateX(46px); }
.js[dir="rtl"] [data-reveal="start"] { transform: translateX(46px); }
.js[dir="rtl"] [data-reveal="end"] { transform: translateX(-46px); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* 11. FOOTER =============================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(70px, 9vw, 100px);
  color: rgba(255, 255, 255, .7);
  background: #04132f;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hex-light);
  -webkit-mask: linear-gradient(180deg, #000, transparent 70%);
  mask: linear-gradient(180deg, #000, transparent 70%);
  opacity: .6;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  z-index: -1;
  width: 700px;
  height: 400px;
  margin-left: -350px;
  border-radius: 50%;
  background: rgba(30, 165, 233, .18);
  filter: blur(100px);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: 40px; }
.footer-about p { margin: 18px 0 22px; font-size: .94rem; line-height: 1.8; }
.site-footer .brand-name { color: #fff; }
.footer-slogan {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.footer-slogan span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer h4 { position: relative; margin-bottom: 22px; padding-bottom: 12px; color: #fff; font-size: 1.05rem; }
.site-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; transition: color .3s, transform .3s var(--ease); }
.footer-links a .ic { width: 14px; height: 14px; opacity: 0; margin-inline-start: -22px; transition: opacity .3s, margin .35s var(--ease); color: var(--cyan); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover .ic { opacity: 1; margin-inline-start: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .94rem; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .3s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-social .ic { width: 18px; height: 18px; }
.footer-big {
  margin-top: 50px;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 15vw, 13rem);
  line-height: .8;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(34, 211, 238, .14), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  direction: ltr;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
}
.footer-bottom a:hover { color: #fff; }

/* 12. KEYFRAMES ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; }
  33% { border-radius: 58% 42% 44% 56% / 52% 58% 42% 48%; }
  66% { border-radius: 40% 60% 52% 48% / 60% 40% 60% 40%; }
}
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes wave { to { transform: translateX(-60px); } }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-70px) scale(1.1); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes nudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes tubewave { to { transform: translateX(20px); } }
@keyframes tubebub { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-80px); opacity: 0; } }
@keyframes plfill { from { transform: translateY(64px); } to { transform: translateY(26px); } }
@keyframes plbar { to { width: 100%; } }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slowzoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
@keyframes rumble { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.5px; } }

/* 13. RESPONSIVE =========================================================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  .nav-actions { margin-inline-start: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hv-card--c { display: none; }
}

@media (max-width: 1100px) {
  .cats {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    grid-template-areas: "lab lab" "pharma ind" "prep serv";
  }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .docs { grid-template-columns: repeat(3, 1fr); }
  .ghs { grid-template-columns: repeat(3, 1fr); }
  .gauges { grid-template-columns: repeat(2, 1fr); }
  .elements--6 { grid-template-columns: repeat(3, 1fr); }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero { padding-bottom: 190px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-rotator, .hero-actions, .hero-trust { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { max-width: 460px; }
  .feat-band { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .feat + .feat::before { display: none; }
  .about-grid, .mol-grid, .story-grid, .cycle-wrap, .contact-grid, .facility { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; margin-inline: auto; width: 100%; }
  .am-badge { inset-inline-start: -12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .stat:nth-child(3)::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps-line { display: none; }
  .cta-card { grid-template-columns: 1fr; }
  .vmv, .svc-grid, .standards { grid-template-columns: repeat(2, 1fr); }
  .vmv-card.featured { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; }
  .modal-visual { min-height: 300px; }
  .story-photo { margin-bottom: 30px; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .header-shell.is-scrolled { transform: none; }
  .header-shell.is-scrolled .site-header { height: 64px; }
  .hero, .page-hero { padding-top: calc(var(--header-h) + 40px); }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { display: none; }
  .theme-toggle-desk { display: none; }
  .timeline::before, .timeline::after { left: 19px; margin-left: 0; }
  [dir="rtl"] .timeline::before, [dir="rtl"] .timeline::after { left: auto; right: 19px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-inline-start: 0; padding-inline: 54px 0; text-align: start; }
  .tl-item:nth-child(odd) { text-align: start; }
  .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot { inset-inline-start: 10px; inset-inline-end: auto; }
  .j-stop span.lbl { font-size: .74rem; }
  .jp-item { grid-template-columns: 1fr; text-align: center; }
  .j-panel .big-ic { margin-inline: auto; }
  .catalog-bar { position: static; }
  #pChips { flex-wrap: wrap; }
  .bar-tools { min-width: 100%; }
  .search-mini { max-width: none; }
  .p-request { grid-template-columns: 1fr; text-align: center; }
  .footer-big { margin-top: 30px; }
  .policy { grid-template-columns: 1fr; text-align: center; }
  .policy-mark { margin-inline: auto; }
}

@media (max-width: 640px) {
  .feat-band { grid-template-columns: repeat(2, 1fr); }
  .feat:last-child { grid-column: 1 / -1; }
  .feat { padding: 20px 12px; }
  .cats { grid-template-columns: 1fr; grid-auto-rows: 240px; grid-template-areas: "lab" "pharma" "ind" "prep" "serv"; }
  .cat--lab { grid-row: span 1; }
  .cat--lab p { display: none; }
  .sectors, .vmv, .svc-grid, .standards, .why-grid { grid-template-columns: 1fr; }
  .info-cards { gap: 12px; }
  .info-card { padding: 22px 12px; }
  .info-card .ci { width: 50px; height: 50px; border-radius: 15px; margin-bottom: 12px; }
  .info-card p, .info-card a { font-size: .84rem; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .ghs { grid-template-columns: repeat(2, 1fr); }
  .gauges { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gauge { padding: 20px 10px; }
  .gauge-ring { width: 104px; height: 104px; }
  .mol-facts { grid-template-columns: 1fr 1fr; }
  .mol-facts .mol-fact:last-child { grid-column: 1 / -1; }
  .mol-legend { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .elements { gap: 10px; }
  .el-face { padding: 10px; }
  .el-name { font-size: .8rem; }
  .el-back { font-size: .74rem; }
  .am-badge { width: 116px; height: 116px; top: -24px; inset-inline-start: -10px; }
  .am-badge b { font-size: 1.8rem; }
  .am-badge .ring text { font-size: 9px; }
  .am-tag { display: none; }
  .hv-card { padding: 8px 12px 8px 8px; gap: 8px; }
  [dir="rtl"] .hv-card { padding: 8px 8px 8px 12px; }
  .hv-card .ico { width: 34px; height: 34px; border-radius: 10px; }
  .hv-card b { font-size: 1.05rem; }
  .hv-card small { font-size: .7rem; }
  .hv-card--a { inset-inline-start: 0; }
  .hv-card--b { inset-inline-end: 0; }
  .j-track { height: 140px; }
  .j-stop .lbl { display: none; }
  .j-stops { top: 78px; }
  .tube { bottom: 16px; inset-inline-end: 14px; transform: translateY(24px) scale(.85); }
  .tube.show { transform: scale(.85); }
  .toasts { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
  .lang-switch { min-width: 80px; }
  .nav-actions { gap: 6px; }
  .modal { padding: 0; align-items: end; }
  .modal-box { max-height: 92dvh; border-radius: 26px 26px 0 0; }
  .modal-body { padding: 26px 20px 24px; }
  .cycle-node { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .cycle-node .ic { width: 24px; height: 24px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard-body { padding: 14px 14px 16px; }
  .pcard h3 { font-size: .95rem; }
  .pcard p, .pcard .tag-row .tag:nth-child(n+4) { display: none; }
  .pcard-cat { display: none; }
  .pcard-form { top: 8px; inset-inline-end: 8px; font-size: .66rem; padding: 4px 8px; }
}

@media (max-width: 400px) {
  .brand { gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .icon-btn { width: 38px; height: 38px; }
  .lang-switch { height: 38px; min-width: 72px; font-size: .8rem; }
  .nav-actions { gap: 5px; }
  .elements { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .el-sym { font-size: 1.6rem; }
  .hero-actions .btn { width: 100%; }
}

@media (hover: none) {
  .cat p { max-height: none; opacity: 1; margin-top: 8px; }
}

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

@media print {
  .header-shell, .mnav, .tube, .toasts, .preloader, .net-canvas { display: none !important; }
  .hero, .page-hero, .stats, .site-footer { background: #fff !important; color: #000 !important; }
}
