/*!
 * Component Library — Crystal Epoxy Flooring Ipswich
 * Site: ipswichfloorcovering.com  |  Locked design system (bc-* = "brief components")
 * Concept: "Poured Resin" — deep trade-blue base, warm paper surface, gold epoxy-pour
 * accent, and a violet resin-swirl secondary accent lifted from the brand logo
 * (tradesperson pouring a blue/gold/violet resin puddle). Confident, premium, tactile.
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* --- Colour: core brand --- */
  --bc-primary: #17415B;        /* deep trade-blue (overalls in logo) */
  --bc-primary-dark: #0E2C3F;   /* near-navy, dark sections / footer */
  --bc-primary-light: #E7EEF1;  /* pale blue tint for subtle surfaces */
  --bc-accent: #E8A33D;         /* poured-epoxy gold (hard hat / resin) */
  --bc-accent-dark: #C8811E;    /* gold hover/border — background use only, NOT text on paper */
  --bc-accent-text: #96590C;    /* AA-safe darkened gold for text/icons on paper */
  --bc-accent-on-dark: #F2C170; /* AA-safe lightened gold for text on any dark/gradient surface */
  --bc-violet: #7C5CBF;         /* resin-swirl violet, secondary accent */
  --bc-violet-dark: #5F3F9E;    /* violet hover / dark-bg text */

  /* --- Colour: neutrals --- */
  --bc-paper: #FAF8F5;          /* warm off-white page surface */
  --bc-paper-alt: #F1EEE7;      /* warm alternate section surface */
  --bc-ink: #1A1D21;            /* body text */
  --bc-ink-soft: #4A5560;       /* secondary text */
  --bc-line: #E1DDD3;           /* hairlines / borders on paper */
  --bc-line-dark: rgba(255,255,255,0.14); /* hairlines on dark surfaces */
  --bc-white: #FFFFFF;

  /* --- Semantic aliases used throughout components --- */
  --bc-bg: var(--bc-paper);
  --bc-bg-alt: var(--bc-paper-alt);
  --bc-text: var(--bc-ink);
  --bc-text-soft: var(--bc-ink-soft);
  --bc-border: var(--bc-line);

  /* --- Typography --- */
  --bc-font-heading: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --bc-font-body: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --bc-fs-eyebrow: 0.8125rem;   /* 13px */
  --bc-fs-sm: 0.9375rem;        /* 15px */
  --bc-fs-body: 1.0625rem;      /* 17px */
  --bc-fs-lede: 1.1875rem;      /* 19px */
  --bc-fs-h4: 1.25rem;          /* 20px */
  --bc-fs-h3: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --bc-fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --bc-fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
  --bc-fs-hero: clamp(2.375rem, 1.5rem + 3.6vw, 3.75rem);
  --bc-lh-tight: 1.15;
  --bc-lh-heading: 1.25;
  --bc-lh-body: 1.65;
  --bc-tracking-eyebrow: 0.14em;

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

  /* --- Shape / elevation --- */
  --bc-radius-sm: 8px;
  --bc-radius: 14px;
  --bc-radius-lg: 24px;
  --bc-radius-pill: 999px;
  --bc-shadow-sm: 0 1px 3px rgba(14, 44, 63, 0.08), 0 1px 2px rgba(14, 44, 63, 0.06);
  --bc-shadow: 0 8px 24px rgba(14, 44, 63, 0.12);
  --bc-shadow-lg: 0 20px 48px rgba(14, 44, 63, 0.18);

  /* --- Layout --- */
  --bc-container-w: 1180px;
  --bc-container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* --- Motion --- */
  --bc-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --bc-speed: 0.2s;

  /* --- Resin-swirl gradient (hero / dark accents) --- */
  --bc-gradient-resin: linear-gradient(120deg, var(--bc-primary-dark) 0%, var(--bc-primary) 46%, #3E2E63 78%, var(--bc-violet-dark) 100%);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bc-bg);
  color: var(--bc-text);
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-body);
  line-height: var(--bc-lh-body);
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--bc-font-heading);
  color: var(--bc-primary-dark);
  line-height: var(--bc-lh-heading);
  margin: 0 0 var(--bc-space-3);
  font-weight: 700;
}
p { margin: 0 0 var(--bc-space-4); }
a { color: var(--bc-primary); text-decoration-color: var(--bc-accent-dark); }
a:hover { color: var(--bc-violet-dark); }

