/* Bathroom renovations page only (v1, 4 Oct 2026). Loaded only by bathroom-renovations/index.html.
   styles.css, service.css and every other page stylesheet are untouched. Everything here is scoped to .br-* classes
   or to body[data-jb-service="bathrooms"]. Built on the shared design tokens (--red, --ink, --muted, --bg, --line). */
.br-hero .hero-media img { object-position: center 55%; }
.br-nowrap { white-space: nowrap; }

/* Quote form column fix (same rule the other service pages carry page-scoped) */
[data-jb-service="bathrooms"] #quote .quote-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { [data-jb-service="bathrooms"] #quote .quote-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); } }
[data-jb-service="bathrooms"] #quote .quote-layout > *,
[data-jb-service="bathrooms"] #quote .form-grid,
[data-jb-service="bathrooms"] #quote .form-grid > * { min-width: 0; }
[data-jb-service="bathrooms"] #quote input,
[data-jb-service="bathrooms"] #quote select,
[data-jb-service="bathrooms"] #quote textarea { min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; }

/* Balanced headings so no orphan words at 360-390px */
[data-jb-service="bathrooms"] #hero-title,
[data-jb-service="bathrooms"] main h2,
[data-jb-service="bathrooms"] main h3,
[data-jb-service="bathrooms"] .faq summary { text-wrap: balance; }

/* Mobile hero spacing (same values as the approved service pages) */
@media (max-width: 899px) {
  .br-hero .hero-content { padding-top: 0.75rem; padding-bottom: 2rem; }
  .br-hero .breadcrumb { margin-bottom: 0.1rem; }
  .br-hero .hero-lead { margin-bottom: 1.15rem; }
}

/* Fit only / supply and fit */
.br-options { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); max-width: 60rem; }
@media (min-width: 700px) { .br-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.br-option { background: var(--bg); border-top: 4px solid var(--ink); padding: 1.25rem 1.25rem 1.4rem; min-width: 0; }
.br-option-red { border-top-color: var(--red); }
.br-option-num { display: block; font-size: 0.8rem; font-weight: 700; color: var(--red); letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.br-option h3 { margin: 0 0 0.5rem; font-size: 1.3rem; line-height: 1.25; }
.br-option p { margin: 0; color: var(--muted); line-height: 1.6; }

/* What a bathroom renovation involves: numbered stages */
.br-stages { list-style: none; margin: 0; padding: 0; counter-reset: brstage; display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .br-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; } }
@media (min-width: 1000px) { .br-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 1.5rem; } }
@media (min-width: 1100px) { .br-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.br-stage { counter-increment: brstage; position: relative; background: var(--white); padding: 1.05rem 1.1rem 1.15rem 3.6rem; min-width: 0; border-radius: 4px; }
.br-stage::before { content: counter(brstage); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem; display: grid; place-items: center; }
.br-stage h3 { margin: 0 0 0.35rem; font-size: 1.1rem; line-height: 1.3; }
.br-stage p { margin: 0; color: var(--muted); line-height: 1.55; }

/* Case studies */
.br-case .section-head { max-width: 46rem; }
.br-case .section-head h2 { font-size: clamp(1.8rem, 4.6vw, 2.4rem); }
.br-fig { margin: 0; min-width: 0; }
.br-fig picture { display: block; }
.br-fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; background: #ddd; }
.br-fig figcaption, .br-cap { font-size: 0.9rem; color: var(--muted); padding-top: 0.55rem; line-height: 1.4; margin: 0; }
@media (max-width: 639px) { .br-fig figcaption, .br-cap { font-size: 0.86rem; } }
/* Case captions: plan wording verbatim; a rule above each, red on the finished frames; "Before:" etc. as a small bold lead-in */
.br-case .br-fig figcaption, .br-case .br-cap { border-top: 3px solid var(--ink); margin-top: 0.55rem; padding-top: 0.45rem; }
.br-case .br-fig figcaption:has(.br-tag-red), .br-case .br-cap:has(.br-stage-red) { border-top-color: var(--red); }
.br-tag, .br-stage-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.br-tag-red, .br-stage-red { color: var(--red); }

/* Before / finished pair: a 4:5 before beside a landscape finished frame, equal heights */
.br-ba { display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.651fr); max-width: 60rem; align-items: start; }
@media (min-width: 760px) { .br-ba { gap: 1.5rem; } }
.br-fig-land img { aspect-ratio: 1100 / 666; }
.br-steps-title { margin: 2.5rem 0 1rem; font-size: clamp(1.25rem, 3.4vw, 1.5rem); line-height: 1.2; }

/* Stage strips: 2 columns on phones, 3 on desktop */
.br-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .br-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.25rem; max-width: 60rem; } }
/* J12: before, during, then the ready-for-decorating frame full width on phones; three across from 640px */
.br-steps-j12 .br-fig:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .br-steps-j12 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .br-steps-j12 .br-fig:last-child { grid-column: auto; } }
.br-note { margin: 1.75rem 0 0; color: var(--muted); max-width: 46rem; line-height: 1.6; }
.br-case .bda-cta { margin-top: 1.5rem; }
.br-textlink { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.br-textlink-inline { display: inline; min-height: 0; }

/* Plumbing and drainage: one photo beside the text */
.br-drain { display: grid; gap: 1.75rem; }
.br-drain-body { order: -1; min-width: 0; }
.br-drain-body .section-head { margin-bottom: 0; }
.br-drain-body .section-head p + p { margin-top: 0.9rem; }
.br-drain-fig { max-width: 26rem; }
@media (min-width: 900px) {
  .br-drain { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; }
  .br-drain-body { order: 0; }
  .br-drain-fig { max-width: none; }
}

/* More bathrooms: a 4:5 frame beside a 4:3 frame, equal heights */
.br-more { display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.333fr); max-width: 60rem; align-items: start; }
@media (min-width: 760px) { .br-more { gap: 1.5rem; } }
.br-fig-43 img { aspect-ratio: 4 / 3; }

/* Disruption */
.br-disrupt { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .br-disrupt { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; } }
.br-disrupt .section-head { margin-bottom: 0; }
.br-points { list-style: none; margin: 0; padding: 0; }
.br-points li { padding: 0.9rem 1rem 0.95rem 1.1rem; border-left: 4px solid var(--red); background: var(--white); margin-bottom: 0.6rem; }
.br-points li:last-child { margin-bottom: 0; }
.br-points strong { display: block; font-size: 1.1rem; line-height: 1.25; color: var(--ink); }
.br-points span { display: block; color: var(--muted); font-size: 0.94rem; margin-top: 0.2rem; line-height: 1.5; }

/* Process: five steps on one row on wide screens */
@media (min-width: 1100px) { [data-jb-service="bathrooms"] #process .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2rem; } }

/* Four reviews: 2 x 2 from 900px (service.css gives 3 columns, which would leave one card on its own) */
@media (min-width: 900px) { [data-jb-service="bathrooms"] .svc-reviews .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; } }
