/* ==========================================================================
   Newcastle Mould Removal — Locked Component Library
   Industry: mould remediation / health & home-services, Hunter Region NSW
   Brand cues: IICRC-certified trust, clean-air remediation, warm local trade
   ========================================================================== */

:root{
  /* --- Colour tokens --- */
  --bc-primary:       #0F5C56; /* deep remediation teal — trust, clean air */
  --bc-primary-dark:  #0A403C;
  --bc-primary-light: #E4EEEC;
  --bc-accent:        #B3551F; /* warm terracotta — CTA warmth, local trade (AA on white) */
  --bc-accent-dark:   #8C3E11;
  --bc-accent-light:  #F5DCC7;
  --bc-paper:         #F7F5F0; /* warm off-white, not clinical-sterile */
  --bc-paper-alt:     #EFEBE1;
  --bc-ink:           #1B2421; /* warm near-black */
  --bc-ink-soft:      #47534E;
  --bc-ink-faint:     #5C6863;
  --bc-line:          #D9D4C8;
  --bc-white:         #FFFFFF;
  --bc-success:       #1E7A4C;
  --bc-danger:        #B3261E;

  /* --- Type scale --- */
  --bc-font-display: 'Sora', 'Segoe UI', 'Poppins', Arial, sans-serif;
  --bc-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --bc-fs-h1: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --bc-fs-h2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --bc-fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --bc-fs-lede: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --bc-fs-body: 1rem;
  --bc-fs-small: 0.875rem;
  --bc-lh-tight: 1.15;
  --bc-lh-normal: 1.55;

  /* --- Space scale --- */
  --bc-space-3xs: 0.25rem;
  --bc-space-2xs: 0.5rem;
  --bc-space-xs: 0.75rem;
  --bc-space-sm: 1rem;
  --bc-space-md: 1.5rem;
  --bc-space-lg: 2.5rem;
  --bc-space-xl: 4rem;
  --bc-space-2xl: 6rem;

  /* --- Misc --- */
  --bc-radius-sm: 6px;
  --bc-radius-md: 12px;
  --bc-radius-lg: 20px;
  --bc-shadow-sm: 0 2px 8px rgba(15,32,29,0.08);
  --bc-shadow-md: 0 12px 32px rgba(15,32,29,0.14);
  --bc-container-w: 1180px;
  --bc-border: 1px solid var(--bc-line);
}

/* --- Reset / base --- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--bc-paper);
  color: var(--bc-ink);
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-body);
  line-height: var(--bc-lh-normal);
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
h1,h2,h3,h4{ font-family: var(--bc-font-display); line-height: var(--bc-lh-tight); margin: 0 0 var(--bc-space-sm); color: var(--bc-primary-dark); }
h1{ font-size: var(--bc-fs-h1); }
h2{ font-size: var(--bc-fs-h2); }
h3{ font-size: var(--bc-fs-h3); }
p{ margin: 0 0 var(--bc-space-sm); }
a{ color: var(--bc-primary); }

/* --- Container --- */
.bc-container{
  max-width: var(--bc-container-w);
  margin-inline: auto;
  padding-inline: var(--bc-space-md);
}

/* --- Eyebrow --- */
.bc-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--bc-space-3xs);
  font-family: var(--bc-font-display);
  font-size: var(--bc-fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-accent-dark);
  background: var(--bc-accent-light);
  padding: var(--bc-space-3xs) var(--bc-space-sm);
  border-radius: 999px;
  margin-bottom: var(--bc-space-sm);
}

/* --- Buttons --- */
.bc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bc-space-2xs);
  font-family: var(--bc-font-display);
  font-weight: 600;
  font-size: var(--bc-fs-body);
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--bc-radius-sm);
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  line-height: 1.1;
}
.bc-btn:hover{ transform: translateY(-1px); }
.bc-btn--primary{ background: var(--bc-primary); color: var(--bc-white); }
.bc-btn--primary:hover{ background: var(--bc-primary-dark); box-shadow: var(--bc-shadow-sm); }
.bc-btn--accent{ background: var(--bc-accent); color: var(--bc-white); }
.bc-btn--accent:hover{ background: var(--bc-accent-dark); box-shadow: var(--bc-shadow-sm); }
.bc-btn--ghost{ background: transparent; color: var(--bc-white); border-color: rgba(255,255,255,0.6); }
.bc-btn--ghost:hover{ background: rgba(255,255,255,0.12); }
.bc-btn--outline{ background: transparent; color: var(--bc-primary); border-color: var(--bc-primary); }
.bc-btn--outline:hover{ background: var(--bc-primary-light); }

/* ==========================================================================
   Site shell
   ========================================================================== */
.site-header{
  background: var(--bc-white);
  border-bottom: var(--bc-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-md);
  padding-block: var(--bc-space-sm);
}
.site-header__logo{
  display: flex;
  align-items: center;
  gap: var(--bc-space-2xs);
  font-family: var(--bc-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bc-primary-dark);
  text-decoration: none;
}
.site-header__logo-mark{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bc-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-white);
  font-weight: 800;
  flex: none;
}

