/* ==========================================================================
   Synthetix Chem — global stylesheet
   ========================================================================== */

:root {
  --ink: #12181b;
  --ink-soft: #3a4750;
  --paper: #ffffff;
  --paper-dim: #f5f7f7;
  --line: #e3e8e8;
  --teal: #0e8c86;
  --teal-dark: #0a6b66;
  --teal-tint: #e6f4f3;
  --amber: #ff7a1a;
  --amber-dark: #e0670c;
  --amber-tint: #fff1e6;
  --danger: #d64545;
  --ok: #1f9254;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(18, 24, 27, 0.08);
  --shadow-md: 0 8px 24px rgba(18, 24, 27, 0.10);
  --shadow-lg: 0 20px 48px rgba(18, 24, 27, 0.16);
  --header-h: 76px;
  --container: 1200px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--paper-dim); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--teal-dark); text-transform: uppercase; letter-spacing: .08em;
  background: var(--teal-tint); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-dark); box-shadow: var(--shadow-md); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-dark); padding: 13px 8px; }
.btn-ghost:hover { color: var(--teal); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Header / Nav ------------------------------------------------------------ */
.topbar {
  background: var(--ink); color: #cfe3e1; font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cfe3e1; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink-soft);
  padding: 10px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a.active { background: var(--teal-tint); color: var(--teal-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.quote-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.quote-btn:hover { background: var(--teal-dark); }
.quote-badge {
  position: absolute; top: -8px; right: -8px; background: var(--amber); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff;
}
.quote-badge[hidden] { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(320px, 86vw); height: calc(100vh - var(--header-h));
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; border-radius: 10px; font-size: 17px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-label { display: none; }
}

/* Hero --------------------------------------------------------------------*/
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, #103c3a 0%, var(--ink) 55%), var(--ink);
  color: #fff; padding: 84px 0 96px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); color: #fff; margin-bottom: .4em; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p.lead { color: #c9d6d5; font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust div { font-family: var(--font-head); }
.hero-trust strong { display: block; font-size: 1.5rem; color: #fff; }
.hero-trust span { font-size: 13px; color: #9fb5b3; }
.hero-art {
  background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.hero-art img { border-radius: 14px; background: var(--paper-dim); aspect-ratio: 1; object-fit: contain; padding: 10px; }
.hero-art .tag {
  grid-column: span 2; background: var(--teal-tint); color: var(--teal-dark); border-radius: 14px;
  padding: 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; text-align: center;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* Trust strip ---------------------------------------------------------- */
.strip { background: var(--paper-dim); border-bottom: 1px solid var(--line); }
.strip .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; padding: 26px 24px; }
.strip-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); flex: 1 1 220px; }
.strip-item .ico { font-size: 22px; }
.strip-item span.sub { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-soft); font-family: var(--font-body); }

/* Category tiles --------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.cat-card .ico { font-size: 30px; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; background: var(--teal-tint); border-radius: 12px; margin-bottom: 16px; }
.cat-card h3 { font-size: 16px; margin-bottom: 6px; }
.cat-card p { font-size: 13.5px; margin-bottom: 14px; }
.cat-card a { font-size: 13.5px; font-weight: 600; color: var(--teal-dark); font-family: var(--font-head); }

/* Product grid & cards --------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.search-box { position: relative; flex: 1 1 260px; max-width: 360px; }
.search-box input {
  width: 100%; padding: 11px 16px 11px 40px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper-dim); font-size: 14px;
}
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; opacity: .5; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .15s ease;
}
.pill:hover { border-color: var(--teal); color: var(--teal-dark); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.results-count { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-thumb { aspect-ratio: 1; background: var(--paper-dim); display: flex; align-items: center; justify-content: center; padding: 18px; position: relative; }
.product-thumb img { max-height: 100%; object-fit: contain; }
.product-cat-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--teal-dark); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 14.5px; font-weight: 600; margin: 0; min-height: 2.6em; }
.product-price { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; }
.product-price.poa { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.product-actions { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 30px; height: 34px; border: none; background: var(--paper-dim); font-size: 16px; cursor: pointer; color: var(--ink); }
.qty-stepper button:hover { background: var(--teal-tint); }
.qty-stepper input { width: 32px; border: none; text-align: center; -moz-appearance: textfield; background: transparent; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { flex: 1; background: var(--teal); color: #fff; border: none; border-radius: 999px; padding: 0 14px; height: 34px; font-family: var(--font-head); font-weight: 600; font-size: 13px; cursor: pointer; transition: background .15s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.add-btn:hover { background: var(--teal-dark); }
.add-btn.added { background: var(--ok); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* Feature list ------------------------------------------------------------*/
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { padding: 8px 0; }
.feature-card .ico { font-size: 26px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--amber-tint); border-radius: 14px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; }

/* Split section ------------------------------------------------------------*/
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--paper-dim); }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 15px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: -1; } }

/* Service area chips ------------------------------------------------------*/
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--paper-dim); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; font-family: var(--font-head); }

/* CTA band -----------------------------------------------------------------*/
.cta-band { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; border-radius: 24px; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #d7ede9; margin: 0; }

/* Quote page ----------------------------------------------------------------*/
.quote-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 36px; align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.quote-table th { text-align: left; font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); background: var(--paper-dim); padding: 12px 14px; }
.quote-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.qline-item { display: flex; align-items: center; gap: 12px; }
.qline-item img { width: 46px; height: 46px; object-fit: contain; background: var(--paper-dim); border-radius: 8px; padding: 5px; }
.qline-item .name { font-weight: 600; font-size: 13.5px; }
.qline-item .cat { font-size: 11.5px; color: var(--ink-soft); }
.remove-line { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }
.quote-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--ink-soft); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; color: var(--ink); font-size: 16px; }
.summary-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; font-family: var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper-dim); font-size: 14px; transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.field.error input, .field.error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12px; margin-top: 4px; display: none; }
.field.error .field-error { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-msg { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; margin-bottom: 18px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e9f7ef; color: var(--ok); border: 1px solid #bfe6cf; }
.form-msg.err { background: #fdeceb; color: var(--danger); border: 1px solid #f5c6c2; }

.success-panel { text-align: center; padding: 60px 20px; }
.success-panel .ico { width: 76px; height: 76px; border-radius: 50%; background: #e9f7ef; color: var(--ok); font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }

/* Contact page ---------------------------------------------------------------*/
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; }
.contact-info-card h3 { color: #fff; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-row:first-of-type { border-top: none; }
.contact-row .ico { font-size: 18px; }
.contact-row a, .contact-row span { color: #cfe3e1; font-size: 14px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 20px; border: 1px solid rgba(255,255,255,.15); }
.map-wrap iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.2); }

/* Footer -----------------------------------------------------------------*/
.site-footer { background: var(--ink); color: #b9c9c7; }
.footer-top { padding: 60px 0 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }

/* WhatsApp float ------------------------------------------------------------*/
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); font-size: 28px; transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* Misc ----------------------------------------------------------------------*/
.badge-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.page-hero { background: var(--ink); color: #fff; padding: 56px 0; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #c9d6d5; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #9fb5b3; margin-bottom: 10px; }
.divider { height: 1px; background: var(--line); margin: 56px 0; }
.two-col-text { columns: 2; column-gap: 40px; }
@media (max-width: 700px) { .two-col-text { columns: 1; } }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center; }
.stat-grid strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--teal-dark); }
.stat-grid span { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .cta-band { padding: 32px; flex-direction: column; text-align: center; }
}
