/* ═══════════════════════════════════════════════════════════
   GULF UNION OZONE TRADING CO. — WEBSITE STYLESHEET
   Brand: Navy #0F172A · Orange #F97316 · Blue #2563EB
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:        #0F172A;
  --bg:         #F8FAFC;
  --surface:    #FFFFFF;
  --surf-alt:   #F1F5F9;
  --border:     #E2E8F0;
  --tx-hi:      #0F172A;
  --tx-body:    #334155;
  --tx-low:     #64748B;
  --orange:     #F97316;
  --orange-dk:  #C2510A;
  --orange-bg:  #FFF7ED;
  --blue:       #2563EB;
  --blue-bg:    #EFF6FF;
  --green:      #16A34A;
  --green-bg:   #F0FDF4;
  --nav-h:      64px;
  --max-w:      1200px;
  --font-disp:  'Space Grotesk', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-ar:    'Noto Sans Arabic', system-ui, sans-serif;
  --font-mono:  'Cascadia Code', 'SF Mono', 'Consolas', monospace;
  --radius:     4px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0B1120;
    --surface:   #1E293B;
    --surf-alt:  #162032;
    --border:    #2D3D52;
    --tx-hi:     #F1F5F9;
    --tx-body:   #94A3B8;
    --tx-low:    #475569;
    --orange:    #FB923C;
    --orange-dk: #F97316;
    --orange-bg: #1C1309;
    --blue:      #60A5FA;
    --blue-bg:   #0D1E38;
    --green:     #4ADE80;
    --green-bg:  #0A1F0E;
  }
}
:root[data-theme="dark"] {
  --bg:#0B1120; --surface:#1E293B; --surf-alt:#162032; --border:#2D3D52;
  --tx-hi:#F1F5F9; --tx-body:#94A3B8; --tx-low:#475569;
  --orange:#FB923C; --orange-dk:#F97316; --orange-bg:#1C1309;
  --blue:#60A5FA; --blue-bg:#0D1E38; --green:#4ADE80; --green-bg:#0A1F0E;
}
:root[data-theme="light"] {
  --bg:#F8FAFC; --surface:#FFFFFF; --surf-alt:#F1F5F9; --border:#E2E8F0;
  --tx-hi:#0F172A; --tx-body:#334155; --tx-low:#64748B;
  --orange:#F97316; --orange-dk:#C2510A; --orange-bg:#FFF7ED;
  --blue:#2563EB; --blue-bg:#EFF6FF; --green:#16A34A; --green-bg:#F0FDF4;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--tx-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-disp); color: var(--tx-hi); text-wrap: balance; line-height: 1.2; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

/* ── NAVIGATION ─────────────────────────────────────────── */
#site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  height: var(--nav-h);
  border-bottom: 3px solid var(--orange);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; }
.nav-logo-text { display: flex; flex-direction: column; border-left: 2px solid rgba(255,255,255,.2); padding-left: 12px; }
.nav-logo-text .en { font-family: var(--font-disp); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.nav-logo-text .ar { font-size: 11px; color: rgba(255,255,255,.45); direction: rtl; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75);
  padding: 6px 12px; border-radius: var(--radius);
  text-decoration: none; transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.btn-lang {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.6); background: none; border: 1px solid rgba(255,255,255,.2);
  padding: 4px 10px; border-radius: var(--radius); transition: all .15s;
}
.btn-lang:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-theme {
  background: none; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6); padding: 5px 8px; border-radius: var(--radius);
  font-size: 14px; line-height: 1; transition: all .15s;
}
.btn-theme:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-rfq {
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  padding: 8px 18px; border: none; border-radius: var(--radius);
  text-decoration: none; transition: background .15s; white-space: nowrap;
}
.btn-rfq:hover { background: var(--orange-dk); text-decoration: none; color: #fff; }
.nav-hamburger {
  display: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 9px 11px; border-radius: var(--radius);
  cursor: pointer; line-height: 0; transition: all .15s;
  -webkit-tap-highlight-color: transparent; flex-shrink: 0;
}
.nav-hamburger:hover, .nav-hamburger:focus-visible {
  background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6);
  outline: none;
}

/* Backdrop */
.nav-backdrop {
  display: none; position: fixed; inset: 0; z-index: 198;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.nav-backdrop.open { display: block; }

/* Slide-in drawer */
.nav-mobile {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 88vw);
  z-index: 199;
  background: var(--ink);
  border-left: 3px solid var(--orange);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: -6px 0 40px rgba(0,0,0,.45);
  overflow-y: auto;
}
[dir="rtl"] .nav-mobile {
  right: auto; left: 0;
  border-left: none; border-right: 3px solid var(--orange);
  transform: translateX(-100%);
}
.nav-mobile.open { transform: translateX(0); }

