/* BFO Landing Pages - Shared Design System */
/* All styles scoped under .bfo-landing to avoid Elementor conflicts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */
.bfo-landing {
  --bfo-primary: #F68F28;
  --bfo-primary-light: #FFa94d;
  --bfo-primary-dark: #e07d1e;
  --bfo-text: #333;
  --bfo-text-light: #666;
  --bfo-heading: #1a1a1a;
  --bfo-bg: #fff;
  --bfo-bg-light: #f8f8f8;
  --bfo-bg-alt: #f5f5f5;
  --bfo-border: #e8e8e8;
  --bfo-max-width: 1200px;
  --bfo-max-width-wide: 1400px;
  --bfo-radius: 12px;
  --bfo-radius-sm: 8px;
  --bfo-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --bfo-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --bfo-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --bfo-transition: 0.3s ease;
  --bfo-section-padding: 80px 5%;
  --bfo-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   Container Reset (neutralize Elementor)
   ============================================ */
.bfo-landing {
  font-family: var(--bfo-font) !important;
  line-height: 1.6;
  color: var(--bfo-text);
  background: var(--bfo-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bfo-landing *,
.bfo-landing *::before,
.bfo-landing *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.bfo-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bfo-landing ul,
.bfo-landing ol,
.bfo-landing li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.bfo-landing a {
  color: var(--bfo-primary);
  text-decoration: none;
  transition: color var(--bfo-transition);
}

.bfo-landing a:hover {
  color: var(--bfo-primary-dark);
}

.bfo-landing button,
.bfo-landing input,
.bfo-landing select,
.bfo-landing textarea {
  font-family: var(--bfo-font) !important;
}

/* ============================================
   Typography
   ============================================ */
.bfo-section-title {
  font-family: var(--bfo-font) !important;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--bfo-heading);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.bfo-section-subtitle {
  font-family: var(--bfo-font) !important;
  font-size: 18px;
  text-align: center;
  color: var(--bfo-text-light);
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================
   Hero Section
   ============================================ */
.bfo-hero {
  padding: var(--bfo-section-padding);
  background: linear-gradient(135deg, var(--bfo-bg-alt) 0%, var(--bfo-bg) 100%);
  position: relative;
  overflow: hidden;
}

.bfo-hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: var(--bfo-max-width-wide);
  margin: 0 auto;
}

.bfo-hero-content {
  flex: 1;
  max-width: 600px;
}

.bfo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 143, 40, 0.1);
  color: var(--bfo-primary);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(246, 143, 40, 0.2);
}

.bfo-hero-title {
  font-family: var(--bfo-font) !important;
  font-size: 52px;
  font-weight: 800;
  color: var(--bfo-heading);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.bfo-hero-title .bfo-text-accent {
  color: var(--bfo-primary);
}

.bfo-hero-subtitle {
  font-family: var(--bfo-font) !important;
  font-size: 20px;
  color: var(--bfo-text-light);
  margin-bottom: 36px;
  line-height: 1.6;
}

.bfo-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.bfo-hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--bfo-text);
}

.bfo-hero-feature .bfo-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--bfo-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}

.bfo-hero-image {
  flex: 1;
  border-radius: var(--bfo-radius);
  overflow: hidden;
  box-shadow: var(--bfo-shadow-lg);
  max-height: 500px;
}

.bfo-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero CTA */
.bfo-hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================
   Hero Variant: Full-Width Background (Pool)
   ============================================ */