/* Dark-background components: the default link color (--bc-primary) is itself a dark
   navy, so it's near-invisible against these sections' dark fills. Override to the
   on-dark accent everywhere a plain <a> can appear inside one. */
.bc-hero a:not(.bc-btn),
.bc-prose--dark a:not(.bc-btn),
.bc-map__info a:not(.bc-btn),
.bc-testimonial a:not(.bc-btn),
.bc-formband--final a:not(.bc-btn) {
  color: var(--bc-accent-on-dark);
}
.bc-hero a:not(.bc-btn):hover,
.bc-prose--dark a:not(.bc-btn):hover,
.bc-map__info a:not(.bc-btn):hover,
.bc-testimonial a:not(.bc-btn):hover,
.bc-formband--final a:not(.bc-btn):hover {
  color: var(--bc-white);
}
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--bc-accent-text); outline-offset: 2px; }
/* Dark/gradient surfaces need a lighter focus-ring colour to keep 3:1 UI contrast */
.bc-hero :focus-visible,
.bc-prose--dark :focus-visible,
.bc-testimonial :focus-visible,
.bc-map__info :focus-visible,
.bc-formband--final :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--bc-accent-on-dark);
}

/* =========================================================
   3. CONTAINER
   ========================================================= */
.bc-container {
  width: 100%;
  max-width: var(--bc-container-w);
  margin-inline: auto;
  padding-inline: var(--bc-container-pad);
}

/* =========================================================
   4. EYEBROW
   ========================================================= */
.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-heading);
  font-size: var(--bc-fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--bc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bc-accent-text);
  margin-bottom: var(--bc-space-3);
}
.bc-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  border-radius: var(--bc-radius-pill);
  background: linear-gradient(90deg, var(--bc-accent), var(--bc-violet));
  display: inline-block;
}
.bc-eyebrow--on-dark { color: var(--bc-accent-on-dark); }

/* =========================================================
   5. BUTTONS
   ========================================================= */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  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 var(--bc-speed) var(--bc-ease), box-shadow var(--bc-speed) var(--bc-ease), background var(--bc-speed) var(--bc-ease), color var(--bc-speed) var(--bc-ease), border-color var(--bc-speed) var(--bc-ease);
}
.bc-btn:hover { transform: translateY(-2px); }
.bc-btn:active { transform: translateY(0); }

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

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

.bc-btn--ghost {
  background: transparent;
  color: var(--bc-white);
  border-color: var(--bc-line-dark);
}
.bc-btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--bc-white); 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); }

.bc-btn--sm { padding: 0.65em 1.25em; font-size: var(--bc-fs-eyebrow); }

