/* SN Oil - English corporate site design system
   Palette aligned with the reference English site: signal orange #fe4614, neutral greys, mid-grey #454545 blocks.
   Performance budget: no webfont requests, CSS-only effects, WebP imagery, no layout-shifting media. */

:root {
  --brand: #fe4614;
  --brand-dark: #d93a0f;
  --navy: #454545;
  --navy-deep: #454545;
  --navy-mid: #444444;
  --tech: #8c8c8c;
  --ink: #1a1a1a;
  --muted: #666666;
  --line: #e8e8e8;
  --surface: #f7f7f7;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --radius: 10px;
  --cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--tech); outline-offset: 3px; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.section-head { max-width: 980px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 0; cursor: pointer; font-weight: 700;
  font-size: .93rem; letter-spacing: .01em; clip-path: var(--cut);
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* utility bar + header */
.utility { background: #ededed; color: #5a5a5a; font-size: .8rem; border-bottom: 1px solid #e0e0e0; }
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility a { color: #3a3a3a; }
.utility span { display: inline-flex; align-items: center; gap: 8px; }
.utility .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo--light { display: none; }
.site-header--over-hero .brand-logo--dark { display: none; }
.site-header--over-hero .brand-logo--light { display: block; }
.site-header--over-hero.is-scrolled .brand-logo--dark { display: block; }
.site-header--over-hero.is-scrolled .brand-logo--light { display: none; }
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 18px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a, .nav .nav-trigger { font-size: .9rem; font-weight: 600; color: var(--ink); }
.nav > a:hover, .nav .nav-trigger:hover { color: var(--brand); }
.nav .has-menu { position: relative; }
.nav-trigger { background: none; border: 0; cursor: pointer; padding: 20px 0; }
.dropdown {
  position: absolute; top: 100%; left: -18px; width: 268px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px;
  display: none; border-radius: var(--radius);
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown, .has-menu.is-open .dropdown { display: block; }
/* dropdown sits on a white panel: force dark text so the transparent over-hero
   header (color:#fff) cannot make the product links white-on-white */
.dropdown a { display: block; padding: 9px 12px; font-size: .88rem; border-radius: 6px; color: var(--ink); }
.dropdown a:hover { background: var(--surface); color: var(--brand); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

/* home: navigation floats over the hero so the banner starts at the very top */
.site-header--over-hero {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-bottom: 0; color: var(--white);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header--over-hero .nav > a,
.site-header--over-hero .nav .nav-trigger { color: var(--white); }
.site-header--over-hero .menu-toggle span { background: var(--white); }
.site-header--over-hero.is-scrolled {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
.site-header--over-hero.is-scrolled .nav > a,
.site-header--over-hero.is-scrolled .nav .nav-trigger { color: var(--ink); }
.site-header--over-hero.is-scrolled .menu-toggle span { background: var(--navy); }

/* hero */
.hero { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,20,.70) 0%, rgba(20,20,20,0) 22%),
    linear-gradient(90deg, rgba(28,28,28,.90) 0%, rgba(28,28,28,.62) 32%, rgba(28,28,28,.28) 48%, rgba(28,28,28,.02) 64%, rgba(28,28,28,0) 74%);
}
.hero .container { position: relative; z-index: 2; padding: 124px 0 62px; min-height: 660px; display: flex; flex-direction: column; }
.hero-content { max-width: 640px; }
.hero h1 { max-width: 660px; font-size: clamp(2.05rem, 3.5vw, 2.85rem); }
.hero .eyebrow { color: #ffb49e; }
.hero .eyebrow::before { background: var(--brand); }
.hero .btn-row { margin-top: auto; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats strong { display: block; font-size: 1.9rem; line-height: 1; color: var(--white); }
.hero-stats span { font-size: .8rem; color: #b8b8b8; letter-spacing: .04em; }
/* Hero headline: two lines on desktop (explicit <br> after the comma).
   nowrap keeps each of the two lines from breaking further; narrow screens
   still wrap naturally. */
@media (min-width: 901px) {
  .hero-content { max-width: none; }
  .hero h1 {
    max-width: none;
    white-space: nowrap;
  }
}

/* trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.trust-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust-items { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-items span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: .8rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; }

/* product categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; min-height: 380px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cccccc; }
.cat-visual {
  height: 230px; background: #ffffff; border-radius: 6px;
  display: grid; place-items: center; overflow: hidden; margin-bottom: 18px;
}
.cat-visual img { width: 100%; height: 100%; object-fit: contain; }
.cat-card h3 {
  font-size: 1.02rem; margin-bottom: 8px; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; min-height: 2.7em;
}
.cat-card p {
  font-size: .86rem; color: var(--muted); margin-bottom: 16px; flex: 1; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; min-height: 4.5em;
}
.cat-card .more { font-size: .82rem; font-weight: 700; color: var(--navy-deep); }
.cat-card:hover .more { color: var(--ink); text-decoration: underline; }

/* split feature */

/* service cards */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card .body { padding: 20px; }
.service-card h3 { font-size: 1rem; }
.service-card p { font-size: .86rem; color: var(--muted); margin: 0; }
.num { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); margin-bottom: 8px; }

/* about: capability strip, factory gallery, base data, milestones */
.cap-strip { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.cap { padding: 26px 18px; border-right: 1px solid rgba(255,255,255,.12); }
.cap:last-child { border-right: 0; }
.cap strong { display: block; color: var(--white); font-size: 1.65rem; line-height: 1.1; letter-spacing: -.02em; }
.cap span { display: block; margin-top: 8px; font-size: .76rem; color: #b8b8b8; line-height: 1.4; }
.plant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.plant { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--navy); }
.plant img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.plant:hover img { transform: scale(1.05); }
.plant figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(0deg, rgba(9,19,48,.9), transparent); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---- SiNeng Activity photo grid (About us, directly above the timeline) ---- */
.activity-block { margin: 0 0 40px; }
.activity-title { color: var(--brand); font-size: 1.35rem; font-weight: 700; margin: 0 0 16px; }
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.activity-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface); }
@media (max-width: 900px) { .activity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .activity-grid { grid-template-columns: 1fr; } }
.base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px; }
.base-card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 6px; padding: 26px; }
.base-card h3 { font-size: 1.3rem; }
.base-card > p { font-size: .92rem; color: var(--muted); }
.base-stats { margin: 20px 0 0; }
.base-stats > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.base-stats dt { font-weight: 700; color: var(--navy); }
.base-stats dd { margin: 0; color: var(--muted); }
.capability-note { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; margin-bottom: 40px; }
.capability-note h3 { font-size: 1.2rem; }
.capability-note p { font-size: .92rem; color: var(--muted); margin: 0; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; border-top: 2px solid var(--line); padding-top: 26px; }
.timeline-item { position: relative; padding-top: 4px; }
.timeline-item::before { content: ""; position: absolute; top: -33px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--surface); }
.timeline-item strong { display: block; color: var(--brand); font-size: 1.15rem; margin-bottom: 6px; }
.timeline-item span { font-size: .84rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1100px) {
  .cap-strip { grid-template-columns: repeat(3, 1fr); }
  .cap:nth-child(3) { border-right: 0; }
  .plant-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .cap-strip { grid-template-columns: repeat(2, 1fr); }
  .cap { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .base-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .base-stats > div { grid-template-columns: 110px 1fr; }
}
@media (max-width: 480px) {
  .plant-grid, .timeline { grid-template-columns: 1fr; }
  .base-stats > div { grid-template-columns: 1fr; gap: 2px; }
}


/* company strength proof */
.strength-head { margin: 8px 0 30px; }
.strength-lead { background: var(--navy); color: var(--white); border-radius: 8px; padding: 32px 34px; margin-bottom: 20px; }
.strength-lead__tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--brand); padding: 6px 12px; border-radius: 3px; margin-bottom: 16px; }
.strength-lead h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; }
.strength-lead p { color: #d0d0d0; max-width: 960px; font-size: .95rem; margin-bottom: 24px; }
.strength-lead__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.strength-lead__stats strong { display: block; color: var(--white); font-size: 1.4rem; line-height: 1.2; }
.strength-lead__stats span { display: block; font-size: .78rem; color: #bcbcbc; margin-top: 6px; line-height: 1.45; }
.strength-grid { margin-bottom: 34px; }
.strength-grid .cert { border-left-color: var(--brand); }
@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .brand-logo, .footer-logo { height: 32px; width: auto; }
  .cert-grid, .strength-lead__stats { grid-template-columns: 1fr 1fr; }
  .strength-lead { padding: 26px 22px; }
}
@media (max-width: 480px) { .cert-grid, .strength-lead__stats { grid-template-columns: 1fr; } }

/* certifications */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--tech); padding: 22px; border-radius: 6px; }
.cert strong { display: block; color: var(--navy); margin-bottom: 6px; }
.cert span { font-size: .86rem; color: var(--muted); }