.bfo-hero.bfo-hero-fullwidth {
  padding: 0;
  background: none;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 100%);
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-inner {
  position: relative;
  z-index: 1;
  flex-direction: column;
  text-align: center;
  padding: 80px 5%;
  gap: 32px;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-title {
  color: #fff;
  font-size: 56px;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-title .bfo-text-accent {
  color: var(--bfo-primary-light);
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-feature {
  color: #fff;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-features {
  justify-content: center;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-cta {
  justify-content: center;
}

.bfo-hero.bfo-hero-fullwidth .bfo-hero-image {
  display: none;
}

/* ============================================
   Hero Variant: Full-Width with Inline Form
   ============================================ */
.bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form {
  min-height: auto;
}

.bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-inner {
  flex-direction: row;
  text-align: left;
  align-items: center;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 60px 5%;
}

.bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-content {
  flex: 0 0 58%;
  max-width: 58%;
  margin: 0;
}

.bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-features {
  justify-content: flex-start;
}

.bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-video-link {
  text-align: left;
}

.bfo-hero-form {
  flex: 0 0 38%;
  max-width: 38%;
}

.bfo-hero-form-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--bfo-radius);
  padding: 32px 28px 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.bfo-hero-form-title {
  font-family: var(--bfo-font) !important;
  font-size: 22px;
  font-weight: 700;
  color: var(--bfo-heading);
  margin-bottom: 16px;
  text-align: center;
}

.bfo-hero-form-card iframe {
  width: 100%;
  min-height: 400px;
  max-height: 500px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bfo-hero-form-card iframe.bfo-iframe-ready {
  max-height: none;
  opacity: 1;
}

/* ============================================
   Hero Variant: Reversed (Front Fencing)
   ============================================ */
.bfo-hero.bfo-hero-reversed .bfo-hero-inner {
  flex-direction: row-reverse;
}

.bfo-hero.bfo-hero-reversed .bfo-hero-image {
  margin-right: -40px;
  position: relative;
  z-index: 1;
}

/* ============================================
   Hero Variant: Centered (Custom Curves)
   ============================================ */
.bfo-hero.bfo-hero-centered .bfo-hero-inner {
  flex-direction: column;
  text-align: center;
  gap: 48px;
}

.bfo-hero.bfo-hero-centered .bfo-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.bfo-hero.bfo-hero-centered .bfo-hero-features {
  justify-content: center;
}

.bfo-hero.bfo-hero-centered .bfo-hero-cta {
  justify-content: center;
}

.bfo-hero.bfo-hero-centered .bfo-hero-image {
  max-width: 100%;
  max-height: 400px;
  border-radius: 20px;
  width: 100%;
}

.bfo-hero.bfo-hero-centered .bfo-hero-image img {
  max-height: 400px;
}

/* ============================================
   Hero Variant: Dark (Architect)
   ============================================ */
.bfo-hero.bfo-hero-dark {
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.bfo-hero.bfo-hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.bfo-hero.bfo-hero-dark .bfo-hero-inner {
  position: relative;
  z-index: 1;
  flex-direction: column;
  text-align: center;
  gap: 32px;
}

.bfo-hero.bfo-hero-dark .bfo-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.bfo-hero.bfo-hero-dark .bfo-hero-title {
  color: #fff;
}

.bfo-hero.bfo-hero-dark .bfo-hero-title .bfo-text-accent {
  color: var(--bfo-primary);
}

.bfo-hero.bfo-hero-dark .bfo-hero-subtitle {
  color: rgba(255,255,255,0.7);
}

.bfo-hero.bfo-hero-dark .bfo-hero-badge {
  background: rgba(246,143,40,0.15);
  border-color: rgba(246,143,40,0.3);
}

.bfo-hero.bfo-hero-dark .bfo-hero-feature {
  color: rgba(255,255,255,0.9);
}

.bfo-hero.bfo-hero-dark .bfo-hero-features {
  justify-content: center;
}

.bfo-hero.bfo-hero-dark .bfo-hero-cta {
  justify-content: center;
}

.bfo-hero.bfo-hero-dark .bfo-hero-image {
  display: none;
}

/* ============================================
   Compliance Banner (Pool)
   ============================================ */
.bfo-compliance-banner {
  background: var(--bfo-heading);
  color: #fff;
  padding: 28px 5%;
}

.bfo-compliance-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.bfo-compliance-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bfo-font) !important;
}

.bfo-compliance-stat .bfo-stat-icon {
  font-size: 28px;
}

.bfo-compliance-stat .bfo-stat-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.bfo-compliance-stat .bfo-stat-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   Benefits Variant: Horizontal (Front Fencing)
   ============================================ */
.bfo-benefits-horizontal .bfo-benefits-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 800px;
}

.bfo-benefits-horizontal .bfo-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
}

.bfo-benefits-horizontal .bfo-benefit-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.bfo-benefits-horizontal .bfo-benefit-card .bfo-card-title {
  margin-bottom: 4px;
}

/* ============================================
   Benefits Variant: Pool (left border accent)
   ============================================ */
.bfo-benefits-pool .bfo-benefit-card {
  border-left: 4px solid var(--bfo-primary);
}

/* ============================================
   Design Showcase Strip (Front Fencing)
   ============================================ */
.bfo-showcase {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg-light);
}

.bfo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

.bfo-showcase-card {
  border-radius: var(--bfo-radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--bfo-primary) 0%, var(--bfo-primary-light) 100%);
  aspect-ratio: 4/3;
}

.bfo-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfo-showcase-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-family: var(--bfo-font) !important;
  font-size: 15px;
  font-weight: 600;
}

.bfo-showcase-label span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

/* ============================================
   Numbered Steps (Custom Curves)
   ============================================ */
.bfo-steps {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
  counter-reset: step-counter;
}

.bfo-step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  counter-increment: step-counter;
}

.bfo-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bfo-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--bfo-font) !important;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.bfo-step-card .bfo-step-title {
  font-family: var(--bfo-font) !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--bfo-heading);
  margin-bottom: 10px;
}

.bfo-step-card .bfo-step-text {
  font-family: var(--bfo-font) !important;
  color: var(--bfo-text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* Connector line between steps */
.bfo-step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 58px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--bfo-border);
}

/* Curved section wave top */
.bfo-section-curved {
  position: relative;
  padding-top: 100px;
}

.bfo-section-curved::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bfo-bg);
  border-radius: 0 0 50% 50%;
}

/* ============================================
   Responsive additions for variants
   ============================================ */
