/* ══════════════════════════════════════════════════════════════
   Forma Build — site styles
   Tokens first; everything else is built from them.
   Uses logical properties (inline-start/end) so RTL works for free.
   ══════════════════════════════════════════════════════════════ */
:root {
  --lime: #8DC63F;
  --lime-600: #79AE30;
  --lime-text: #4A7A16; /* lime tone that passes AA on white */
  --cyan: #00AEDB;
  --teal: #0B5568;
  --teal-700: #08404F;
  --ink: #0F1113;
  --ink-2: #171A1D;
  --ink-3: #20252A;
  --off: #F7F9F8;
  --white: #FFFFFF;
  --text: #1C2427;
  --muted: #56646A;
  --muted-dark: #A9B6BB;
  --line: #DFE7E6;
  --line-dark: rgba(255, 255, 255, .1);
  --danger: #C2362B;

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 17, 19, .06), 0 2px 8px rgba(15, 17, 19, .04);
  --shadow: 0 2px 4px rgba(15, 17, 19, .04), 0 12px 32px -8px rgba(11, 85, 104, .16);
  --shadow-lg: 0 4px 8px rgba(15, 17, 19, .05), 0 28px 60px -12px rgba(11, 85, 104, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
}

html[lang="ar"] {
  --font-head: 'IBM Plex Sans Arabic', 'Outfit', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
.i18n-pending body { opacity: 0; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--off);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: opacity .15s;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--teal); font-weight: 700; }
html[lang="ar"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }

.ico { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ico.flip { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--lime); }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ─── Sections & surfaces ─── */
.section { position: relative; padding-block: var(--section-y); overflow: clip; }
.light { background: var(--off); }
.white { background: var(--white); }
.offwhite { background: #EEF3F2; }
.dark { background: var(--ink); color: #DCE4E6; }
.dark :is(h1, h2, h3) { color: var(--white); }
.dark .muted, .dark .lead-sm { color: var(--muted-dark); }

.bp-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image:
    linear-gradient(rgba(0, 174, 219, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 219, .07) 1px, transparent 1px),
    linear-gradient(rgba(0, 174, 219, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 219, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%);
}
.light .bp-grid { background-image: linear-gradient(rgba(11, 85, 104, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 85, 104, .06) 1px, transparent 1px); background-size: 40px 40px; }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); position: relative; }
.section-head h2 { margin-bottom: 0; max-width: 18ch; }
.section-head.center h2 { margin-inline: auto; max-width: 24ch; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head.split > p { max-width: 42ch; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--lime); transform: rotate(45deg); flex: none; }
.eyebrow.on-dark { color: var(--lime); }
.eyebrow.on-dark::before { background: var(--cyan); }
.eyebrow .dot { display: none; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }

/* ─── Buttons ─── */
.btn {
  --bg: var(--teal); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 22px;
  border-radius: 10px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: -0.005em; line-height: 1.1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { --bg: var(--lime); --fg: var(--ink); box-shadow: 0 6px 20px -6px rgba(141, 198, 63, .6); }
.btn-primary:hover { --bg: #9BD24C; box-shadow: 0 10px 28px -6px rgba(141, 198, 63, .7); }
.btn-outline { --bg: transparent; --fg: var(--teal); --bd: #BFD3D3; }
.btn-outline:hover { --bd: var(--teal); --bg: #fff; }
.btn-ghost-light { --bg: rgba(255, 255, 255, .04); --fg: #fff; --bd: rgba(255, 255, 255, .22); }
.btn-ghost-light:hover { --bd: var(--cyan); --bg: rgba(0, 174, 219, .1); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --bg: var(--teal-700); }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); --bd: rgba(15, 17, 19, .35); }
.btn-ghost-dark:hover { --bd: var(--ink); }
.btn-wa { --bg: #0F7A42; --fg: #fff; width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; border-radius: 9px; }
.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 1.04rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; color: var(--teal); transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--teal); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--teal); }
.link-arrow .ico { width: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }
.link-quiet { font-weight: 500; color: var(--muted); border-bottom: 1px solid currentColor; line-height: 1.2; }
.link-quiet:hover { color: var(--teal); }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(15, 17, 19, .18); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.22rem; letter-spacing: .02em; color: var(--teal); }
.brand-text small { font-size: .68rem; font-weight: 600; letter-spacing: .12em; color: var(--lime-text); text-transform: uppercase; margin-top: 3px; }
html[lang="ar"] .brand-text small { letter-spacing: 0; font-size: .74rem; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 10px 12px; font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: #33424A; border-radius: 8px; transition: color .2s;
}
.main-nav a:not(.btn)::after { content: ''; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--teal); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 9px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .92rem; color: var(--teal); background: #fff; transition: border-color .2s;
}
.lang-toggle:hover { border-color: var(--teal); }
.lang-toggle .ico { width: 17px; height: 17px; }
[data-lang-label] { font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif; }
.cart-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: var(--teal); border: 1.5px solid var(--line); background: #fff; }
.cart-link:hover { border-color: var(--teal); }
.cart-count {
  position: absolute; top: -7px; inset-inline-end: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: var(--teal); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle .ico { width: 26px; height: 26px; }

@media (max-width: 1140px) {
  .main-nav a:not(.btn) { padding-inline: 9px; font-size: .94rem; }
  .brand-text small { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .header-actions { margin-inline-start: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h)); margin: 0; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--line); padding: 12px var(--gutter) 28px; box-shadow: 0 30px 50px -20px rgba(15, 17, 19, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 4px; font-size: 1.12rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { display: flex; width: 100%; margin-top: 20px; }
  .brand-text small { display: block; }
}
@media (max-width: 420px) {
  .brand-text { display: none; }
}

/* ─── Intro launcher (home page, first visit per session) ─── */
.intro { display: none; }
.intro-on { --intro-d: 2.2s; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #10333D 0%, var(--ink) 62%);
  cursor: pointer; animation: intro-out .8s 2.05s cubic-bezier(.76, 0, .24, 1) forwards;
}
.intro-on .intro.skip { animation: intro-skip .5s cubic-bezier(.76, 0, .24, 1) forwards; }
.intro-on .hero [data-reveal] { transition-delay: calc(var(--intro-d) + var(--d, 0ms)); }
.intro-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 174, 219, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 174, 219, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 45%, #000, transparent 65%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 65%); animation: intro-fade .8s ease-out both; }
.intro-stage { position: relative; display: grid; place-items: center; width: min(360px, 72vw); aspect-ratio: 1; }
.intro-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro-frame path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; animation: draw 1.1s .1s cubic-bezier(.65, 0, .35, 1) forwards, intro-spin 2.6s .1s cubic-bezier(.65, 0, .35, 1) both; transform-origin: 150px 150px; }
.intro-logo { position: relative; width: min(240px, 50vw); height: auto; opacity: 0; transform: scale(.86) translateY(8px); filter: blur(6px); animation: intro-logo .9s .2s cubic-bezier(.2, .7, .2, 1) forwards; }
.intro-sq { position: absolute; display: block; opacity: 0; animation: intro-pop .5s cubic-bezier(.2, .9, .3, 1.4) forwards, float 4s ease-in-out 1.2s infinite; }
.intro-sq.s1 { width: 14px; height: 14px; background: var(--cyan); top: 16%; inset-inline-start: 18%; animation-delay: .7s, 1.2s; }
.intro-sq.s2 { width: 9px; height: 9px; background: var(--lime); top: 9%; inset-inline-start: 28%; animation-delay: .8s, 1.6s; }
.intro-sq.s3 { width: 11px; height: 11px; background: var(--lime); bottom: 17%; inset-inline-end: 16%; animation-delay: .9s, 2s; }
.intro-bar { position: absolute; bottom: 18%; inset-inline: 0; margin-inline: auto; width: 140px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; animation: intro-fade .4s .4s both; }
.intro-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--lime)); transform: scaleX(0); transform-origin: left; animation: intro-load 1.4s .5s cubic-bezier(.65, 0, .35, 1) forwards; }
[dir="rtl"] .intro-bar span { transform-origin: right; }
@keyframes intro-logo { to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes intro-load { to { transform: scaleX(1); } }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes intro-spin { from { transform: rotate(-45deg) scale(.9); } to { transform: none; } }
@keyframes intro-skip { 0% { clip-path: inset(0 0 0 0); } 99% { clip-path: inset(0 0 100% 0); visibility: visible; } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes intro-out { 0% { clip-path: inset(0 0 0 0); } 99% { clip-path: inset(0 0 100% 0); visibility: visible; } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 96px); padding-bottom: 0; }
.hero-glow { position: absolute; width: 900px; height: 900px; inset-inline-end: -200px; top: -300px; background: radial-gradient(circle, rgba(0, 174, 219, .22), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--lime); position: relative; white-space: nowrap; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #B9C6CA; max-width: 54ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .93rem; color: #9FB0B5; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 18px; height: 18px; color: var(--lime); }
.hero-visual { position: relative; }
.hero-products { width: 100%; max-width: 640px; margin-inline: auto; overflow: visible; }
.hp-floor { animation: fade .9s calc(var(--intro-d, 0s) + .1s) both; }
.hp-pad { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s calc(var(--intro-d, 0s) + .2s) var(--ease) forwards; }
.hp-obj { animation: hp-drop .9s var(--ease) both; }
.hp-ply { animation-delay: calc(var(--intro-d, 0s) + .45s); }
.hp-jrc { animation-delay: calc(var(--intro-d, 0s) + .65s); }
.hp-mh { animation-delay: calc(var(--intro-d, 0s) + .85s); }
.hp-sq rect { animation: float 6s ease-in-out infinite; transform-box: fill-box; }
.hp-sq rect:nth-child(2) { animation-delay: -2s; } .hp-sq rect:nth-child(3) { animation-delay: -4s; }
@keyframes hp-drop { from { opacity: 0; transform: translateY(-36px); } }
/* Product labels (physical left/right: the scene itself doesn't mirror in RTL) */
.hp-label {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(15, 17, 19, .78); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); white-space: nowrap; color: #fff;
  animation: hp-pop .6s calc(var(--intro-d, 0s) + 1.3s + var(--i) * .15s) cubic-bezier(.2, .9, .3, 1.3) both;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.hp-label:hover { border-color: var(--lime); background: rgba(15, 17, 19, .92); transform: translateY(-2px); }
.hp-label strong { display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 600; line-height: 1.2; }
.hp-label small { display: block; font-size: .74rem; color: var(--muted-dark); line-height: 1.3; }
.hp-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }
.hp-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; animation: hp-ping 2.4s calc(var(--i) * .6s + 2s) ease-out infinite; }
.hl-ply { top: 9%; right: -2%; }
.hl-jrc { top: 63%; left: -3%; }
.hl-mh { bottom: 2%; right: 2%; }
@keyframes hp-pop { from { opacity: 0; transform: scale(.7) translateY(8px); } }
@keyframes hp-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes fade { to { opacity: 1; } }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px;
  background: rgba(23, 26, 29, .72); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); animation: float 7s ease-in-out infinite;
}
.hero-chip .ico { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: rgba(141, 198, 63, .14); color: var(--lime); }
.hero-chip strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.1; }
.hero-chip small { color: var(--muted-dark); font-size: .8rem; }
.chip-b { left: -3%; top: -2%; animation-delay: -3.5s; }
.chip-cert { color: inherit; padding: 14px 18px 14px 14px; border-color: rgba(141, 198, 63, .35); transition: border-color .25s, background .25s; }
a.chip-cert:hover { border-color: var(--lime); background: rgba(23, 26, 29, .9); }
.chip-cert .cert-seal { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; }
.chip-cert .cert-seal::before { content: ''; position: absolute; inset: 5px; background: var(--lime); transform: rotate(45deg); border-radius: 7px; }
.chip-cert .cert-seal .ico { position: relative; width: 22px; height: 22px; padding: 0; background: none; color: var(--ink); stroke-width: 2; }
.chip-cert > span:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.chip-cert .cert-view { display: inline-flex; margin-top: 4px; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--lime); border-bottom: 1px solid rgba(141, 198, 63, .5); line-height: 1.3; }

.stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px);
  border: 1px solid var(--line-dark); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); backdrop-filter: blur(6px);
}
.stat { padding: 28px 28px 32px; position: relative; }
.stat + .stat { border-inline-start: 1px solid var(--line-dark); }
.stat-num { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num > span + * , .stat-num { white-space: nowrap; }
.stat-num::after { content: ''; display: block; width: 28px; height: 3px; background: var(--lime); margin-top: 14px; border-radius: 2px; }
.stat-label { color: var(--muted-dark); font-size: .93rem; margin-top: 10px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin-inline: auto; }
  .hero-chip { padding: 8px 12px; }
  .hero-chip .ico { width: 28px; height: 28px; padding: 5px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 600px) {
  .hero-visual { max-width: 440px; }
  .hp-label { padding: 6px 11px 6px 8px; gap: 8px; }
  .hp-label strong { font-size: .78rem; }
  .hp-label small { display: none; }
  .hl-ply { top: 6%; right: 0; }
  .hl-jrc { top: 62%; left: 0; }
  .chip-cert { left: 0; top: auto; bottom: -20%; padding: 10px 14px 10px 10px; }
  .hero-visual { margin-bottom: 18%; }
  .chip-cert .cert-seal { width: 38px; height: 38px; }
  .stat { padding: 20px 18px 24px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ─── Page hero ─── */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.page-hero::after { content: ''; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border: 2px solid rgba(141, 198, 63, .25); transform: rotate(45deg); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; }
.page-hero .lead { color: #B9C6CA; max-width: 62ch; font-size: 1.1rem; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted-dark); margin-bottom: 24px; }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: .5; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: #fff; }
.nf { padding-block: 120px; text-align: center; }
.nf h1, .nf .lead { margin-inline: auto; }
.nf .hero-ctas { margin-top: 32px; }
.nf-code { font-family: 'Outfit'; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--lime); margin-bottom: 12px; }

/* ─── Category cards ─── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #CFE0DE; }
.cat-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E6EFF0; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body { position: relative; padding: 34px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-icon {
  position: absolute; top: -26px; inset-inline-start: 26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px;
  background: var(--teal); color: #fff; box-shadow: 0 10px 20px -8px rgba(11, 85, 104, .6); border: 3px solid #fff;
}
.cat-icon .ico { width: 24px; height: 24px; }
.cat-card:hover .cat-icon { background: var(--lime); color: var(--ink); }
.cat-body h3 { margin-bottom: 10px; font-size: 1.22rem; }
.cat-body h3 a::after { content: ''; position: absolute; inset: 0; }
.cat-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.cat-links { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--line); }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

/* ─── Why ─── */
.why-inner { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why-intro h2 { max-width: 14ch; }
.why-intro .lead-sm { font-size: 1.06rem; margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card {
  padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--ink-2), #13161A); border: 1px solid var(--line-dark);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(141, 198, 63, .45); }
.why-card h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.why-card p { color: var(--muted-dark); font-size: .95rem; margin: 0; }
.why-icon {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; color: var(--lime);
}
.why-icon::before { content: ''; position: absolute; inset: 6px; border: 1.5px solid rgba(141, 198, 63, .5); background: rgba(141, 198, 63, .08); transform: rotate(45deg); border-radius: 6px; transition: transform .5s var(--ease); }
.why-card:hover .why-icon::before { transform: rotate(135deg); }
.why-icon .ico { position: relative; width: 22px; height: 22px; }
@media (max-width: 900px) { .why-inner { grid-template-columns: 1fr; } .why-intro { position: static; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ─── Capabilities timeline ─── */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.timeline::before { content: ''; position: absolute; top: 27px; inset-inline: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); opacity: .35; }
.tl-step { position: relative; }
.tl-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; font-family: 'Outfit'; font-weight: 700; color: var(--teal); z-index: 1;
}
.tl-num::before { content: ''; position: absolute; inset: 6px; background: #fff; border: 2px solid var(--teal); transform: rotate(45deg); border-radius: 6px; z-index: -1; transition: background .3s, border-color .3s; }
.tl-step:hover .tl-num::before, .tl-step:last-child .tl-num::before { background: var(--lime); border-color: var(--lime); }
.tl-step:last-child .tl-num { color: var(--ink); }
.tl-step h3 { font-size: 1.15rem; }
.tl-step p { color: var(--muted); font-size: .94rem; margin: 0; }
.cap-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.cap-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .93rem; color: var(--teal); }
.cap-pill .ico { width: 14px; height: 14px; color: var(--lime-600); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 14px); }
  .tl-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .tl-num { grid-row: span 2; margin: 0; }
  .tl-step h3 { margin: 14px 0 4px; }
}

/* ─── Sectors ─── */
.projects { background: linear-gradient(180deg, var(--ink) 0%, #0B1618 100%); }
.sector-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.sector-card { position: relative; grid-column: span 2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); background: var(--ink-2); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.sector-card:nth-child(1), .sector-card:nth-child(2) { grid-column: span 3; }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.sector-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(15, 17, 19, .92) 75%); z-index: -1; }
.sector-card:hover img { transform: scale(1.06); }
.sector-body { padding: 28px; }
.sector-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--lime); margin-bottom: 10px; }
.sector-tag .ico { width: 16px; height: 16px; }
.sector-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sector-body p { color: #B9C6CA; font-size: .95rem; margin: 0; max-width: 48ch; }
@media (max-width: 960px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } .sector-card, .sector-card:nth-child(1), .sector-card:nth-child(2) { grid-column: span 1; } .sector-card:nth-child(1) { grid-column: span 2; } }
@media (max-width: 600px) { .sector-grid { grid-template-columns: 1fr; } .sector-card:nth-child(1) { grid-column: span 1; } .sector-card { min-height: 340px; } }

/* ─── Client logo marquee ─── */
.clients-section { padding-bottom: clamp(56px, 7vw, 96px); }
.marquee-wrap { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { overflow: hidden; direction: ltr; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee-wrap:hover .marquee-track, .marquee-wrap:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile {
  flex: none; display: grid; place-items: center; width: 220px; height: 104px; padding: 18px 26px;
  background: var(--off); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease), background .3s;
}
.logo-tile:hover { background: #fff; border-color: #CFE0DE; box-shadow: var(--shadow); transform: translateY(-3px); }
.logo-tile img { max-width: 100%; max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-word { display: inline-flex; align-items: center; gap: 9px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.15; letter-spacing: -0.01em; color: #56676D; text-align: center; transition: color .3s; }
.logo-word .ico { width: 16px; height: 16px; color: #A6B9BE; transition: color .3s; }
.logo-tile:hover .logo-word { color: var(--teal); }
.logo-tile:hover .logo-word .ico { color: var(--lime-600); }
@media (max-width: 600px) { .logo-tile { width: 168px; height: 84px; padding: 14px 18px; } .logo-word { font-size: .92rem; } .marquee-wrap, .marquee-track { gap: 12px; } }

/* ─── CTA band ─── */
.cta-band { position: relative; overflow: hidden; background: var(--lime); padding-block: clamp(48px, 6vw, 72px); }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 17, 19, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 17, 19, .07) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band::after { content: ''; position: absolute; width: 300px; height: 300px; border: 40px solid rgba(255, 255, 255, .22); transform: rotate(45deg); inset-inline-end: 8%; top: -120px; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 26ch; margin-bottom: 8px; }
.cta-band p { color: #22320F; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Footer ─── */
.site-footer { position: relative; background: var(--ink); color: var(--muted-dark); padding-top: 80px; overflow: hidden; }
.footer-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 174, 219, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 174, 219, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand p { font-size: .95rem; max-width: 36ch; }
.footer-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 20px; font-weight: 600; }
html[lang="ar"] .footer-h { letter-spacing: 0; font-size: .95rem; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--lime); }
.footer-contact li { display: flex; gap: 12px; font-size: .95rem; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--lime); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-dark); color: #CBD5D8; transition: all .25s; }
.social a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: translateY(-2px); }
.social .ico { width: 18px; height: 18px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 96px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .muted { color: #7C8A8F; }
@media (min-width: 761px) { .footer-bottom { padding-bottom: 28px; } }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ─── Floating actions ─── */
.floating-actions { position: fixed; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 12px; align-items: center; }
.fab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: 28px; box-shadow: 0 12px 30px -8px rgba(15, 17, 19, .45); transition: transform .25s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.03); }
.fab-wa { width: 56px; background: #25D366; color: #fff; }
.fab-wa .ico { width: 28px; height: 28px; }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.fab-quote { display: none; padding: 0 20px; background: var(--lime); color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.fab-quote .cart-count { box-shadow: 0 0 0 2px var(--lime); background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .floating-actions { inset-inline: 16px; justify-content: space-between; }
  .fab-quote { display: inline-flex; }
}
body[data-page="quote"] .fab-quote { display: none; }

/* ─── Toasts ─── */
.toast-region { position: fixed; z-index: 60; inset-inline-start: 50%; transform: translateX(-50%); bottom: 96px; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
[dir="rtl"] .toast-region { transform: translateX(50%); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); animation: toast-in .35s var(--ease); font-size: .95rem; }
.toast .ico { color: var(--lime); }
.toast a { margin-inline-start: auto; color: var(--lime); font-weight: 600; white-space: nowrap; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ─── Catalogue ─── */
.cat-toolbar { position: sticky; top: var(--header-h); z-index: 5; display: grid; gap: 16px; padding: 18px; margin-bottom: 20px; background: rgba(247, 249, 248, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.search-field { position: relative; display: block; }
.search-field .ico { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { width: 100%; height: 52px; padding-inline: 48px 16px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.search-field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 174, 219, .15); }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .9rem; font-weight: 500; color: #33424A; white-space: nowrap; transition: all .2s; }
.chip-btn .ico { width: 16px; height: 16px; color: var(--teal); }
.chip-btn:hover { border-color: var(--teal); }
.chip-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip-btn[aria-pressed="true"] .ico { color: var(--lime); }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.pc-media { display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pc-cat { display: inline-block; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--lime-text); margin-bottom: 8px; }
html[lang="ar"] .pc-cat { letter-spacing: 0; }
.pc-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pc-body h3 a:hover { color: var(--cyan); }
.pc-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chips li { font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: #EAF3F4; color: var(--teal); }
.pc-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.empty-state { text-align: center; padding: 64px 20px; border: 1.5px dashed #C9D8D7; border-radius: var(--radius); background: #fff; }
.empty-state > .ico { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--teal); }
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* Skeleton shimmer until images load */
.skel { background: linear-gradient(100deg, #E6EEEE 30%, #F3F7F7 50%, #E6EEEE 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skel img { opacity: 0; }
.skel.loaded { animation: none; background: #E6EFF0; }
.skel.loaded img { opacity: 1; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ─── Product detail ─── */
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 10 / 7; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { width: 92px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: all .2s; }
.thumb[aria-pressed="true"], .thumb:hover { border-color: var(--lime); opacity: 1; }
.pd-lead { font-size: 1.08rem; color: #33424A; margin: 8px 0 28px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table th { width: 38%; background: #F2F7F6; color: var(--teal); font-family: var(--font-head); font-weight: 600; text-transform: capitalize; }
.pd-buy { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 4px; }
.qty .icon-btn { border: 0; width: 44px; height: 44px; }
.qty input { width: 64px; height: 44px; border: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm .icon-btn, .qty.sm input { height: 34px; width: 34px; }
.qty.sm input { width: 44px; }
.pd-alt { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pd-alt .btn { flex: 1; }
.pd-assure { display: grid; gap: 10px; padding: 20px; border-radius: var(--radius-sm); background: #EAF3F4; }
.pd-assure li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--teal); font-size: .95rem; }
.pd-assure .ico { color: var(--lime-600); }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; } .gallery { position: static; } }

/* ─── Cards & forms ─── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 36px); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.card-head h2 { font-size: 1.45rem; margin: 0; }
.badge { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: #2A3A41; }
.req { color: var(--danger); }
.field :is(input, select, textarea) {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #D3DEDD; border-radius: 10px; background: #FBFDFC; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field :is(input, select, textarea):hover { border-color: #B3C7C6; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0, 174, 219, .15); }
.field.invalid :is(input, select, textarea) { border-color: var(--danger); }
.err { color: var(--danger); font-size: .84rem; min-height: 0; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: .84rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-foot p { margin: 0; max-width: 40ch; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status .msg { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status .msg.ok { background: #EEF7E4; color: #33531A; }
.form-status .msg.bad { background: #FBECEA; color: #8A2219; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

.dropzone { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border: 2px dashed #BFD3D2; border-radius: 12px; background: #F5FAF9; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--cyan); background: #EDF8FB; }
.dropzone:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 174, 219, .15); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; color: var(--teal); box-shadow: var(--shadow-sm); }
.dropzone strong { display: block; color: var(--teal); }
.dropzone small { color: var(--muted); font-size: .85rem; }
.file-list { display: grid; gap: 8px; margin-top: 10px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #F2F7F6; border-radius: 9px; font-size: .9rem; }
.file-list li .ico { color: var(--teal); width: 18px; }
.file-list li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list small { color: var(--muted); }
.file-list button { color: var(--muted); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; }
.file-list button:hover { color: var(--danger); background: #fff; }

/* ─── Quote page ─── */
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.quote-cart { position: sticky; top: calc(var(--header-h) + 24px); }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; animation: toast-in .3s var(--ease); }
.cart-item img, .cart-item .ci-ph { width: 56px; height: 44px; border-radius: 8px; object-fit: cover; background: #EAF3F4; display: grid; place-items: center; color: var(--teal); }
.cart-item .ci-name { font-weight: 600; font-size: .94rem; line-height: 1.3; color: var(--teal); }
.cart-item .ci-name small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.ci-ctrl { display: flex; align-items: center; gap: 6px; }
.ci-remove { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.ci-remove:hover { background: #FBECEA; color: var(--danger); }
.cart-empty { text-align: center; padding: 28px 10px; color: var(--muted); }
.cart-empty > .ico { width: 40px; height: 40px; margin: 0 auto 12px; color: #9DB3B5; }
.cart-empty[hidden] { display: none; }
.custom-item { display: flex; gap: 8px; margin: 18px 0; }
.custom-item input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1.5px solid #D3DEDD; border-radius: 9px; background: #FBFDFC; }
.custom-item input:focus { outline: none; border-color: var(--cyan); }
.quote-success { grid-column: 1 / -1; text-align: center; padding-block: 56px; }
.quote-success h2 { font-size: 2rem; }
.quote-success .muted { max-width: 52ch; margin-inline: auto; }
.quote-success .hero-ctas { justify-content: center; margin-top: 28px; }
.success-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--lime); color: var(--ink); animation: bump .6s var(--ease); }
.success-mark .ico { width: 38px; height: 38px; stroke-width: 2.5; }
[data-quote-ref] { font-family: ui-monospace, Menlo, monospace; color: var(--teal); font-size: 1.15rem; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } .quote-cart { position: static; } }

/* ─── About ─── */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-copy p { color: #3D4C53; font-size: 1.05rem; }
.story-panel { position: relative; }
.story-panel img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.story-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: -40px 24px 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; gap: 12px; text-align: center; }
.story-stats strong { display: block; font-family: 'Outfit'; font-size: 1.8rem; color: var(--teal); line-height: 1.1; }
.story-stats small { color: var(--muted); font-size: .82rem; }
.mv-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--ink-2); }
.mv-card h2 { font-size: 1.5rem; margin: 18px 0 10px; }
.mv-card p { color: var(--muted-dark); margin: 0; }
.tick-list { display: grid; gap: 10px; color: var(--muted-dark); }
.tick-list li { display: flex; gap: 10px; align-items: center; }
.tick-list .ico { color: var(--lime); width: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { margin: 0; text-align: center; }
.team-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #DCEAEC, #C4DADE); margin-bottom: 16px; }
.team-photo::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; border: 2px solid rgba(11, 85, 104, .2); transform: rotate(45deg); }
.team-photo span { position: relative; font-family: 'Outfit'; font-weight: 700; font-size: 2rem; color: var(--teal); }
.team-card strong { display: block; font-family: var(--font-head); color: var(--teal); font-size: 1.1rem; }
.team-card small { color: var(--muted); }
@media (max-width: 900px) { .story, .mv-grid { grid-template-columns: 1fr; } .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.info-list { display: grid; gap: 4px; margin-bottom: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 22px; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; }
.info-list li + li { border-top: 1px solid var(--line); }
.info-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #EAF3F4; color: var(--teal); flex: none; }
.info-list h3 { font-size: .95rem; margin: 0 0 2px; }
.info-list p { margin: 0; color: #3D4C53; font-size: .95rem; }
.info-list a:hover { color: var(--cyan); }
.map-wrap { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 420px; background: #E6EFF0; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ─── Reveal animations ─── */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee.reverse, .marquee-track [aria-hidden="true"] { display: none; }
}
@media print { .site-header, .floating-actions, .site-footer, .cta-band { display: none; } }