/* Drawer header */
.nav-mobile-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.nav-mobile-logo { height: 30px; }
.nav-mobile-close {
  background: none; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  width: 34px; height: 34px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; line-height: 0; transition: all .15s;
}
.nav-mobile-close:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

/* Drawer links */
.nav-mobile-links {
  display: flex; flex-direction: column;
  padding: 6px 0; flex: 1;
}
.nav-mobile-links a {
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: 13px 22px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .12s;
}
[dir="rtl"] .nav-mobile-links a { border-left: none; border-right: 3px solid transparent; }
.nav-mobile-links a:hover { color: #fff; background: rgba(255,255,255,.06); border-left-color: rgba(249,115,22,.5); }
[dir="rtl"] .nav-mobile-links a:hover { border-left-color: transparent; border-right-color: rgba(249,115,22,.5); }
.nav-mobile-links a.active { color: var(--orange); background: rgba(249,115,22,.08); border-left-color: var(--orange); }
[dir="rtl"] .nav-mobile-links a.active { border-left-color: transparent; border-right-color: var(--orange); }

/* Drawer footer */
.nav-mobile-footer {
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.nav-mobile-controls {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.nav-mobile-controls .btn-lang,
.nav-mobile-controls .btn-theme { flex: 1; justify-content: center; display: flex; align-items: center; }
.nav-mobile-footer .btn-rfq {
  display: block; width: 100%; text-align: center;
  padding: 13px; font-size: 14px; box-sizing: border-box;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; align-items: center; }
  .btn-rfq.desktop { display: none; }
  /* Hide logo text — it's ~230px wide and overflows on mobile */
  .nav-logo-text { display: none; }
  .nav-inner { padding: 0 16px; gap: 0; justify-content: space-between; }
}
@media (max-width: 600px) {
  /* Lang & theme are accessible in the drawer — hide from top bar on small screens */
  .nav-right .js-lang-toggle,
  .nav-right .js-theme-toggle { display: none; }
  .nav-hamburger { padding: 10px 12px; }
}

/* ── PAGE HERO (compact — interior pages) ───────────────── */
.page-hero {
  background: var(--ink);
  padding: 56px 0 40px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--orange);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(45deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 60px),
    repeating-linear-gradient(-45deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 60px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content:''; width:28px; height:2px; background:var(--orange); flex-shrink:0; }
.page-hero h1 { font-size: clamp(26px,4vw,42px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.55); max-width: 600px; line-height: 1.65; }

/* ── SECTION ────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section.alt { background: var(--surf-alt); }
.section.dark { background: var(--ink); }
.section-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-eyebrow::before { content:''; width:22px; height:2px; background:var(--orange); flex-shrink:0; }
.section-title { font-size: clamp(22px,3vw,32px); font-weight: 700; color: var(--tx-hi); margin-bottom: 14px; }
.section.dark .section-title { color: #fff; }
.section-sub { font-size: 15px; color: var(--tx-body); max-width: 640px; line-height: 1.7; margin-bottom: 40px; }
.section.dark .section-sub { color: rgba(255,255,255,.55); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 10px 22px; border-radius: var(--radius); border: none;
  text-decoration: none; transition: all .15s; cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-secondary:hover { border-color: #fff; color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; text-decoration: none; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}
.card.orange-left { border-left: 4px solid var(--orange); }
.card.blue-left { border-left: 4px solid var(--blue); background: var(--blue-bg); }
.card.green-left { border-left: 4px solid var(--green); background: var(--green-bg); }
.card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: 8px; }
.card p { font-size: 13.5px; line-height: 1.7; color: var(--tx-body); }

/* ── GRIDS ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: rgba(0,0,0,.5);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trust-strip-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; flex-wrap: wrap; gap: 0;
}
.trust-item {
  padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,.15);
  font-size: 11px; color: #fff; font-weight: 600;
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-item strong {
  display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 2px;
}
.trust-item .mono { font-family: var(--font-mono); font-size: 11px; }

/* ── STAT ROW ───────────────────────────────────────────── */
.stat-row {
  display: flex; flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
}
.stat-item { padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.12); flex: 1 1 120px; }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-family: var(--font-disp); font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 4px; }
.stat-item .lbl { font-size: 10px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; line-height: 1.4; font-weight: 500; }