@media (max-width: 768px) {
  .bfo-hero.bfo-hero-fullwidth {
    min-height: 480px;
  }

  .bfo-hero.bfo-hero-fullwidth .bfo-hero-title {
    font-size: 36px;
  }

  .bfo-hero.bfo-hero-fullwidth .bfo-hero-inner {
    padding: 60px 5%;
  }

  .bfo-hero.bfo-hero-reversed .bfo-hero-inner {
    flex-direction: column;
  }

  .bfo-hero.bfo-hero-reversed .bfo-hero-image {
    margin-right: 0;
  }

  .bfo-showcase-grid {
    grid-template-columns: 1fr;
  }

  .bfo-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .bfo-step-card:not(:last-child)::after {
    display: none;
  }

  .bfo-compliance-banner-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .bfo-benefits-horizontal .bfo-benefit-card {
    flex-direction: column;
    gap: 12px;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-inner {
    flex-direction: column;
    text-align: center;
    gap:10px;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-content {
    display: contents;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-badge {
    order: 1;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-title {
    order: 2;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-form {
    order: 3;
    width: 100%;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-subtitle {
    order: 4;
    margin-bottom:10px;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-features {
    order: 5;
    justify-content: center;
  }

  .bfo-hero.bfo-hero-fullwidth.bfo-hero-with-form .bfo-hero-video-link {
    order: 6;
    text-align: center;
  }

  .bfo-hero-form {
    flex: none;
    max-width: 100%;
  }

  .bfo-hero-form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .bfo-hero.bfo-hero-fullwidth .bfo-hero-title {
    font-size: 28px;
  }

  .bfo-hero.bfo-hero-fullwidth {
    min-height: 400px;
  }

  .bfo-steps-grid {
    grid-template-columns: 1fr;
  }

  .bfo-hero-form-card {
    padding: 20px 16px;
  }

  .bfo-hero-form-title {
    font-size: 20px;
  }
}

/* ============================================
   Buttons
   ============================================ */
.bfo-btn-primary,
.bfo-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--bfo-font) !important;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--bfo-radius-sm);
  cursor: pointer;
  transition: transform var(--bfo-transition), box-shadow var(--bfo-transition), background var(--bfo-transition);
  text-decoration: none;
}

.bfo-btn-primary {
  background: var(--bfo-primary);
  color: #fff !important;
}

.bfo-btn-primary:hover {
  background: var(--bfo-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 143, 40, 0.3);
  color: #fff !important;
}

.bfo-btn-secondary {
  background: transparent;
  color: var(--bfo-primary) !important;
  border: 2px solid var(--bfo-primary);
}

.bfo-btn-secondary:hover {
  background: rgba(246, 143, 40, 0.05);
  transform: translateY(-2px);
  color: var(--bfo-primary) !important;
}

.bfo-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--bfo-font) !important;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--bfo-radius-sm);
  cursor: pointer;
  transition: transform var(--bfo-transition), box-shadow var(--bfo-transition);
  background: #fff;
  color: var(--bfo-primary) !important;
  text-decoration: none;
}

.bfo-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--bfo-primary) !important;
}

/* ============================================
   Benefits Section
   ============================================ */
.bfo-benefits {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

.bfo-benefit-card {
  padding: 36px 28px;
  background: var(--bfo-bg);
  border-radius: var(--bfo-radius);
  box-shadow: var(--bfo-shadow);
  transition: transform var(--bfo-transition), box-shadow var(--bfo-transition);
  border: 1px solid var(--bfo-border);
}

.bfo-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bfo-shadow-hover);
}

.bfo-benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(246, 143, 40, 0.1);
  border-radius: var(--bfo-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.bfo-benefit-card .bfo-card-title {
  font-family: var(--bfo-font) !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--bfo-heading);
  margin-bottom: 10px;
}

.bfo-benefit-card .bfo-card-text {
  font-family: var(--bfo-font) !important;
  color: var(--bfo-text-light);
  line-height: 1.6;
  font-size: 15px;
}

/* ============================================
   Products / Profiles Section
   ============================================ */
.bfo-products {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg-light);
}

.bfo-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

.bfo-product-card {
  background: var(--bfo-bg);
  border-radius: var(--bfo-radius);
  overflow: hidden;
  box-shadow: var(--bfo-shadow);
  transition: transform var(--bfo-transition), box-shadow var(--bfo-transition);
  border: 1px solid var(--bfo-border);
}

.bfo-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bfo-shadow-hover);
}

.bfo-product-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--bfo-primary) 0%, var(--bfo-primary-light) 100%);
  overflow: hidden;
}

.bfo-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfo-product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bfo-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.bfo-product-content {
  padding: 28px;
}

.bfo-product-content .bfo-product-name {
  font-family: var(--bfo-font) !important;
  font-size: 24px;
  font-weight: 700;
  color: var(--bfo-heading);
  margin-bottom: 16px;
}

