:root {
  --navy: #1f3044;
  --navy-2: #17293b;
  --accent: #3d7cb8;
  --accent-2: #ffbb02;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #353535;
  --muted: #64758a;
  --border: #e3e8ee;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(15, 33, 55, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: #fff;
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(15, 33, 55, 0.08);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.logo span { color: var(--accent); }
.logo-img { height: 46px; width: auto; display: block; }
nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
nav.main-nav a {
  font-size: 15px;
  color: #57697c;
  transition: color .15s;
}
nav.main-nav a:hover { color: var(--navy); }
.header-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.header-cta:hover { background: #336aa0; }

/* Hero */
.hero {
  background: var(--bg) url("https://accord-ics.com/wp-content/uploads/2024/04/Head-screen22-1.png") right top / contain no-repeat;
  color: var(--text);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 600;
}
.hero p.lead {
  color: var(--text);
  font-size: 17px;
  margin: 0 0 26px;
  max-width: 560px;
}
.hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.badge {
  background: var(--navy);
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #336aa0; }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--border); box-shadow: var(--shadow); }
.btn-outline:hover { background: #f4f7fa; }
.hero-card {
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  padding: 26px;
  color: #fff;
}
.hero-card h3 { margin-top: 0; font-size: 16px; color: var(--accent-2); }
.hero-card ul { margin: 0; padding-left: 18px; color: #d3dce6; font-size: 14px; }
.hero-card li { margin-bottom: 8px; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 0 36px; }
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-head h2 { font-size: 30px; margin: 0 0 10px; color: var(--navy); font-weight: 600; }
.section-head p { color: var(--muted); margin: 0; font-size: 15.5px; }
.section-alt { background: var(--navy); color: #fff; border: none; }
.about-banner {
  position: relative;
  background: var(--navy) url("https://accord-ics.com/wp-content/uploads/2024/03/%D0%9A%D0%B0%D1%80%D1%82%D0%B8%D0%BD%D0%BA%D0%B01.png") center / cover no-repeat;
}
.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 48, 68, 0.9);
}
.about-banner .container { position: relative; z-index: 1; }
.section-alt .section-head h2 { color: #fff; }
.section-alt .section-head p { color: #c3d0dd; }
.section-alt .section-head .eyebrow { color: var(--accent-2); }

/* Products */
.product-group { margin-bottom: 36px; }
.product-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.product-group-cover {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.product-group h3 {
  font-size: 17px;
  margin: 0;
  color: var(--navy);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: #eef2f6;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card .brand { font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.product-card h4 { margin: 0 0 8px; font-size: 15px; line-height: 1.3; color: var(--navy); }
.product-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); flex-grow: 1; }
.product-card a.link {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 9px 14px;
  border-radius: 999px;
  text-align: center;
}
.product-card a.link:hover { background: #336aa0; }
.product-card[hidden] { display: none; }
.product-group-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.more-btn { padding: 11px 22px; font-size: 14px; }

/* Manufacturers grid */
.mfr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.mfr-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.mfr-card h3 { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.mfr-card p { color: var(--muted); font-size: 14px; flex-grow: 1; margin: 0 0 16px; }
.mfr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mfr-actions a {
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
}
.mfr-actions .primary { background: var(--accent); color: #fff; }
.mfr-actions .primary:hover { background: #336aa0; }
.mfr-actions .secondary { background: #fff; color: var(--navy); border: 1px solid var(--border); }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.why-card {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255,255,255,0.06);
}
.why-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-2);
  margin-bottom: 14px;
}
.why-card h4 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.why-card p { margin: 0; color: #c3d0dd; font-size: 14px; }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.news-card .date { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.news-card h3 { font-size: 16.5px; margin: 8px 0 10px; color: var(--navy); }
.news-card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.news-card a.link { font-size: 13.5px; font-weight: 600; color: var(--accent); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.step p { margin: 0; font-size: 14px; color: #c3d0dd; }

/* CTA band */
.cta-band {
  background: var(--accent-2);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy); }
.cta-band p { margin: 0; color: #4a3c14; }
.cta-band .btn-accent { background: var(--navy); color: #fff; }
.cta-band .btn-accent:hover { background: var(--navy-2); }

/* Footer */
footer.site-footer {
  background: var(--navy-2);
  color: #9fb0c1;
  padding: 48px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-grid a { display: block; margin-bottom: 9px; color: #9fb0c1; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.footer-legal a { color: #9fb0c1; }
.footer-legal a:hover { color: var(--accent-2); }
@media (max-width: 640px) {
  .footer-legal { align-items: flex-start; text-align: left; }
}

/* Contact form */
.contact-form {
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-field input, .form-field textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.captcha-field input { max-width: 140px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
  cursor: pointer;
}
.consent input { margin-top: 3px; }
.consent a { color: var(--accent); font-weight: 600; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1a8a4c; }
.form-status.err { display: block; color: #c23a2b; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Supply page terms table */
.terms-table { width: 100%; border-collapse: collapse; }
.terms-table th, .terms-table td { text-align: left; padding: 16px 24px; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.terms-table tr:last-child th, .terms-table tr:last-child td { border-bottom: none; }
.terms-table th { color: var(--navy); font-weight: 600; width: 220px; background: #f7f9fb; }
.terms-table td { color: var(--muted); }
@media (max-width: 640px) {
  .terms-table, .terms-table tbody, .terms-table tr, .terms-table th, .terms-table td { display: block; width: auto; }
  .terms-table th { padding-bottom: 4px; border-bottom: none; }
  .terms-table td { padding-top: 0; }
}

/* Breadcrumb / manufacturer page */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent); }
.mfr-hero {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.mfr-hero h1 { margin: 0 0 14px; font-size: 30px; color: var(--text); font-weight: 600; }
.mfr-hero p { color: var(--muted); font-size: 16px; max-width: 780px; }
.mfr-meta { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .hero h1 { font-size: 30px; }
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.module-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.module-code {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--navy);
  background: #eef2f6;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
  align-self: flex-start;
  font-family: "SFMono-Regular", Consolas, monospace;
}
.module-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); flex-grow: 1; }
.module-card a.link {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 9px 14px;
  border-radius: 999px;
  text-align: center;
}
.module-card a.link:hover { background: #336aa0; }