/* ── SECTION TABLE ──────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 14px; vertical-align: top; line-height: 1.55; }
.spec-table td:first-child {
  font-size: 11px; font-weight: 600; color: var(--tx-low);
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--surf-alt); white-space: nowrap; width: 200px;
}
.spec-table td:last-child { color: var(--tx-hi); }
.spec-table .mono { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }

/* ── PRODUCT CARD ───────────────────────────────────────── */
.product-card {
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card.aramco { border-left: 4px solid var(--orange); }
.product-card-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: var(--surf-alt);
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img .img-placeholder {
  font-size: 36px; color: var(--border);
}
.product-card-body { padding: 16px; }
.product-card-cat {
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-low); margin-bottom: 4px;
}
.product-card-body h3 { font-size: 14px; font-weight: 700; color: var(--tx-hi); margin-bottom: 4px; line-height: 1.3; }
.product-card-body p { font-size: 12px; color: var(--tx-low); line-height: 1.5; margin-bottom: 10px; }
.aramco-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--ink); color: var(--orange);
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid rgba(249,115,22,.3);
}
.product-card .btn-enquire {
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: none; border: 1px solid var(--blue);
  padding: 5px 12px; border-radius: var(--radius);
  text-decoration: none; transition: all .15s; display: inline-block; margin-top: 8px;
}
.product-card .btn-enquire:hover { background: var(--blue); color: #fff; }

/* ── PRODUCT FILTER ─────────────────────────────────────── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 90;
  padding: 12px 0;
}
.filter-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.filter-btn {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border: 1px solid var(--border);
  background: var(--surface); color: var(--tx-low);
  border-radius: var(--radius); cursor: pointer; transition: all .15s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── LOCATION CARD ──────────────────────────────────────── */
.location-card { border: 1px solid var(--border); overflow: hidden; }
.location-card-header {
  background: var(--ink); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
}
.location-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.location-card-header h3 { font-size: 15px; font-weight: 700; color: #fff; }
.location-badge {
  margin-left: auto; background: var(--orange); color: #fff;
  font-size: 9px; font-weight: 700; padding: 3px 10px; text-transform: uppercase; letter-spacing: .08em;
}
.location-card-body { padding: 18px; background: var(--surface); }
.location-row { display: flex; gap: 10px; font-size: 13px; color: var(--tx-body); padding: 6px 0; border-bottom: 1px dashed var(--border); align-items: baseline; }
.location-row:last-child { border-bottom: none; }
.location-row strong { font-size: 10px; font-weight: 700; color: var(--tx-low); text-transform: uppercase; letter-spacing: .05em; width: 80px; flex-shrink: 0; padding-top: 1px; }
.location-row .mono { font-family: var(--font-mono); font-size: 12.5px; }

/* ── ARAMCO TABLE ───────────────────────────────────────── */
.aramco-table { width: 100%; border-collapse: collapse; font-size: 12.5px; overflow-x: auto; }
.aramco-table th {
  background: var(--ink); color: #fff; padding: 10px 14px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-align: left;
}
.aramco-table td { padding: 8px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.aramco-table tr:nth-child(even) td { background: var(--surf-alt); }
.aramco-table td.matnum { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.aramco-table td.vtype { font-size: 11px; color: var(--tx-low); white-space: nowrap; }
.table-wrapper { overflow-x: auto; }

/* ── ISO / CERT BADGE ───────────────────────────────────── */
.iso-banner {
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-left: 5px solid var(--green);
  padding: 20px 24px;
  display: flex; gap: 20px; align-items: center;
  margin-bottom: 20px;
}
.iso-badge {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--green); white-space: nowrap;
  border: 2px solid var(--green); padding: 8px 14px; flex-shrink: 0;
}
.iso-banner h3 { font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.iso-banner p { font-size: 13px; color: var(--tx-body); line-height: 1.6; }

/* ── VALUE ITEM ─────────────────────────────────────────── */
.value-item { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.value-item:last-child { border-bottom: none; }
.value-num { font-family: var(--font-disp); font-size: 22px; font-weight: 700; color: var(--orange); min-width: 36px; line-height: 1; padding-top: 4px; }
.value-item h4 { font-size: 14px; font-weight: 700; color: var(--tx-hi); margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--tx-body); line-height: 1.65; }

/* ── MVV CARD ───────────────────────────────────────────── */
.mvv-card { background: var(--ink); padding: 28px; }
.mvv-card .line { width: 36px; height: 3px; margin-bottom: 14px; }
.mvv-card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 12px; }
.mvv-card p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.65); }

/* ── CONTACT FORM ───────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--tx-hi); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.form-control {
  width: 100%; padding: 10px 14px; font-size: 14px; font-family: inherit;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--tx-hi);
  border-radius: var(--radius); transition: border-color .15s;
}
.form-control:focus { outline: none; border-color: var(--orange); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-note { font-size: 11px; color: var(--tx-low); margin-top: 4px; }
.form-success { background: var(--green-bg); border: 1px solid var(--green); border-left: 4px solid var(--green); padding: 16px 20px; font-size: 13.5px; color: var(--tx-body); display: none; }

/* ── FOOTER ─────────────────────────────────────────────── */
/* ── FOOTER ─────────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  padding: 0 0 0;
}
.footer-top-bar { height: 4px; background: var(--orange); }

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 48px;
  padding: 52px 0 44px;
}

/* Brand column */
.footer-logo-link { display: inline-block; margin-bottom: 18px; }
.footer-logo-img  { height: 46px; display: block; }
.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,.5);
  line-height: 1.75; max-width: 300px; margin-bottom: 22px;
}

