/* ==========================================================================
   OGT Oil & Gas Trading — stylesheet
   Palette is taken from the company logo: red #EC3237, charcoal #4B4B4B.
   ========================================================================== */

/* ---------- Self-hosted fonts (Big Shoulders Display, Public Sans; SIL Open Font License) ---------- */
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:700;font-display:swap;src:url("../assets/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");}
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:800;font-display:swap;src:url("../assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");}
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:900;font-display:swap;src:url("../assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../assets/fonts/public-sans-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../assets/fonts/public-sans-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../assets/fonts/public-sans-latin-600-normal.woff2") format("woff2");}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../assets/fonts/public-sans-latin-700-normal.woff2") format("woff2");}

:root {
  --black: #000000;
  --graphite: #262626;
  --charcoal: #4b4b4b;      /* logo grey */
  --red: #ec3237;           /* logo red */
  --red-deep: #d21f27;      /* red for text on white and white text on red */
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --paper: #f2f2f1;
  --line: #dcdcdc;
  --white: #ffffff;
  --wa: #25d366;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 76px;
  --cut: clamp(28px, 4vw, 64px);
  --container: 1240px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--red-deep); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Icons ---------- */
.icon {
  width: 1.4em; height: 1.4em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--lg { width: 34px; height: 34px; stroke-width: 1.5; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); text-wrap: balance; }