.site-nav{ display: flex; }
.site-nav__list{
  list-style: none;
  display: flex;
  gap: var(--bc-space-md);
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav__link{
  color: var(--bc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav__link:hover{ color: var(--bc-primary); }

.site-footer{
  background: var(--bc-primary-dark);
  color: var(--bc-white);
  padding-block: var(--bc-space-xl) var(--bc-space-lg);
}
.site-footer a{ color: var(--bc-white); }
.site-footer__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--bc-space-lg);
  margin-bottom: var(--bc-space-lg);
}
.site-footer__heading{
  font-family: var(--bc-font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bc-accent-light);
  margin-bottom: var(--bc-space-sm);
}
.site-footer__list{ list-style: none; margin: 0; padding: 0; }
.site-footer__list li{ margin-bottom: var(--bc-space-2xs); }
.site-footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: var(--bc-space-md);
  font-size: var(--bc-fs-small);
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-wrap: wrap;
  gap: var(--bc-space-sm);
  justify-content: space-between;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.bc-hero{
  background: linear-gradient(135deg, var(--bc-primary-dark), var(--bc-primary) 70%);
  color: var(--bc-white);
  padding-block: var(--bc-space-2xl);
}
.bc-hero__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--bc-space-xl);
  align-items: center;
}
.bc-hero__eyebrow{
  background: rgba(255,255,255,0.14);
  color: var(--bc-white);
}
.bc-hero h1{ color: var(--bc-white); }
.bc-hero__lede{
  font-size: var(--bc-fs-lede);
  color: rgba(255,255,255,0.92);
  max-width: 46ch;
}
.bc-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--bc-space-sm);
  margin-top: var(--bc-space-md);
}
.bc-hero__media{
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-md);
}
.bc-hero__media img{ width: 100%; height: 100%; object-fit: cover; }
.bc-hero__badges{
  display: flex;
  gap: var(--bc-space-md);
  margin-top: var(--bc-space-lg);
  flex-wrap: wrap;
}
.bc-hero__badge{
  display: flex;
  align-items: center;
  gap: var(--bc-space-2xs);
  font-size: var(--bc-fs-small);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   Prose
   ========================================================================== */
.bc-prose{ padding-block: var(--bc-space-xl); }
.bc-prose__inner{ max-width: 72ch; }
.bc-prose--has-color{ background: var(--bc-primary-light); }
.bc-prose--has-color .bc-prose__inner{ max-width: none; }
.bc-prose--dark{ background: var(--bc-primary-dark); color: var(--bc-white); }
.bc-prose--dark h2, .bc-prose--dark h3{ color: var(--bc-white); }
.bc-prose--with-image .bc-prose__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-xl);
  align-items: center;
}
.bc-prose--with-image img{ border-radius: var(--bc-radius-md); box-shadow: var(--bc-shadow-sm); }

/* ==========================================================================
   Grid
   ========================================================================== */
.bc-grid{ padding-block: var(--bc-space-xl); }
.bc-grid__head{ max-width: 62ch; margin-bottom: var(--bc-space-lg); }
.bc-grid__list{
  display: grid;
  gap: var(--bc-space-md);
  grid-template-columns: repeat(2, 1fr);
}
.bc-grid--2col .bc-grid__list{ grid-template-columns: repeat(2, 1fr); }
.bc-grid--3col .bc-grid__list{ grid-template-columns: repeat(3, 1fr); }
.bc-grid--4col .bc-grid__list{ grid-template-columns: repeat(4, 1fr); }

.bc-grid__card{
  background: var(--bc-white);
  border: var(--bc-border);
  border-radius: var(--bc-radius-md);
  overflow: hidden;
  padding: var(--bc-space-md);
  box-shadow: var(--bc-shadow-sm);
}
.bc-grid--imaged .bc-grid__card{ padding: 0; }
.bc-grid__card-img{ width: 100%; height: 160px; object-fit: cover; }
.bc-grid--imaged .bc-grid__card-body{ padding: var(--bc-space-md); }
.bc-grid--text-only .bc-grid__card{ text-align: left; }
.bc-grid__card-icon{
  width: 44px; height: 44px;
  border-radius: var(--bc-radius-sm);
  background: var(--bc-primary-light);
  color: var(--bc-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: var(--bc-space-sm);
}
.bc-grid__card h3{ font-size: 1.1rem; margin-bottom: var(--bc-space-2xs); }
.bc-grid__card p{ color: var(--bc-ink-soft); font-size: var(--bc-fs-small); margin-bottom: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.bc-faq{ padding-block: var(--bc-space-xl); background: var(--bc-paper-alt); }
.bc-faq__inner{ max-width: 78ch; }
.bc-faq__list{ display: flex; flex-direction: column; gap: var(--bc-space-sm); }
.bc-faq__item{
  background: var(--bc-white);
  border: var(--bc-border);
  border-radius: var(--bc-radius-md);
  padding: var(--bc-space-md);
}
.bc-faq__q{
  font-family: var(--bc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--bc-space-2xs);
  color: var(--bc-primary-dark);
  display: flex;
  gap: var(--bc-space-2xs);
}
.bc-faq__a{ color: var(--bc-ink-soft); margin: 0; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.bc-gallery{ padding-block: var(--bc-space-xl); }
.bc-gallery__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-sm);
}
.bc-gallery__cell{
  position: relative;
  border-radius: var(--bc-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bc-primary-light);
}
.bc-gallery__cell img{ width: 100%; height: 100%; object-fit: cover; }
.bc-gallery__caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(10,64,60,0.85), transparent);
  color: var(--bc-white);
  font-size: var(--bc-fs-small);
  font-weight: 600;
  padding: var(--bc-space-sm) var(--bc-space-xs) var(--bc-space-xs);
}