.bfo-product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--bfo-bg-light);
  border-radius: var(--bfo-radius-sm);
}

.bfo-spec {
  display: flex;
  flex-direction: column;
}

.bfo-spec-label {
  font-family: var(--bfo-font) !important;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.bfo-spec-value {
  font-family: var(--bfo-font) !important;
  font-weight: 600;
  color: var(--bfo-text);
  font-size: 15px;
}

.bfo-product-desc {
  font-family: var(--bfo-font) !important;
  color: var(--bfo-text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   Feature List (checkmark bullets)
   ============================================ */
.bfo-feature-list li {
  padding: 10px 0 !important;
  padding-left: 32px !important;
  position: relative;
  color: var(--bfo-text-light);
  font-size: 15px;
  line-height: 1.6;
}

.bfo-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bfo-primary);
  font-weight: 700;
  font-size: 16px;
}

/* ============================================
   Two-Column Info Section
   ============================================ */
.bfo-info-section {
  padding: var(--bfo-section-padding);
}

.bfo-info-section.bfo-bg-white {
  background: var(--bfo-bg);
}

.bfo-info-section.bfo-bg-light {
  background: var(--bfo-bg-light);
}

.bfo-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
  align-items: center;
}

.bfo-info-grid.bfo-reverse {
  direction: rtl;
}

.bfo-info-grid.bfo-reverse > * {
  direction: ltr;
}

.bfo-info-image {
  border-radius: var(--bfo-radius);
  overflow: hidden;
  box-shadow: var(--bfo-shadow);
  background: linear-gradient(135deg, var(--bfo-primary) 0%, var(--bfo-primary-light) 100%);
  min-height: 360px;
}

.bfo-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfo-info-content .bfo-info-title {
  font-family: var(--bfo-font) !important;
  font-size: 32px;
  font-weight: 700;
  color: var(--bfo-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.bfo-info-content .bfo-info-text {
  font-family: var(--bfo-font) !important;
  color: var(--bfo-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 16px;
}

/* ============================================
   Colour Options Section
   ============================================ */
.bfo-colours {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-colour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

.bfo-colour-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bfo-bg-light);
  border-radius: var(--bfo-radius);
  transition: transform var(--bfo-transition), border-color var(--bfo-transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.bfo-colour-card:hover {
  transform: translateY(-3px);
}

.bfo-colour-card.bfo-colour-active {
  border-color: var(--bfo-primary);
  transform: translateY(0);
}

.bfo-colour-swatch {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 3px solid #fff;
  transition: transform var(--bfo-transition), box-shadow var(--bfo-transition);
}

.bfo-colour-active .bfo-colour-swatch {
  transform: scale(1.1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.bfo-colour-name {
  font-family: var(--bfo-font) !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--bfo-text);
}

/* Colour Preview Modal */
.bfo-colour-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bfo-colour-modal.bfo-modal-open {
  opacity: 1;
  visibility: visible;
}

.bfo-colour-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bfo-colour-modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  max-width: 720px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.bfo-modal-open .bfo-colour-modal-content {
  transform: scale(1);
}

.bfo-colour-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--bfo-transition);
  padding: 0;
  line-height: 1;
}

.bfo-colour-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.bfo-colour-modal-title {
  font-family: var(--bfo-font) !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--bfo-heading);
  text-align: center;
  margin-bottom: 16px;
}

.bfo-colour-modal-image-wrap {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  min-height: 200px;
  background: var(--bfo-bg-light);
}

.bfo-colour-modal-image-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid var(--bfo-border);
  border-top-color: var(--bfo-primary);
  border-radius: 50%;
  animation: bfo-spin 0.8s linear infinite;
  z-index: 1;
}

.bfo-colour-modal-image-wrap:has(img[style*="opacity: 1"])::before {
  display: none;
}

@keyframes bfo-spin {
  to { transform: rotate(360deg); }
}

.bfo-colour-modal-image-wrap img {
  width: 100%;
  display: block;
  border-radius: var(--bfo-radius-sm);
}

.bfo-colour-modal-image-wrap img[src=""] {
  display: none;
}

/* Colour tint overlay for Beach Oak / Wild Olive */
.bfo-colour-modal-image-wrap.bfo-has-tint::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--bfo-radius-sm);
  background: var(--bfo-tint-colour, transparent);
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
}

/* Profile card expand hint (hidden on desktop) */
.bfo-product-expand-hint {
  display: none;
}

/* ============================================
   Gallery Section
   ============================================ */
.bfo-gallery {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg-light);
}

.bfo-gallery-container {
  max-width: 1000px;
  margin: 0 auto;
}

.bfo-gallery-main {
  height: 500px;
  background: var(--bfo-bg-alt);
  border-radius: var(--bfo-radius);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.bfo-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Customer Install badge */
.bfo-customer-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px 5px 28px;
  border-radius: 20px;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: var(--bfo-font) !important;
  z-index: 2;
}

