/* Shared partial for the 5 industry/service landing pages:
   painting.html, basement-development.html, garage-services.html,
   epoxy-floor-coating.html, legal-basement-suites.html.
   One shared file (not one per page) because all 5 pages follow the exact
   same section rhythm: hero -> sub-services -> process -> pricing -> gallery
   -> FAQ -> CTA. Hero reuses .fb-hero as-is (see for-builders.html) since it's
   a generic full-bleed media hero, not builder-specific CSS. FAQ/gallery/CTA
   band reuse existing global classes (.faq-row, .before-after, home CTA band)
   with no new rules needed here. Only the 3 genuinely new components live in
   this file: sub-services grid, process/trust photo strip, pricing block. */

/* ---- Editorial hero (for pages with thin photo coverage: legal-basement-suites)
   No forced photo - large type on the brand cream instead. Same copy structure
   as .fb-hero (eyebrow, h1, desc, ctas, trust line) so content markup stays
   consistent, just laid out centered on a plain background instead of over media. */
.industry-hero-editorial {
  padding: 140px 120px 96px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.industry-hero-editorial .overline { color: var(--brand-copper-text); }
.industry-hero-editorial h1 { font-family: var(--font-display); font-weight: 600; font-size: 50px; line-height: 58px; color: var(--text-primary); }
.industry-hero-editorial h1 em { font-style: italic; color: var(--brand-copper-text); }
.industry-hero-editorial .body-l { color: var(--text-secondary); max-width: 620px; }
.industry-hero-editorial__ctas { display: flex; align-items: center; gap: 20px; }

@media (max-width: 767px) {
  .industry-hero-editorial { padding: 100px 24px 56px; gap: 16px; }
  .industry-hero-editorial h1 { font-size: 32px; line-height: 40px; }
}

/* ---- Featured video + CTA (promo clips with real audience-facing text baked
   in, so they're treated as clickable content, not silent hero backgrounds) ---- */
.industry-featured-video { display: flex; gap: 48px; align-items: center; }
.industry-featured-video__player { flex: 0 0 280px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(41,31,20,0.08); background: var(--bg-dark); }
.industry-featured-video__player video { width: 100%; height: auto; display: block; aspect-ratio: 9 / 16; object-fit: cover; }
.industry-featured-video__copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.industry-featured-video__title { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 36px; color: var(--text-primary); }
.industry-featured-video__desc { color: var(--text-secondary); font-size: 16px; line-height: 24px; max-width: 480px; }

@media (max-width: 767px) {
  .industry-featured-video { flex-direction: column; align-items: flex-start; gap: 20px; }
  .industry-featured-video__player { flex-basis: auto; width: 220px; }
}

/* ---- Sub-services grid ("What we do in Calgary") ---- */
/* auto-fit so 2, 3 or 4 items all sit evenly - no forced 3-up padding.
   Children reuse the existing .card-service / .card-service__body markup
   from style.css as-is (photo + h3 + p), just in a flexible grid instead
   of the home page's fixed 3-across flex row. */
.industry-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

/* ---- Process / trust photo strip (prep, protection, execution, cleanup) ---- */
.industry-process__media { display: flex; gap: 20px; align-items: stretch; }
.industry-process__shot {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 240px;
  flex: 1 1 0;
  box-shadow: 0 12px 32px -8px rgba(41,31,20,0.1);
}
.industry-process__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.industry-process__captions { display: flex; gap: 20px; margin-top: 20px; }
.industry-process__caption { flex: 1 1 0; font-size: 13px; line-height: 18px; color: var(--text-secondary); text-align: center; }

/* ---- Pricing block ---- */
.industry-pricing {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 40px;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.industry-pricing__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--text-primary); }
.industry-pricing__note { color: var(--text-secondary); font-size: 15px; line-height: 22px; }
.industry-pricing__cta { margin-top: 8px; }

/* ---- Pricing tiers (draft dollar ranges) ----
   Two-column layout (pitch + CTA on the left, tier list on the right) so
   the block fills the same content width as every other section on the
   page instead of sitting as a narrower centered card. */
.industry-pricing--tiers {
  max-width: none;
  margin: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 64px;
  padding: 48px 56px;
}
.industry-pricing__intro {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.industry-pricing__intro .industry-pricing__title { font-size: 24px; }
.industry-pricing__intro .industry-pricing__note { font-size: 16px; line-height: 24px; }
.industry-pricing__intro .industry-pricing__cta { align-self: flex-start; margin-top: 4px; }
.industry-pricing__tiers-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.industry-pricing__tiers {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}
.industry-pricing__tier {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.industry-pricing__tier-name { font-weight: 600; font-size: 16px; color: var(--text-primary); }
.industry-pricing__tier-desc { font-size: 14px; line-height: 20px; color: var(--text-secondary); margin-top: 3px; }
.industry-pricing__tier-range { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--brand-copper-text); white-space: nowrap; flex-shrink: 0; }
.industry-pricing__disclaimer { font-size: 13px; line-height: 19px; color: var(--text-muted); font-style: italic; }

@media (max-width: 900px) {
  .industry-pricing--tiers { flex-direction: column; padding: 32px; gap: 28px; }
  .industry-pricing__intro { flex: none; }
}

@media (max-width: 767px) {
  .industry-pricing--tiers { padding: 24px; }
  .industry-pricing__tier { flex-direction: column; gap: 4px; padding: 14px 0; }
  .industry-pricing__tier-range { font-size: 17px; }
}

/* ---- FAQ answer text (question row reuses .faq-row from style.css) ---- */
.industry-faq__a { color: var(--text-secondary); font-size: 16px; line-height: 26px; padding: 0 4px 28px; max-width: 700px; border-bottom: 1px solid var(--border-subtle); }

/* ---- Alternating section background (instead of one-off inline styles) ---- */
.industry-section--tint { background: var(--bg-ground-alt); }

/* ---- Recent-work gallery: arrow-scroll carousel of .before-after pairs
   (converted from an auto-fit grid 2026-09-03 so it never wraps into a
   second row; reuses the projects.html case-study carousel pattern). ---- */
/* Lives inside the section's own .container, which already sets the
   1440px/120px width and centering — this wrapper just needs room for
   its arrow buttons to sit inside that same aligned edge. */
.industry-gallery-carousel { position: relative; width: 100%; }
.industry-gallery {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 60px 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.industry-gallery::-webkit-scrollbar { display: none; }
.industry-gallery .before-after { flex: 0 0 384px; scroll-snap-align: start; }
.industry-gallery__more { text-align: center; margin-top: 40px; }

.industry-gallery-arrow {
  position: absolute;
  top: 130px;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 20px rgba(41,31,20,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.industry-gallery-arrow:hover { background: var(--brand-copper-tint); }
.industry-gallery-arrow:disabled { opacity: 0.35; cursor: default; }
.industry-gallery-arrow:disabled:hover { background: var(--bg-surface); }
.industry-gallery-arrow--prev { left: 8px; }
.industry-gallery-arrow--next { right: 8px; }

@media (max-width: 767px) {
  .industry-services { grid-template-columns: 1fr; gap: 24px; }
  .industry-process__media,
  .industry-process__captions { flex-direction: column; gap: 12px; }
  .industry-process__shot { height: 200px; }
  .industry-pricing { padding: 24px; }
  .industry-gallery-arrow { display: none; }
  .industry-gallery { gap: 16px; padding: 0 4px 4px; }
  .industry-gallery .before-after { flex-basis: 82vw; max-width: 342px; }
}
