/* ==========================================================================
   ZOHA CHEMICAL INDUSTRIES — Design System
   Palette: brand blue/orange from logo + cool ink & mist neutrals
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   ========================================================================== */

:root {
  /* Color tokens */
  --ink:        #0A1C2E;   /* deep blue-ink, near-black */
  --ink-soft:   #16324A;
  --brand-blue: #0066B2;   /* primary brand blue (from logo) */
  --brand-blue-deep: #004E8C;
  --brand-orange: #F3841D; /* primary brand orange (from logo) */
  --brand-orange-deep: #D96E0E;
  --paper:      #F3F5F7;   /* cool light background */
  --paper-alt:  #EAEFF3;
  --mist:       #E3E9EE;   /* card / divider background */
  --line:       #D7DEE5;   /* hairline borders */
  --slate:      #445468;   /* body text */
  --slate-soft: #6B7B8C;   /* secondary text */
  --white:      #FFFFFF;

  /* Type */
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10,28,46,0.06), 0 1px 1px rgba(10,28,46,0.04);
  --shadow-md: 0 8px 24px rgba(10,28,46,0.08);
  --shadow-lg: 0 20px 48px rgba(10,28,46,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-blue-deep); text-decoration: none; }
a:hover { color: var(--brand-orange-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--white); }
.section--ink {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--brand-orange-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--brand-orange);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--brand-orange); }

.lede {
  font-size: 1.18rem;
  color: var(--slate-soft);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
}
.btn--primary {
  background: var(--brand-orange);
  color: var(--white);
  border-color: var(--brand-orange);
}
.btn--primary:hover {
  background: var(--brand-orange-deep);
  border-color: var(--brand-orange-deep);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue-deep);
}
.section--ink .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.section--ink .btn--ghost:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243,245,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 42px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--slate-soft);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav a:hover { color: var(--brand-blue-deep); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--brand-blue-deep); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn--primary { padding: 10px 16px; font-size: 0.85rem; }
}

/* ---------- Hero / Hex lattice signature ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0A1C2E 0%, #0E2338 62%, #0A1C2E 100%);
  color: rgba(255,255,255,0.9);
  padding: 120px 0 100px;
}
.hero-lattice {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.hero-lattice svg { width: 100%; height: 100%; }
.hex-cell {
  fill: none;
  stroke: rgba(0,150,255,0.22);
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: center;
  animation: hexIn 1.2s ease forwards;
}
.hex-cell.hex-orange { stroke: rgba(243,132,29,0.4); }
.hex-bond {
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}
@keyframes hexIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,0.72); font-size: 1.15rem; }
.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-stat {
  background: rgba(10,28,46,0.55);
  padding: 26px 22px;
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  color: var(--brand-orange);
  font-weight: 600;
  display: block;
}
.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Trust / capabilities bar ---------- */
.trust-bar {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.trust-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin: 0; padding: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.trust-bar li { display: flex; align-items: center; gap: 8px; }
.trust-bar li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand-orange);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.card .hex-icon { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-soft); font-size: 0.95rem; margin-bottom: 0; }

.hex-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.hex-icon svg { width: 100%; height: 100%; }

/* ---------- Section header helper ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Two-col feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
@media (max-width: 860px) {
  .feature-row, .feature-row.reverse .feature-media { grid-template-columns: 1fr; order: 0; }
}

.feature-media {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.checklist li:first-child { border-top: none; }
.checklist .mark {
  color: var(--brand-orange-deep);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* ---------- Product category blocks ---------- */
.product-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 44px;
  margin-bottom: 32px;
}
.product-block-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.product-block-head .meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate-soft);
  background: var(--paper-alt);
  padding: 6px 12px;
  border-radius: 20px;
  margin-left: auto;
  white-space: nowrap;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  list-style: none;
  margin: 0; padding: 0;
}
@media (max-width: 700px) { .product-list { grid-template-columns: 1fr; } }
.product-list li {
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 20px;
  width: 8px; height: 8px;
  background: var(--brand-blue);
  transform: rotate(45deg);
}
.product-list li span {
  display: block;
  font-size: 0.84rem;
  color: var(--slate-soft);
  margin-top: 2px;
}

/* ---------- Industry chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Timeline / process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step { padding: 0 20px 0 0; position: relative; }
.process-step .idx {
  font-family: var(--font-mono);
  color: var(--brand-orange-deep);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-blue-deep), var(--ink));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-band h3 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.72); margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--white);
  margin-bottom: 20px;
}
.location-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange-deep);
  background: rgba(243,132,29,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.location-card address { font-style: normal; color: var(--slate); }
.location-card .phones { margin-top: 12px; font-family: var(--font-mono); font-size: 0.92rem; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}
.form-note {
  font-size: 0.82rem;
  color: var(--slate-soft);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.62);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.site-footer a:hover { color: var(--brand-orange); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 38px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}
.mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
