/* ==========================================================================
   NGT — Najmat Al Areesh General Trading L.L.C.
   Design system: brand navy #1B3A8C + signal red #E0101A (sampled from logo)
   ========================================================================== */

:root {
  --blue: #1b3a8c;
  --blue-600: #2246a8;
  --blue-400: #5b7fe0;
  --blue-100: #dfe7fb;
  --blue-50: #eef2fb;
  --navy-950: #040b22;
  --navy-900: #07163f;
  --navy-800: #0c2257;
  --navy-700: #15306f;
  --red: #d9121b;
  --red-600: #b40d15;
  --red-glow: #ff3b3b;
  --wa: #0f8a43;
  --wa-600: #0b7337;

  --ink: #0b1433;
  --text: #2c3654;
  --muted: #5a6584;
  --line: #e1e6ef;
  --line-strong: #c9d1df;
  --surface: #f4f6fa;
  --white: #fff;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Archivo', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --font-ar: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(11 20 51 / 6%), 0 1px 3px rgb(11 20 51 / 6%);
  --shadow: 0 1px 2px rgb(11 20 51 / 5%), 0 12px 32px -14px rgb(11 20 51 / 22%);
  --shadow-lg: 0 40px 80px -30px rgb(4 11 34 / 55%);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
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); font-stretch: 108%; color: var(--ink);
  line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 750;
}
h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.2rem); font-weight: 800; letter-spacing: -.028em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.85rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--xl { width: 44px; height: 44px; stroke-width: 1.4; }
[lang="ar"] { font-family: var(--font-ar); letter-spacing: 0; }
.ar-inline { font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff6b6b; }
.lead { font-size: 1.14rem; line-height: 1.7; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); margin-top: 20px; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.fineprint { margin-top: 28px; font-size: .82rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--red); box-shadow: 0 8px 22px -10px rgb(217 18 27 / 70%); }
.btn--primary:hover { --bg: var(--red-600); box-shadow: 0 12px 26px -10px rgb(217 18 27 / 80%); }
.btn--wa { --bg: var(--wa); box-shadow: 0 8px 22px -12px rgb(15 138 67 / 80%); }
.btn--wa:hover { --bg: var(--wa-600); }
.btn--outline { --bg: #fff; --fg: var(--ink); --bd: var(--line-strong); }
.btn--outline:hover { --bd: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { box-shadow: 0 10px 30px -10px rgb(0 0 0 / 45%); }
.btn--glass { --bg: rgb(255 255 255 / 8%); --fg: #fff; --bd: rgb(255 255 255 / 22%); backdrop-filter: blur(8px); }
.btn--glass:hover { --bg: rgb(255 255 255 / 14%); --bd: rgb(255 255 255 / 40%); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 9px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link-btn { font-size: .88rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--red); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); }
.icon-btn:hover { background: var(--surface); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #b7c2e0; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 24px; }
.topbar__group { display: flex; align-items: center; gap: 24px; }
.topbar a, .topbar__loc { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__ar { white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; color: #7f93c9; }
.topbar__ar { font-size: .85rem; color: #dbe3f7; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 92%); 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.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(11 20 51 / 40%); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: 1.06rem; letter-spacing: -.005em; color: var(--blue); text-transform: uppercase; }
.brand__text span { font-size: .78rem; font-weight: 600; color: var(--muted); margin-top: 3px; letter-spacing: .01em; }
.brand__tile { display: grid; place-items: center; width: 54px; height: 54px; background: #fff; border-radius: 12px; }

.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: 8px;
  font-weight: 550; font-size: .96rem; color: var(--text); transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.enq-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.enq-trigger:hover { border-color: var(--ink); }
.enq-count {
  min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center;
  border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .75rem; font-weight: 700;
  transition: background-color .2s, color .2s, transform .3s var(--ease);
}
.enq-trigger.has-items .enq-count { background: var(--red); color: #fff; }
.enq-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: var(--ink); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 12px var(--gutter) 24px; }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--red); }
.mobile-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #c9d3ee; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
}
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 420px at 78% 35%, rgb(45 90 220 / 45%), transparent 70%),
    radial-gradient(500px 360px at 8% 110%, rgb(217 18 27 / 28%), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px);
}
.hero h1 { color: #fff; margin: 22px 0 22px; }
.hero h1 .hl { position: relative; color: #fff; white-space: nowrap; }
.hero h1 .hl::after {
  content: ''; position: absolute; left: -2px; right: -4px; bottom: -.04em; height: .14em; z-index: -1;
  background: var(--red); border-radius: 2px; transform-origin: left; animation: underline 1s .5s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 14%); color: #e3e9fa;
  font: 600 .8rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; max-width: 560px; color: #c3cde9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: flex; gap: clamp(20px, 4vw, 48px); margin: 48px 0 0; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 12%); }
.hero__facts dt { font-family: var(--font-head); font-stretch: 115%; font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); color: #fff; line-height: 1; }
.hero__facts dd { margin: 8px 0 0; font-size: .86rem; color: #9fb0da; max-width: 130px; line-height: 1.4; }

.hero__visual { position: relative; }
.console {
  position: relative; border-radius: var(--radius-lg); padding: 14px;
  background: linear-gradient(160deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 4%));
  border: 1px solid rgb(255 255 255 / 16%); box-shadow: var(--shadow-lg), inset 0 1px 0 rgb(255 255 255 / 12%);
  backdrop-filter: blur(10px);
}
.console__head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; font-size: .72rem; color: #9fb0da; }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / 18%); }
.console__dots i:first-child { background: var(--red); }
.console__status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 .72rem var(--font-mono); letter-spacing: .1em; color: #3ddc84; }
.console__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.console__readout {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: end;
  padding: 18px 18px 8px; border-radius: 14px; background: #020817; border: 1px solid rgb(255 255 255 / 8%);
  box-shadow: inset 0 0 40px rgb(0 0 0 / 60%); overflow: hidden;
}
.readout { display: flex; flex-direction: column; gap: 6px; }
.readout--sm { align-items: flex-end; }
.readout__label { font-size: .66rem; color: #6a7aa6; }
.readout__value { display: flex; align-items: baseline; gap: 6px; }
.seg {
  font: 600 clamp(2rem, 1.4rem + 2vw, 2.9rem)/1 var(--font-mono); letter-spacing: .02em; color: var(--red-glow);
  text-shadow: 0 0 18px rgb(255 59 59 / 55%); font-variant-numeric: tabular-nums;
}
.seg--sm { font-size: 1.35rem; color: #ffb4a8; text-shadow: 0 0 12px rgb(255 120 100 / 45%); }
.readout__unit { font: 600 .8rem var(--font-mono); color: #8d9cc6; }
.wave { grid-column: 1 / -1; width: 100%; height: 78px; margin-top: 6px; overflow: hidden; }
.wave__axis { stroke: rgb(255 255 255 / 8%); stroke-width: 1; fill: none; stroke-dasharray: 3 5; }
.wave__sine { fill: none; stroke: var(--red-glow); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgb(255 59 59 / 70%)); vector-effect: non-scaling-stroke; }
.wave__pwm { fill: none; stroke: #4d77ff; stroke-width: 1.3; opacity: .85; vector-effect: non-scaling-stroke; }
.wave__move { animation: wave var(--wave-dur, 2.4s) linear infinite; }
@keyframes wave { to { transform: translateX(-200px); } }
.console__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.tile {
  margin: 0; display: flex; flex-direction: column; border-radius: 12px; background: #fff; overflow: hidden;
  transition: transform .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; padding: 10px 8px 4px; }
.tile figcaption { padding: 8px 10px 10px; font: 700 .76rem/1.2 var(--font-head); font-stretch: 105%; color: var(--ink); border-top: 1px solid var(--line); }
.tile figcaption span { display: block; font: 600 .6rem/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: #fff; color: var(--muted); box-shadow: 0 20px 40px -18px rgb(0 0 0 / 55%); font-size: .8rem; line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}
.float-chip b { display: block; color: var(--ink); font-size: .88rem; }
.float-chip .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.float-chip--a { left: -36px; bottom: -40px; }
.float-chip--b { right: -24px; top: -44px; animation-delay: -3s; }
.float-chip--b .icon { background: #e6f6ed; color: var(--wa); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Brands marquee ---------- */
.brands { border-bottom: 1px solid var(--line); background: #fff; }
.brands__inner { display: flex; align-items: center; gap: 40px; min-height: 96px; }
.brands__label { flex: none; font: 600 .74rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 150px; }
.brands__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__list { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.brands__track:hover .brands__list { animation-play-state: paused; }
.brands__list li {
  padding: 0 44px; font-family: var(--font-head); font-stretch: 118%; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em;
  color: #9aa5c0; white-space: nowrap; transition: color .2s;
}
.brands__list li:hover { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--tint { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #b9c4e3; overflow: hidden; isolation: isolate; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__deco {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 400px at 100% 0%, rgb(45 90 220 / 30%), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgb(217 18 27 / 16%), transparent 70%);
}
.section__deco::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > p { font-size: 1.06rem; color: var(--muted); max-width: 520px; justify-self: end; }
.section-head--light > p { color: #a9b6dc; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 80px; }
.split__body p + p { margin-top: 16px; }
.split__body p:not(.lead) { color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(48px, 6vw, 80px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: #fff; padding: 32px 28px; transition: background-color .25s; }
.pillar:hover { background: var(--surface); }
.pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); margin-bottom: 22px; }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: .94rem; color: var(--muted); }

/* ---------- Category cards (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:first-child { grid-column: span 2; }
.cat-card:first-child .cat-card__media { height: 300px; }
.cat-card:first-child h3 { font-size: 1.6rem; }
.cat-card:first-child .cat-card__body { padding-inline: 34px; }
.cat-card__media { position: relative; height: 230px; background: linear-gradient(180deg, #fff, var(--surface)); border-bottom: 1px solid var(--line); }
.cat-card__media img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.cat-card__num { font: 600 .74rem var(--font-mono); color: var(--red); letter-spacing: .1em; margin-bottom: 10px; }
.cat-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.cat-card p { font-size: .94rem; color: var(--muted); }
.cat-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.cat-card__link .icon { transition: transform .25s var(--ease); }
.cat-card:hover .cat-card__link .icon { transform: translateX(4px); }
.cat-card--cta { background: var(--navy-900); border-color: var(--navy-900); color: #b9c4e3; }
.cat-card--cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 260px at 100% 0%, rgb(45 90 220 / 45%), transparent 70%);
}
.cat-card--cta .cat-card__body { position: relative; justify-content: center; }
.cat-card--cta h3 { color: #fff; font-size: 1.4rem; }
.cat-card--cta p { color: #a9b6dc; }
.cat-card--cta .cat-card__link { color: #fff; }
.cat-card__cta-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgb(255 255 255 / 10%); color: #fff; margin-bottom: 22px; }
.cat-card__cta-icon .icon { width: 26px; height: 26px; }

/* ---------- Service practices (home, dark) ---------- */
.practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.practice {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); padding: 32px;
  background: linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%)); border: 1px solid rgb(255 255 255 / 11%);
  transition: border-color .3s, transform .35s var(--ease);
}
.practice:hover { border-color: rgb(255 255 255 / 26%); transform: translateY(-4px); }
.practice__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; margin-bottom: 24px; box-shadow: 0 10px 24px -10px rgb(217 18 27 / 80%); }
.practice__icon .icon { width: 26px; height: 26px; }
.practice h3 { font-size: 1.35rem; margin-bottom: 10px; }
.practice__head p { font-size: .95rem; color: #a9b6dc; }
.practice__list { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 10%); display: grid; gap: 4px; }
.practice__list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 500; color: #e3e9fa; font-size: .96rem; }
.practice__list .icon { width: 20px; height: 20px; color: #7f9cf0; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-card { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.ind-card::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.ind-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.ind-card:hover::after { transform: scaleY(1); }
.ind-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface); color: var(--blue); margin-bottom: 20px; transition: background-color .3s, color .3s; }
.ind-card:hover .ind-card__icon { background: var(--blue); color: #fff; }
.ind-card__icon .icon { width: 24px; height: 24px; }
.ind-card h3 { margin-bottom: 8px; }
.ind-card p { font-size: .94rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 44px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.step { position: relative; padding: 28px 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step__num { position: absolute; top: 24px; right: 24px; font: 600 .78rem var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.step__icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 26px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.step__icon .icon { width: 17px; height: 17px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--muted); }
.steps--dark::before { background: repeating-linear-gradient(90deg, rgb(255 255 255 / 20%) 0 8px, transparent 8px 16px); }
.steps--dark .step { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 11%); }
.steps--dark .step p { color: #a9b6dc; }
.steps--dark .step__num { color: #7f8fbd; }
.steps--dark .step__icon { box-shadow: 0 0 0 6px var(--navy-900), 0 0 0 7px rgb(255 255 255 / 15%); }

/* ---------- Why NGT ---------- */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__badge {
  position: relative; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); color: #b9c4e3; overflow: hidden; isolation: isolate;
  background: var(--navy-900); box-shadow: var(--shadow-lg);
}
.why__badge::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px 300px at 100% 0%, rgb(45 90 220 / 50%), transparent 70%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 3%) 0 2px, transparent 2px 14px);
}
.why__badge-inner { display: flex; align-items: flex-end; gap: 16px; }
.why__num {
  font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 4rem + 8vw, 10rem); line-height: .8; letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 30%, #8ea6ec); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why__label { font: 600 .9rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: #ff6b6b; padding-bottom: 10px; }
.why__ar { text-align: left; margin-top: 36px; font-size: clamp(1.05rem, .9rem + .8vw, 1.35rem); white-space: nowrap; font-weight: 700; color: #fff; }
.why__cap { margin-top: 8px; font-size: .92rem; }
.why__body h2 { margin-bottom: 36px; }
.why__list { display: grid; gap: 8px; }
.why__list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 0; }
.why__list li > span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.why__list li > span .icon { width: 22px; height: 22px; }
.why__list h3 { margin-bottom: 6px; }
.why__list p { font-size: .95rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--red); color: #ffe3e3; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 90% 120%, rgb(7 22 63 / 55%), transparent 70%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 5%) 0 2px, transparent 2px 16px);
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 64px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p:not(.eyebrow) { max-width: 600px; font-size: 1.05rem; }
.cta-band .eyebrow--light { color: #ffd0d0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .btn--wa { --bg: #fff; --fg: var(--wa); box-shadow: 0 16px 30px -14px rgb(0 0 0 / 50%); }
.cta-band .btn--wa:hover { --bg: #f2fff7; }
.cta-band .btn--light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / 55%); }
.cta-band .btn--light:hover { --bg: rgb(255 255 255 / 10%); --bd: #fff; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8f9dc4; font-size: .93rem; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .7fr)) minmax(0, 1.2fr); gap: 40px; padding-bottom: 56px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text span { color: #8f9dc4; }
.footer__ar { text-align: left; margin-top: 20px; font-size: 1.05rem; color: #dbe3f7; font-weight: 600; }
.footer__brand > p:not(.footer__ar) { margin-top: 10px; max-width: 360px; line-height: 1.7; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer__badges span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 12%); font-size: .8rem; color: #c3cde9; }
.footer__badges .icon { width: 15px; height: 15px; color: #ff6b6b; }
.footer__col h3 { font: 600 .74rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; line-height: 1.6; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #ff6b6b; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 28px; font-size: .82rem; color: #6d7ba6; }
.footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgb(255 255 255 / 9%); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #05361a; font-weight: 700; font-size: .95rem;
  box-shadow: 0 16px 34px -12px rgb(7 80 40 / 60%); transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgb(7 80 40 / 70%); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy-900); color: #c3cde9; overflow: hidden; isolation: isolate; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(640px 380px at 85% 10%, rgb(45 90 220 / 42%), transparent 70%),
    radial-gradient(480px 300px at 0% 120%, rgb(217 18 27 / 22%), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 20%, transparent 80%);
}
.page-hero__inner { padding-block: clamp(56px, 7vw, 100px) clamp(56px, 7vw, 96px); }
.page-hero--compact .page-hero__inner { padding-bottom: clamp(48px, 5vw, 72px); }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); }
.page-hero__lead { margin-top: 20px; max-width: 680px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; }
.page-hero__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.page-hero__brands span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 5%); font-weight: 600; font-size: .86rem; color: #e3e9fa; }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font: 500 .78rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #7f8fbd; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #ff8b8b; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 10px; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 5%); color: #fff; font-weight: 600; font-size: .92rem; transition: background-color .2s, border-color .2s; }
.jump a:hover { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 35%); }
.jump .icon { color: #ff6b6b; }
.err-code { color: #ff6b6b; font-size: .85rem; margin-bottom: 20px; }
.page-hero--404 .page-hero__inner { padding-block: clamp(80px, 12vw, 160px); }

/* ---------- Catalogue ---------- */
.section--catalog { padding-top: 48px; }
.catalog__toolbar { display: flex; gap: 12px; }
.search {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.search .icon { color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 1rem; }
.select select {
  height: 54px; padding: 0 44px 0 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; color: var(--ink); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a6584' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.select select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--text); background: #fff; transition: all .2s;
}
.chip span { font: 600 .72rem var(--font-mono); color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #9fb0da; }
.catalog__count { margin: 28px 0 16px; font: 500 .8rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.catalog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s, border-color .3s, transform .35s var(--ease);
  animation: cardIn .45s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.p-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.p-card--wide { grid-column: span 2; }
.p-card__media { position: relative; height: 220px; background: linear-gradient(180deg, #fff, var(--surface)); border-bottom: 1px solid var(--line); }
.p-card__media img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.04); }
.p-card__body { flex: 1; padding: 20px 22px 8px; }
.p-card__meta { display: flex; gap: 6px; margin-bottom: 12px; min-width: 0; }
.p-card__meta span { flex: none; white-space: nowrap; padding: 4px 9px; border-radius: 6px; background: var(--surface); font: 600 .68rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.p-card__meta span:first-child { background: var(--blue-50); color: var(--blue); }
.p-card__meta span + span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.p-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.p-card__body p { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.p-card__foot { display: flex; gap: 8px; padding: 16px 22px 22px; }
.add-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--ink); font-weight: 600; font-size: .9rem; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s;
}
.add-btn:hover { background: var(--ink); color: #fff; }
.add-btn__check { display: none; }
.add-btn.is-added { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue); }
.add-btn.is-added .add-btn__plus { display: none; }
.add-btn.is-added .add-btn__check { display: block; }
.p-card__wa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #e6f6ed; color: var(--wa); flex: none; transition: background-color .2s, color .2s; }
.p-card__wa:hover { background: var(--wa); color: #fff; }
.catalog__empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.catalog__empty .icon { margin: 0 auto 18px; color: var(--muted); }
.catalog__empty h3 { font-size: 1.35rem; margin-bottom: 8px; }
.catalog__empty p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }

.source { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.source h2 { margin-bottom: 18px; }
.source__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.source__steps { display: grid; gap: 14px; }
.source__steps li { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.source__steps li > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; }
.source__steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.source__steps p { font-size: .92rem; color: var(--muted); }

/* ---------- Services page ---------- */
.svc-group + .svc-group { margin-top: clamp(64px, 8vw, 104px); }
.svc-group__head { display: flex; align-items: center; gap: 22px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.svc-group__icon { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--navy-900); color: #fff; }
.svc-group__icon .icon { width: 28px; height: 28px; }
.svc-group__head p { margin-top: 6px; color: var(--muted); font-size: 1.02rem; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.svc-card {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff;
  transition: box-shadow .3s, border-color .3s, transform .35s var(--ease);
}
.svc-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.svc-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: var(--blue-50); color: var(--blue); transition: background-color .3s, color .3s; }
.svc-card:hover .svc-card__icon { background: var(--red); color: #fff; }
.svc-card__icon .icon { width: 24px; height: 24px; }
.svc-card__num { font: 600 .8rem var(--font-mono); color: var(--line-strong); letter-spacing: .08em; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-card > p { font-size: .94rem; color: var(--muted); }
.svc-card ul { display: grid; gap: 8px; margin: 20px 0 24px; }
.svc-card li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--text); }
.svc-card li .icon { width: 16px; height: 16px; color: var(--wa); stroke-width: 2.4; }
.svc-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--blue); }
.svc-card__cta .icon { transition: transform .25s var(--ease); }
.svc-card__cta:hover .icon { transform: translateX(4px); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.story h2 { margin-bottom: 28px; }
.prose p { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); }
.facts { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.facts h3 { font: 600 .76rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.facts dl { margin: 0 0 24px; }
.facts dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.value__num { display: block; font-family: var(--font-head); font-stretch: 120%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--blue-100); margin-bottom: 24px; }
.value h3 { margin-bottom: 8px; }
.value p { font-size: .94rem; color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-card { padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.brand-card h3 { font-stretch: 112%; font-size: 1.15rem; }
.brand-card > p { margin-top: 4px; font-size: .8rem; color: var(--muted); }
.brand-card ul { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.brand-card li { position: relative; padding-left: 16px; font-size: .9rem; color: var(--text); }
.brand-card li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--red); }

/* ---------- Contact ---------- */
.section--contact { padding-top: clamp(48px, 6vw, 80px); }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 56px; align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.c-card:hover { border-color: var(--line-strong); }
.c-card__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.c-card__icon .icon { width: 22px; height: 22px; }
.c-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.c-card__body a { overflow-wrap: anywhere; }
.c-card__body a:hover { color: var(--blue); }
.c-card__body strong { color: var(--ink); font-weight: 650; }
.c-card__label { font: 600 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.c-card__hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .86rem; color: var(--muted); }
.c-card__hint .icon { width: 15px; height: 15px; }
.c-card--wa { background: var(--wa); border-color: var(--wa); color: #d7f5e3; align-items: center; }
.c-card--wa:hover { background: var(--wa-600); border-color: var(--wa-600); box-shadow: 0 16px 30px -16px rgb(15 138 67 / 80%); }
.c-card--wa .c-card__icon { background: rgb(255 255 255 / 16%); color: #fff; }
.c-card--wa strong { color: #fff; font-size: 1.2rem; }
.c-card--wa .c-card__label, .c-card--wa .c-card__hint { color: #c2efd4; }
.c-card--wa > .icon { color: #fff; }

.quote { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote__head h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 8px; }
.quote__head > p:not(.eyebrow) { color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: .88rem; color: var(--ink); padding: 0; }
.field__label b { color: var(--red); }
.field input, .field textarea, .drawer textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea, .drawer textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .drawer textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.seg-control { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-control label { position: relative; }
.seg-control input { position: absolute; opacity: 0; pointer-events: none; }
.seg-control span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; }
.seg-control span:hover { border-color: var(--ink); }
.seg-control input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg-control input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .94rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form__basket { padding: 14px 16px; border-radius: 10px; background: var(--blue-50); }
.form__error { padding: 12px 16px; border-radius: 10px; background: #fdecec; color: var(--red-600); font-weight: 600; font-size: .92rem; }
.form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.form__note { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.form__note .icon { width: 16px; height: 16px; color: var(--wa); }

.map-section { position: relative; height: 520px; background: var(--surface); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-section__overlay { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; max-width: 380px; padding: 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.map-card h2 { font-size: 1.6rem; margin-bottom: 10px; }
.map-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 22px; }

/* ---------- Enquiry drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(4 11 34 / 55%); backdrop-filter: blur(3px); animation: fadeIn .25s both; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column;
  background: #fff; box-shadow: -30px 0 60px -20px rgb(0 0 0 / 40%); animation: slideIn .35s var(--ease) both; outline: 0;
}
.drawer.is-closing .drawer__backdrop { animation: fadeOut .2s both; }
.drawer.is-closing .drawer__panel { animation: slideOut .25s ease-in both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 26px 20px; border-bottom: 1px solid var(--line); }
.drawer__head .eyebrow { margin-bottom: 10px; }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 22px 26px; display: grid; align-content: start; gap: 20px; }
.drawer__empty { text-align: center; padding: 40px 12px; color: var(--muted); display: grid; justify-items: center; gap: 16px; }
.drawer__empty strong { color: var(--ink); }
.enq-list { display: grid; gap: 10px; }
.enq-item { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 12px; border: 1px solid var(--line); animation: cardIn .3s var(--ease) both; }
.enq-item__text { flex: 1; min-width: 0; }
.enq-item__text strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.enq-item__text span { font: 500 .7rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 9px; }
.qty button { width: 30px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty button .icon { width: 14px; height: 14px; }
.qty output { min-width: 24px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--ink); }
.enq-item__remove { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.enq-item__remove:hover { background: #fdecec; color: var(--red); }
.enq-item__remove .icon { width: 16px; height: 16px; }
.drawer__foot { display: grid; gap: 10px; padding: 20px 26px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__foot .link-btn { justify-self: center; margin-top: 4px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 20px 40px -15px rgb(0 0 0 / 50%); transition: opacity .25s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .icon { width: 18px; height: 18px; color: #3ddc84; stroke-width: 2.4; }
.toast button { margin-left: 6px; color: #9fb7ff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Safety net: never leave content hidden if the script fails to run */
.js .reveal:not(.is-in) { animation: revealFallback .6s 4s forwards; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; }
  .enq-trigger__label { display: none; }
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .float-chip--a { left: -12px; }
  .float-chip--b { right: -8px; }
  .hero__visual { margin-block: 30px; }
}
@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; }
  .split, .section-head, .source, .story, .why, .contact, .cta-band__inner { grid-template-columns: 1fr; }
  .section-head > p { justify-self: start; }
  .pillars, .values { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .practices, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .practices .practice:last-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .facts { position: static; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .why__badge { max-width: 560px; }
}
@media (max-width: 860px) {
  .topbar__loc, .topbar__group:first-child a:nth-child(2) { display: none; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .topbar { font-size: .76rem; }
  .topbar__inner { gap: 12px; }
  .topbar__ar { font-size: .78rem; }
  .brand__mark { width: 34px; }
  .brand__text strong { font-size: .92rem; }
  .brand__text span { font-size: .7rem; }
  .enq-trigger { padding: 0 10px; }
  .hero__facts { gap: 18px; }
  .hero__facts dd { font-size: .78rem; }
  .console__grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip { display: none; }
  .brands__inner { flex-direction: column; align-items: stretch; gap: 14px; padding-block: 22px; }
  .brands__label { max-width: none; text-align: center; }
  .pillars, .values, .cat-grid, .practices, .ind-grid, .steps, .catalog__grid, .brand-grid, .form__row, .form__actions { grid-template-columns: 1fr; }
  .practices .practice:last-child { grid-column: auto; }
  .cat-card:first-child { grid-column: auto; }
  .cat-card:first-child .cat-card__media { height: 200px; }
  .cat-card:first-child h3 { font-size: 1.3rem; }
  .cat-card:first-child .cat-card__body { padding-inline: 28px; }
  .p-card--wide { grid-column: auto; }
  .p-card__media { height: 200px; }
  .catalog__toolbar { flex-direction: column; }
  .search { flex: none; }
  .select select { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }
  .wa-fab { right: 14px; bottom: 14px; height: 54px; width: 54px; padding: 0; justify-content: center; }
  .wa-fab__label { display: none; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .map-section { height: auto; }
  .map { position: relative; height: 340px; }
  .map-section__overlay { padding-block: 20px 40px; }
  .map-card { max-width: none; box-shadow: var(--shadow); }
  .svc-group__head { align-items: flex-start; }
  .cta-band__actions .btn { width: 100%; }
  .why__num { font-size: 7rem; }
}

@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 .reveal { opacity: 1; transform: none; }
  .brands__list { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .brands__list li { padding: 0 22px; }
  .brands__list li[aria-hidden] { display: none; }
}

@media print {
  .topbar, .site-header, .wa-fab, .drawer, .cta-band, .map-section { display: none !important; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
