* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  /* =========================
     BRAND COLORS (LOCKED)
     ========================= */
  --black:#000000;
  --white:#FFFFFF;
  --orange:#FF5500;

  /* =========================
     NEUTRALS (existing)
     ========================= */
  --dark:#4D4D4D;
  --mid:#B8B8B8;
  --light:#CCCCCC;
  --bg:#f6f6f6;
  --card:#ffffff;
  --border:#e6e6e6;

  /* =========================
     ROLE COLORS (no new brand colors)
     ========================= */

  /* AUTHORITY: calm, senior, stable
     Use ONLY for: hero headings, section headers, “Our role/approach” boxes */
  --c-authority: var(--black);

  /* STRUCTURE: subtle scaffolding
     Use for: surfaces, borders, dividers, backgrounds */
  --c-bg: var(--bg);
  --c-surface: var(--card);
  --c-border: var(--border);
  --c-border-soft: #e2e2e2; /* already used inline in file */
  --c-fill-soft: #fafafa;   /* already used inline in file */

  /* SIGNAL / ACCENT: sparing
     Use for: pills, small highlights, nav indicators, focus states */
  --c-signal: var(--orange);
  --c-signal-soft: rgba(255,85,0,0.12);
  --c-signal-soft2: rgba(255,85,0,0.10);

  /* TEXT INK (neutral, readable) */
  --c-text: #222;
  --c-text-muted: #444;
  --c-text-subtle: #666;
}

/* Base */
body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header / Nav */
header{
  position: sticky;
  top: 0;
  z-index: 10000;                 /* ensure header always above hero */
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}

.logo{
  display:flex;
  align-items:center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo img{
  height: 44px;   /* you can try 32px–40px */
  width: auto;
  display: block;
}

/* small signal indicator (ok) */
.dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--c-signal);
  flex: 0 0 auto;
}

.nav-links{
  display:flex;
  gap: 18px;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a{
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  opacity: 0.9;
}

/* nav indicator = signal (small + controlled) */
.nav-links a:hover{
  border-color: var(--c-signal);
  opacity: 1;
}

/* CTA = signal is fine */
.cta{
  background: var(--c-signal);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Fix anchor offset for sticky header */
#about,
#solutions,
#contact {
  scroll-margin-top: 90px;
}

/* Hero */
main{

  width: 100%;
  padding: 44px 0 18px;
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero{
  display:grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-text-subtle);
  margin-bottom: 10px;
}

/* badge dot = signal (small) */
.badge::before{
  content:"";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--c-signal);
  display:inline-block;
}

/* HERO HEADING = AUTHORITY */
h1{
  font-size: 2.15rem;
  line-height: 1.12;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--c-authority);
}

p{
  color: var(--c-text-muted);
  margin-bottom: 10px;
}

.sub{
  font-size: 1.02rem;
  color:#3f3f3f; /* unchanged */
}

.pill-row{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* pills default = structure, hover = signal */
.pill{
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--c-border-soft);
  background: var(--c-fill-soft);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color:#555;
}
.pill:hover{
  border-color: var(--c-signal);
}

.panel{
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 14px;
}

/* SECTION HEADERS = AUTHORITY */
.panel h3{
  font-size: 1.05rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--c-authority);
}

/* Optional: mark “Our role/approach” panels with class="panel role"
   Authority is allowed here (border emphasis) */
.panel.role{
  border-color: var(--c-authority);
}

