/* Bathroom Styles page — unique lookbook atlas (below-hero only) */
:root {
  --bs-navy: #17324D;
  --bs-navy-deep: #0F2235;
  --bs-coral: #D96832;
  --bs-sand: #EDE6DC;
  --bs-sand-soft: #F4EFE7;
  --bs-ink: #243040;
  --bs-muted: #5C6670;
  --bs-line: rgba(23, 50, 77, 0.12);
  --bs-white: #fff;
}

.bs-page {
  --reveal-y: 28px;
  background: var(--bs-sand-soft);
  color: var(--bs-ink);
}

.bs-page .bs-wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Reveal motion */
.bs-reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.bs-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── Intro + sticky index ── */
.bs-atlas {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 1rem;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(217, 104, 50, 0.08), transparent 55%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bs-sand-soft) 100%);
}

.bs-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bs-intro .section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.bs-intro h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--bs-navy);
}

.bs-intro-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bs-muted);
}

.bs-index {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.35rem 0 1.25rem;
  margin-bottom: 0.5rem;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--bs-line);
  position: sticky;
  top: 72px;
  z-index: 20;
  background: linear-gradient(180deg, rgba(244, 239, 231, 0.96), rgba(244, 239, 231, 0.92));
  backdrop-filter: blur(8px);
}

.bs-index a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  color: var(--bs-navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.bs-index a span {
  font-family: "Playfair Display", serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bs-coral);
  opacity: 0.85;
}

.bs-index a:hover,
.bs-index a.is-active {
  color: var(--bs-coral);
  border-bottom-color: var(--bs-coral);
  background: transparent;
}

/* ── Style chapters ── */
.bs-chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(2.75rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.bs-chapter {
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0;
  min-height: 520px;
  background: var(--bs-white);
  border: 1px solid var(--bs-line);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(23, 50, 77, 0.07);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.bs-chapter:hover {
  box-shadow: 0 28px 64px rgba(23, 50, 77, 0.11);
  transform: translateY(-2px);
}

.bs-chapter.is-flip {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.bs-chapter.is-flip .bs-media {
  order: 2;
}

.bs-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--bs-navy);
}

.bs-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.1s ease;
}

.bs-chapter:hover .bs-media img {
  transform: scale(1);
}

.bs-media-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(15, 34, 53, 0.82);
  color: var(--bs-white);
  backdrop-filter: blur(6px);
}

.bs-media-badge .num {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bs-coral);
  line-height: 1;
}

.bs-media-badge .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bs-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  background:
    linear-gradient(160deg, #fff 0%, #fbf8f3 100%);
}

.bs-body h3 {
  margin: 0 0 0.85rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.2;
  color: var(--bs-navy);
  letter-spacing: -0.02em;
}

.bs-rule {
  width: 48px;
  height: 3px;
  background: var(--bs-coral);
  margin-bottom: 1.1rem;
}

.bs-body > p {
  margin: 0 0 1.25rem;
  color: var(--bs-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.bs-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}

.bs-features li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bs-navy);
  line-height: 1.35;
}

.bs-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--bs-coral);
}

.bs-body .btn-primary {
  align-self: flex-start;
}

/* ── Why choose us ── */
.bs-why {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    linear-gradient(135deg, var(--bs-navy-deep) 0%, var(--bs-navy) 55%, #1d3d5c 100%);
  color: var(--bs-white);
  position: relative;
  overflow: hidden;
}

.bs-why::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(217, 104, 50, 0.22), transparent 65%);
  pointer-events: none;
}

.bs-why-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.bs-why-head .section-label {
  color: #f5a876 !important;
}

.bs-why-head h2 {
  margin: 0 0 0.85rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  color: var(--bs-white);
}

.bs-why-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.bs-why-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bs-why-item {
  padding: 1.75rem 1.5rem 0.5rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.bs-why-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.bs-why-item:not(:first-child) {
  padding-left: 1.5rem;
}

.bs-why-item .num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bs-coral);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.bs-why-item h3 {
  margin: 0 0 0.65rem;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--bs-white);
}

.bs-why-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── Service areas ── */
.bs-areas {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    linear-gradient(180deg, #f8f4ee 0%, var(--bs-sand) 100%);
}

.bs-areas-head {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.bs-areas-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  color: var(--bs-navy);
}

.bs-areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.bs-map-panel {
  background: var(--bs-white);
  border: 1px solid var(--bs-line);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 16px 40px rgba(23, 50, 77, 0.06);
}

.bs-map-panel-top {
  text-align: center;
  margin-bottom: 1rem;
}

.bs-map-panel-top .title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-navy);
}

