/* =====================================================================
   Lead Generation Machine — Component Library
   Newcastle NSW SEO / lead-gen agency. Confident, modern, conversion-first.
   ===================================================================== */

/* Self-contained: no external font requests (avoids network-dependent console
   errors). Stacks are chosen for a geometric, confident, modern read using
   fonts commonly present on Win/Mac/Linux. */

:root {
  /* ---- Color tokens ------------------------------------------------ */
  --bc-primary: #1A2145;        /* deep indigo-navy — authority, trust */
  --bc-primary-dark: #0F1330;   /* darkest navy, footer/backgrounds */
  --bc-primary-light: #2C3568;  /* lighter navy for hover/borders */
  --bc-accent: #C43D22;         /* coral-red CTA — AA-safe with white text (5.2:1) */
  --bc-accent-bright: #FF5A3C;  /* vivid decorative coral — glows, dots, tints only */
  --bc-accent-dark: #A32F19;    /* accent hover/active */
  --bc-accent-light: #FFE7E0;   /* accent tint for chips/badges */
  --bc-growth: #17C983;         /* secondary accent — leads/growth signal */
  --bc-paper: #FFFFFF;
  --bc-paper-alt: #F4F6FB;      /* soft cool-grey section background */
  --bc-paper-deep: #E8ECF6;     /* deeper tint for cards on alt bg */
  --bc-ink: #14172B;            /* near-black navy for body text */
  --bc-ink-soft: #4B4F6B;       /* secondary text */
  --bc-ink-faint: #5B6089;      /* tertiary text / placeholders — AA-safe on white (5.1:1) */
  --bc-line: #DEE2F0;           /* hairline borders on light */
  --bc-line-dark: #333A63;      /* hairline borders on dark */
  --bc-white: #FFFFFF;

  /* ---- Type ---------------------------------------------------------*/
  --bc-font-head: "Century Gothic", "Segoe UI Semibold", "Segoe UI", "Trebuchet MS", ui-sans-serif, Arial, sans-serif;
  --bc-font-body: "Segoe UI", "Helvetica Neue", ui-sans-serif, Arial, sans-serif;

  --bc-fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --bc-fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --bc-fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --bc-fs-h4: 1.125rem;
  --bc-fs-lede: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --bc-fs-body: 1rem;
  --bc-fs-small: 0.875rem;
  --bc-fs-eyebrow: 0.8125rem;

  --bc-lh-tight: 1.15;
  --bc-lh-head: 1.25;
  --bc-lh-body: 1.65;

  /* ---- Space scale ----------------------------------------------------*/
  --bc-sp-1: 0.25rem;
  --bc-sp-2: 0.5rem;
  --bc-sp-3: 0.75rem;
  --bc-sp-4: 1rem;
  --bc-sp-5: 1.5rem;
  --bc-sp-6: 2rem;
  --bc-sp-7: 3rem;
  --bc-sp-8: 4rem;
  --bc-sp-9: 6rem;
  --bc-sp-10: 8rem;

  /* ---- Shape / motion -------------------------------------------------*/
  --bc-radius-sm: 6px;
  --bc-radius: 12px;
  --bc-radius-lg: 20px;
  --bc-radius-pill: 999px;
  --bc-shadow-sm: 0 2px 8px rgba(15, 19, 48, 0.08);
  --bc-shadow: 0 8px 24px rgba(15, 19, 48, 0.12);
  --bc-shadow-lg: 0 20px 48px rgba(15, 19, 48, 0.18);
  --bc-ease: cubic-bezier(.2,.8,.2,1);
  --bc-container: 1180px;
}

/* ---------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-body);
  line-height: var(--bc-lh-body);
  color: var(--bc-ink);
  background: var(--bc-paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--bc-font-head);
  line-height: var(--bc-lh-head);
  font-weight: 700;
  margin: 0 0 var(--bc-sp-4);
  color: var(--bc-ink);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--bc-fs-h1); line-height: var(--bc-lh-tight); }
h2 { font-size: var(--bc-fs-h2); line-height: var(--bc-lh-tight); }
h3 { font-size: var(--bc-fs-h3); }
h4 { font-size: var(--bc-fs-h4); }
p { margin: 0 0 var(--bc-sp-4); }
a { color: var(--bc-primary); text-decoration-color: var(--bc-line); }
ul, ol { padding-left: 1.25em; }

/* ---------------------------------------------------------------------
   Container / layout helpers
   --------------------------------------------------------------------- */
