﻿:root {
  --ink: #0f1c3f;
  --ink-dark: #0f1c3f;
  --accent: #8ea0ff;
  --accent-light: #eef1ff;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --line: #e1e6ef;
  --muted: #4b5563;
  --shadow: 0 18px 45px rgba(15, 28, 63, 0.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-dark);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.025em; }
h1 { margin-bottom: 20px; font-size: clamp(2.45rem, 6vw, 4.9rem); max-width: 900px; }
h2 { margin-bottom: 14px; font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { margin-bottom: 10px; font-size: 1.12rem; }
p { color: var(--muted); }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip-link {
  position: fixed;
  top: 8px;
  left: -999px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink-dark);
}
.skip-link:focus { left: 8px; }
.topbar { color: #fff; background: var(--ink-dark); }
.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: .86rem;
}
.topbar a { color: #fff; text-decoration: none; opacity: .92; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.015em;
}
.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: .8rem;
  letter-spacing: .08em;
}
.site-header nav, footer nav { display: flex; align-items: center; gap: 25px; }
.site-header nav a {
  position: relative;
  padding: 24px 0 22px;
  color: #48605b;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.site-header nav a:hover::after, .site-header nav a.active::after { transform: scaleX(1); }
.site-header nav a.active { color: var(--ink); }
.hero {
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 88% 20%, rgba(184, 155, 97, .20), transparent 28%),
    linear-gradient(135deg, #f7f9f7 0%, #eef3f0 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}
.lead {
  max-width: 750px;
  margin-bottom: 28px;
  color: #4d625d;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}
.eyebrow {
  margin-bottom: 11px;
  color: #917642;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: #e6d6b5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 43, 40, .18); }
.button-light { color: var(--ink-dark); background: #fff; border-color: #fff; }
.text-link { color: var(--ink); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-panel {
  padding: 32px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(23, 59, 55, .10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel strong { display: block; margin-bottom: 12px; color: var(--ink); font-size: 1.55rem; line-height: 1.25; }
.hero-panel p:last-child { margin-bottom: 0; }
.panel-label {
  margin-bottom: 12px !important;
  color: #917642 !important;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section { padding: 62px 0; }
.section.compact { padding: 54px 0; }
.section.alt { background: var(--soft); }
.intro .narrow { margin-bottom: 30px; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  min-height: 190px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(16, 43, 40, .05);
}
.card-number {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
}
.card p { margin-bottom: 0; }
.page-hero {
  padding: 58px 0 50px;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 155, 97, .15), transparent 38%),
    var(--soft);
}
.page-hero h1 { margin-inline: auto; font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero .lead { margin: 0 auto; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 25px;
}
.section-heading p:last-child { margin-bottom: 8px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.process-grid article {
  padding: 20px 18px;
  border-top: 2px solid var(--accent);
  background: var(--soft);
  border-radius: 0 0 12px 12px;
}
.process-grid span { display: block; margin-bottom: 12px; color: var(--accent); font-size: .75rem; font-weight: 850; }
.process-grid p { margin-bottom: 0; font-size: .91rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 60px;
}
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.feature-list span {
  padding: 8px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 650;
}
.leader-card {
  padding: 28px;
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 28px rgba(16, 43, 40, .07);
}
.leader-card p:last-child { margin-bottom: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr .8fr 1.3fr;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 180px;
  padding: 25px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}
.contact-card small { display: block; margin-bottom: 5px; color: #917642; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { display: block; color: var(--ink); overflow-wrap: anywhere; }
.contact-card p { margin: 6px 0 0; font-size: .92rem; }
.registration {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .9rem;
}
.registration strong { color: var(--ink); }
.cta { padding: 42px 0; color: #fff; background: var(--ink); }
.cta h2 { margin-bottom: 0; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
footer {
  padding: 35px 0 18px;
  background: #0f1c3f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr auto;
  align-items: start;
  gap: 35px;
}

footer strong,
footer a {
  color: #ffffff;
}

footer p {
  margin: 4px 0 0;
  color: #c7d0e3;
  font-size: 0.88rem;
}

footer a {
  font-size: 0.88rem;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.copyright {
  margin-top: 25px;
  padding-top: 14px;
  color: #9eabc4;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, 1140px); }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 66px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { padding-block: 21px 19px; font-size: .85rem; }
  .site-header nav a::after { bottom: 14px; }
  .hero { padding: 52px 0; }
  .hero-grid, .section-heading, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .card-grid.three, .contact-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; }
  .contact-card { min-height: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  footer nav { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .topbar-inner { min-height: 42px; justify-content: space-between; gap: 10px; font-size: .75rem; }
  .header-inner { gap: 12px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: .78rem; }
  h1 { font-size: 2.35rem; }
  .page-hero h1 { font-size: 2.15rem; }
  .process-grid { grid-template-columns: 1fr; }
  .registration { align-items: center; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  footer nav { grid-column: auto; }
}

.hero {
  background: #122146;
}

.hero h1 {
  color: #ffffff;
}

.hero .lead {
  color: #d7dfef;
}

.hero .eyebrow {
  color: #8ea0ff;
}

.hero .text-link {
  color: #ffffff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.97);
}

/* BN Chemical Solutions logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f1c3f;
  text-decoration: none;
}

.logo-bn {
  display: block;
  color: #0f1c3f;
  font-size: 36px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -1.5px;
}

.logo-name {
  display: block;
  color: #0f1c3f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

/* Keep the complete logo visible on mobile */
@media (max-width: 820px) {
  .brand span.logo-name {
    display: block;
  }

  .logo-bn {
    font-size: 32px;
  }

  .logo-name {
    font-size: 12px;
  }
}