h3 { font-size: 1.7rem; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons (parallelogram, echoing the logo's diagonal ribbons) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transform: skewX(-12deg);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn > span { display: inline-flex; align-items: center; gap: 10px; transform: skewX(12deg); }
.btn--sm { padding: 11px 24px; font-size: .95rem; }
.btn--red { background: var(--red-deep); color: #fff; }
.btn--red:hover { background: #a8141b; }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 2rem; letter-spacing: .04em; color: var(--black); }
.brand-sub { font-size: .68rem; font-weight: 600; color: var(--charcoal); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  position: relative; display: block; padding: 10px 12px;
  font-size: .93rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.main-nav .nav-cta { color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: none; border: 2px solid var(--black); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero-inner {
  position: relative; z-index: 2;
  min-height: min(640px, calc(100vh - var(--header-h) - 70px));
  padding-block: 64px 72px;
  display: flex; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.1rem);
  font-weight: 900; line-height: .92; text-transform: uppercase; letter-spacing: .01em;
  text-wrap: balance;
}
.hero-sub { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #d4d4d4; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 40px; padding-left: 8px; }
.hero-wa {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-weight: 600; text-decoration: none; color: #fff;
  border-bottom: 2px solid var(--wa); padding-bottom: 4px;
}
.hero-wa .icon { color: var(--wa); }
.hero-wa:hover { color: var(--wa); }

.hero-visual {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 52%;
  background-color: var(--graphite);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 48px);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.flame { transform-box: fill-box; transform-origin: 50% 100%; }

.hero-strip { position: relative; z-index: 3; background: var(--red-deep); color: #fff; }
.hero-strip-list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 28px; padding-block: 18px; font-weight: 600; font-size: .95rem; }
.hero-strip-list li { display: flex; white-space: nowrap; align-items: center; gap: 12px; }
.hero-strip-list li::before { content: ""; width: 10px; height: 10px; background: #fff; transform: skewX(-20deg); flex: none; }

/* One orchestrated entrance, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .scene { animation: scene-in 1.1s .15s ease-out both; }
  .flame { animation: flicker 1.6s ease-in-out infinite; }
  .flame--inner { animation-duration: 1.1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes scene-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1); }
  35% { transform: scale(.92, 1.14); }
  65% { transform: scale(1.05, .94); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head--light .lead { color: #c9c9c9; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p + p { margin-top: 18px; }
.about-copy p:not(.lead) { max-width: 62ch; }
.focus-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 36px; }
.focus-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.4; }
.focus-list .icon { color: var(--red-deep); margin-top: 1px; stroke-width: 2.4; }

.profile {
  background: var(--black); color: #fff;
  padding: 40px 40px 36px;
  border-left: 6px solid var(--red);
  position: relative;
}
.profile-logo { height: 96px; width: auto; background: #fff; padding: 12px 14px; margin-bottom: 32px; }
.profile dl > div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.profile dt { font-size: .85rem; color: #b3b3b3; font-weight: 500; }
.profile dd { margin-top: 2px; font-weight: 600; }

/* Products: searchable catalog */
.products { background: var(--paper); }
.products .section-head { max-width: 900px; }

.catalog { position: relative; }
.cat-tools {
  position: sticky; top: var(--header-h); z-index: 30;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--black);
  padding: 14px 16px; margin-bottom: 8px;
}
.cat-tools-row { display: grid; grid-template-columns: minmax(0, 1fr) 270px auto; gap: 12px; align-items: stretch; }
.cat-search { position: relative; display: flex; align-items: center; }
.cat-search > .icon { position: absolute; left: 14px; color: var(--charcoal); pointer-events: none; }
.cat-search input {
  width: 100%; height: 52px; padding: 0 46px 0 46px; font-size: 1rem;
  background: #fff; border: 2px solid var(--black); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.cat-search input::-webkit-search-cancel-button { display: none; }
.cat-search input:focus { outline: none; box-shadow: 0 0 0 3px rgba(236,50,55,.4); }
.cat-clear { position: absolute; right: 6px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--charcoal); }
.cat-clear:hover { color: var(--red-deep); }
.cat-select select {
  width: 100%; height: 52px; padding: 0 12px; font-size: 1rem; background: #fff;
  border: 2px solid var(--black); border-radius: 0; cursor: pointer;
}
.cat-select select:focus { outline: none; box-shadow: 0 0 0 3px rgba(236,50,55,.4); }
.cat-views { display: flex; border: 2px solid var(--black); }
.cat-views button {
  padding: 0 18px; font-weight: 700; font-size: .93rem; background: #fff; color: var(--black);
  border: 0; cursor: pointer; white-space: nowrap;
}
.cat-views button + button { border-left: 2px solid var(--black); }
.cat-views button[aria-pressed="true"] { background: var(--black); color: #fff; }
.cat-views button:not([aria-pressed="true"]):hover { background: var(--paper); }

.az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.az button {
  min-width: 34px; height: 34px; padding: 0 8px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; cursor: pointer;
}
.az button:hover:not(:disabled) { border-color: var(--black); }
.az button[aria-pressed="true"] { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.az button:disabled { color: #b5b5b5; background: var(--paper); cursor: default; }
.az .az-all { font-family: var(--font-body); font-size: .85rem; font-weight: 700; }

.cat-status { min-height: 1.6em; margin: 12px 0 8px; font-size: .93rem; color: var(--muted); font-weight: 600; }

/* category cards */
.cgroup { margin-top: 36px; }
.cgroup:first-child { margin-top: 12px; }
.cgroup-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-size: 2rem; padding-bottom: 12px; border-bottom: 2px solid var(--black); margin-bottom: 18px;
}
.cgroup-title span { font-family: var(--font-body); font-size: .88rem; font-weight: 600; color: var(--muted); }
.ccard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ccard {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .25s;
}
.ccard:hover { border-color: var(--black); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.ccard-icon { display: flex; align-items: center; justify-content: center; height: 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.ccard-icon .icon { width: 28px; height: 28px; color: var(--red-deep); }
.ccard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; flex: 1; }
.ccard-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.ccard-name button { all: unset; cursor: pointer; }
.ccard-name button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ccard-name button:focus-visible::after { outline: 3px solid var(--red); outline-offset: 3px; }
.ccard-count { font-size: .85rem; font-weight: 600; color: var(--red-deep); }
.ccard p { font-size: .94rem; line-height: 1.5; color: var(--muted); flex: 1; margin-top: 4px; }
.ccard-tag { align-self: flex-start; margin-top: 6px; padding: 3px 8px; font-size: .78rem; font-weight: 600; background: var(--paper); border-left: 3px solid var(--charcoal); }
.ccard-actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ccard-browse { font-size: .9rem; font-weight: 700; }
.ccard:hover .ccard-browse { color: var(--red-deep); }
.ccard-actions .enquire { margin-top: 0; }

.enquire { margin-top: 0; }

.enquire {
  font-weight: 700; font-size: .9rem; color: var(--red-deep); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.enquire:hover { color: var(--black); }

/* results */
.cat-head { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 22px 24px; margin-bottom: 20px; display: grid; gap: 14px; justify-items: start; }
.cat-head--plain { border-top-color: var(--black); }
.cat-head h3 { font-size: 2.2rem; }
.cat-head-main { display: flex; gap: 16px; align-items: flex-start; }
.cat-head-main .icon { color: var(--red-deep); margin-top: 4px; }
.cat-head-main p { color: var(--muted); margin-top: 6px; }
.cat-note { padding: 12px 16px; background: var(--paper); border-left: 4px solid var(--charcoal); font-size: .95rem; color: var(--ink); max-width: 80ch; }
.back-link { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font-weight: 700; font-size: .93rem; cursor: pointer; color: var(--charcoal); }
.back-link .icon { width: 1.2em; height: 1.2em; }
.back-link:hover { color: var(--red-deep); }
.cat-matches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .93rem; }
.cat-matches span { font-weight: 600; color: var(--muted); }
.cat-matches button, .pm-cat button, .pm-meta dd button {
  padding: 5px 12px; background: var(--black); color: #fff; border: 0; font-weight: 600; font-size: .88rem; cursor: pointer;
}
.cat-matches button:hover, .pm-cat button:hover, .pm-meta dd button:hover { background: var(--red-deep); }

.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prod {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.prod:hover { border-color: var(--black); box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.prod::after {
  content: ""; position: absolute; top: -1px; right: -1px; width: 26px; height: 26px; z-index: 3; pointer-events: none;
  background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.prod-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 12px; flex: 1; }
.prod-cat { font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--red-deep); }
.prod-name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; }
.prod-name button { all: unset; cursor: pointer; }
.prod-name button:hover { color: var(--red-deep); }
.prod-name button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.prod-desc { font-size: .93rem; line-height: 1.5; color: var(--muted); flex: 1; }
.prod-flag { align-self: flex-start; margin-top: 4px; padding: 3px 8px; font-size: .78rem; font-weight: 600; background: var(--paper); border-left: 3px solid var(--charcoal); }
.prod-flag--rg { border-left-color: var(--red-deep); }
.prod-actions { display: grid; grid-template-columns: 1fr 1fr 48px; gap: 8px; padding: 14px 18px 18px; }
.prod-actions .pbtn--wa { padding: 8px 0; }
.prod-actions .pbtn--wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.prod-actions .pbtn--wa .icon { width: 1.6em; height: 1.6em; }

/* card / modal buttons */
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 2px solid var(--black); background: #fff; color: var(--black); font: 700 .88rem/1.1 var(--font-body); text-align: center; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.pbtn--dark { background: var(--black); color: #fff; }
.pbtn--dark:hover { background: var(--graphite); }
.pbtn--red { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.pbtn--red:hover { background: var(--black); border-color: var(--black); }
.pbtn--wa { border-color: #1a9c4e; color: #0f6f36; background: #fff; }
.pbtn--wa:hover { background: #1a9c4e; color: #fff; }
.pbtn--wa .icon { width: 1.25em; height: 1.25em; }
.pbtn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.pbtn--lg { min-height: 52px; padding: 12px 22px; font-size: 1rem; }

.link-btn--sm { font-size: .9rem; }
.btn--dark-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn--dark-outline:hover { background: var(--black); color: #fff; }
.btn--light { color: #fff; }
.btn--light:hover { background: #fff; color: var(--black); }

.cat-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: center; margin-top: 32px; padding-inline: 8px; }
.cat-empty { background: #fff; border: 1px solid var(--line); padding: 32px 28px; max-width: 720px; }
.cat-empty h4 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; }
.cat-empty p { margin-top: 8px; color: var(--muted); }
.cat-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; padding-left: 6px; }
.catalog-noscript h3 { font-size: 1.5rem; margin-top: 20px; }
.catalog-noscript ul { columns: 3 220px; margin-top: 6px; }

/* catalog notice */
.catalog-disclaimer {
  margin-top: clamp(48px, 6vw, 72px); background: var(--black); color: #fff;
  padding: clamp(28px, 4vw, 44px); border-left: 8px solid var(--red);
}
.catalog-disclaimer h3 { font-size: 2rem; }
.catalog-disclaimer p { margin-top: 12px; max-width: 80ch; color: #e2e2e2; }
.disclaimer-actions { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 28px; padding-left: 8px; }

/* product detail dialog */
.pm {
  width: min(1080px, 96vw); max-height: min(92vh, 980px); padding: 0; border: 0; border-top: 6px solid var(--red);
  background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.45); overscroll-behavior: contain;
}
.pm::backdrop { background: rgba(0,0,0,.72); }
.pm-inner { position: relative; padding: clamp(18px, 3vw, 34px); }
.pm-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 2px solid var(--black); cursor: pointer; }
.pm-close:hover { background: var(--black); color: #fff; }
.pm-info { max-width: 720px; }
.pm-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-right: 56px; font-weight: 600; color: var(--muted); font-size: .9rem; }
.pm h3 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 12px; padding-right: 40px; }
.pm-desc { margin-top: 10px; font-size: 1.08rem; }
.pm-notice { margin-top: 16px; padding: 12px 16px; background: var(--paper); border-left: 4px solid var(--charcoal); font-size: .95rem; }
.pm-notice--rg { border-left-color: var(--red-deep); }
.pm-sec { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pm-sec h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.pm-sub { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.pm-sec p { margin-top: 8px; font-size: .97rem; }
.pm-apps { margin-top: 8px; display: grid; gap: 6px; }
.pm-apps li { position: relative; padding-left: 20px; font-size: .97rem; }
.pm-apps li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--red); transform: skewX(-14deg); }
.pm-spec { padding: 10px 14px; background: var(--paper); border-left: 4px solid var(--red-deep); }
.pm-also { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 18px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.pm-also button, .cat-matches button, .pm-cat button { padding: 5px 12px; background: var(--black); color: #fff; border: 0; font-weight: 600; font-size: .88rem; cursor: pointer; }
.pm-also button:hover, .cat-matches button:hover, .pm-cat button:hover { background: var(--red-deep); }
.pm-actions { display: grid; gap: 10px; margin-top: 22px; }
.pm-actions .pbtn { width: 100%; }
.pm-fine { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.pm-related { margin-top: 30px; padding-top: 22px; border-top: 2px solid var(--black); }
.pm-related h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.pm-related ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pm-related button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.pm-related button:hover { border-color: var(--black); }
.pm-related button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.pm-related span { display: block; padding: 10px 12px; font-weight: 700; font-size: .92rem; line-height: 1.25; }

/* category hero (text-only) */
.cat-hero { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 20px; background: linear-gradient(120deg, var(--black), var(--charcoal)); color: #fff; }
.cat-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); z-index: 1; }
.cat-hero-body { padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 44px); max-width: 760px; display: grid; gap: 12px; justify-items: start; }
.cat-hero h3 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: .98; }
.cat-hero-intro { color: #e8e8e8; max-width: 60ch; font-size: 1.02rem; }
.cat-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-left: 6px; }
.cat-count { padding: 6px 14px; background: var(--red-deep); font-weight: 700; font-size: .9rem; }
.back-link--light { color: #fff; }
.back-link--light:hover { color: #ffb3b5; }

/* supply chain flow, CTA (text-only) */
.flow { margin-top: clamp(40px, 5vw, 64px); }
.flow h3 { font-size: clamp(2rem, 4vw, 2.6rem); padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.flow-lead { margin-top: 12px; color: var(--muted); max-width: 70ch; }
.flow-list { list-style: none; padding: 0; counter-reset: fl; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; margin-top: 20px; }
.flow-step { position: relative; counter-increment: fl; padding: 18px 16px 16px; background: var(--paper); border-left: 3px solid var(--red-deep); }
.flow-step::before {
  content: counter(fl); position: absolute; top: -12px; left: -6px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--red-deep); color: #fff; font: 800 1.1rem/1 var(--font-display); transform: skewX(-10deg);
}
.flow-step h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.05; }
.flow-step p { margin-top: 6px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.cat-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; background: var(--black); color: #fff; padding: clamp(24px, 4vw, 40px); border-left: 8px solid var(--red); }
.cat-cta h3 { font-size: 2.1rem; }
.cat-cta p { margin-top: 6px; color: #dcdcdc; max-width: 58ch; }
.cat-cta-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; padding-left: 8px; }
.cat-head--plain { margin-bottom: 20px; }

body.modal-open { overflow: hidden; }

/* Industries — slanted top and bottom edges */
.industries {
  background: var(--black); color: #fff;
  margin-block: calc(var(--cut) * -1);
  padding-block: calc(clamp(72px, 9vw, 120px) + var(--cut));
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-grid li {
  background: var(--graphite); padding: 26px 22px 24px;
  border-bottom: 4px solid var(--charcoal);
  transition: border-color .2s;
}
.industry-grid li:hover { border-bottom-color: var(--red); }
.industry-grid .icon { color: var(--red); margin-bottom: 18px; }
.industry-grid h3 { font-size: 1.45rem; line-height: 1.05; }
.industry-grid p { margin-top: 10px; font-size: .93rem; line-height: 1.5; color: #c4c4c4; }

/* Why OGT */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-grid li { padding: 36px 32px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 22px;
  background: var(--red-deep); color: #fff; transform: skewX(-12deg);
}
.why-icon .icon { width: 28px; height: 28px; transform: skewX(12deg); }
.why-grid h3 { font-size: 1.65rem; line-height: 1.05; }
.why-grid p { margin-top: 12px; color: var(--muted); font-size: 1rem; max-width: 38ch; }

/* Leadership */
.leadership { background: var(--paper); }
.leadership .section-head { margin-bottom: 40px; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.leader { display: flex; align-items: center; gap: 28px; background: #fff; padding: 28px; border-left: 6px solid var(--red); }
.leader-mark {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 92px; height: 92px; background: var(--black); color: var(--red);
  font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; letter-spacing: .04em;
}
.leader h3 { font-size: 2rem; }
.leader p { margin-top: 6px; color: var(--muted); font-weight: 600; }

/* Contact — slanted top edge */
.contact {
  background: var(--graphite); color: #fff;
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(clamp(72px, 9vw, 120px) + var(--cut));
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info .lead { color: #cfcfcf; margin-top: 20px; }
.contact-card { margin-top: 36px; padding: 28px 28px 8px; background: var(--black); border-left: 6px solid var(--red); }
.contact-company { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; line-height: 1.15; margin-bottom: 22px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-row .icon { color: var(--red); margin-top: 3px; }
.contact-label { display: block; font-size: .85rem; color: #b3b3b3; }
.contact-row a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-row a:hover { color: var(--red); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; padding-left: 8px; }

.form-panel { background: #fff; color: var(--ink); padding: clamp(28px, 4vw, 48px); border-top: 6px solid var(--red); }
.form-panel h3 { font-size: 2.2rem; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { font-weight: 600; font-size: .93rem; }
.req { color: var(--red-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: #fff;
  border: 1.5px solid #b9b9b9; border-radius: 2px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--charcoal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(236,50,55,.35); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--red-deep); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 8px; padding-left: 8px; }
.link-btn { background: none; border: 0; padding: 4px 0; font-weight: 600; color: var(--charcoal); border-bottom: 2px solid var(--line); cursor: pointer; }
.link-btn:hover { color: var(--red-deep); border-color: var(--red-deep); }
.form-status { min-height: 1.5em; margin-top: 18px; font-weight: 600; color: var(--red-deep); }
.form-hint { margin-top: 6px; font-size: .88rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--black); color: #d0d0d0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 48px; padding-block: 72px 56px; }
.footer-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer-logo { flex: none; background: #fff; padding: 12px 14px; }
.footer-logo img { height: 86px; width: auto; }
.footer-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: #fff; letter-spacing: .02em; }
.footer-tag { margin-top: 10px; font-size: .95rem; }
.footer-col h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.footer-col p, .footer-col li { font-size: .95rem; line-height: 1.6; }
.footer-col p + p { margin-top: 10px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 22px 28px; font-size: .88rem; }
.footer-note { margin-top: 6px; color: #9d9d9d; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--wa); color: #06210f; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .ccard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-tools-row { grid-template-columns: minmax(0, 1fr) 230px auto; }
  .main-nav ul { gap: 0; }
  .main-nav ul a { padding-inline: 9px; }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 4px solid var(--red);
    padding: 8px 24px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .main-nav ul a.is-active { color: var(--red-deep); }
  .main-nav .nav-cta { align-self: flex-start; margin: 22px 0 0 8px; }
}

@media (max-width: 1000px) {
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .cat-tools { position: static; }
  .cat-tools-row { grid-template-columns: 1fr 1fr; }
  .cat-search { grid-column: 1 / -1; }
  .cat-views { grid-column: 1 / -1; }
  .cat-views button { flex: 1; min-height: 48px; }
  .ccard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { min-height: 0; padding-block: 64px 48px; }
  .hero-visual {
    position: relative; width: 100%; height: clamp(300px, 62vw, 460px);
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    margin-top: -10px;
  }
  .hero-strip-list { grid-template-columns: 1fr 1fr; padding-block: 20px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .cat-tools-row { grid-template-columns: 1fr; }
  .cat-tools { padding: 12px; }
  .az button { min-width: 32px; height: 36px; }
  .cgroup-title { font-size: 1.7rem; flex-direction: column; gap: 2px; }
  .catalog-disclaimer .btn, .cat-cta .btn { width: 100%; }
  .disclaimer-actions, .cat-cta-actions { padding-left: 0; }
  .cat-cta-actions { width: 100%; }
  .container { width: min(100% - 36px, var(--container)); }
  .brand-sub { display: none; }
  .brand-logo { height: 44px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .focus-list { grid-template-columns: 1fr; }
  .hero-strip-list { grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-actions, .contact-actions { padding-left: 0; }
  .profile { padding: 30px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { flex-direction: column; }
}

@media (max-width: 900px) {
  .pm-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .prod-grid, .ccard-grid { grid-template-columns: 1fr; }
  .prod-actions { grid-template-columns: 1fr; }
  .prod-actions .pbtn--wa { padding: 8px 14px; }
  .prod-actions .pbtn--wa span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .prod-actions .pbtn--wa .icon { width: 1.25em; height: 1.25em; }
  .prod-actions .pbtn { min-height: 50px; font-size: .95rem; }
  .prod-actions .pbtn--red { order: -1; }
  .prod-name { font-size: 1.8rem; }
  .flow-list { grid-template-columns: 1fr; }
  .pm { width: 100vw; max-height: 100vh; }
}

@media (max-width: 480px) {
  .contact-card { padding: 24px 18px 6px; }
  .contact-row { gap: 12px; }
  .contact-row a { font-size: .95rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .leader { flex-direction: column; align-items: flex-start; }
  .form-actions { padding-left: 0; }
}