.bc-container {
  width: 100%;
  max-width: var(--bc-container);
  margin: 0 auto;
  padding: 0 var(--bc-sp-5);
}
.bc-section { padding: var(--bc-sp-9) 0; }
.bc-section--tight { padding: var(--bc-sp-7) 0; }
.bc-section--alt { background: var(--bc-paper-alt); }
.bc-section--dark { background: var(--bc-primary); color: var(--bc-white); }
.bc-section--dark h1, .bc-section--dark h2, .bc-section--dark h3, .bc-section--dark h4 { color: var(--bc-white); }

/* ---------------------------------------------------------------------
   Eyebrow
   --------------------------------------------------------------------- */
.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--bc-sp-2);
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bc-accent-dark);
  background: var(--bc-accent-light);
  padding: var(--bc-sp-2) var(--bc-sp-4);
  border-radius: var(--bc-radius-pill);
  margin-bottom: var(--bc-sp-4);
}
.bc-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bc-accent);
  flex: none;
}
.bc-eyebrow--on-dark {
  color: var(--bc-white);
  background: rgba(255,255,255,0.12);
}
.bc-eyebrow--on-dark::before { background: var(--bc-growth); }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bc-sp-2);
  font-family: var(--bc-font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95em 1.7em;
  border-radius: var(--bc-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--bc-ease), box-shadow 0.15s var(--bc-ease), background 0.15s var(--bc-ease), color .15s var(--bc-ease);
  white-space: nowrap;
}
.bc-btn:hover { transform: translateY(-2px); }
.bc-btn:active { transform: translateY(0); }
.bc-btn:focus-visible { outline: 3px solid var(--bc-growth); outline-offset: 2px; }

.bc-btn--primary {
  background: var(--bc-accent);
  color: var(--bc-white);
  box-shadow: var(--bc-shadow-sm);
}
.bc-btn--primary:hover { background: var(--bc-accent-dark); box-shadow: var(--bc-shadow); }

.bc-btn--accent {
  background: var(--bc-growth);
  color: var(--bc-primary-dark);
  box-shadow: var(--bc-shadow-sm);
}
.bc-btn--accent:hover { background: #14b374; box-shadow: var(--bc-shadow); }

.bc-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--bc-white);
  border-color: rgba(255,255,255,0.4);
}
.bc-btn--ghost:hover { background: rgba(255,255,255,0.18); border-color: var(--bc-white); }

.bc-btn--outline {
  background: transparent;
  color: var(--bc-primary);
  border-color: var(--bc-primary);
}
.bc-btn--outline:hover { background: var(--bc-primary); color: var(--bc-white); }

/* ---------------------------------------------------------------------
   Site shell: header / nav / footer
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bc-primary);
  border-bottom: 1px solid var(--bc-line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-sp-5);
  padding: var(--bc-sp-3) 0;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--bc-sp-2);
  font-family: var(--bc-font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bc-white);
  text-decoration: none;
}
.site-header__logo span { color: var(--bc-growth); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--bc-sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color .15s var(--bc-ease);
}
.site-nav__list a:hover, .site-nav__list a:focus-visible { color: var(--bc-white); }
.site-nav__cta { display: flex; align-items: center; }

.site-footer {
  background: var(--bc-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--bc-sp-8) 0 var(--bc-sp-6);
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--bc-sp-6);
  margin-bottom: var(--bc-sp-7);
}
.site-footer__heading {
  color: var(--bc-white);
  font-family: var(--bc-font-head);
  font-size: 1rem;
  margin-bottom: var(--bc-sp-3);
}
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bc-sp-2); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--bc-sp-5);
  font-size: var(--bc-fs-small);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--bc-sp-3);
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.bc-hero {
  background: linear-gradient(155deg, var(--bc-primary) 0%, var(--bc-primary-dark) 100%);
  color: var(--bc-white);
  padding: var(--bc-sp-9) 0;
  position: relative;
  overflow: hidden;
}
.bc-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,60,0.35), transparent 70%);
  pointer-events: none;
}
.bc-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--bc-sp-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.bc-hero__lede {
  font-size: var(--bc-fs-lede);
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
}
.bc-hero__actions {
  display: flex;
  gap: var(--bc-sp-4);
  flex-wrap: wrap;
  margin-top: var(--bc-sp-6);
}
.bc-hero__stats {
  display: flex;
  gap: var(--bc-sp-7);
  margin-top: var(--bc-sp-7);
  flex-wrap: wrap;
}
.bc-hero__stat-num {
  font-family: var(--bc-font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bc-growth);
  display: block;
}
.bc-hero__stat-label {
  font-size: var(--bc-fs-small);
  color: rgba(255,255,255,0.7);
}
.bc-hero__media {
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-lg);
  border: 1px solid rgba(255,255,255,0.15);
}
.bc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-hero h1, .bc-hero h2, .bc-hero h3, .bc-hero h4, .bc-hero p { color: inherit; }
.bc-hero a:not(.bc-btn) { color: var(--bc-white); }

/* ---------------------------------------------------------------------
   Prose
   --------------------------------------------------------------------- */