.bfo-customer-badge::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'%3E%3C/path%3E%3Ccircle cx='12' cy='13' r='4'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.bfo-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.bfo-thumb-wrap {
  position: relative;
  border-radius: var(--bfo-radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.bfo-thumb {
  height: 100% !important;
  width: 100%;
  border-radius: var(--bfo-radius-sm);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--bfo-transition), transform var(--bfo-transition);
  background: var(--bfo-bg-alt);
  object-fit: cover;
}

.bfo-thumb.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bfo-thumb:hover {
  opacity: 0.85;
}

/* ============================================
   Technical Specs Section
   ============================================ */
.bfo-technical {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

.bfo-tech-card {
  padding: 36px;
  background: var(--bfo-bg-light);
  border-radius: var(--bfo-radius);
  border: 1px solid var(--bfo-border);
}

.bfo-tech-card .bfo-tech-title {
  font-family: var(--bfo-font) !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--bfo-heading);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bfo-primary);
}

.bfo-tech-list li {
  padding: 10px 0 !important;
  padding-left: 28px !important;
  position: relative;
  color: var(--bfo-text-light);
  font-size: 15px;
  border-bottom: 1px solid var(--bfo-border);
}

.bfo-tech-list li:last-child {
  border-bottom: none;
}

.bfo-tech-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bfo-primary);
  font-weight: 700;
}

/* ============================================
   VSL / Video Section
   ============================================ */
.bfo-vsl-section {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg-light);
}

.bfo-vsl-container {
  max-width: 900px;
  margin: 0 auto;
}

/* 16:9 landscape video */
.bfo-vsl-embed.bfo-vsl-landscape {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--bfo-radius);
  box-shadow: var(--bfo-shadow-lg);
  background: #000;
}

.bfo-vsl-embed.bfo-vsl-landscape iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 9:16 portrait video */
.bfo-vsl-embed.bfo-vsl-portrait {
  position: relative;
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 177.78%;
  height: 0;
  overflow: hidden;
  border-radius: var(--bfo-radius);
  box-shadow: var(--bfo-shadow-lg);
  background: #000;
}

.bfo-vsl-embed.bfo-vsl-portrait iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video thumbnail + play button overlay */
.bfo-vsl-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.bfo-vsl-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform var(--bfo-transition), opacity var(--bfo-transition);
  padding: 0;
  line-height: 1;
}

.bfo-vsl-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.bfo-vsl-embed.bfo-vsl-playing .bfo-vsl-thumb,
.bfo-vsl-embed.bfo-vsl-playing .bfo-vsl-play {
  display: none;
}

/* Video placeholder styling */
.bfo-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: #fff;
  font-family: var(--bfo-font) !important;
  font-size: 16px;
  text-align: center;
  padding: 40px;
  border-radius: var(--bfo-radius);
  min-height: 200px;
}

/* Inline video alongside content */
.bfo-content-with-video {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
  align-items: center;
}

/* ============================================
   FAQ Section
   ============================================ */
.bfo-faq {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg-light);
  overflow-x: hidden;
}

.bfo-faq-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.bfo-faq-item {
  margin-bottom: 12px;
  background: var(--bfo-bg);
  border-radius: var(--bfo-radius-sm);
  overflow: hidden;
  border: 1px solid var(--bfo-border);
  transition: box-shadow var(--bfo-transition);
}

.bfo-faq-item:hover {
  box-shadow: var(--bfo-shadow);
}