/* =========================================================
   6. SITE SHELL — header / nav / footer
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 44, 63, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--bc-primary);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-4);
  padding-block: var(--bc-space-3);
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--bc-space-3);
  text-decoration: none;
  color: var(--bc-primary-dark);
}
.site-header__brand img { height: 44px; width: auto; }
.site-header__brand-name {
  font-family: var(--bc-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.site-header__brand-name small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--bc-text-soft); }

.site-nav { display: flex; align-items: center; gap: var(--bc-space-6); }
.bc-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--bc-space-5);
  margin: 0;
  padding: 0;
}
.bc-nav__link {
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  color: var(--bc-white);
  text-decoration: none;
  padding: var(--bc-space-2) 0;
  border-bottom: 2px solid transparent;
}
.bc-nav__link:hover, .bc-nav__link[aria-current="page"] {
  color: var(--bc-accent-on-dark);
  border-bottom-color: var(--bc-accent-on-dark);
}
.bc-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--bc-radius-sm);
  border: 1px solid var(--bc-border);
  background: var(--bc-white);
}

@media (max-width: 860px) {
  .bc-nav__toggle { display: inline-flex; }
  .site-nav { position: relative; }
  .bc-nav__list {
    position: absolute;
    top: calc(100% + var(--bc-space-3));
    right: 0;
    left: auto;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
    padding: var(--bc-space-3);
    min-width: 220px;
    display: none;
  }
  .bc-nav__list.is-open { display: flex; }
  .bc-nav__list .bc-nav__link { color: var(--bc-primary-dark); }
  .bc-nav__list .bc-nav__link:hover,
  .bc-nav__list .bc-nav__link[aria-current="page"] {
    color: var(--bc-primary);
    border-bottom-color: var(--bc-accent-text);
  }
}

.site-footer {
  background: var(--bc-primary-dark);
  color: rgba(250,248,245,0.85);
  padding-block: var(--bc-space-8) var(--bc-space-6);
}
.site-footer a:not(.bc-btn) { color: var(--bc-accent-on-dark); text-decoration: none; }
.site-footer a:not(.bc-btn):hover { color: var(--bc-white); text-decoration: underline; }
/* .bc-btn--outline is designed for light sections (dark text/border on transparent) — on
   any dark section it needs the same treatment as .bc-btn--ghost. */
.site-footer .bc-btn--outline,
.bc-map__info .bc-btn--outline,
.bc-testimonial .bc-btn--outline,
.bc-prose--dark .bc-btn--outline,
.bc-formband--final .bc-btn--outline,
.bc-hero .bc-btn--outline {
  color: var(--bc-white);
  border-color: var(--bc-line-dark);
}
.site-footer .bc-btn--outline:hover,
.bc-map__info .bc-btn--outline:hover,
.bc-testimonial .bc-btn--outline:hover,
.bc-prose--dark .bc-btn--outline:hover,
.bc-formband--final .bc-btn--outline:hover,
.bc-hero .bc-btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--bc-white);
  color: var(--bc-white);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--bc-space-6);
}
.site-footer__heading {
  font-family: var(--bc-font-heading);
  color: var(--bc-white);
  font-size: var(--bc-fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--bc-space-3);
}
.site-footer__brand { color: var(--bc-white); font-family: var(--bc-font-heading); font-weight: 700; font-size: 1.15rem; margin-bottom: var(--bc-space-2); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bc-space-2); font-size: var(--bc-fs-sm); }
.site-footer__bottom {
  margin-top: var(--bc-space-7);
  padding-top: var(--bc-space-5);
  border-top: 1px solid var(--bc-line-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--bc-space-3);
  font-size: var(--bc-fs-eyebrow);
  color: rgba(250,248,245,0.6);
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   7. HERO
   ========================================================= */
.bc-hero {
  position: relative;
  background: var(--bc-gradient-resin);
  color: var(--bc-white);
  overflow: hidden;
  padding-block: var(--bc-space-9) var(--bc-space-8);
}
.bc-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  padding-top: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(232,163,61,0.35), transparent 60%);
  pointer-events: none;
}
.bc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--bc-space-8);
  align-items: center;
}
.bc-hero__title {
  font-size: var(--bc-fs-hero);
  color: var(--bc-white);
  line-height: var(--bc-lh-tight);
  margin-bottom: var(--bc-space-4);
}
.bc-hero__title em { font-style: normal; color: var(--bc-accent-on-dark); }
.bc-hero__lede {
  font-size: var(--bc-fs-lede);
  color: rgba(250,248,245,0.88);
  max-width: 46ch;
  margin-bottom: var(--bc-space-6);
}
.bc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--bc-space-3); margin-bottom: var(--bc-space-6); }
.bc-hero__meta { display: flex; flex-wrap: wrap; gap: var(--bc-space-5); list-style: none; margin: 0; padding: 0; font-size: var(--bc-fs-sm); color: rgba(250,248,245,0.85); }
.bc-hero__meta li { display: flex; align-items: center; gap: var(--bc-space-2); }
.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.18);
}
.bc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-hero--imaged .bc-hero__media { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
  .bc-hero__inner { grid-template-columns: 1fr; }
  .bc-hero { padding-block: var(--bc-space-8) var(--bc-space-7); }
}

