/* RAK NovaChem — site styles
   Brand colours come from the logo: navy, teal and lime. Change them here. */
:root {
  --navy: #141d47;
  --navy-2: #1d2a63;
  --teal: #1c8ea3;
  --teal-soft: #e3f3f6;
  --lime: #8fba3c;
  --orange: #e8792b;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --ink: #18203a;
  --muted: #5a6480;
  --line: #e2e7f0;
  --bg: #f6f8fb;
  --bg-soft: #edf1f7;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 29, 71, .08);
  --shadow-lg: 0 24px 60px rgba(20, 29, 71, .16);
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(20,29,71,.25); }
.btn-primary:hover { background: var(--navy-2); }
.btn-wa { background: var(--wa); color: #06351c; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1fc25c; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand img { height: 44px; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: block; padding: 9px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.nav-links a:not(.btn):hover { background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 74px; background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 14px; font-size: 1.05rem; }
  .nav-links .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(28,142,163,.45), transparent 60%),
    radial-gradient(700px 400px at 55% 110%, rgba(143,186,60,.18), transparent 60%);
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,29,71,.92) 0%, rgba(20,29,71,.72) 38%, rgba(20,29,71,.18) 72%, rgba(20,29,71,.05) 100%); }
.hero-inner { padding: clamp(70px, 10vw, 130px) 0 clamp(80px, 10vw, 130px); max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--lime); }
.hero .eyebrow { color: #9fe0ec; font-size: calc((.78rem + 2px) * 1.44); letter-spacing: .08em; }
.hero h1 { font-size: clamp(calc(2.2rem - 2px - 2pt), calc(5vw - 2px - 2pt), calc(3.7rem - 2px - 2pt)); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d5dbee; max-width: 560px; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 880px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(20,29,71,.65), rgba(20,29,71,.9)); }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 380px at 85% 0%, rgba(28,142,163,.5), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(143,186,60,.18), transparent 60%);
}
.page-hero .wrap { padding: clamp(50px, 7vw, 86px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); max-width: 800px; }
.page-hero p { color: #d5dbee; max-width: 640px; font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { color: #9fe0ec; }
.hex-bg { position: absolute; right: -40px; top: -30px; width: 420px; opacity: .12; z-index: -1; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #d5dbee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section.dark .section-head p { color: #c3cbe4; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-4, .g-3, .g-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd8e8; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--teal-soft); color: var(--teal);
}
.icon svg { width: 26px; height: 26px; }
.section.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section.dark .card p { color: #c3cbe4; }
.section.dark .icon { background: rgba(159,224,236,.14); color: #9fe0ec; }

/* Facts strip */
.facts { margin-top: -46px; position: relative; z-index: 2; }
.facts .grid { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; gap: 0; border: 1px solid var(--line); }
.fact { padding: 20px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 980px) { .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .fact { border-right: 0; border-bottom: 1px solid var(--line); } .fact:last-child { border-bottom: 0; } }

/* Bridge diagram */
.bridge { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 40px; }
.bridge-node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.bridge-node .icon { margin-inline: auto; }
.bridge-node h3 { margin: 0; }
.bridge-node.hub { background: var(--navy); border-color: var(--navy); color: #c3cbe4; }
.bridge-node.hub h3 { color: #fff; font-size: 1.35rem; }
.bridge-node.hub p { margin: 6px 0 0; font-size: .92rem; }
.bridge-node.hub img { height: 54px; width: auto; margin: 0 auto 12px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.bridge-arrow { color: var(--orange); }
.bridge-arrow svg { width: 44px; height: 44px; }
@media (max-width: 800px) { .bridge { grid-template-columns: 1fr; } .bridge-arrow { justify-self: center; transform: rotate(90deg); } }

/* Industry cards */
.ind-card { position: relative; display: flex; flex-direction: column; text-decoration: none !important; color: inherit; overflow: hidden; }
.ind-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ind-card:hover::before { transform: scaleX(1); }
.ind-card ul { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-card li { font-size: .8rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.ind-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: .93rem; display: inline-flex; gap: 6px; align-items: center; }
.ind-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.ind-card:hover .more svg { transform: translateX(4px); }

/* Category cards (home) */
.cat-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.cat-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.04); }
.cat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { margin-bottom: 10px; }
.cat-body ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-body li { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.cat-body .more { margin-top: auto; font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: .93rem; display: inline-flex; gap: 6px; align-items: center; }
.cat-body .more svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .more svg { transform: translateX(4px); }

/* Industries we serve */
.industries { gap: 16px; }
.ind { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ind .icon { margin: 0; flex: none; width: 46px; height: 46px; }
.ind h3 { font-size: 1rem; margin: 2px 0 2px; }
.ind p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* Leadership */
.leader { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.leader img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.leader > div { padding: 18px 20px 20px; }
.leader h3 { margin: 0 0 4px; }
.leader .role { display: block; color: var(--teal); font-weight: 600; font-size: .9rem; line-height: 1.4; }
.leader.full { display: grid; grid-template-columns: 180px 1fr; }
.leader.full img { height: 100%; min-height: 220px; }
.leader.full p { color: var(--muted); font-size: .94rem; margin: 12px 0 12px; }
.leader.full .tags { margin: 0; }
@media (max-width: 560px) { .leader.full { grid-template-columns: 1fr; } .leader.full img { height: auto; min-height: 0; max-height: 340px; } }

/* Technical support box */
.support { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.support h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.support p { color: var(--muted); margin-bottom: 10px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 8px 28px; }
.checks li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--navy); }
.checks svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* Vision / mission */
.vm { border-left: 4px solid var(--lime); padding: 6px 0 6px 22px; }
.vm h3 { color: #9fe0ec; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.vm-stack { background: var(--navy); border-radius: 24px; padding: clamp(26px, 4vw, 40px); display: grid; gap: 28px; }
.vm p { font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #fff; line-height: 1.45; margin: 0; font-weight: 500; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal), #166f86 55%, var(--navy)); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #e0f1f5; max-width: 520px; }

/* ---------- Products ---------- */
.toolbar { position: sticky; top: 74px; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.toolbar .wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; padding: 11px 14px 11px 42px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: #fff; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(28,142,163,.15); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 640px) { .toolbar { position: static; } .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; width: 100%; } .chip { flex: none; } }

.industry { padding: 54px 0; border-bottom: 1px solid var(--line); }
.industry-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.industry-head .icon { flex: none; margin: 0; width: 60px; height: 60px; background: var(--navy); color: #fff; }
.industry-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 4px; }
.industry-head p { color: var(--muted); margin: 0; }
.sub-label { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 26px 0 12px; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.product:hover { border-color: #cfd8e8; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-soft); }
.p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { margin: 0 0 4px; font-size: 1.08rem; }
.p-body .fn { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.p-body p { color: var(--muted); font-size: .92rem; margin: 10px 0 12px; }
.enq {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; font-family: var(--font-head);
  color: var(--wa-dark); background: #e7f9ee; padding: 9px 14px; border-radius: 999px; text-decoration: none !important;
}
.enq:hover { background: var(--wa); color: #06351c; }
.enq svg { width: 16px; height: 16px; }
.tags { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .76rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; color: var(--muted); }
.cat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--lime); margin-bottom: 4px; }
.no-results { display: none; text-align: center; padding: 70px 20px; color: var(--muted); }
.no-results.show { display: block; }
[hidden] { display: none !important; }

/* Matrix */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
table.matrix { border-collapse: collapse; width: 100%; min-width: 760px; }
.matrix th, .matrix td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: .92rem; }
.matrix tr:last-child td, .matrix tr:last-child th { border-bottom: 0; }
.matrix th:last-child, .matrix td:last-child { border-right: 0; }
.matrix thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; border-color: rgba(255,255,255,.15); }
.matrix tbody th { text-align: left; font-family: var(--font-head); color: var(--navy); padding-left: 20px; background: var(--bg-soft); }
.tick { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; }
.tick svg { width: 16px; height: 16px; }

/* ---------- Why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.hub-map { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.hub-map .ring { position: absolute; inset: 14%; border: 2px dashed rgba(159,224,236,.35); border-radius: 50%; animation: spin 60s linear infinite; }
.hub-map .ring.r2 { inset: 30%; border-style: solid; border-color: rgba(232,121,43,.4); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hub-core { position: absolute; inset: 34%; border-radius: 50%; background: linear-gradient(145deg, #fff, #dfe7f5); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: clamp(.9rem, 2vw, 1.15rem); line-height: 1.2; box-shadow: 0 0 60px rgba(232,121,43,.5); }
.hub-node { position: absolute; width: 38%; text-align: center; color: #fff; }
.hub-node .icon { margin: 0 auto 8px; border-radius: 50%; }
.hub-node b { font-family: var(--font-head); display: block; font-size: .98rem; }
.hub-node span { font-size: .8rem; color: #c3cbe4; }
.hub-node.n1 { left: 0; top: 0; } .hub-node.n2 { right: 0; top: 0; } .hub-node.n3 { left: 0; bottom: 0; } .hub-node.n4 { right: 0; bottom: 0; }

.gates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: stretch; counter-reset: gate; }
.gate { position: relative; background: #fff; border: 1px solid var(--line); padding: 26px 22px; box-shadow: var(--shadow); border-radius: var(--radius); margin-right: 26px; }
.gate:last-child { margin-right: 0; }
.gate:not(:last-child)::after {
  content: ""; position: absolute; right: -24px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%);
  background: var(--orange); clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%);
}
.gate small { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: var(--teal); }
.gate h3 { margin: 6px 0 6px; }
.gate p { color: var(--muted); font-size: .9rem; margin: 0; }
.gate.io { background: var(--bg-soft); box-shadow: none; }
.gate.out { background: var(--navy); border-color: var(--navy); }
.gate.out h3 { color: #fff; } .gate.out p { color: #c3cbe4; } .gate.out small { color: var(--lime); }
@media (max-width: 980px) {
  .gates { grid-template-columns: 1fr; }
  .gate { margin: 0 0 26px; }
  .gate:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%) rotate(90deg); }
}

.photo-band { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 34px; }
.photo-band img { width: 100%; height: clamp(160px, 22vw, 260px); object-fit: cover; }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 26px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; font-size: .95rem; margin-top: -6px;
}
.step h3 { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.contact-list .icon { margin: 0; flex: none; width: 46px; height: 46px; }
.contact-list b { font-family: var(--font-head); color: var(--navy); display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list span, .contact-list address { font-style: normal; color: var(--ink); }
.wa-card { background: linear-gradient(135deg, #e7f9ee, #f4fdf7); border: 1px solid #bfeccf; border-radius: var(--radius); padding: 22px; margin-bottom: 14px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wa-card h3 { margin: 0 0 2px; } .wa-card p { margin: 0; color: var(--muted); font-size: .93rem; }

form.enquiry { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
form.enquiry h2 { font-size: 1.5rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
label i { color: var(--orange); font-style: normal; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(28,142,163,.15); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.map { border: 0; width: 100%; height: 380px; border-radius: 20px; box-shadow: var(--shadow); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1433; color: #aeb7d3; padding: 64px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #aeb7d3; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 50px; width: auto; background: #fff; padding: 6px 10px; border-radius: 12px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #06351c; padding: 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 700;
  box-shadow: 0 12px 30px rgba(18,140,75,.45); text-decoration: none !important; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, padding .3s; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 180px; padding-right: 8px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hub-map .ring, .wa-float::after { animation: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound b { font-family: var(--font-head); font-size: 6rem; color: var(--teal); line-height: 1; display: block; }
@media (max-width: 640px) { .leaders.g-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .leaders.g-4 .leader > div { padding: 12px; } .leaders.g-4 .leader h3 { font-size: .98rem; } .leaders.g-4 .role { font-size: .8rem; } }

/* Agrochemicals: cards without photos, category header image, extra home tile */
.product.noimg { border-top: 4px solid var(--lime); }
.product.noimg .p-body { padding-top: 20px; }
.industry-head .head-img { margin-left: auto; width: 260px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); flex: none; }
@media (max-width: 760px) { .industry-head .head-img { display: none; } }
.cats .cat-card img { aspect-ratio: 4 / 3; }
.cat-extra { background: var(--navy); border-color: var(--navy); }
.cat-extra .cat-body { justify-content: center; gap: 4px; }
.cat-extra h3 { color: #fff; }
.cat-extra p { color: #c3cbe4; font-size: .93rem; margin: 0 0 14px; }
.cat-extra .icon { background: rgba(159,224,236,.14); color: #9fe0ec; }
.cat-extra .more { color: #9fe0ec; margin-top: 6px; text-decoration: none; }
.cat-extra:hover { border-color: var(--navy); }