.bfo-faq-question {
  width: 100%;
  padding: 22px 24px;
  background: var(--bfo-bg);
  border: none;
  border-radius: var(--bfo-radius-sm) var(--bfo-radius-sm) 0 0;
  text-align: left;
  font-family: var(--bfo-font) !important;
  font-size: 17px;
  font-weight: 600;
  color: var(--bfo-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  transition: background var(--bfo-transition);
}

.bfo-faq-question:hover {
  background: var(--bfo-bg-light);
  color: var(--bfo-text);
}

.bfo-faq-question:focus {
  outline: 2px solid var(--bfo-primary);
  outline-offset: -2px;
  background: var(--bfo-bg);
  color: var(--bfo-text);
}

.bfo-faq-question > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.bfo-faq-icon {
  font-size: 24px;
  color: var(--bfo-primary);
  transition: transform var(--bfo-transition);
  flex-shrink: 0;
  line-height: 1;
}

.bfo-faq-item.active .bfo-faq-icon {
  transform: rotate(45deg);
}

.bfo-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.bfo-faq-item.active .bfo-faq-answer {
  max-height: 400px;
}

.bfo-faq-answer .bfo-faq-text {
  padding: 0 24px 22px;
  color: var(--bfo-text-light);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================
   GHL Form Section
   ============================================ */
.bfo-form-section {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.bfo-form-embed {
  background: var(--bfo-bg-light);
  border-radius: var(--bfo-radius);
  padding: 40px;
  border: 1px solid var(--bfo-border);
  min-height: 300px;
}

.bfo-form-placeholder {
  font-family: var(--bfo-font) !important;
  text-align: center;
  color: var(--bfo-text-light);
  font-size: 15px;
  padding: 60px 20px;
}

/* ============================================
   CTA Section
   ============================================ */
.bfo-cta {
  padding: 80px 5%;
  background: linear-gradient(135deg, var(--bfo-primary) 0%, var(--bfo-primary-light) 100%);
  text-align: center;
}

.bfo-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.bfo-cta .bfo-cta-title {
  font-family: var(--bfo-font) !important;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.bfo-cta .bfo-cta-text {
  font-family: var(--bfo-font) !important;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.6;
}

.bfo-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.bfo-cta .bfo-cta-note {
  font-family: var(--bfo-font) !important;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 20px;
}

/* ============================================
   Spec Comparison Table (Architect page)
   ============================================ */
.bfo-spec-table-section {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-spec-table {
  width: 100%;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--bfo-radius);
  overflow: hidden;
  box-shadow: var(--bfo-shadow);
  border: 1px solid var(--bfo-border);
}

.bfo-spec-table th,
.bfo-spec-table td {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--bfo-font) !important;
  font-size: 15px;
  border-bottom: 1px solid var(--bfo-border);
}

.bfo-spec-table th {
  background: var(--bfo-heading);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bfo-spec-table tr:last-child td {
  border-bottom: none;
}

.bfo-spec-table tr:nth-child(even) td {
  background: var(--bfo-bg-light);
}

.bfo-spec-table td:first-child {
  font-weight: 600;
  color: var(--bfo-text);
}

/* ============================================
   Download Cards (Architect page)
   ============================================ */
.bfo-downloads {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg-light);
}

.bfo-downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

.bfo-download-card {
  background: var(--bfo-bg);
  border-radius: var(--bfo-radius);
  padding: 32px;
  border: 1px solid var(--bfo-border);
  transition: transform var(--bfo-transition), box-shadow var(--bfo-transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bfo-download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bfo-shadow-hover);
}

.bfo-download-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bfo-download-icon {
  width: 48px;
  height: 48px;
  background: rgba(246, 143, 40, 0.1);
  border-radius: var(--bfo-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bfo-download-badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--bfo-font) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  background: var(--bfo-bg-light);
  color: var(--bfo-text-light);
  border: 1px solid var(--bfo-border);
}

.bfo-download-card .bfo-download-title {
  font-family: var(--bfo-font) !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--bfo-heading);
}

.bfo-download-card .bfo-download-desc {
  font-family: var(--bfo-font) !important;
  color: var(--bfo-text-light);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.bfo-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--bfo-font) !important;
  font-size: 14px;
  font-weight: 600;
  background: var(--bfo-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--bfo-radius-sm);
  cursor: pointer;
  transition: background var(--bfo-transition), transform var(--bfo-transition);
  text-decoration: none;
  width: fit-content;
}

.bfo-download-btn:hover {
  background: var(--bfo-primary-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

.bfo-shop-drawings-callout {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bfo-bg-light);
  border-left: 4px solid var(--bfo-primary);
  border-radius: var(--bfo-radius-sm);
  font-family: var(--bfo-font) !important;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bfo-text);
}

.bfo-shop-drawings-callout p {
  margin: 0;
}

/* ============================================
   Video CTA Button
   ============================================ */
.bfo-hero-video-link {
  text-align: center;
  margin-top: 20px;
}

.bfo-video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--bfo-font) !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--bfo-transition), border-color var(--bfo-transition), transform var(--bfo-transition), box-shadow var(--bfo-transition);
  letter-spacing: 0.3px;
}

.bfo-video-link .bfo-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  transition: background var(--bfo-transition), transform var(--bfo-transition);
}

.bfo-video-link .bfo-play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--bfo-primary);
  margin-left: 2px;
}

.bfo-video-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bfo-video-link:hover .bfo-play-icon {
  background: var(--bfo-primary);
  transform: scale(1.1);
}

.bfo-video-link:hover .bfo-play-icon::after {
  border-color: transparent transparent transparent #fff;
}

