/* ── Brand tokens ── */
:root {
  --red:        #C8102E;   /* Andon logo red */
  --red-dark:   #9E0C24;
  --navy:       #13294B;   /* deep industrial navy */
  --navy-light: #1f3a63;
  --blue:       #2B8FD4;   /* board accent blue */
  --steel:      #5b6b80;
  --light:      #F2F6FB;
  --green:      #36B37E;   /* andon status: ok */
  --amber:      #F5A623;   /* andon status: warning */
  --text:       #1a2230;
}

/* ── Wider container ── */
.container { max-width: 1240px !important; }

/* ── Top bar ── */
.top-bar {
  background-color: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  padding: 0.35rem 0;
}
.top-bar a { color: rgba(255,255,255,0.82); text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.top-bar .usps { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 768px) { .top-bar .usps { display: none; } }

/* ── Fixed header wrapper ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.content-offset { padding-top: 90px; }

/* ── Navbar ── */
.navbar { box-shadow: none; }
.navbar-item img { max-height: 40px; }
.navbar-item { font-weight: 500; color: var(--navy); }
.navbar-item:hover { color: var(--red) !important; background: transparent !important; }
.navbar-item.is-active { color: var(--red) !important; }

/* ── Pill buttons ── */
.btn-red, .btn-navy, .btn-red-outline, .btn-white {
  border-radius: 50px;
  padding: 0.55em 1.5em;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-red { background-color: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background-color: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn-red-outline { background-color: transparent; color: var(--red); border-color: var(--red); }
.btn-red-outline:hover { background-color: var(--red); color: #fff; }

.btn-navy { background-color: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background-color: var(--navy-light); border-color: var(--navy-light); color: #fff; }

.btn-white { background-color: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background-color: #f0f0f0; color: var(--navy); }

/* ── Section colours ── */
.section-light { background-color: var(--light) !important; }
.section-navy  { background-color: var(--navy) !important; }
.section-red   { background-color: var(--red) !important; }

/* ── Hero (light) ── */
.hero-light {
  background-color: var(--light);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero-light .title { color: var(--navy); }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── Andon status dots (brand motif) ── */
.andon-dots { display: inline-flex; gap: 0.5rem; align-items: center; }
.andon-dots .dot-green,
.andon-dots .dot-amber,
.andon-dots .dot-red {
  width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex-shrink: 0;
}
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.dot-red   { background: var(--red); }

/* ── Floating status card on hero ── */
.status-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(19,41,75,0.18);
  padding: 1rem 1.25rem;
}
.status-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0; font-size: 0.85rem; color: var(--navy);
}
.status-row b { margin-left: auto; font-variant-numeric: tabular-nums; }
.status-led { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }

/* ── Feature media ── */
.feature-media {
  border-radius: 12px;
  width: 100%;
  display: block;
  box-shadow: 0 4px 24px rgba(19,41,75,0.14);
}

/* ── Icon circle (feature cards) ── */
.icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem;
  background: rgba(200,16,46,0.10); color: var(--red);
}

/* ── Board gallery ── */
.gallery-item {
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 12px;
  padding: 0.75rem;
  height: 100%;
  transition: transform 0.18s, box-shadow 0.18s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(19,41,75,0.14); }
.gallery-item img { width: 100%; border-radius: 6px; display: block; }
.gallery-item p { font-size: 0.82rem; color: var(--steel); margin-top: 0.6rem; text-align: center; }

/* ── Pricing cards (reusable) ── */
.pricing-card {
  border: 1px solid #e0e6ee;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: 0 6px 28px rgba(43,143,212,0.13); }

/* ── Blockquote ── */
.blockquote-brand {
  border-left: 4px solid var(--red);
  padding-left: 1.25rem;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
}

/* ── Stats ── */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

/* ── Force light inputs regardless of OS/browser dark mode ── */
.input, .textarea, .select select {
  background-color: #fff !important;
  color: #333 !important;
  border-color: #dbdbdb !important;
}
.input::placeholder, .textarea::placeholder { color: #aaa !important; }
.input:focus, .textarea:focus {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 2px rgba(200,16,46,0.15) !important;
}
.label { color: #555 !important; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.faq-question {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #fff;
  color: var(--navy);
}
.faq-question::after { content: "∨"; color: var(--red); font-size: 1rem; flex-shrink: 0; margin-left: 1rem; }
.faq-item.is-open .faq-question { background: var(--light); }
.faq-item.is-open .faq-question::after { content: "∧"; }
.faq-answer { display: none; padding: 0.75rem 1.25rem 1rem; color: #555; font-size: 0.9rem; background: #fff; }
.faq-item.is-open .faq-answer { display: block; }

/* ── Contact person bar ── */
.person-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.person-bar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── Feature accordion ── */
.feature-accordion { display: flex; flex-direction: column; gap: 0; }
.feature-item { border-bottom: 1px solid #e4e4e4; }
.feature-item:first-child { border-top: 1px solid #e4e4e4; }
.feature-item-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 0;
  cursor: pointer;
  user-select: none;
}
.feature-item-icon { font-size: 1.4rem; font-weight: 800; color: var(--red); flex-shrink: 0; width: 24px; text-align: center; line-height: 1; }
.feature-item-title { flex: 1; font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.feature-item-chevron {
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 700;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.feature-item.is-open .feature-item-chevron { transform: rotate(90deg); }
.feature-item-body { display: none; padding: 0 0 1.25rem 2.6rem; }
.feature-item.is-open .feature-item-body { display: block; }
.feature-item-body p { color: #555; font-size: 0.9rem; line-height: 1.6; }

/* ── Cookie consent banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  z-index: 999;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
}
#cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: 0.88rem; margin: 0; }
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-banner-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
#cookie-banner-buttons button { font-size: 0.85rem; padding: 0.45em 1.2em; cursor: pointer; }

/* ── Footer ── */
footer.footer {
  background-color: var(--navy) !important;
  color: rgba(255,255,255,0.82);
  padding-top: 3rem;
  padding-bottom: 2rem;
}
footer.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer.footer a:hover { color: #fff; }
footer.footer .footer-divider { background: rgba(255,255,255,0.12); height: 1px; margin: 1.5rem 0; }
footer.footer .footer-copy { font-size: 0.78rem; opacity: 0.5; text-align: center; }
footer.footer ul { list-style: none; padding: 0; margin: 0; }
footer.footer ul li { margin-bottom: 0.4rem; font-size: 0.88rem; }
footer.footer .footer-heading { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.75rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.5px; }