/* =========================================================
   8. PROSE
   ========================================================= */
.bc-prose {
  padding-block: var(--bc-space-8);
}
.bc-prose__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bc-space-6);
  max-width: 74ch;
  margin-inline: auto;
}
.bc-prose h2, .bc-prose h3 { color: var(--bc-primary-dark); }
.bc-prose p { color: var(--bc-text-soft); }
.bc-prose--with-image .bc-prose__inner {
  max-width: var(--bc-container-w);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--bc-space-7);
}
.bc-prose--with-image .bc-prose__media img {
  border-radius: var(--bc-radius-lg);
  box-shadow: var(--bc-shadow);
}
.bc-prose--has-color { background: var(--bc-bg-alt); }
.bc-prose--dark {
  background: var(--bc-primary-dark);
  color: rgba(250,248,245,0.9);
}
.bc-prose--dark h2, .bc-prose--dark h3 { color: var(--bc-white); }
.bc-prose--dark p { color: rgba(250,248,245,0.78); }
@media (max-width: 760px) {
  .bc-prose--with-image .bc-prose__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   9. GRID (services / feature cards)
   ========================================================= */
.bc-grid { padding-block: var(--bc-space-8); }
.bc-grid__head { max-width: 62ch; margin: 0 auto var(--bc-space-7); text-align: center; }
.bc-grid__head .bc-eyebrow { justify-content: center; display: flex; }
.bc-grid__items {
  display: grid;
  gap: var(--bc-space-5);
  grid-template-columns: repeat(2, 1fr);
}
.bc-grid--2col .bc-grid__items { grid-template-columns: repeat(2, 1fr); }
.bc-grid--3col .bc-grid__items { grid-template-columns: repeat(3, 1fr); }
.bc-grid--4col .bc-grid__items { grid-template-columns: repeat(4, 1fr); }

.bc-grid__card {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: var(--bc-space-5);
  box-shadow: var(--bc-shadow-sm);
  transition: transform var(--bc-speed) var(--bc-ease), box-shadow var(--bc-speed) var(--bc-ease);
}
.bc-grid__card:hover { transform: translateY(-4px); box-shadow: var(--bc-shadow); }
.bc-grid__card-img {
  width: calc(100% + 2 * var(--bc-space-5));
  margin: calc(-1 * var(--bc-space-5)) calc(-1 * var(--bc-space-5)) var(--bc-space-4);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--bc-radius) var(--bc-radius) 0 0;
}
.bc-grid__card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--bc-radius-sm);
  background: var(--bc-primary-light);
  color: var(--bc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--bc-space-3);
}
.bc-grid__card-title { font-size: var(--bc-fs-h4); margin-bottom: var(--bc-space-2); }
.bc-grid__card-body { color: var(--bc-text-soft); font-size: var(--bc-fs-sm); margin-bottom: 0; }
.bc-grid__card-link { display: inline-flex; align-items: center; gap: var(--bc-space-1); margin-top: var(--bc-space-3); font-family: var(--bc-font-heading); font-weight: 600; font-size: var(--bc-fs-sm); }

.bc-grid--imaged .bc-grid__card { padding-top: 0; overflow: hidden; }
.bc-grid--imaged .bc-grid__card-img { margin-top: 0; }
.bc-grid--text-only .bc-grid__card { text-align: left; }

@media (max-width: 900px) {
  .bc-grid--3col .bc-grid__items,
  .bc-grid--4col .bc-grid__items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bc-grid__items,
  .bc-grid--2col .bc-grid__items,
  .bc-grid--3col .bc-grid__items,
  .bc-grid--4col .bc-grid__items { grid-template-columns: 1fr; }
}