/* Dark variant for CTA strips on light backgrounds */
.bfo-video-link-dark {
  background: transparent;
  color: var(--bfo-text);
  border: 2px solid var(--bfo-primary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bfo-video-link-dark .bfo-play-icon {
  background: var(--bfo-primary);
}

.bfo-video-link-dark .bfo-play-icon::after {
  border-color: transparent transparent transparent #fff;
}

.bfo-video-link-dark:hover {
  background: var(--bfo-primary);
  color: #fff;
  border-color: var(--bfo-primary);
  box-shadow: 0 8px 24px rgba(246, 143, 40, 0.3);
}

.bfo-video-link-dark:hover .bfo-play-icon {
  background: #fff;
}

.bfo-video-link-dark:hover .bfo-play-icon::after {
  border-color: transparent transparent transparent var(--bfo-primary);
}

/* ============================================
   Inline CTA Strip
   ============================================ */
.bfo-cta-strip {
  padding: 40px 5%;
  background: var(--bfo-bg-alt);
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.bfo-cta-strip-inner {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
}

/* ============================================
   Shop Drawings — Dark Blueprint Display
   ============================================ */
.bfo-shop-drawings {
  padding: var(--bfo-section-padding);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #2a2d35;
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.bfo-section-title-light {
  color: #fff !important;
}

.bfo-section-subtitle-light {
  color: rgba(255, 255, 255, 0.7) !important;
}

.bfo-blueprint-display {
  position: relative;
  max-width: var(--bfo-max-width);
  margin: 0 auto;
  overflow: hidden;
}

.bfo-blueprint-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.bfo-blueprint-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Blueprint navigation arrows */
.bfo-blueprint-prev,
.bfo-blueprint-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2a2d35;
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bfo-transition), border-color var(--bfo-transition), box-shadow var(--bfo-transition);
  z-index: 2;
  font-family: var(--bfo-font) !important;
  padding: 0;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bfo-blueprint-prev { left: 0; }
.bfo-blueprint-next { right: 0; }

.bfo-blueprint-prev:hover,
.bfo-blueprint-next:hover {
  background: var(--bfo-primary);
  border-color: var(--bfo-primary);
  box-shadow: 0 4px 16px rgba(246, 143, 40, 0.4);
}

/* Blueprint dots */
.bfo-blueprint-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.bfo-blueprint-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--bfo-transition), transform var(--bfo-transition);
}

.bfo-blueprint-dot.active {
  background: var(--bfo-primary);
  transform: scale(1.2);
}

.bfo-blueprint-card {
  background: #fff;
  border-radius: var(--bfo-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: box-shadow var(--bfo-transition), transform var(--bfo-transition);
}

.bfo-blueprint-card:hover {
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.bfo-blueprint-card img {
  width: 100%;
  display: block;
}

.bfo-blueprint-label {
  display: block;
  padding: 12px 16px;
  font-family: var(--bfo-font) !important;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eee;
}


/* ============================================
   Google Reviews Carousel
   ============================================ */
.bfo-reviews {
  padding: var(--bfo-section-padding);
  background: var(--bfo-bg);
}

.bfo-reviews-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.bfo-reviews-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.bfo-review-slide {
  flex: 0 0 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.bfo-review-img {
  width: 100%;
  border-radius: var(--bfo-radius);
  box-shadow: var(--bfo-shadow);
  display: block;
}

.bfo-carousel-prev,
.bfo-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bfo-bg);
  border: 1px solid #e0e0e0;
  box-shadow: var(--bfo-shadow);
  font-size: 28px;
  color: var(--bfo-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bfo-transition), box-shadow var(--bfo-transition), color var(--bfo-transition);
  z-index: 2;
  font-family: var(--bfo-font) !important;
  padding: 0;
  line-height: 1;
}

.bfo-carousel-prev { left: 8px; }
.bfo-carousel-next { right: 8px; }

.bfo-carousel-prev:hover,
.bfo-carousel-next:hover {
  background: var(--bfo-primary);
  color: #fff;
  box-shadow: var(--bfo-shadow-hover);
}

.bfo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.bfo-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--bfo-transition), transform var(--bfo-transition);
}

.bfo-carousel-dot.active {
  background: var(--bfo-primary);
  transform: scale(1.2);
}