.bc-prose {
  max-width: 74ch;
}
.bc-prose--has-color { color: var(--bc-ink-soft); }
.bc-prose--dark { color: rgba(255,255,255,0.85); }
.bc-prose--dark h2, .bc-prose--dark h3 { color: var(--bc-white); }
.bc-prose--with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-sp-7);
  align-items: center;
  max-width: none;
}
.bc-prose--with-image img {
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
}

/* ---------------------------------------------------------------------
   Grid (feature/services cards)
   --------------------------------------------------------------------- */
.bc-grid {
  display: grid;
  gap: var(--bc-sp-5);
}
.bc-grid--2col { grid-template-columns: repeat(2, 1fr); }
.bc-grid--3col { grid-template-columns: repeat(3, 1fr); }
.bc-grid--4col { grid-template-columns: repeat(4, 1fr); }

.bc-grid__card {
  background: var(--bc-paper);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-6);
  box-shadow: var(--bc-shadow-sm);
  transition: transform .18s var(--bc-ease), box-shadow .18s var(--bc-ease);
}
.bc-grid__card:hover { transform: translateY(-4px); box-shadow: var(--bc-shadow); }
.bc-grid__card h3 { font-size: var(--bc-fs-h4); margin-bottom: var(--bc-sp-2); }
.bc-grid__card p { color: var(--bc-ink-soft); margin-bottom: 0; font-size: 0.95rem; }
.bc-grid__card-icon {
  width: 48px; height: 48px;
  border-radius: var(--bc-radius-sm);
  background: var(--bc-accent-light);
  color: var(--bc-accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--bc-sp-4);
  font-size: 1.4rem;
  flex: none;
}
.bc-grid__card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--bc-radius-sm);
  margin: calc(var(--bc-sp-6) * -1) calc(var(--bc-sp-6) * -1) var(--bc-sp-4);
  width: calc(100% + var(--bc-sp-6) * 2);
  max-width: none;
}
.bc-grid--imaged .bc-grid__card { padding-top: var(--bc-sp-6); overflow: hidden; }
.bc-grid--text-only .bc-grid__card { padding: var(--bc-sp-5); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.bc-faq__list {
  display: grid;
  gap: var(--bc-sp-3);
  max-width: 860px;
}
.bc-faq__item {
  background: var(--bc-paper);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-2) var(--bc-sp-5);
}
.bc-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-sp-4);
  padding: var(--bc-sp-4) 0;
  margin: 0;
  font-family: var(--bc-font-head);
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  color: var(--bc-ink);
}
.bc-faq__q::-webkit-details-marker { display: none; }
.bc-faq__q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--bc-accent);
  flex: none;
  transition: transform .2s var(--bc-ease);
}
details[open] .bc-faq__q::after { transform: rotate(45deg); }
.bc-faq__a {
  padding: 0 0 var(--bc-sp-5);
  color: var(--bc-ink-soft);
  margin: 0;
}

/* ---------------------------------------------------------------------
   Gallery
   --------------------------------------------------------------------- */
.bc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-sp-4);
}
.bc-gallery__cell {
  position: relative;
  border-radius: var(--bc-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--bc-shadow-sm);
}
.bc-gallery__cell img { width: 100%; height: 100%; object-fit: cover; }
.bc-gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--bc-sp-4);
  background: linear-gradient(0deg, rgba(15,19,48,0.85), transparent);
  color: var(--bc-white);
  font-size: var(--bc-fs-small);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   Video
   --------------------------------------------------------------------- */
.bc-video__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--bc-sp-7);
  align-items: center;
}
.bc-video__copy { max-width: 42ch; }
.bc-video__player {
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-lg);
  background: var(--bc-primary-dark);
}
.bc-video__frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

/* ---------------------------------------------------------------------
   Map
   --------------------------------------------------------------------- */