/* =========================================================
   10. FAQ
   ========================================================= */
.bc-section-head--center { text-align: center; max-width: 62ch; margin-inline: auto; }
.bc-list-reset { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--bc-space-2); }
.bc-list-reset--soft { color: var(--bc-text-soft); }

.bc-faq { padding-block: var(--bc-space-8); background: var(--bc-bg-alt); }
.bc-faq__list { max-width: 78ch; margin: 0 auto; display: grid; gap: var(--bc-space-3); }
.bc-faq__item {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: 0;
  overflow: hidden;
}
.bc-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-4);
  padding: var(--bc-space-4) var(--bc-space-5);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-body);
  color: var(--bc-primary-dark);
  cursor: pointer;
}
.bc-faq__q::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--bc-accent-text);
  transition: transform var(--bc-speed) var(--bc-ease);
}
.bc-faq__item[open] .bc-faq__q::after { transform: rotate(45deg); }
.bc-faq__a {
  padding: 0 var(--bc-space-5) var(--bc-space-5);
  color: var(--bc-text-soft);
  margin: 0;
}

/* =========================================================
   11. GALLERY
   ========================================================= */
.bc-gallery { padding-block: var(--bc-space-8); }
.bc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bc-space-4);
}
.bc-gallery__cell {
  position: relative;
  border-radius: var(--bc-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--bc-shadow-sm);
}
.bc-gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--bc-ease); }
.bc-gallery__cell:hover img { transform: scale(1.06); }
.bc-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--bc-space-3) var(--bc-space-3) var(--bc-space-2);
  background: linear-gradient(0deg, rgba(14,44,63,0.92) 0%, rgba(14,44,63,0.55) 100%);
  color: var(--bc-white);
  font-size: var(--bc-fs-eyebrow);
  font-family: var(--bc-font-heading);
}
@media (max-width: 860px) { .bc-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .bc-gallery__grid { grid-template-columns: 1fr 1fr; gap: var(--bc-space-3); } }

/* =========================================================
   12. VIDEO
   ========================================================= */
.bc-video { padding-block: var(--bc-space-8); background: var(--bc-bg-alt); }
.bc-video__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--bc-space-7);
  align-items: center;
}
.bc-video__copy p { color: var(--bc-text-soft); }
.bc-video__player { position: relative; }
.bc-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow);
  background: var(--bc-primary-dark);
}
.bc-video__frame iframe, .bc-video__frame img { width: 100%; height: 100%; border: 0; object-fit: cover; }
@media (max-width: 860px) {
  .bc-video__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   13. MAP
   ========================================================= */
.bc-map { padding-block: var(--bc-space-8); }
.bc-map__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--bc-space-7);
  align-items: stretch;
}
.bc-map__info {
  background: var(--bc-primary);
  color: var(--bc-white);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bc-map__info h2, .bc-map__info h3 { color: var(--bc-white); }
.bc-map__addr { list-style: none; margin: var(--bc-space-3) 0 var(--bc-space-5); padding: 0; display: grid; gap: var(--bc-space-2); color: rgba(250,248,245,0.85); font-size: var(--bc-fs-sm); }
.bc-map__frame {
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--bc-shadow);
}
.bc-map__frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 860px) {
  .bc-map__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   14. TESTIMONIAL
   ========================================================= */
.bc-testimonial { padding-block: var(--bc-space-8); background: var(--bc-primary-dark); color: var(--bc-white); }
.bc-testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-5);
}
.bc-testimonial__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--bc-line-dark);
  border-radius: var(--bc-radius);
  padding: var(--bc-space-5);
}
.bc-testimonial__stars { color: var(--bc-accent); letter-spacing: 0.15em; margin-bottom: var(--bc-space-3); font-size: 0.95rem; }
.bc-testimonial__quote { font-size: var(--bc-fs-body); color: rgba(250,248,245,0.92); margin-bottom: var(--bc-space-4); }
.bc-testimonial__author { display: flex; align-items: center; gap: var(--bc-space-3); }
.bc-testimonial__avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--bc-violet);
  color: var(--bc-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bc-font-heading); font-weight: 700;
  flex: none;
}
.bc-testimonial__name { font-family: var(--bc-font-heading); font-weight: 600; font-size: var(--bc-fs-sm); color: var(--bc-white); }
.bc-testimonial__role { font-size: var(--bc-fs-eyebrow); color: rgba(250,248,245,0.6); }
@media (max-width: 900px) { .bc-testimonial__grid { grid-template-columns: 1fr; } }

