/* ============================================================
   One Industries Limited — site styles
   Brand palette derived from a chemical/industrial identity:
   deep teal (trust, science) + amber accent (energy) on clean neutrals.
   Typography: Sora (display) + Inter (body), self-hosted.
   ============================================================ */

/* ---- Self-hosted fonts (work offline / on GoDaddy) ---- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/sora-700.woff2') format('woff2'); }
@font-face { font-family:'Sora'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/sora-800.woff2') format('woff2'); }

:root {
  --brand:        #0e6e6e;   /* deep teal */
  --brand-dark:   #084c4c;
  --brand-light:  #e6f2f2;
  --accent:       #f5a623;   /* amber */
  --accent-dark:  #d98b0c;
  --ink:          #1a2224;   /* near-black text */
  --muted:        #5c6b6b;
  --line:         #e2e8e8;
  --bg:           #ffffff;
  --bg-soft:      #f6fafa;
  --radius:       12px;
  --shadow:       0 1px 2px rgba(16,40,40,.04), 0 12px 32px rgba(16,40,40,.08);
  --shadow-lg:    0 2px 4px rgba(16,40,40,.05), 0 22px 50px rgba(16,40,40,.14);
  --max:          1180px;
  --font:         'Inter', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head:    'Sora', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

section { padding: 72px 0; }

h1, h2, h3 { line-height: 1.15; color: var(--ink); font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; }
h2.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 12px auto 0; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--brand);
  background: var(--brand-light); padding: 5px 14px; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease;
  font-size: .98rem;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #23180a; }
.btn-accent:hover { background: var(--accent-dark); color: #23180a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 1.05rem; font-family: var(--font-head); letter-spacing: -.01em; }
.brand img { width: 42px; height: 42px; border-radius: 8px; }
.brand span small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 20px; border-top: 1px solid var(--line); }
  .nav-links .btn { margin: 12px 20px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(8,76,76,.94), rgba(14,110,110,.86)),
    url('../img/zinc-sulphate.png') center/cover;
  color: #fff; text-align: left;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; margin: 18px 0; }
.hero p { font-size: 1.1rem; color: #d7ecec; max-width: 560px; }
.hero .eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: var(--accent); font-family: var(--font-head); }
.hero-stats small { color: #cfe6e6; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; text-align: center; }
.trustbar .item { min-width: 150px; }
.trustbar .num { font-size: 1.6rem; font-weight: 700; color: var(--brand); font-family: var(--font-head); letter-spacing: -.02em; }
.trustbar .lbl { color: var(--muted); font-size: .9rem; }

/* ---------- Product grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 40px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer; font-size: .9rem; font-weight: 500;
  transition: .18s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .22s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
/* Uniform product tile — makes mismatched source photos look like one cohesive set */
.card .thumb { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 22px;
  background: radial-gradient(120% 120% at 50% 15%, #ffffff 0%, #eef6f5 100%); box-shadow: inset 0 -1px 0 var(--line); }
.card .thumb img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); transition: transform .25s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-light); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .9rem; flex: 1; }
.card .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- About / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-list { list-style: none; margin-top: 22px; }
.feature-list li { display: flex; gap: 12px; margin-bottom: 16px; }
.feature-list .ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.feature-list h4 { font-size: 1rem; }
.feature-list p { color: var(--muted); font-size: .92rem; }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 40px; }
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); text-align: center;
}
.mini .ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.mini h3 { font-size: 1.08rem; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: #d7ecec; max-width: 560px; margin: 12px auto 26px; }
.cta-band .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .ico { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-item h4 { font-size: 1rem; }
.info-item p { color: var(--muted); font-size: .95rem; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: #fff; transition: .18s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1618; color: #b9cccc; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.site-footer a { color: #b9cccc; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: .92rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 44px; border-radius: 8px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid #1e2e30; margin-top: 40px; padding-top: 22px; text-align: center; font-size: .85rem; color: #7f9494; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 60px 0; text-align: center; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: #d7ecec; margin-top: 10px; }
.breadcrumb { font-size: .88rem; color: #b9d9d9; margin-top: 8px; }
/*.breadcrumb a { color: #fff; }*/

/* ---------- Icon system (SVG line icons) ---------- */
.ico svg { display: block; }
.mini .ico svg { width: 26px; height: 26px; }
.feature-list .ico svg, .info-item .ico svg { width: 22px; height: 22px; }
.ico svg { width: 24px; height: 24px; }

/* ---------- Spec table (product detail) ---------- */
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.spec-table caption { text-align: left; font-weight: 700; color: var(--ink); padding: 0 0 12px; caption-side: top; font-size: 1.05rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; font-size: .95rem; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--bg-soft); color: var(--muted); font-weight: 600; width: 44%; white-space: nowrap; }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* card thumb as link */
.card .thumb { text-decoration: none; }
.card h3 a { text-decoration: none; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