/* ==========================================================================
   Video
   ========================================================================== */
.bc-video{ padding-block: var(--bc-space-xl); background: var(--bc-primary-light); }
.bc-video__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--bc-space-xl);
  align-items: center;
}
.bc-video__copy h2{ margin-bottom: var(--bc-space-sm); }
.bc-video__player{
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-md);
  background: var(--bc-ink);
}
.bc-video__frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ==========================================================================
   Map
   ========================================================================== */
.bc-map{ padding-block: var(--bc-space-xl); }
.bc-map__grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--bc-space-xl);
  align-items: stretch;
}
.bc-map__info{
  background: var(--bc-white);
  border: var(--bc-border);
  border-radius: var(--bc-radius-md);
  padding: var(--bc-space-lg);
}
.bc-map__addr{ font-style: normal; color: var(--bc-ink-soft); margin-bottom: var(--bc-space-md); line-height: 1.7; }
.bc-map__frame{
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--bc-radius-md);
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.bc-testimonial{ padding-block: var(--bc-space-xl); }
.bc-testimonial__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-md);
}
.bc-testimonial__card{
  background: var(--bc-white);
  border-radius: var(--bc-radius-md);
  border: var(--bc-border);
  padding: var(--bc-space-md);
  box-shadow: var(--bc-shadow-sm);
}
.bc-testimonial__stars{ color: var(--bc-accent); font-size: 0.95rem; margin-bottom: var(--bc-space-2xs); letter-spacing: 0.15em; }
.bc-testimonial__quote{ color: var(--bc-ink-soft); font-style: italic; margin-bottom: var(--bc-space-sm); }
.bc-testimonial__name{ font-weight: 700; font-family: var(--bc-font-display); font-size: var(--bc-fs-small); color: var(--bc-primary-dark); }
.bc-testimonial__meta{ color: var(--bc-ink-faint); font-size: var(--bc-fs-small); }

/* ==========================================================================
   Form band
   ========================================================================== */
.bc-formband{ padding-block: var(--bc-space-xl); background: var(--bc-primary-dark); color: var(--bc-white); }
.bc-formband__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-xl);
  align-items: start;
}
.bc-formband__title{ color: var(--bc-white); }
.bc-formband__lede{ color: rgba(255,255,255,0.85); max-width: 44ch; }
.bc-formband__form{
  background: var(--bc-white);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-space-lg);
  box-shadow: var(--bc-shadow-md);
  display: grid;
  gap: var(--bc-space-sm);
}
.bc-formband--intro{ background: var(--bc-primary); }
.bc-formband--final{ background: linear-gradient(135deg, var(--bc-primary-dark), var(--bc-ink)); }
.bc-formband--final .bc-formband__form{ background: var(--bc-paper); }

.bc-form-field{ display: grid; gap: var(--bc-space-3xs); text-align: left; }
.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-dark);
}
.bc-form-field input,
.bc-form-field textarea,
.bc-form-field select{
  font: inherit;
  padding: 0.7em 0.85em;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-sm);
  background: var(--bc-white);
  color: var(--bc-ink);
}
.bc-form-field input:focus,
.bc-form-field textarea:focus,
.bc-form-field select:focus{
  outline: 2px solid var(--bc-primary);
  outline-offset: 1px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px){
  .bc-hero__grid,
  .bc-prose--with-image .bc-prose__grid,
  .bc-video__grid,
  .bc-map__grid,
  .bc-formband__grid{
    grid-template-columns: 1fr;
  }
  .bc-grid--4col .bc-grid__list{ grid-template-columns: repeat(2, 1fr); }
  .bc-grid--3col .bc-grid__list{ grid-template-columns: repeat(2, 1fr); }
  .bc-testimonial__grid{ grid-template-columns: 1fr; }
  .bc-gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  .site-nav__list{ gap: var(--bc-space-sm); }
}

@media (max-width: 600px){
  .bc-grid--2col .bc-grid__list,
  .bc-grid--3col .bc-grid__list,
  .bc-grid--4col .bc-grid__list{ grid-template-columns: 1fr; }
  .bc-gallery__grid{ grid-template-columns: 1fr; }
  .site-header__inner{ flex-direction: column; align-items: flex-start; gap: var(--bc-space-xs); }
  .site-nav__list{ flex-wrap: wrap; gap: var(--bc-space-sm); }
  .bc-hero{ padding-block: var(--bc-space-xl); }
  .bc-formband__form{ padding: var(--bc-space-md); }
}