.mini{
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

/* Recipient cards */
.cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card{
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 14px;
  display:flex;
  flex-direction: column;
  min-height: 170px;
}

.card-top{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.card h2{
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.tag{
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--c-border-soft);
  background: var(--c-fill-soft);
  color: var(--c-text-subtle);
  white-space: nowrap;
}

ul{
  list-style: none;
  margin-top: 6px;
}

li{
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  color: var(--c-text-muted);
  font-size: 0.92rem;
}

/* reduce signal overuse: bullets should be STRUCTURE, not SIGNAL */
li::before{
  content:"•";
  position:absolute;
  left: 2px;
  color: var(--mid);
}

.card a{
  margin-top: auto;
  display:inline-flex;
  align-items:center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* reduce signal overuse: remove orange glow + use authority border */
.card a:hover{
  border-color: var(--c-authority);
  box-shadow: none;
}

/* =========================================
   PLANNING SCENARIO CARDS — SUBTLE HOVER
   Structural emphasis only (no CTA signal)
========================================= */

.scenario-card{
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Light Apexiz blue wash on hover */
.scenario-card:hover{
  background-color: rgba(152, 193, 217, 0.12); /* light structural blue */
  border-color: rgba(152, 193, 217, 0.35);
}

/* Foundation line */
.foundation{
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--c-text-muted);
  display:flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.foundation strong{ color: var(--c-text); }

/* Footer */
footer{
	margin-top: var(--space-4);
  padding: var(--space-4) 0;
  margin-top: 18px;
  border-top: 1px solid var(--c-border);
  background: #fff;
  padding: 16px 0;
  color: var(--c-text-subtle);
  font-size: 0.85rem;
  text-align: center;
}

/* Contact layout */
.contact-grid{
	gap: var(--space-4);
  margin-top: var(--space-3);
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
  margin-top: 12px;
}
.contact-form-wrap{
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.contact-text p{ margin-bottom: 10px; }
.contact-text .muted{ color: var(--c-text-subtle); font-size:0.9rem; }
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* =========================================
   MOBILE NAV (FIXED)
========================================= */

/* Desktop: hide hamburger */
.nav-toggle{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 6px;
}

/* Hamburger bars */
.nav-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
}

/* Mobile behavior */
@media (max-width: 900px) {
  .nav-toggle{
    display: grid; /* ONLY on mobile */
  }

  .nav-links{
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;

    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 12px;
    z-index: 10001; /* above header */
  }

  .nav-links a{
    display: block;
    padding: 12px 10px;
    text-decoration: none;
    color: #000;
  }

  body.nav-open .nav-links{
    display: block;
  }
}

/*
=========================================
   SECTION BOX — MANUFACTURERS PAGE
=========================================
*/
.manufacturers-oem{
  width: 100%;
  padding: 80px 0;          /* vertical rhythm */
}

.manufacturers-fp{
  width: 100%;
  padding: 80px 0;          /* vertical rhythm */
}

.manufacturers-inner {
  max-width: 1200px;        /* or 1100 / 1280 – your choice */
  margin: 0 auto;           /* CENTER */
  padding: 0 24px;          /* side breathing room */
}

/* =========================================
   ZOHO WEB-TO-LEAD — Apexiz STYLING OVERRIDE
========================================= */

#crmWebToEntityForm {
  width: 100%;
  max-width: 520px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
}

/* Make Zoho label/field layout behave like modern form */
#crmWebToEntityForm .zcwf_row {
  margin: 14px 0;
}

#crmWebToEntityForm .zcwf_col_lab,
#crmWebToEntityForm .zcwf_col_fld {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#crmWebToEntityForm label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Inputs */
#crmWebToEntityForm input[type="text"],
#crmWebToEntityForm input[ftype="email"],
#crmWebToEntityForm textarea,
#crmWebToEntityForm select {
  width: 100% !important;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #fff;
  outline: none;
}

/* Textarea height */
#crmWebToEntityForm textarea {
  min-height: 110px;
  resize: vertical;
}

/* Focus state: signal is correct here */
#crmWebToEntityForm input:focus,
#crmWebToEntityForm textarea:focus,
#crmWebToEntityForm select:focus {
  border-color: var(--c-signal);
  box-shadow: 0 0 0 4px var(--c-signal-soft);
}

/* Required star */
#crmWebToEntityForm span[style*="color:red"] {
  color: var(--c-signal) !important;
}

/* Center the Zoho form buttons */
#crmWebToEntityForm .zcwf_row:last-child {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Primary submit button — Apexiz CTA style */
#crmWebToEntityForm input[type="submit"],
#crmWebToEntityForm .formsubmit.zcwf_button {
  appearance: none;
  border: none !important;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--c-signal);
  color: var(--white) !important;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover & focus */
#crmWebToEntityForm input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.35);
}

/* Remove / de-emphasize reset button */
#crmWebToEntityForm input[type="reset"] {
  display: none; /* optional but recommended */
}

/* Make helper text (if any) subtle */
#crmWebToEntityForm .zcwf_col_help,
#crmWebToEntityForm .zcwf_privacy_txt {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Mobile spacing */
@media (max-width: 700px) {
  #crmWebToEntityForm {
    max-width: 100%;
  }
}

/* Apexiz submit button */
#crmWebToEntityForm .apx-submit {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700; /* FIX: was 00 */
  cursor: pointer;
  background: var(--c-signal);
  color: var(--white);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#crmWebToEntityForm .apx-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.35);
}
/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */

/* ---------- Tablets & small laptops ---------- */
@media (max-width: 1024px) {

  .hero{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h1{
    font-size: 1.95rem;
  }

  .cards{
    grid-template-columns: repeat(2, 1fr);
  }

  .manufacturers-oem,
  .manufacturers-fp{
    padding: 60px 0;
  }
}

/* ---------- Tablets & large phones ---------- */
@media (max-width: 768px) {
	
	:root{
    --space-7: 28px;
    --space-8: 32px;
    --space-9: 40px;
    --space-10: 48px;
    --space-11: 64px;
  }

  .container{
    padding: 0 14px;
  }

  header{
    backdrop-filter: blur(6px);
  }

  .nav{
    padding: 10px 0;
  }

  h1{
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .sub{
    font-size: 0.95rem;
  }

  .pill{
    font-size: 0.65rem;
  }

  .cards{
    grid-template-columns: 1fr;
  }

  .panel{
    padding: 12px;
  }

  footer{
    font-size: 0.8rem;
  }
}

/* ---------- Mobile phones ---------- */
@media (max-width: 480px) {

  body{
    line-height: 1.5;
  }

  h1{
    font-size: 1.55rem;
  }

  .badge{
    font-size: 0.65rem;
  }

  .nav-links{
    left: 12px;
    right: 12px;
  }

  .cta{
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .card{
    min-height: auto;
  }

  .card a{
    font-size: 0.88rem;
    padding: 9px 12px;
  }

  .manufacturers-oem,
  .manufacturers-fp{
    padding: 40px 0;
  }

  .foundation{
    font-size: 0.85rem;
  }
}

/* ---------- Large screens ---------- */
@media (min-width: 1400px){

  .container{
    max-width: 1240px;
  }

  h1{
    font-size: 2.4rem;
  }

  .hero{
    gap: 32px;
  }
}