/* =========================================================
   15. FORMBAND
   ========================================================= */
.bc-formband { padding-block: var(--bc-space-8); }
.bc-formband__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-8);
  align-items: center;
}
.bc-formband__title { font-size: var(--bc-fs-h2); }
.bc-formband__cta-title { font-size: var(--bc-fs-h4); margin: 0 0 var(--bc-space-2); color: inherit; }
.bc-formband__lede { color: var(--bc-text-soft); max-width: 42ch; }
.bc-formband__form {
  background: var(--bc-white);
  color: var(--bc-text);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-space-6);
  box-shadow: var(--bc-shadow);
  display: grid;
  gap: var(--bc-space-4);
}

/* .bc-btn--ghost is designed for dark sections (transparent bg, white text/border) — if a
   builder places it as a secondary action inside the white .bc-formband__form card, give it
   the light-section treatment instead so it isn't invisible white-on-white. */
.bc-formband__form .bc-btn--ghost { color: var(--bc-primary); border-color: var(--bc-primary); }
.bc-formband__form .bc-btn--ghost:hover { background: var(--bc-primary); color: var(--bc-white); }

.bc-form-field { display: grid; gap: var(--bc-space-2); }
.bc-form-field label { font-family: var(--bc-font-heading); font-weight: 600; font-size: var(--bc-fs-sm); color: var(--bc-primary-dark); }
/* A form outside .bc-formband__form's white card (e.g. the footer search widget) sits
   directly on its dark section background, so the default dark label text disappears. */
.site-footer .bc-form-field label { color: rgba(250,248,245,0.85); }
.bc-form-field--required label::after { content: " *"; color: var(--bc-accent-text); }
.bc-form-field input,
.bc-form-field textarea,
.bc-form-field select {
  font: inherit;
  padding: var(--bc-space-3) var(--bc-space-3);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-sm);
  background: var(--bc-paper);
  color: var(--bc-ink);
}
.bc-form-field input:focus-visible,
.bc-form-field textarea:focus-visible,
.bc-form-field select:focus-visible {
  border-color: var(--bc-primary);
  outline: 3px solid var(--bc-accent-text);
  outline-offset: 1px;
}
.bc-form-field textarea { resize: vertical; min-height: 6rem; }
.bc-form-field--row2 { grid-template-columns: 1fr 1fr; display: grid; gap: var(--bc-space-4); }

/* Intro band: sits directly under hero, lighter surface */
.bc-formband--intro { background: var(--bc-bg-alt); }

/* Final band: dark, high-contrast closing CTA before footer */
.bc-formband--final { background: var(--bc-gradient-resin); color: var(--bc-white); }
.bc-formband--final .bc-formband__title { color: var(--bc-white); }
.bc-formband--final .bc-formband__lede { color: rgba(250,248,245,0.85); }
.bc-formband--final .bc-form-field label { color: var(--bc-primary-dark); }

@media (max-width: 860px) {
  .bc-formband__grid { grid-template-columns: 1fr; }
  .bc-form-field--row2 { grid-template-columns: 1fr; }
}

/* =========================================================
   16. RESPONSIVE SAFETY NET
   ========================================================= */
@media (max-width: 480px) {
  .bc-hero__actions .bc-btn { width: 100%; }
  .bc-testimonial__grid, .bc-grid__items { row-gap: var(--bc-space-4); }
}