.bs-map-frame {
  position: relative;
  width: 100%;
  padding-bottom: 118%;
}

.bs-map-frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(23, 50, 77, 0.12));
}

.bs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.bs-stat {
  text-align: center;
  padding: 0.85rem 0.4rem;
  background: var(--bs-sand-soft);
  border: 1px solid var(--bs-line);
}

.bs-stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--bs-navy);
  line-height: 1.1;
}

.bs-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: var(--bs-muted);
}

.bs-cities-copy .section-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.bs-cities-copy h3 {
  margin: 0 0 0.65rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--bs-navy);
}

.bs-cities-copy > p {
  margin: 0 0 1.25rem;
  color: var(--bs-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.bs-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.bs-city-list .location-tag {
  background: var(--bs-white);
  border: 1px solid var(--bs-line);
  color: var(--bs-navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bs-city-list .location-tag:hover {
  background: var(--bs-navy);
  border-color: var(--bs-navy);
  color: var(--bs-white);
}

.bs-city-list .location-tag:hover svg {
  color: #f5a876;
}

.bs-areas-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bs-coral);
  font-weight: 600;
  text-decoration: none;
}

.bs-areas-link:hover {
  text-decoration: underline;
}

.bs-note {
  margin-top: 1.35rem;
  padding: 1.1rem 1.2rem;
  background: var(--bs-white);
  border-left: 3px solid var(--bs-coral);
  border-top: 1px solid var(--bs-line);
  border-right: 1px solid var(--bs-line);
  border-bottom: 1px solid var(--bs-line);
}

.bs-note strong {
  display: block;
  color: var(--bs-navy);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.bs-note p {
  margin: 0;
  color: var(--bs-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.bs-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  color: var(--bs-coral);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.bs-note a:hover {
  text-decoration: underline;
}

/* ── CTA ── */
.bs-cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    linear-gradient(120deg, rgba(15, 34, 53, 0.88), rgba(23, 50, 77, 0.78)),
    url('/assets/images/bathroom-styles/ready-to-remodel-bathroom-orange-county.avif') center/cover no-repeat;
  color: var(--bs-white);
}

.bs-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.bs-cta-copy .section-label {
  color: #f5a876 !important;
}

.bs-cta-copy h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  color: var(--bs-white);
}

.bs-cta-copy > p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.bs-form-shell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: clamp(1.35rem, 3vw, 2rem);
  backdrop-filter: blur(10px);
}

.bs-form-shell h3 {
  margin: 0 0 1.25rem;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--bs-white);
}

.bs-form-shell .form-label,
.bs-form-shell label {
  color: rgba(255, 255, 255, 0.92) !important;
}

.bs-form-shell .est-req {
  color: #f5a876;
}

.bs-form-shell .est-consent,
.bs-form-shell .est-consent-dark {
  color: rgba(255, 255, 255, 0.75);
}

.bs-form-shell .est-consent a,
.bs-form-shell .est-consent-dark a {
  color: #fff;
  text-decoration: underline;
}

/* ── FAQ ── */
.bs-faq {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--bs-sand-soft);
}

.bs-faq-head {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.bs-faq-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  color: var(--bs-navy);
}

.bs-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.bs-faq-panel {
  background: var(--bs-white);
  border: 1px solid var(--bs-line);
  padding: 0.35rem 1.25rem;
}

.bs-faq-visual {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--bs-line);
  min-height: 420px;
}

.bs-faq-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.bs-faq-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 34, 53, 0.45));
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .bs-intro,
  .bs-chapter,
  .bs-chapter.is-flip,
  .bs-why-list,
  .bs-areas-grid,
  .bs-cta-grid,
  .bs-faq-grid {
    grid-template-columns: 1fr;
  }

  .bs-chapter.is-flip .bs-media {
    order: 0;
  }

  .bs-media {
    min-height: 280px;
    aspect-ratio: 16 / 11;
  }

  .bs-why-item,
  .bs-why-item:not(:first-child),
  .bs-why-item:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.35rem 0;
  }

  .bs-why-item:last-child {
    border-bottom: 0;
  }

  .bs-features {
    grid-template-columns: 1fr;
  }

  .bs-faq-visual {
    position: relative;
    top: 0;
    order: -1;
    min-height: 260px;
  }

  .bs-faq-visual img {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }

  .bs-index {
    top: 64px;
  }
}

@media (max-width: 640px) {
  .bs-stats {
    grid-template-columns: 1fr;
  }

  .bs-media-badge {
    left: 0.85rem;
    bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-reveal,
  .bs-media img,
  .bs-chapter {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