/* Social icon row */
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .15s;
}
.footer-social-btn:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.footer-social-wa:hover  { background: #25D366; border-color: #25D366; color: #fff; }
.footer-social-li:hover  { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.footer-social-ph:hover  { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-social-em:hover  { background: rgba(249,115,22,.2); border-color: var(--orange); color: var(--orange); }

/* Quick links column */
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.footer-col a {
  font-size: 13px; color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 9px; text-decoration: none; line-height: 1.4;
  transition: color .12s;
}
.footer-col a::before {
  content: '›'; color: var(--orange); font-size: 16px; line-height: 1; flex-shrink: 0;
}
.footer-col a:hover { color: #fff; }

/* Contact column */
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 9px;
  margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,.6);
}
.footer-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-ci-icon { color: var(--orange); margin-top: 1px; flex-shrink: 0; }

.footer-hours {
  margin: 18px 0 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--orange);
  font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6;
}
.footer-hours-lbl {
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 4px;
}

.footer-rfq-btn {
  display: inline-block; margin-top: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--orange); text-decoration: none;
  border: 1px solid rgba(249,115,22,.4);
  padding: 8px 16px; border-radius: var(--radius);
  transition: all .15s;
}
.footer-rfq-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Divider */
.footer-divider { height: 1px; background: rgba(255,255,255,.07); }