/* state-owned identity badge */
.soe-badge {
  display: flex; align-items: center; gap: 22px;
  background: var(--navy-deep); color: var(--white);
  border-left: 4px solid var(--brand); border-radius: 6px;
  padding: 20px 26px; margin: -8px 0 34px;
}
.soe-badge__mark {
  flex: 0 0 auto; font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #ff9b7d; white-space: nowrap;
  border: 1px solid rgba(240,74,35,.65); border-radius: 3px; padding: 9px 11px;
}
.soe-badge__text strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.soe-badge__text span { display: block; font-size: .86rem; color: #c6c6c6; line-height: 1.6; }

/* certificate register inside the company profile */
.cert-register { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px 30px; margin-bottom: 40px; }
.cert-register__head h3 { font-size: 1.28rem; margin: 6px 0 10px; color: var(--navy); }
.cert-register__head p { font-size: .92rem; color: var(--muted); max-width: 960px; margin: 0 0 24px; }
.cert-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-group { border-top: 3px solid var(--brand); padding-top: 16px; }
.cert-group h4 { font-size: .94rem; color: var(--navy); margin-bottom: 12px; }
.cert-group p { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 14px 0 0; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-badges span { display: inline-block; padding: 7px 11px; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 4px; background: #fafafa; color: var(--navy); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 900px) { .cert-groups { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cert-register { padding: 22px 18px; } }

/* international partner logos */
.partners-block {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 30px 30px 26px; margin: 0 0 40px;
}
.partners-block h3 { font-size: 1.25rem; margin-bottom: 10px; }
.partners-block > p { font-size: .9rem; color: var(--muted); max-width: 920px; margin-bottom: 22px; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner-logo {
  background: var(--white); border: 1px solid var(--line); border-radius: 5px;
  height: 88px; padding: 14px 16px; display: grid; place-items: center;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.partner-logo img {
  max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain;
  filter: none; opacity: 1;
  transition: opacity .25s ease;
}
.partner-logo img.partner-logo--tall { max-height: 68px; }
.partner-logo:hover { border-color: var(--brand); box-shadow: 0 2px 12px rgba(254,70,20,.14); }
.partner-logo:hover img { opacity: .88; }
.partners-note { font-size: .78rem !important; color: #8c8c8c !important; margin: 16px 0 0 !important; }
@media (max-width: 900px) {
  .soe-badge { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-block { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* catalogue grade tables (translated from the official product catalogue) */
.grade-title { font-size: 1rem; margin: 30px 0 12px; color: var(--brand); }
.range-note { color: var(--muted); font-size: .92rem; max-width: 900px; margin: 0 0 6px; }
.range-title { font-size: 1.12rem; line-height: 1.35; margin: 46px 0 6px; padding-left: 14px; border-left: 4px solid var(--navy-deep); color: var(--brand); }
.range-title .range-src { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-top: 4px; }
.range-title + .prod-grid { margin-top: 20px; }
.grade-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.grade-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .86rem; }
.grade-table th {
  background: var(--navy-deep); color: var(--white); text-align: left;
  padding: 11px 14px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.grade-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.grade-table tbody tr:nth-child(even) { background: var(--surface); }
.grade-table tbody tr:last-child td { border-bottom: 0; }
.grade-table td:first-child { font-weight: 700; color: var(--ink); }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card .body { padding: 22px; }
.news-date { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: "Segoe UI", Arial, Helvetica, "Helvetica Neue", sans-serif !important; }
.news-card h3 { font-size: 1.02rem; margin: 10px 0; }
.news-card p { font-size: .86rem; color: var(--muted); margin: 0; }

/* faq */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 4px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 4px 22px; color: var(--muted); font-size: .94rem; margin: 0; }

/* inquiry band - carbon grey keeps the form calm; orange is reserved for the action */
.inquiry { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.inquiry::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.inquiry .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.inquiry h2 { color: var(--white); }
.inquiry p { color: #cccccc; }
.inquiry a:hover { color: var(--white); }
.inquiry .eyebrow { color: #ff9b7d; }
.inquiry .eyebrow::before { background: var(--brand); }
.inquiry .btn--navy { background: var(--brand); color: var(--white); }
.inquiry .btn--navy:hover { background: var(--brand-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.field input, .field textarea, .field select {
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.97);
  padding: 11px 13px; border-radius: 4px; color: var(--ink); font-size: .9rem; width: 100%;
}
.field textarea { min-height: 92px; resize: vertical; }
.form-note { font-size: .76rem; color: #bdbdbd; margin-top: 12px; }
.form-status { font-size: .86rem; font-weight: 700; margin-top: 10px; }

/* footer */
.site-footer { background: var(--navy-deep); color: #c8c8c8; padding: 68px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 40px; }
.site-footer h4, .site-footer .footer-col-title { color: var(--white); font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; line-height: 1.2; font-weight: 700; }
.site-footer a { font-size: .88rem; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--white); }
.footer-about { font-size: .88rem; max-width: 320px; }
.footer-contact { font-size: .88rem; line-height: 1.9; }
.footer-contact span { display: block; }
.footer-contact .contact-line { margin-top: 8px; }
.footer-companies { margin-top: 18px; margin-right: -20px; font-size: .88rem; line-height: 1.9; }
.footer-companies span { display: block; letter-spacing: -.05em; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 20px; font-size: .78rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* breadcrumb + product listing */
.page-head { background: #454545; color: var(--white); padding: 56px 0 60px; }
.page-head--image {
  position: relative;
  overflow: hidden;
  background: #454545 url("../img/hero-plant-oil.webp") center right / cover no-repeat;
}
.page-head--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,28,28,.94) 0%, rgba(28,28,28,.86) 34%, rgba(28,28,28,.48) 60%, rgba(28,28,28,.12) 84%, rgba(28,28,28,.04) 100%);
}
.page-head--image .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .8rem; color: #bdbdbd; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-head p { color: #cccccc; max-width: 700px; margin: 0; }

/* technical data sheets */

.cat-nav { display: flex; flex-wrap: wrap; overflow: visible; gap: 5px; padding: 12px 0 8px; border-bottom: 1px solid var(--line); }
.cat-nav a { flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 30px; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.cat-nav a:hover { border-color: var(--brand); color: var(--brand); }
.cat-nav a.is-active, .cat-nav a.is-active:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
/* Category filter: wrap all categories without hiding links or adding a scroll bar. */
.cat-nav-wrap { position: sticky; top: 76px; z-index: 40; background: var(--white); box-shadow: 0 8px 16px rgba(0, 0, 0, .035); }
.line-block { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.line-block:last-of-type { border-bottom: 0; }
.line-block[hidden] { display: none !important; }
.family-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.family-nav a { padding: 7px 14px; border: 1px solid rgba(254, 70, 20, .38); border-radius: 30px; font-size: .8rem; font-weight: 700; color: var(--brand-dark); background: var(--surface); white-space: nowrap; }
.family-nav a:hover { border-color: var(--brand); color: var(--brand); }
.family-title { font-size: 1.24rem; line-height: 1.35; margin: 42px 0 10px; padding: 0 0 12px; border-bottom: 2px solid var(--brand); color: var(--brand); }
.family-num { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .08em; color: var(--white); background: var(--brand); padding: 4px 9px; border-radius: 3px; margin-right: 10px; vertical-align: 2px; }
.family-title .range-src { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-top: 6px; }
.engine-family { scroll-margin-top: 170px; }
#xspin-range { scroll-margin-top: 170px; }
@media (max-width: 900px) {
  .cat-nav { flex-wrap: wrap; overflow: visible; row-gap: 6px; }
  .cat-nav a { flex: 0 0 auto; }
  .family-nav { flex-wrap: nowrap; overflow-x: auto; }
  .family-nav a { flex: 0 0 auto; }
  .engine-family, #xspin-range { scroll-margin-top: 110px; }
}
@media print {
  .cat-nav-wrap { position: static; box-shadow: none; }
  .line-block[hidden] { display: block !important; }
}
.line-head { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 32px; }
.line-head h2 { font-size: 1.7rem; }
.line-head p { color: var(--muted); margin: 0; }
.prod-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; background: var(--white); }
.prod-claim { font-size: .82rem; font-weight: 700; line-height: 1.4; color: var(--navy); margin: 0 0 4px; }
.prod-spec { font-size: .76rem; line-height: 1.4; color: var(--muted); margin: 0 0 10px; }
.prod-detail { font-size: .76rem; line-height: 1.5; color: var(--muted); margin: 0 0 8px; }
.prod-detail strong { color: var(--ink); font-weight: 700; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--navy); background: var(--surface); padding: 4px 9px; border-radius: 3px; margin-bottom: 12px; }
.prod-card .meta { font-size: .8rem; color: var(--muted); margin-top: auto; }
.prod-actions { display: flex; gap: 10px; margin-top: 14px; }
.prod-actions a { font-size: .8rem; font-weight: 700; color: var(--brand); }
.prod-actions button { background: none; border: 0; color: var(--brand); font-size: .8rem; font-weight: 700; cursor: pointer; padding: 0; }
.prod-actions button:hover { text-decoration: underline; }
.note-box { background: var(--surface); border-left: 3px solid var(--tech); padding: 18px 22px; font-size: .88rem; color: var(--muted); border-radius: 4px; margin-top: 28px; }

/* ---- YULI full product gallery ---- */
.yuli-item .tag { margin: 0 14px 10px; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .inquiry .container { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .line-head { grid-template-columns: 1fr; gap: 12px; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav .nav-trigger { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
  .dropdown { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .has-menu:hover .dropdown { display: none; }
  .has-menu.is-open .dropdown { display: block; }
  .site-header--over-hero .nav { background: var(--white); }
  .site-header--over-hero .nav > a,
  .site-header--over-hero .nav .nav-trigger,
  .site-header--over-hero.is-scrolled .nav > a,
  .site-header--over-hero.is-scrolled .nav .nav-trigger { color: var(--ink); }
}
@media (max-width: 700px) {
  .container { width: min(1200px, calc(100% - 32px)); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid, .news-grid { grid-template-columns: 1fr; }
  .cat-visual { height: 200px; }
  .hero .container { padding: 72px 0 52px; min-height: 617px; }
  .hero-bg { object-position: 62% center; }
  .hero::after {
    background: linear-gradient(180deg, rgba(28,28,28,.92) 0%, rgba(28,28,28,.86) 52%, rgba(28,28,28,.52) 78%, rgba(28,28,28,.30) 100%);
  }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
  .hero-stats strong { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .utility .container { justify-content: center; }
  .utility .hide-sm { display: none; }
}
@media (max-width: 480px) {
  .cat-grid, .service-grid, .prod-grid { grid-template-columns: 1fr; }
  .cat-visual { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Long-form technical articles ---------- */
.article-head p { max-width: 880px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; color: #d6d6d6; }
.article-meta strong { color: var(--white); }
.article-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.article-toc { position: sticky; top: 96px; border-left: 2px solid var(--line); padding-left: 18px; }
.article-toc h4, .article-toc .toc-title { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; line-height: 1.2; font-weight: 700; }
.article-toc nav { display: flex; flex-direction: column; gap: 9px; }
.article-toc nav a { font-size: .84rem; line-height: 1.45; color: #4a4a4a; }
.article-toc nav a:hover { color: var(--brand); }
.article-toc .toc-cta { display: block; margin-top: 22px; color: var(--brand); font-weight: 700; font-size: .84rem; }
.article-body { max-width: 790px; font-size: 1.02rem; line-height: 1.82; }
.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 2.2em 0 .7em; scroll-margin-top: 96px; }
.article-body h3 { font-size: 1.16rem; margin: 1.7em 0 .5em; }
.article-body p { margin: 0 0 1.15em; color: #333333; }
.article-lead { font-size: 1.14rem !important; line-height: 1.75; color: var(--ink) !important; font-weight: 500; border-left: 3px solid var(--brand); padding-left: 20px; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 1.4em; color: #333333; }
.article-body li { margin-bottom: .7em; }
.article-body strong { color: var(--ink); }
.key-takeaways { background: var(--surface); border-left: 3px solid var(--brand); border-radius: 4px; padding: 22px 26px; margin: 32px 0 36px; }
.key-takeaways h2 { font-size: 1.05rem !important; margin: 0 0 12px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.key-takeaways ul { margin: 0; padding-left: 20px; }
.key-takeaways li { margin-bottom: .55em; font-size: .94rem; line-height: 1.6; }
.article-figure { margin: 30px 0; }
.article-figure img { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; margin-inline: auto; }
.article-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; line-height: 1.6; text-align: center; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0 28px; }
.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .88rem; line-height: 1.55; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.data-table thead th { background: #454545; color: var(--white); font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: var(--surface); }
.data-table td:first-child { font-weight: 600; color: var(--navy); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; }
.faq-item p { margin: 0; font-size: .95rem; }
.author-box { background: var(--surface); border-radius: 8px; padding: 24px 26px; margin: 38px 0 0; font-size: .92rem; }
.author-box h3 { margin: 0 0 10px; }
.author-box p:last-child { margin-bottom: 0; }
.article-cta-wrap { padding-top: 0; }
.article-cta { background: #454545; color: var(--white); border-radius: 10px; padding: 36px 40px; }
.article-cta h3 { color: var(--white); margin: 0 0 12px; font-size: 1.4rem; }
.article-cta p { color: #dcdcdc; max-width: 820px; }
.article-cta .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.related-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: 14px; background: var(--white); }
.related-card .body { padding: 20px; display: flex; flex-direction: column; }
.related-card h3 { font-size: 1rem; margin: 8px 0; }
.related-card p { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }
.related-card .read-more { margin-top: auto; }
.read-more { font-size: .84rem; font-weight: 700; color: var(--brand); }
.news-card--article:hover .read-more, .related-card:hover .read-more { color: var(--brand-dark); text-decoration: underline; }
.news-card--article { transition: box-shadow .2s ease, transform .2s ease; }
.news-card--article:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card--article img { object-fit: contain; padding: 12px; background: var(--white); }
.news-card__link { display: block; }
.news-card--article .body { display: flex; flex-direction: column; }
.news-card--article .read-more { margin-top: 16px; }
/* Uniform line counts: every card in a row shows the same number of text lines */
.news-card--article h3, .related-card h3 {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; line-height: 1.35;
}
.news-card--article p, .related-card p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; line-height: 1.5;
}
.news-card--article h3 { min-height: 2.7em; }
.news-card--article p  { min-height: 4.5em; }
.related-card h3 { min-height: 1.35em; }
.related-card p  { min-height: 4.5em; }

@media (max-width: 1000px) {
  .article-wrap { grid-template-columns: 1fr; gap: 28px; }
  .article-toc { position: static; border-left: 0; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--surface); }
  .article-toc nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
  .article-toc .toc-cta { margin-top: 16px; }
  .article-body { max-width: 100%; }
}
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 22px; }
  .article-toc nav { grid-template-columns: 1fr; }
  .article-figure img { max-width: 100%; }
  .article-meta { gap: 6px 16px; }
  .key-takeaways { padding: 18px 20px; }
  .data-table { min-width: 540px; }
}


/* ---- Section panels: one content section at a time, site-wide ---- */
.panel-nav-wrap { position: sticky; top: 76px; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.035); }
.panel-nav { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding: 14px 0 10px; }
.panel-nav a { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; font-size: .84rem; font-weight: 600; white-space: nowrap; color: var(--ink); }
.panel-nav a:hover { border-color: var(--brand); color: var(--brand); }
.panel-nav a.is-active, .panel-nav a.is-active:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.panel-note { margin: 0 0 12px; font-size: .78rem; color: var(--muted); }
[data-panel][hidden] { display: none !important; }
[data-panel] { scroll-margin-top: 160px; }
/* Home: the Company profile is the default panel; keep its opening visible on
   the first screen instead of pushing it below the fold. */
body[data-default-panel="about"] .trust .container { padding-top: 14px; padding-bottom: 14px; }
body[data-default-panel="about"] #about { padding-top: 52px; }
@media (max-width: 700px) { body[data-default-panel="about"] #about { padding-top: 36px; } }
.article-toc nav a.is-active, .family-nav a.is-active { color: var(--brand); font-weight: 700; }
.article-panel > h2:first-child { margin-top: 0; }
.article-panel > :last-child { margin-bottom: 0; }
@media (min-width: 901px) { .article-toc { top: 170px; } }
@media print {
  .panel-nav-wrap { position: static; box-shadow: none; }
  .panel-note { display: none; }
  [data-panel][hidden] { display: block !important; }
}

/* The sticky panel bar already lists every TDS sheet, so the in-page quick
   index is redundant in JS mode. Without JS all sections stay visible and
   the index is kept for navigation. */
html.js-panels .tds-nav { display: none; }

/* ---- Home: company introduction, quality control and service programme ---- */
.about-hero { margin: 0 0 36px; border-radius: 8px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.about-hero img { display: block; width: 100%; height: auto; }
.about-intro { margin-bottom: 44px; }
.about-intro__head { max-width: 980px; margin: 0 0 30px; }
.about-intro__head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
/* Keep the company-profile headline on a single line on desktop;
   the copy grid below is full width, so the heading may use it too. */
@media (min-width: 901px) {
  #about .about-intro__head { max-width: none; }
  #about .about-intro__head h2 {
    font-size: clamp(1.15rem, 2.6vw, 2.25rem);
    white-space: nowrap;
  }
}
.about-intro__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.about-intro__copy p { color: var(--muted); font-size: .94rem; line-height: 1.75; }
.about-intro__copy > div > p:last-child { margin-bottom: 0; }
.quality-head, .solutions-head { max-width: 980px; margin: 8px 0 28px; }
@media (min-width: 900px) {
  #quality .section-head h2 { white-space: nowrap; }
}
.quality-head h3, .solutions-head h3 { color: var(--navy); font-size: 1.55rem; line-height: 1.3; margin-bottom: 12px; }
.quality-head p, .solutions-head p { color: var(--muted); font-size: .98rem; line-height: 1.7; }
.qc-flow, .svc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.qc-step, .svc-step { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 6px; padding: 18px; }
.qc-step em, .svc-step em { display: block; font-style: normal; font-size: .71rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); margin-bottom: 10px; }
.qc-step strong, .svc-step strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.35; margin-bottom: 8px; }
.qc-step span, .svc-step span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.6; }
.qc-note { background: var(--navy-deep); color: var(--white); border-left: 4px solid var(--brand); border-radius: 6px; padding: 20px 24px; margin-bottom: 30px; }
.qc-note strong { display: block; font-size: 1.02rem; margin-bottom: 8px; }
.qc-note p { color: #cfcfcf; font-size: .88rem; line-height: 1.7; margin: 0; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; margin: 0 0 20px; padding: 0; list-style: none; }
.svc-list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }
.svc-note { color: var(--muted); font-size: .92rem; line-height: 1.7; max-width: 960px; margin-bottom: 22px; }
/* The Solutions lead paragraphs were capped at 980/960px inside a 1200px
   container, which pushed a short orphan word onto its own line. On desktop
   let them use the full container width instead. */
@media (min-width: 901px) {
  .section-head,
  .quality-head,
  .solutions-head,
  .svc-note,
  .partners-block > p,
  .strength-lead p,
  .cert-register__head p,
  .range-note { max-width: none; }
  /* Centred section heads keep their measured width. */
  .section-head.center { max-width: 980px; }
}
/* At the full 1200px container the short two paragraphs fit on one line;
   the longest one is balanced across two even lines instead of three. */
@media (min-width: 1248px) {
  /* No forced nowrap: at the full 1200px container the short lead paragraphs
     already fit on one line, and nowrap would clip the longer .svc-note. */
  .solutions-head p { text-wrap: balance; }
}
@media (max-width: 900px) {
  .about-intro__copy { grid-template-columns: 1fr; gap: 0; }
  .qc-flow, .svc-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .qc-flow, .svc-flow, .svc-list { grid-template-columns: 1fr; }
}

/* ---- Application / brand categories ---- */
.range-group { margin-bottom: 34px; }
.range-group > h3.grade-title { font-size: 1.18rem; color: var(--brand); border-left: 3px solid var(--brand); padding-left: 12px; }
.range-group .engine-family { margin-top: 0; }


/* --- Industrial Oils taxonomy (five families, four industrial ranges) --- */
.dropdown-subgroup { margin: 4px 0 6px 10px; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); }
.dropdown-subgroup a { font-size: .84rem; padding: 6px 12px; color: var(--muted); }
.dropdown-subgroup a:hover { color: var(--brand); }
.footer-sub { padding-left: 10px; font-size: .86em; opacity: .88; }
.cat-nav a.cat-sub { border-style: dashed; }
.subcat-body .more { font-size: .82rem; font-weight: 700; color: var(--navy-deep); }
.subcat-body .more:hover { color: var(--brand); text-decoration: underline; }
.table-scroll { overflow-x: auto; margin-top: 24px; }
.cat-sublinks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding: 16px 18px; background: var(--surface); border-radius: 8px; }
.cat-sublinks span { font-size: .82rem; font-weight: 700; color: var(--navy-deep); margin-right: 4px; }
.cat-sublinks a { font-size: .82rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); color: var(--ink); }
.cat-sublinks a:hover { border-color: var(--brand); color: var(--brand); }
.map-figure { margin: 34px 0 6px; }
.map-figure img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.map-figure figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); line-height: 1.6; }
.map-figure figcaption a { color: var(--navy-deep); font-weight: 700; }
.cat-grid--five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .cat-grid--five, .subcat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cat-grid--five, .subcat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid--five, .subcat-grid { grid-template-columns: 1fr; } }

/* ---- Ancillary Fluids: vertical product rows (photo left, details + parameters right) ---- */
.product-rows { display: flex; flex-direction: column; gap: 24px; margin-top: 26px; }
.product-row { display: grid; grid-template-columns: minmax(220px, 32%) 1fr; gap: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 24px; }
.product-row__visual { background: #ffffff; display: flex; align-items: flex-start; justify-content: center; }
.product-row__visual img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.product-row__content h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 10px; color: var(--ink); }
.product-row__content .tag { display: inline-block; margin-bottom: 12px; }
.product-row__content .prod-detail { font-size: .8rem; line-height: 1.55; }
.row-table-title { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 18px 0 8px; }
.row-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.row-table { width: 100%; min-width: 380px; border-collapse: collapse; font-size: .78rem; }
.row-table th { background: var(--navy-deep); color: var(--white); text-align: left; padding: 9px 11px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.row-table td { padding: 8px 11px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.row-table tbody tr:nth-child(even) { background: var(--surface); }
.row-table-note { font-size: .74rem; line-height: 1.5; color: var(--muted); margin: 8px 0 0; }
.product-row__content .meta { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.product-row__content .prod-actions { margin-top: 14px; }
@media (max-width: 900px) { .product-row { grid-template-columns: 1fr; gap: 16px; padding: 18px; } .product-row__visual img { max-height: 240px; } }
@media (max-width: 480px) { .product-row { padding: 14px; } .product-row__content .prod-detail { font-size: .78rem; } }

/* ---- product rows: shared refinements for all catalogue sections ---- */
.product-row__content .more { font-size: .82rem; font-weight: 700; color: var(--brand); }
.product-row__content .more:hover { color: var(--brand); text-decoration: underline; }
.product-row__content .prod-actions a { font-size: .8rem; }
.product-row__content h3 { min-height: 0; }
.product-row__content .row-table { margin-bottom: 4px; }
.product-rows > .range-title { margin-top: 40px; }
.row-table--wide { min-width: 620px; }

/* ---- product image lightbox (click a product photo to view hi-res) ---- */
.product-row__visual img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(10, 14, 20, .92); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(92vw, 1200px); max-height: 84vh; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--brand); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #e8e8e8; font-size: .85rem; padding: 0 20px; }
@media (max-width: 600px) { .lightbox { padding: 14px; } .lightbox__caption { font-size: .75rem; } }


/* ---- Industrial oil pack-shot gallery ---- */
.metalworking-catalogue { margin-top: 0; padding-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 170px; }
.metalworking-catalogue > .grade-title:first-child { margin-top: 0; font-size: 1.18rem; }
.ind-gallery-block { margin: 34px 0 6px; }
.ind-gallery-intro { color: var(--muted); font-size: .92rem; line-height: 1.7; margin: 0 0 24px; }
.ind-group { margin: 0 0 32px; }
.ind-group-title { font-size: 1.06rem; line-height: 1.4; font-weight: 700; color: var(--brand); margin: 0 0 14px; }
.ind-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ind-item { margin: 0; min-width: 0; }
.ind-item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; }
.ind-item figcaption { margin-top: 7px; font-size: .78rem; line-height: 1.45; color: var(--muted); text-align: center; }
@media (max-width: 1180px) { .ind-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ind-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ind-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
