/* C&M Reputation Builder — shared styles matched to cmbusinessbuilders.com */
:root {
  --navy: #17325d;
  --navy-deep: #0f2240;
  --navy-mid: #1e3d6e;
  --gold: #c9a227;
  --gold-soft: #e0bc4a;
  --gold-dark: #a8841a;
  --green-bar: #1a4a3a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray: #5a6b7d;
  --border: #dce3ec;
  --shadow: 0 4px 20px rgba(15, 34, 64, 0.08);
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Top accent */
.top-accent {
  height: 6px;
  background: var(--green-bar);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { height: 64px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold-dark); }
.main-nav a.active {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.btn-cta {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep) !important;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45);
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--navy); }

@media (max-width: 800px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-height: 280px; overflow: hidden; border-radius: var(--radius); }
}
.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  background: transparent;
  transition: all 0.15s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08), 0 1px 3px rgba(10, 22, 40, 0.04);
  padding: 1.75rem 1.5rem 1.4rem;
  width: 100%;
  max-width: 440px;
}
.process-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 1.35rem;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}
.ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 48px;
}
.ps .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a1628, #1a3a5c);
  color: #f5e6b8;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.2);
}
.ps .lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
  max-width: 56px;
}
.ps-line {
  flex: 1 1 auto;
  height: 2px;
  background: linear-gradient(90deg, #d4af37 0%, #e8d48b 100%);
  margin-top: 15px;
  min-width: 8px;
  opacity: 0.7;
}
.process-note {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.4;
}
@media (max-width: 480px) {
  .ps .num { width: 28px; height: 28px; font-size: 0.72rem; }
  .ps .lbl { font-size: 0.62rem; max-width: 48px; }
  .process-card { padding: 1.4rem 1rem 1.2rem; }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(15, 34, 64, 0.12);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.price-card .tagline {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.price-card .amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
}
.price-card .setup {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0.35rem 0 1rem;
}
.price-card .alt {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.75rem;
  background: #f8f6f0;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.price-card ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.price-card ul li {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.4;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}


/* Sections */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.section .lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 2rem;
}

/* Pitch / How it works cards */
.pitch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.pitch-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}
.pitch-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.pitch-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.pitch-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.45;
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 34, 64, 0.12);
}
.category-card .count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.category-card p {
  font-size: 0.9rem;
  color: var(--gray);
  flex: 1;
  margin-bottom: 1rem;
}
.category-card .link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.category-card .link::after { content: "→"; }
.category-card:hover .link { color: var(--gold-dark); }

/* Industry list */
.industry-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.industry-toolbar input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.industry-toolbar input:focus {
  outline: none;
  border-color: var(--gold);
}
.industry-count {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}
.industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.65rem;
  list-style: none;
}
.industry-list li {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color 0.15s, background 0.15s;
}
.industry-list li:hover {
  border-color: var(--gold);
  background: #fffdf5;
}
.industry-list li .num {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 0.4rem;
}

/* Quote / highlight */
.highlight-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  margin: 2rem 0;
}
.highlight-box p {
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 700px;
}
.highlight-box .attr {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.6rem;
}
.cta-band p {
  color: #b0c0d4;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
.cta-band .btn-cta { font-size: 1rem; padding: 0.75rem 1.6rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #9aafc4;
  padding: 2.5rem 1.5rem 1.5rem;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1140px;
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: #6a8098;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.82rem;
  color: var(--gray);
}
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 0.4rem; color: #b0b8c4; }

/* Page hero (inner) */
.page-hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
}

/* Subcategory cards with images */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.subcat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.subcat-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 34, 64, 0.12);
}
.subcat-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #e8eef5;
}
.subcat-card .body {
  padding: 1.1rem 1.15rem 1.25rem;
}
.subcat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.subcat-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}
.note-flag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: #fff8e6;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

/* Centered archetype cards */
.pitch-card.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pitch-card.centered .icon {
  margin-left: auto;
  margin-right: auto;
}
.pitch-card.centered p {
  text-align: center;
}

.page-hero .hero-actions { display:flex; gap:0.75rem; flex-wrap:wrap; margin-top:1rem; }
.related { padding-top:0.5rem; }
.related h2 { font-size:1.25rem; margin-bottom:0.75rem; }
.related-links { display:flex; flex-wrap:wrap; gap:0.6rem; }
.related-links a { border:1px solid var(--border); border-radius:999px; padding:0.45rem 0.85rem; color:var(--navy); text-decoration:none; font-weight:600; font-size:0.9rem; }
.related-links a:hover { border-color:var(--gold); }
.contact-form { display:grid; gap:0.8rem; max-width:640px; }
.contact-form label { font-weight:600; color:var(--navy); font-size:0.9rem; }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; border:1px solid var(--border); border-radius:8px; padding:0.7rem 0.8rem; font:inherit; }

/* SEO content and specialty navigation */
.specialty-nav ul { display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; list-style:none; padding:0; margin:1rem 0 1.5rem; }
.specialty-nav a { color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.subcat-card { scroll-margin-top:120px; }
.seo-content { max-width:1000px; }
.seo-content h2 { margin:1.6rem 0 .8rem; }
.seo-content h3 { margin:1.2rem 0 .6rem; }
.seo-content p, .seo-content li { line-height:1.7; margin-bottom:1rem; }
.seo-content a { color:var(--navy); text-decoration:underline; }
.seo-content details { border-bottom:1px solid var(--border); padding:1rem 0; }
.seo-content summary { cursor:pointer; font-weight:600; }
.seo-content details p { margin-top:.8rem; }

@media(min-width:801px) and (max-width:1100px){.main-nav{display:none}.main-nav.open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;padding:1rem;border-bottom:1px solid var(--border);box-shadow:var(--shadow)}.nav-toggle{display:block}}