.bc-map__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--bc-sp-7);
  align-items: stretch;
}
.bc-map__info {
  background: var(--bc-paper);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-6);
}
.bc-map__addr {
  font-style: normal;
  color: var(--bc-ink);
  display: grid;
  gap: var(--bc-sp-2);
  margin: var(--bc-sp-4) 0 var(--bc-sp-5);
}
.bc-map__frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--bc-radius);
  filter: grayscale(0.15) contrast(1.05);
}

/* ---------------------------------------------------------------------
   Testimonial
   --------------------------------------------------------------------- */
.bc-testimonial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-sp-5);
}
.bc-testimonial__card {
  background: var(--bc-paper);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-6);
  border: 1px solid var(--bc-line);
  box-shadow: var(--bc-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--bc-sp-4);
}
.bc-testimonial__stars { color: var(--bc-accent); letter-spacing: 0.15em; font-size: 0.95rem; }
.bc-testimonial__quote { color: var(--bc-ink); margin: 0; font-size: 0.98rem; }
.bc-testimonial__person {
  display: flex;
  align-items: center;
  gap: var(--bc-sp-3);
  margin-top: auto;
}
.bc-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bc-primary);
  color: var(--bc-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bc-font-head);
  font-weight: 700;
  flex: none;
}
.bc-testimonial__name { font-weight: 700; font-size: 0.92rem; }
.bc-testimonial__role { color: var(--bc-ink-faint); font-size: 0.82rem; }

/* ---------------------------------------------------------------------
   Form band
   --------------------------------------------------------------------- */
.bc-formband {
  background: var(--bc-primary);
  color: var(--bc-white);
  padding: var(--bc-sp-9) 0;
}
.bc-formband--intro { background: var(--bc-paper-alt); color: var(--bc-ink); }
.bc-formband--intro h2, .bc-formband--intro .bc-formband__lede { color: var(--bc-ink); }
.bc-formband--final {
  background: linear-gradient(140deg, var(--bc-accent) 0%, var(--bc-accent-dark) 100%);
  color: var(--bc-white);
}
.bc-formband--final h2 { color: var(--bc-white); }

.bc-formband__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-sp-8);
  align-items: center;
}
.bc-formband__title { margin-bottom: var(--bc-sp-3); }
.bc-formband__lede { color: rgba(255,255,255,0.82); max-width: 40ch; }

.bc-formband__form {
  background: var(--bc-white);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-sp-6);
  box-shadow: var(--bc-shadow-lg);
  display: grid;
  gap: var(--bc-sp-4);
  color: var(--bc-ink);
}

.bc-form-field { display: grid; gap: var(--bc-sp-2); }
.bc-form-field label {
  font-size: var(--bc-fs-small);
  font-weight: 700;
  color: var(--bc-ink);
}
.bc-form-field--required label::after {
  content: " *";
  color: var(--bc-accent);
}
.bc-form-field input,
.bc-form-field textarea,
.bc-form-field select {
  font-family: var(--bc-font-body);
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 1.5px solid var(--bc-line);
  border-radius: var(--bc-radius-sm);
  background: var(--bc-paper);
  color: var(--bc-ink);
  width: 100%;
}
.bc-form-field input:focus,
.bc-form-field textarea:focus,
.bc-form-field select:focus {
  outline: none;
  border-color: var(--bc-primary);
  box-shadow: 0 0 0 3px rgba(26,33,69,0.15);
}
.bc-form-field textarea { resize: vertical; min-height: 100px; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .bc-hero__grid,
  .bc-prose--with-image,
  .bc-video__grid,
  .bc-map__grid,
  .bc-formband__grid { grid-template-columns: 1fr; }
  .bc-grid--3col, .bc-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .bc-testimonial { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .bc-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bc-container { padding: 0 var(--bc-sp-4); }
  .bc-section { padding: var(--bc-sp-7) 0; }
  .bc-grid--2col, .bc-grid--3col, .bc-grid--4col { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--bc-sp-5); }
  .bc-gallery__grid { grid-template-columns: 1fr; }
  .site-nav__list { display: none; }
  .bc-hero__stats { gap: var(--bc-sp-5); }
  .bc-hero__actions { flex-direction: column; }
  .bc-hero__actions .bc-btn,
  .bc-formband__form .bc-btn { width: 100%; }
  .site-header__inner { gap: var(--bc-sp-2); }
  .site-header__logo { font-size: 1rem; white-space: nowrap; }
  .site-nav__cta .bc-btn { padding: 0.65em 1em; font-size: 0.85rem; }
}