/* Bottom row */
.footer-bottom {
  padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .copy { font-size: 11.5px; color: rgba(255,255,255,.35); }
.footer-ids { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-id .lbl { font-size: 8px; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.footer-id .val { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  [dir="rtl"] .footer-hours { border-left: none; border-right: 3px solid var(--orange); }
}

/* ── FLOATING RFQ ───────────────────────────────────────── */
.float-rfq {
  position: fixed; bottom: 24px; right: 24px; z-index: 88;
  background: var(--orange); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 12px 22px; border: none; border-radius: 2px;
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  transition: background .15s, transform .15s;
}
.float-rfq:hover { background: var(--orange-dk); transform: translateY(-1px); color: #fff; text-decoration: none; }

/* ── UTILITY ────────────────────────────────────────────── */
.pill { display: inline-block; padding: 2px 9px; font-size: 10px; font-weight: 700; border-radius: 2px; text-transform: uppercase; letter-spacing: .05em; }
.pill-orange { background: var(--orange-bg); color: var(--orange-dk); }
.pill-blue { background: var(--blue-bg); color: var(--blue); }
.pill-green { background: var(--green-bg); color: var(--green); }
.mono { font-family: var(--font-mono); }
.text-orange { color: var(--orange); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ── CHECKLIST ──────────────────────────────────────────── */
.checklist { list-style: none; }
.checklist li { padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; color: var(--tx-body); display: flex; gap: 10px; align-items: baseline; line-height: 1.55; }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* ── HSE BANNER ─────────────────────────────────────────── */
.hse-banner {
  background: linear-gradient(135deg, #0A2010, #0F172A);
  border: 1px solid var(--green); padding: 32px;
  display: flex; gap: 24px; align-items: center;
}
.hse-zero { font-family: var(--font-disp); font-size: 72px; font-weight: 700; color: var(--green); line-height: 1; flex-shrink: 0; }
.hse-banner h3 { font-size: 16px; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.hse-banner p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; }

/* ── MAP PLACEHOLDER ────────────────────────────────────── */
.ksa-map-wrap { background: var(--surf-alt); border: 1px solid var(--border); padding: 32px; text-align: center; margin-bottom: 32px; }
.ksa-map-wrap svg { max-width: 600px; margin: 0 auto; }

/* ── INDUSTRY TILE ──────────────────────────────────────── */
.industry-tile {
  border: 1px solid var(--border); background: var(--surface);
  padding: 24px 20px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
  cursor: default;
}
.industry-tile:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.industry-tile svg { color: var(--orange); margin-bottom: 12px; }
.industry-tile h4 { font-size: 13px; font-weight: 700; color: var(--tx-hi); margin-bottom: 4px; }
.industry-tile p { font-size: 11.5px; color: var(--tx-low); line-height: 1.5; }

/* ── DARK MODE TOGGLE ICON ──────────────────────────────── */
.icon-sun { display: none; }
.icon-moon { display: inline; }
[data-theme="dark"] .icon-sun { display: inline; }
[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  .icon-sun { display: inline; }
  .icon-moon { display: none; }
}

/* ── RESPONSIVE — MOBILE ────────────────────────────────── */

/* Section padding reduction on mobile */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 36px 0 24px; }
}

/* (nav mobile rules consolidated above at 900px/600px breakpoints) */

/* Stat items: tighter padding on mobile */
@media (max-width: 480px) {
  .stat-item { padding: 12px 14px; }
  .stat-item .num { font-size: 22px; }
}

/* ISO / HSE banners: stack on mobile */
@media (max-width: 560px) {
  .iso-banner { flex-direction: column; gap: 14px; }
  .hse-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hse-zero { font-size: 48px; }
}

/* Spec table: prevent horizontal scroll by making first col narrower */
@media (max-width: 600px) {
  .spec-table td:first-child { width: 110px; font-size: 10px; }
  .spec-table { font-size: 12px; }
}

/* Trust strip items wrap cleanly on mobile */
@media (max-width: 640px) {
  .trust-item { padding: 4px 12px; font-size: 10.5px; }
}

/* Float RFQ: smaller on mobile */
@media (max-width: 480px) {
  .float-rfq { bottom: 14px; right: 14px; padding: 10px 14px; font-size: 12px; }
}

/* Contact page: ensure form and cards don't overflow */
@media (max-width: 640px) {
  .form-group { margin-bottom: 14px; }
}

/* Product cards: image height on small screens */
@media (max-width: 480px) {
  .product-card-img { aspect-ratio: 16/9; }
}

/* Location card badge: prevent overflow on very small screens */
@media (max-width: 380px) {
  .location-badge { display: none; }
  .location-card-header { flex-wrap: wrap; }
}


/* Aramco table: ensure table-wrapper exists if not used inline */
.aramco-table { display: block; overflow-x: auto; }

/* MVV cards: ensure readable on small screens */
@media (max-width: 640px) {
  .mvv-card { padding: 20px; }
}

/* Value items: maintain readable layout */
@media (max-width: 480px) {
  .value-item { gap: 12px; }
  .value-num { font-size: 18px; min-width: 28px; }
}

/* Page hero h1 on very small screens */
@media (max-width: 380px) {
  .page-hero h1 { font-size: 22px; }
}

/* Prevent horizontal scroll and improve iOS touch behaviour */
body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Page hero: don't let very long words overflow on tiny screens */
.page-hero h1 { overflow-wrap: break-word; word-break: break-word; }

/* Stat grid: 2-col on mobile */
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Trust strip: wrap nicely on small screens */
@media (max-width: 480px) {
  .trust-strip-inner { gap: 0; justify-content: center; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; justify-content: center; padding: 8px 0; }
  .trust-item:last-child { border-bottom: none; }
}

/* Section titles: scale down on very small screens */
@media (max-width: 480px) {
  .section-title { font-size: clamp(20px, 6vw, 28px); }
  .page-hero h1  { font-size: clamp(22px, 7vw, 36px); }
}

/* Form inputs: prevent iOS zoom (needs 16px min font-size) */
input, textarea, select {
  font-size: max(16px, 1rem);
}

/* Filter bar on small screens: allow scroll within bar but not page */
@media (max-width: 640px) {
  .filter-bar-inner { overflow-x: auto; flex-wrap: nowrap; padding: 0 18px; }
  .filter-bar-inner::-webkit-scrollbar { display: none; }
}

/* Btn sizes on mobile */
@media (max-width: 480px) {
  .btn-lg { padding: 12px 22px; font-size: 14px; }
}

/* ── PRINT ──────────────────────────────────────────────── */
@media print {
  #site-nav, #site-footer, .float-rfq, .filter-bar { display: none; }
  .section { padding: 32px 0; }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