/* ============================================
   Responsive - Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  .bfo-landing {
    --bfo-section-padding: 56px 5%;
  }

  .bfo-hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .bfo-hero {
    padding: 40px 5%;
  }

  .bfo-hero-content {
    max-width: 100%;
  }

  .bfo-hero-title {
    font-size: 36px;
  }

  .bfo-hero-subtitle {
    font-size: 17px;
  }

  .bfo-hero-image {
    max-height: 350px;
  }

  .bfo-section-title {
    font-size: 32px;
  }

  .bfo-section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .bfo-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .bfo-products-grid {
    grid-template-columns: 1fr;
  }

  /* Collapsible profile cards on mobile */
  .bfo-product-card {
    cursor: pointer;
  }

  .bfo-product-image {
    height: 120px;
  }

  .bfo-product-content {
    padding: 16px;
  }

  .bfo-product-content .bfo-product-name {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .bfo-product-specs,
  .bfo-product-desc {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.4s ease, padding 0.3s ease, margin-bottom 0.3s ease;
    margin-bottom: 0;
  }

  .bfo-product-card.bfo-product-expanded .bfo-product-image {
    height: 180px;
  }

  .bfo-product-card.bfo-product-expanded .bfo-product-content {
    padding: 20px 16px;
  }

  .bfo-product-card.bfo-product-expanded .bfo-product-specs {
    max-height: 230px;
    padding: 16px;
    margin-bottom: 16px;
  }

  .bfo-product-card.bfo-product-expanded .bfo-product-desc {
    max-height: 200px;
  }

  .bfo-product-expand-hint {
    display: inline;
    font-size: 12px;
    color: var(--bfo-primary);
    font-weight: 500;
    margin-left: 8px;
  }

  /* FAQ overflow fix */
  .bfo-faq-question {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px;
    font-size: 15px;
    gap: 12px;
  }

  .bfo-faq-question > span:first-child {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .bfo-faq-answer .bfo-faq-text {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  .bfo-info-image {
    min-height: auto;
  }

  .bfo-info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bfo-info-grid.bfo-reverse {
    direction: ltr;
  }

  .bfo-tech-grid {
    grid-template-columns: 1fr;
  }

  .bfo-gallery-main {
    height: 300px;
  }

  .bfo-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .bfo-colour-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bfo-colour-modal-content {
    padding: 20px;
    max-height: 85vh;
  }

  .bfo-colour-modal-title {
    padding-right: 44px;
  }

  .bfo-colour-modal-image-wrap {
    max-height: 65vh;
  }

  .bfo-colour-modal-image-wrap img {
    max-height: 65vh;
    object-fit: contain;
  }

  .bfo-cta .bfo-cta-title {
    font-size: 30px;
  }

  .bfo-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .bfo-btn-primary,
  .bfo-btn-secondary,
  .bfo-btn-white {
    width: 100%;
    max-width: 320px;
  }

  .bfo-downloads-grid {
    grid-template-columns: 1fr;
  }

  .bfo-content-with-video {
    grid-template-columns: 1fr;
  }

  .bfo-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .bfo-spec-table {
    display: block;
    overflow-x: auto;
  }

  .bfo-video-link {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .bfo-cta-strip-inner {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .bfo-blueprint-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
  }

  .bfo-blueprint-prev,
  .bfo-blueprint-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .bfo-carousel-prev,
  .bfo-carousel-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* ============================================
   Responsive - Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  .bfo-landing {
    --bfo-section-padding: 32px 4%;
  }

  .bfo-hero-title {
    font-size: 28px;
  }

  .bfo-hero-fullwidth {
    min-height: 400px;
  }

  .bfo-section-title {
    font-size: 26px;
  }

  .bfo-section-subtitle {
    font-size: 14px;
  }

  .bfo-hero-features {
    flex-direction: column;
    gap: 12px;
  }

  /* Benefits — compact 2×3 grid */
  .bfo-benefit-card {
    padding: 20px 16px;
  }

  .bfo-benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .bfo-benefit-card .bfo-card-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .bfo-benefit-card .bfo-card-text {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Profile cards */
  .bfo-product-specs {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .bfo-gallery-main {
    height: 250px;
  }

  .bfo-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .bfo-thumb-wrap {
    min-height: 44px;
  }

  .bfo-customer-badge {
    font-size: 11px;
    padding: 4px 10px 4px 24px;
    bottom: 8px;
    left: 8px;
  }

  .bfo-customer-badge::before {
    width: 12px;
    height: 12px;
    left: 8px;
  }

  /* Colour grid */
  .bfo-colour-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Colour modal */
  .bfo-colour-modal-content {
    padding: 16px;
    width: 95%;
    max-height: 85vh;
  }

  .bfo-colour-modal-title {
    font-size: 16px;
    margin-bottom: 12px;
    padding-right: 40px;
  }

  .bfo-colour-modal-image-wrap {
    max-height: 60vh;
  }

  .bfo-colour-modal-image-wrap img {
    max-height: 60vh;
    object-fit: contain;
  }

  .bfo-colour-modal-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }

  /* Form */
  .bfo-form-embed {
    padding: 24px 16px;
  }

  /* Buttons */
  .bfo-btn-primary,
  .bfo-btn-secondary,
  .bfo-btn-white {
    padding: 14px 24px;
    max-width: none;
  }

  /* Tech cards */
  .bfo-tech-card {
    padding: 24px;
  }

  /* Compliance banner */
  .bfo-compliance-banner-inner {
    gap: 16px;
  }

  /* Blueprint carousel — 1 card per swipe on mobile (JS sets card widths in px) */
  .bfo-blueprint-page {
    display: contents;
  }

  .bfo-blueprint-prev,
  .bfo-blueprint-next {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  /* Review carousel */
  .bfo-review-slide {
    padding: 0 8px;
  }

  .bfo-carousel-prev { left: 4px; }
  .bfo-carousel-next { right: 4px; }

  .bfo-carousel-prev,
  .bfo-carousel-next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* ============================================
   Mobile Sticky CTA Bar
   ============================================ */
.bfo-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .bfo-mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .bfo-mobile-cta.bfo-mobile-cta-visible {
    transform: translateY(0);
  }

  .bfo-mobile-cta .bfo-btn-primary {
    display: block;
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
  }

  /* Prevent content from being hidden behind the sticky bar */
  .bfo-landing {
    padding-bottom: 72px;
  }
}

/* ============================================
   Scroll Animations (applied via JS)
   ============================================ */
.bfo-animate-in {
  opacity: 0;
  transform: translateY(24px);
}

.bfo-animate-in.bfo-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
