/* ─── NBCC CMS — Public Site Styles (matched to mockup) ─────────────────────── */
:root {
  --green:   #78b833;
  --green2:  #8acc3d;
  --yellow:  #f5c200;
  --blue:    #2e8fd4;
  --dark:    #0f0f0f;
  --mid:     #1a1a1a;
  --text:    #1a1a1a;
  --muted:   #666;
  --light:   #f5f4f0;
  --border:  rgba(0,0,0,0.1);
  --white:   #ffffff;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --radius:   6px;
  --radius-lg: 10px;
  --container: 1200px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #eee; color: var(--text); -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green2); }

/* ─── Header ─── */
.site-header { background: var(--dark); display: flex; align-items: center; padding: 0 48px; height: 64px; position: relative; z-index: 100; border-bottom: 1px solid #1f1f1f; }
.site-header--sticky { position: sticky; top: 0; }
.site-header--transparent { background: transparent; position: absolute; width: 100%; }
.site-header--scrolled { background: var(--dark) !important; box-shadow: 0 2px 20px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; gap: 32px; width: 100%; height: 100%; }
.site-logo { display: flex; flex-direction: column; text-decoration: none; flex-shrink: 0; }
.logo-text    { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: #fff; letter-spacing: 0.04em; line-height: 1.1; }
.logo-tagline { font-size: 11px; color: #555; letter-spacing: 0.08em; }
.logo-img     { height: 40px; width: auto; }
.site-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; color: #999; font-size: 14px; border-radius: var(--radius); white-space: nowrap; transition: color var(--transition); }
.nav-item > a:hover, .nav-item:hover > a, .nav-item:focus-within > a { color: #fff; }
.caret { transition: transform var(--transition); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  list-style: none;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 200;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.nav-item.has-children::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 12px;
}

.nav-dropdown li a { display: block; padding: 8px 14px; color: #999; font-size: 14px; border-radius: 4px; transition: all var(--transition); }
.nav-dropdown li a:hover { color: #fff; background: rgba(255,255,255,.05); }

.btn--cta { background: var(--green); color: #fff; padding: 9px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 500; border: none; cursor: pointer; white-space: nowrap; display: inline-block; transition: background var(--transition); }
.btn--cta:hover { background: var(--green2); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all var(--transition); white-space: nowrap; text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green2); color: #fff; transform: translateY(-1px); }
.btn--outline, .btn--secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn--outline:hover, .btn--secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); color: #fff; }
.btn--accent { background: var(--yellow); color: var(--dark); }
.btn--block  { width: 100%; justify-content: center; }

/* ─── Hero ─── */
.section-type-hero { padding: 0 !important; background: none !important; }
.section-type-hero .section-wrap { max-width: none !important; padding: 0 !important; }
.hero { position: relative; background: var(--dark); display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; overflow: hidden; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 100%); z-index: 1; }
.hero__content { position: relative; z-index: 2; padding: 0 48px 52px; max-width: 680px; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__content--center { text-align: center; max-width: 100%; align-items: center; }
.hero__badge { display: inline-block; background: var(--green); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 18px; animation: fadeUp 0.6s 0.1s both; }
.hero__heading { font-family: var(--font-heading); font-size: 72px; font-weight: 700; color: #fff; line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 18px; animation: fadeUp 0.6s 0.2s both; }
.hero__sub { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 28px; max-width: 500px; animation: fadeUp 0.6s 0.3s both; }
.hero__content--center .hero__sub { text-align: center; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp 0.6s 0.4s both; }
.hero__content--center .hero__btns { justify-content: center; }
.hero__stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--mid); width: 100%; flex-shrink: 0; }
.hero__stat { padding: 22px 32px; border-right: 1px solid #2a2a2a; text-align: center; }
.hero__stat:last-child { border-right: none; }
.hero__stat-num   { display: block; font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--yellow); letter-spacing: -0.01em; }
.hero__stat-label { display: block; font-size: 11px; color: #666; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ─── Sections ─── */
.page-section { padding: 64px 48px; }
.page-section:nth-child(even) { background: var(--light); }
.page-section:nth-child(odd)  { background: var(--white); }
.section-type-hero, .section-type-band { background: unset !important; }
.section-wrap { max-width: var(--container); margin: 0 auto; }
.section-wrap--full { max-width: none; padding: 0; }

.section-title { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.section-subtitle { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 580px; }

/* ─── Columns ─── */
.columns { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.col     { flex: 1 1 200px; }
.col-4   { flex: 0 0 calc(33.333% - 22px); }
.col-5   { flex: 0 0 calc(41.666% - 16px); }
.col-6   { flex: 0 0 calc(50% - 16px); }
.col-7   { flex: 0 0 calc(58.333% - 16px); }
.col-8   { flex: 0 0 calc(66.666% - 22px); }
.col-12  { flex: 0 0 100%; }

/* ─── Blocks ─── */
.block-heading { font-family: var(--font-heading); font-weight: 700; margin-bottom: 10px; color: var(--text); }
.block-text    { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.block-image   { margin-bottom: 16px; }
.block-image img { border-radius: var(--radius-lg); width: 100%; }
.block-btn     { margin-bottom: 12px; }
.block-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.block-richtext { font-size: 15px; line-height: 1.75; color: var(--muted); }
.block-list    { list-style: none; padding: 0; }
.block-list li { padding: 6px 0; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--border); }
.block-list li::before { content: '— '; color: var(--green); }
.block-badge   { display: inline-block; background: #eaf3de; color: #3b6d11; font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em; margin-bottom: 8px; }
.video-embed   { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); }

/* ─── Cards ─── */
.card-grid   { display: grid; gap: 16px; margin-top: 32px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card__img   { height: 130px; overflow: hidden; background: #1a2d3e; display: flex; align-items: center; justify-content: center; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body  { padding: 16px 18px; }
.card__title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: 0.01em; }
.card__text  { font-size: 13px; color: var(--muted); line-height: 1.5; }
.card__link  { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--green); font-weight: 500; }

/* ─── Pricing / Membership ────────────────────────────────────────────── */
.pricing-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #78b833;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.pricing-card-wrap {
  width: 100%;
}

.pricing-side {
  width: 100%;
  padding-top: 6px;
}

.pricing-card {
  background: #050505;
  border-radius: 10px;
  padding: 22px 22px 20px;
  color: #fff;
  border: none;
  box-shadow: none;
}

.pricing-card--secondary {
  background: #111;
}

.pricing-card__name,
.pricing-badge {
  display: block;
  font-size: 10px;
  color: #6f7c86;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.pricing-card__price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 14px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 0.95;
  font-weight: 800;
  color: #78b833;
}

.price-period {
  font-size: 22px;
  line-height: 1;
  color: #7d7d7d;
  margin-bottom: 6px;
}

.pricing-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0 0 18px;
}

.pricing-feature-list,
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-feature-list li,
.pricing-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: #20262d;
}

.pricing-feature-list li::before,
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5f0d9;
  color: #78b833;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.pricing-card .pricing-features {
  margin-top: 16px;
}

.pricing-card .pricing-features li {
  color: rgba(255,255,255,0.72);
}

.pricing-card .btn--block {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 18px;
  background: #78b833;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 700;
}

.pricing-card .btn--block:hover {
  background: #8acc3d;
  color: #fff;
}

.pricing-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* ─── Forms ─── */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.form-field  { display: flex; flex-direction: column; gap: 6px; }
.field-full  { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 500; color: #374151; }
.form-field .required { color: #ef4444; }
.form-field input, .form-field textarea, .form-field select { padding: 11px 14px; border: 1px solid #d1d5db; border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; color: var(--text); background: #fff; transition: border-color var(--transition); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--green); }
.form-field textarea { min-height: 120px; resize: vertical; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: normal; cursor: pointer; }
.checkbox-label input { margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }

/* ─── Map ─── */
.map-container { width: 100%; border-radius: var(--radius-lg); overflow: hidden; z-index: 0; }

/* ─── Social / Facebook ─── */
.section-type-social { padding: 0 !important; }
.section-type-social .section-wrap { max-width: none; }
.fb-head { background: #1877f2; padding: 14px 48px; display: flex; align-items: center; gap: 12px; }
.fb-icon  { width: 22px; height: 22px; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #1877f2; font-family: serif; flex-shrink: 0; }
.fb-label { font-size: 14px; color: #fff; font-weight: 500; }
.fb-live  { margin-left: auto; background: rgba(255,255,255,.2); border-radius: 4px; padding: 3px 12px; font-size: 11px; color: #fff; letter-spacing: 0.06em; }
.fb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px 48px; background: var(--light); }
.fp { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.fp-when { font-size: 11px; color: #aaa; margin-bottom: 8px; }
.fp-text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.social-embed { display: flex; justify-content: center; }

/* ─── Footer ─── */
.site-footer { background: var(--dark); border-top: 1px solid #1f1f1f; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 48px; }
.footer-cols  { display: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.footer-copy { font-size: 12px; color: #444; }
.footer-admin-link { font-size: 12px; color: #333; transition: color var(--transition); }
.footer-admin-link:hover { color: #aaa; }
.footer-nav { display: flex; gap: 20px; list-style: none; }
.footer-nav a { font-size: 12px; color: #444; transition: color var(--transition); }
.footer-nav a:hover { color: #aaa; }
.footer-social { display: flex; gap: 20px; }
.social-link { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #444; transition: color var(--transition); }
.social-link:hover { color: #aaa; }

/* ─── Toast ─── */
.toast { position: fixed; bottom: 24px; right: 24px; padding: 14px 24px; border-radius: var(--radius); color: #fff; font-weight: 600; font-size: 14px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,.3); animation: fadeUp 0.3s ease; max-width: 380px; }
.toast--success { background: var(--green); }
.toast--error   { background: #dc2626; }

/* ─── 404 ─── */
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; background: var(--dark); }
.not-found h1 { font-family: var(--font-heading); font-size: 7rem; font-weight: 900; color: var(--green); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .site-header { padding: 0 24px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.nav-open { display: block; position: fixed; inset: 0; background: var(--dark); z-index: 999; padding: 80px 24px 24px; overflow-y: auto; }
  .site-nav.nav-open .nav-list { flex-direction: column; gap: 0; }
  .site-nav.nav-open .nav-item > a { font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid #1f1f1f; border-radius: 0; }
  .site-nav.nav-open .nav-dropdown { position: static; background: transparent; border: none; box-shadow: none; display: block; padding-left: 16px; }
  .site-nav.nav-open .nav-item.has-children::after { display: none; }
  .page-section { padding: 48px 24px; }
  .section-type-band { padding: 32px 24px !important; }
  .hero__content { padding: 0 24px 40px; }
  .hero__heading { font-size: 52px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .columns { flex-direction: column; }
  .col-4, .col-5, .col-6, .col-7, .col-8 { flex: 0 0 100%; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card-wrap {
    max-width: 320px;
  }

  .pricing-side {
    padding-top: 0;
  }
  .fb-posts { grid-template-columns: 1fr; padding: 16px 24px; }
  .fb-head  { padding: 14px 24px; }
  .footer-inner { padding: 20px 24px; flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .hero__heading { font-size: 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .form-fields { grid-template-columns: 1fr; }
  .field-half  { grid-column: 1 / -1; }
  .band-content { flex-direction: column; align-items: flex-start; }
}
/* ─────────────────────────────────────────────────────────────
   NBCC Mockup Match Overrides
   Add at bottom of public/assets/css/site.css
───────────────────────────────────────────────────────────── */

/* Header */
.site-header {
  background: #080908 !important;
  height: 70px;
  padding: 0 44px;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 500;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(
    90deg,
    #5b3ea6 0%,
    #5b3ea6 17%,
    #2e8fd4 17%,
    #2e8fd4 34%,
    #78b833 34%,
    #78b833 51%,
    #f5c200 51%,
    #f5c200 68%,
    #f36f21 68%,
    #f36f21 85%,
    #d71920 85%,
    #d71920 100%
  );
}

.header-inner {
  max-width: none;
  gap: 34px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: none;
}

.logo-tagline {
  color: #555;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.site-logo {
  min-width: 250px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-list {
  justify-content: flex-end;
  gap: 16px;
}

.nav-item > a {
  color: #aaa;
  font-size: 15px;
  padding: 10px 6px;
  border-radius: 0;
}

.nav-item > a:hover,
.nav-item:hover > a,
.nav-item:focus-within > a {
  color: #ffffff;
}

.btn--cta {
  background: #78b833;
  color: #fff;
  font-weight: 700;
  border-radius: 5px;
  padding: 11px 20px;
  margin-left: 10px;
}

.btn--cta:hover {
  background: #8acc3d;
  color: #fff;
}

/* Dropdown fix */
.nav-dropdown {
  top: 100% !important;
  background: #111;
  border: 1px solid #242424;
  box-shadow: 0 12px 30px rgba(0,0,0,.55);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.nav-item.has-children::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

/* Hero */
.section-type-hero {
  background: #081006 !important;
}

.hero {
  min-height: 514px;
  background:
    radial-gradient(circle at 18% 30%, rgba(120,184,51,.10), transparent 36%),
    linear-gradient(180deg, rgba(8,16,6,.98) 0%, #020302 100%) !important;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(110deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .45;
  pointer-events: none;
}

.hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.28) 58%,
    rgba(0,0,0,.75) 100%
  ) !important;
}

.hero__content {
  padding: 76px 44px 52px;
  max-width: 760px;
  justify-content: center;
}

.hero__badge {
  background: transparent;
  color: #78b833;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  margin-bottom: 22px;
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(54px, 7vw, 78px);
  line-height: .92;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero__heading strong,
.hero__heading em,
.hero__heading span {
  color: #78b833;
  font-style: normal;
}

.hero__sub {
  color: rgba(255,255,255,.62);
  font-size: 17px;
  line-height: 1.65;
  max-width: 650px;
  margin-bottom: 30px;
}

.hero__btns {
  gap: 12px;
}

.hero__btns .btn,
.hero .btn {
  min-width: 120px;
  justify-content: center;
  font-weight: 700;
}

.hero .btn--primary {
  background: #78b833;
  color: #fff;
}

.hero .btn--primary:hover {
  background: #8acc3d;
  color: #fff;
}

.hero .btn--outline,
.hero .btn--secondary {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(0,0,0,.18);
}

.hero .btn--outline:hover,
.hero .btn--secondary:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.48);
}

/* Stats bar */
.hero__stats {
  background: #171817;
  border-top: 1px solid rgba(255,255,255,.05);
  min-height: 96px;
}

.hero__stat {
  padding: 25px 24px 20px;
  border-right: 1px solid rgba(255,255,255,.075);
}

.hero__stat-num {
  font-size: 34px;
  color: #78b833;
  line-height: 1;
}

.hero__stat-label {
  color: #777;
  font-size: 11px;
  letter-spacing: .16em;
  margin-top: 8px;
}

/* Body sections */
.page-section {
  padding: 62px 44px;
}

.page-section:nth-child(even),
.page-section:nth-child(odd) {
  background: #ffffff;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.section-subtitle {
  color: #6b7280;
}

.block-badge {
  background: transparent;
  color: #78b833;
  padding: 0;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.card {
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: none;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

/* Footer */
.site-footer {
  background: #080908;
}

/* Mobile */
@media (max-width: 900px) {
  .site-header {
    padding: 0 24px;
  }

  .site-header::after {
    left: 0;
  }

  .site-logo {
    min-width: 0;
  }

  .hero__content {
    padding: 64px 24px 42px;
  }

  .hero__heading {
    font-size: 54px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-list {
    gap: 0;
  }

  .site-nav.nav-open {
    background: #080908;
  }

  .site-nav.nav-open .nav-item.has-children::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__heading {
    font-size: 44px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stat {
    padding: 20px 14px;
  }
}
/* ─────────────────────────────────────────────────────────────
   HEADER LOGO / IMAGE REPAIR
   Keeps uploaded header logo from stretching, squashing, or hiding text.
───────────────────────────────────────────────────────────── */

.site-header .header-inner {
  display: flex !important;
  align-items: center !important;
}

.site-header .site-logo,
a.site-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-width: 0 !important;
  max-width: 420px !important;
  height: 63px !important;
  overflow: visible !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.site-header .site-logo img,
.site-header .logo-img,
.logo-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 160px !important;
  max-height: 46px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  flex: 0 0 auto !important;
}

.logo-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.logo-text {
  display: block !important;
  white-space: nowrap !important;
  line-height: 1.05 !important;
}

.logo-tagline {
  display: block !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  margin-top: 3px !important;
}

@media (max-width: 900px) {
  .site-header .site-logo,
  a.site-logo {
    max-width: 260px !important;
    height: 63px !important;
    gap: 9px !important;
  }

  .site-header .site-logo img,
  .site-header .logo-img,
  .logo-img {
    max-width: 110px !important;
    max-height: 40px !important;
  }
}

@media (max-width: 560px) {
  .site-header .site-logo,
  a.site-logo {
    max-width: 190px !important;
  }

  .site-header .site-logo img,
  .site-header .logo-img,
  .logo-img {
    max-width: 82px !important;
    max-height: 36px !important;
  }

  .logo-text {
    font-size: 14px !important;
  }

  .logo-tagline {
    font-size: 9px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE FRIENDLY SITE FIX — header, nav, sections, cards, forms
   Added last so it overrides all previous desktop/mockup rules.
───────────────────────────────────────────────────────────── */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.mobile-nav-open {
  overflow: hidden !important;
}

@media (max-width: 1024px) {
  :root {
    --container: 100%;
  }

  .site-header {
    height: 68px !important;
    padding: 0 16px !important;
  }

  .site-header::after {
    left: 0 !important;
    height: 5px !important;
  }

  .header-inner {
    gap: 12px !important;
    justify-content: space-between !important;
  }

  .site-header .site-logo,
  a.site-logo {
    max-width: calc(100vw - 96px) !important;
    min-width: 0 !important;
    height: 62px !important;
    gap: 9px !important;
  }

  .site-header .site-logo img,
  .site-header .logo-img,
  .logo-img {
    max-width: 82px !important;
    max-height: 42px !important;
  }

  .logo-text-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .logo-text {
    font-size: 15px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .logo-tagline {
    font-size: 9px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nav-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 1002 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin-left: auto !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    flex-shrink: 0 !important;
  }

  .btn--cta {
    display: none !important;
  }

  .site-nav,
  .site-nav.nav-open {
    display: block !important;
  }

  .site-nav {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 68px) !important;
    background: #080908 !important;
    z-index: 1001 !important;
    padding: 18px 18px 28px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
  }

  .site-nav.nav-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    list-style: none !important;
  }

  .nav-item {
    width: 100% !important;
    position: relative !important;
  }

  .nav-item > a {
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 14px !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 10px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    justify-content: space-between !important;
  }

  .nav-item > a:hover,
  .nav-item:hover > a,
  .nav-item:focus-within > a {
    color: #fff !important;
    background: rgba(120,184,51,.16) !important;
    border-color: rgba(120,184,51,.36) !important;
  }

  .caret {
    flex-shrink: 0 !important;
  }

  .nav-dropdown {
    display: block !important;
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 6px 0 2px !important;
    padding: 6px 0 0 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid rgba(120,184,51,.45) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .nav-dropdown li a {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    color: #cfd6d9 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .nav-dropdown li a:hover {
    color: #fff !important;
    background: rgba(255,255,255,.06) !important;
  }

  .nav-item.has-children::after {
    display: none !important;
  }

  .page-section {
    padding: 44px 20px !important;
  }

  .section-wrap {
    max-width: 100% !important;
  }

  .section-title {
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  .section-subtitle {
    font-size: 15px !important;
    max-width: 100% !important;
  }

  .hero {
    min-height: auto !important;
  }

  .hero__content {
    padding: 74px 20px 42px !important;
    max-width: 100% !important;
  }

  .hero__heading {
    font-size: clamp(44px, 13vw, 62px) !important;
    line-height: .92 !important;
    overflow-wrap: anywhere !important;
  }

  .hero__sub {
    font-size: 16px !important;
    max-width: 100% !important;
  }

  .hero__btns {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .hero__btns .btn,
  .hero .btn {
    width: 100% !important;
    max-width: 360px !important;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero__stat {
    padding: 20px 12px !important;
  }

  .columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }

  .col,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-12 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .card-grid,
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .card__img {
    height: 190px !important;
  }

  .pricing-layout {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .pricing-card-wrap,
  .pricing-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .pricing-feature-list li,
  .pricing-features li {
    font-size: 15px !important;
  }

  .form-fields {
    grid-template-columns: 1fr !important;
  }

  .field-half,
  .field-full {
    grid-column: 1 / -1 !important;
  }

  .fb-head {
    padding: 13px 18px !important;
  }

  .fb-posts {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
  }

  .footer-nav,
  .footer-social {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  iframe,
  .map-container,
  .social-embed,
  .video-embed {
    max-width: 100% !important;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 64px !important;
    padding: 0 10px !important;
  }

  .site-nav {
    top: 64px !important;
    height: calc(100vh - 64px) !important;
  }

  .site-header .site-logo,
  a.site-logo {
    max-width: calc(100vw - 72px) !important;
    gap: 7px !important;
  }

  .site-header .site-logo img,
  .site-header .logo-img,
  .logo-img {
    max-width: 60px !important;
    max-height: 38px !important;
  }

  .logo-text {
    font-size: 13px !important;
  }

  .logo-tagline {
    display: none !important;
  }

  .nav-toggle {
    width: 42px !important;
    height: 42px !important;
  }

  .page-section {
    padding: 38px 16px !important;
  }

  .hero__content {
    padding: 62px 16px 36px !important;
  }

  .hero__heading {
    font-size: clamp(40px, 15vw, 54px) !important;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr !important;
  }

  .hero__stat-num {
    font-size: 28px !important;
  }

  .hero__stat-label {
    font-size: 9px !important;
  }

  .card__img {
    height: 170px !important;
  }
}

/* ─── Footer navigation visibility fix ────────────────────────────────── */
.site-footer {
  display: block !important;
  background: #080908 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  color: #fff;
}

.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 28px 24px !important;
  display: block !important;
}

.footer-cols,
.footer-cols-1,
.footer-cols-2,
.footer-cols-3,
.footer-cols-4 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  width: 100%;
  margin-bottom: 32px;
}

.footer-col__title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col__text {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  line-height: 1.7;
}

.footer-nav,
.footer-subnav {
  display: grid !important;
  gap: 9px !important;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-subnav {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.12);
}

.footer-nav a,
.footer-subnav a,
.footer-social a {
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
  text-decoration: none;
  transition: color .18s ease;
}

.footer-nav a:hover,
.footer-subnav a:hover,
.footer-social a:hover {
  color: #78b833 !important;
}

.footer-social {
  display: grid !important;
  gap: 10px !important;
}

.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.footer-copy,
.footer-admin-link {
  color: rgba(255,255,255,.36) !important;
  font-size: 12px !important;
}

@media (max-width: 700px) {
  .footer-inner {
    padding: 34px 22px 22px !important;
  }

  .footer-cols,
  .footer-cols-1,
  .footer-cols-2,
  .footer-cols-3,
  .footer-cols-4 {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
}


/* ─────────────────────────────────────────────────────────────
   Visual Builder/Public Parity Fixes
   Makes public band/CTA sections match the visual editor.
───────────────────────────────────────────────────────────── */

.page-section.section-type-band {
  background: #78b833 !important;
  padding: 48px 48px !important;
}

.section-type-band .section-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.section-type-band .band-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.section-type-band .band-text {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  max-width: 840px;
}

.section-type-band .band-button,
.section-type-band .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.section-type-band .band-button:hover,
.section-type-band .btn:hover {
  background: #ffffff;
  color: #101827 !important;
  border-color: #ffffff;
}

@media (max-width: 760px) {
  .page-section.section-type-band {
    padding: 34px 24px !important;
  }

  .section-type-band .band-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-type-band .band-text {
    font-size: 16px;
  }

  .section-type-band .band-button,
  .section-type-band .btn {
    width: 100%;
  }
}



/* ─── Footer Credit ───────────────────────────────────────────────────────── */
.footer-credit {
  margin: 0;
  font-size: 12px;
  color: #444;
  text-align: right;
}

.footer-credit span {
  color: #444;
}

.footer-credit a {
  color: #666;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: #aaa;
}

@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-credit {
    text-align: left;
  }
}


/* ─── Public Header Navigation Alignment Fix ────────────────────────────────
   Keeps the public website nav pushed to the right side of the header. */
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
}

.site-header .site-logo {
  flex: 0 0 auto;
}

.site-header .site-nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-header .nav-list {
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
}

.site-header .header-cta,
.site-header .site-header__cta,
.site-header .nav-cta {
  margin-left: 12px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    justify-content: space-between;
  }

  .site-header .site-nav {
    margin-left: 0;
  }

  .site-header .nav-list {
    justify-content: flex-start;
  }
}


/* ─── Header Editor Alignment Override ───────────────────────────────────────
   Lets the Header Editor menu alignment setting control the public header.
   This intentionally overrides the older hard-coded "menu always right" CSS. */

.site-header .header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.site-header .site-logo {
  flex: 0 0 auto;
}

.site-header .site-nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header .nav-list {
  display: flex;
  align-items: center;
}

/* LEFT */
#site-header.site-header--menu-left .site-nav {
  margin-left: 0 !important;
  margin-right: auto !important;
  flex: 0 1 auto;
}

#site-header.site-header--menu-left .nav-list {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start !important;
}

/* CENTRE */
#site-header.site-header--menu-center .site-nav {
  margin-left: auto !important;
  margin-right: auto !important;
  flex: 1 1 auto;
  justify-content: center !important;
}

#site-header.site-header--menu-center .nav-list {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

/* RIGHT */
#site-header.site-header--menu-right .site-nav {
  margin-left: auto !important;
  margin-right: 0 !important;
  flex: 1 1 auto;
  justify-content: flex-end !important;
}

#site-header.site-header--menu-right .nav-list {
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-content: flex-end !important;
}

/* Keep CTA after nav on the far right when present */
#site-header .btn--cta {
  flex: 0 0 auto;
}

/* Logo centre mode */
#site-header.site-header--logo-center .header-inner {
  justify-content: center;
}

#site-header.site-header--logo-center .site-logo {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  #site-header .site-nav,
  #site-header.site-header--menu-left .site-nav,
  #site-header.site-header--menu-center .site-nav,
  #site-header.site-header--menu-right .site-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: none;
  }

  #site-header .nav-list,
  #site-header.site-header--menu-left .nav-list,
  #site-header.site-header--menu-center .nav-list,
  #site-header.site-header--menu-right .nav-list {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: flex-start !important;
  }
}


/* ─── Header/Footer Editor Light Colour Fix ──────────────────────────────────
   Strong public overrides so choosing Light changes the actual public header/footer
   background as well as text colours. */
#site-header.site-header--style-light {
  background: #ffffff !important;
  color: #111827 !important;
  border-bottom: 1px solid rgba(15, 23, 42, .12) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08) !important;
}

#site-header.site-header--style-light .header-inner,
#site-header.site-header--style-light .site-logo,
#site-header.site-header--style-light .logo-text,
#site-header.site-header--style-light .logo-tagline,
#site-header.site-header--style-light .site-nav,
#site-header.site-header--style-light .nav-list > .nav-item > a {
  color: #111827 !important;
}

#site-header.site-header--style-light .nav-dropdown {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  box-shadow: 0 18px 35px rgba(15, 23, 42, .16) !important;
}

#site-header.site-header--style-light .nav-dropdown a {
  color: #111827 !important;
}

.site-footer.site-footer--light {
  background: #f8fafc !important;
  color: #111827 !important;
  border-top: 1px solid rgba(15, 23, 42, .12) !important;
}

.site-footer.site-footer--light .footer-inner,
.site-footer.site-footer--light .footer-col,
.site-footer.site-footer--light .footer-col__title,
.site-footer.site-footer--light .footer-col__text,
.site-footer.site-footer--light .footer-nav a,
.site-footer.site-footer--light .footer-subnav a,
.site-footer.site-footer--light .footer-bottom,
.site-footer.site-footer--light .footer-credit,
.site-footer.site-footer--light .footer-credit a,
.site-footer.site-footer--light .social-link,
.site-footer.site-footer--light p,
.site-footer.site-footer--light li,
.site-footer.site-footer--light span,
.site-footer.site-footer--light a {
  color: #111827 !important;
}

.site-footer.site-footer--light .footer-bottom {
  border-top-color: rgba(15, 23, 42, .14) !important;
}
