/* =========================================================
   Landing Page — Bolton Lake Dental
   Spa-soft pastel-wash overlay (overrides kit.css defaults).
   ========================================================= */

/* ----- GLOBAL TYPE FLOURISHES ----- */
/* Italic display flourish for headline accent words */
.lp-italic {
  font-style: italic;
  font-weight: 380;
  letter-spacing: -0.02em;
}

/* ----- MARQUEE override — cream, not black ----- */
.bld-marquee {
  background: var(--block-cream);
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.bld-marquee-dot {
  background: var(--ink) !important;
  opacity: 0.35;
}

/* ----- NAV softer bottom border ----- */
.bld-nav {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ----- Soft body wash on the whole page (so sections breathe) ----- */
body { background: #fbf7f3; }

/* ----- BRAND MARK in nav ----- */
.bld-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bld-logo-mark {
  width: auto;
  height: 36px;
  display: block;
  flex: none;
}

/* ----- HERO — FULL-BLEED CAROUSEL ----- */
.lp-hero-full {
  position: relative;
  width: 100%;
  background: var(--block-blush);
}
.lp-hero-full-carousel {
  position: relative;
  width: 100%;
  height: clamp(560px, 78vh, 820px);
  overflow: hidden;
}
.lp-hero-full-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.lp-hero-full-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.lp-hero-full-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.lp-hero-full-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  /* Subtle Ken Burns on the active slide */
  transform: scale(1.06);
  transition: transform 8000ms ease-out;
}
.lp-hero-full-slide.is-active .lp-hero-full-bg img {
  transform: scale(1.0);
}
.lp-hero-full-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.20) 50%, rgba(0,0,0,0.0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.25) 100%);
}
.lp-hero-full-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xxl);
  display: flex;
  align-items: center;
}
.lp-hero-full-copy {
  max-width: 680px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* Slide-in animation when its slide becomes active */
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1) 200ms,
              opacity 700ms ease-out 200ms;
}
.lp-hero-full-slide.is-active .lp-hero-full-copy {
  transform: translateY(0);
  opacity: 1;
}
.lp-hero-full-eye {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xs);
}
.lp-hero-full-h {
  font-family: var(--font-sans);
  font-size: clamp(48px, 6.0vw, 80px);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -1.2px;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.lp-hero-full-h em {
  font-style: italic;
  font-weight: 360;
  letter-spacing: -0.02em;
}
.lp-hero-full-sub {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 330;
  line-height: 1.45;
  letter-spacing: -0.14px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 540px;
}
.lp-hero-full-cta {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}
.lp-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 9px 18px;
}
.lp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Dots */
.lp-hero-full-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.32);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.lp-hero-full-dots button {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease;
}
.lp-hero-full-dots button.is-active {
  background: #fff;
  width: 44px;
}

/* Arrows */
.lp-hero-full-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background 180ms ease, border-color 180ms ease;
  backdrop-filter: blur(4px);
}
.lp-hero-full-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: #fff;
}
.lp-hero-full-arrow--prev { left: max(20px, calc((100vw - 1280px) / 2 + 16px)); }
.lp-hero-full-arrow--next { right: max(20px, calc((100vw - 1280px) / 2 + 16px)); }

/* Hide the old in-column hero carousel */
.bld-hero { display: none; }

/* ----- HERO CAROUSEL (legacy in-column — kept for reference but hidden) ----- */
.lp-hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.lp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.lp-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.lp-hero-slide image-slot,
.lp-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.lp-hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease;
}
.lp-hero-dots button.is-active {
  background: #fff;
}

/* ----- INFO STRIP (Call / Hours / Location) ----- */
.lp-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xxl);
}
.lp-info-card {
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 220px;
}
.lp-info-card .lp-info-eye {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: .75;
}
.lp-info-card h3 {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 540;
  letter-spacing: -0.6px;
  line-height: 1.05;
  margin: 0;
}
.lp-info-card p { margin: 0; }
.lp-info-card .lp-info-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.lp-info-card .lp-info-hours-row strong { font-weight: 600; }
.lp-info-card .lp-info-hours-row span { font-weight: 400; opacity: .8; }
.lp-info-card .lp-info-foot {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.3px;
}
.lp-info-card a { color: inherit; text-decoration: none; }
.lp-info-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ----- PERSONAL TOUCH ----- */
.lp-personal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xxl);
  align-items: stretch;
}
.lp-personal-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-soft);
}
.lp-personal-panel {
  padding: var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.lp-feature-row {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--hairline-soft);
}
.lp-feature-row:first-of-type { border-top: none; padding-top: 0; }
.lp-feature-row .lp-tick {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lp-feature-row .lp-tick svg {
  stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  width: 14px; height: 14px;
}
.lp-feature-row h4 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 540;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}
.lp-feature-row p { margin: 0; font-size: 16px; }

/* ----- PAINLESS BLOCK — soft blush section, light editorial ----- */
.lp-painless {
  position: relative;
  margin: var(--space-section) auto;
  max-width: calc(1280px - 2 * var(--space-xxl));
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: stretch;
  background: var(--block-blush);
}
.lp-painless-bg {
  position: absolute; inset: 0;
  background: transparent;
  opacity: .35;
  mix-blend-mode: multiply;
}
.lp-painless-bg image-slot,
.lp-painless-bg img { opacity: .8; }
.lp-painless-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--block-blush);
  opacity: .45;
  pointer-events: none;
}
.lp-painless-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  padding: var(--space-section) var(--space-xxl);
  gap: var(--space-xxl);
  align-items: end;
}
.lp-painless-inner .t-eyebrow { color: rgba(0, 0, 0, .6); }
.lp-painless h2 {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -1.0px;
  margin: 0;
  text-wrap: balance;
}
.lp-painless h2 em {
  font-style: italic;
  font-weight: 360;
  color: var(--accent-coral);
}
.lp-painless .lp-painless-body {
  color: rgba(0, 0, 0, .72);
  font-size: 18px;
  font-weight: 320;
  line-height: 1.55;
  max-width: 420px;
}
.lp-painless .lp-painless-side {
  display: flex; flex-direction: column; gap: var(--space-lg);
}
.lp-painless .lp-painless-side .btn-magenta {
  align-self: flex-start;
}

/* ----- TEAM SECTION ----- */
.lp-team-hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-soft);
  margin-bottom: var(--space-xxl);
}
.lp-team-hero image-slot { display: block; width: 100%; height: 100%; }

.lp-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.lp-team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.lp-team-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-soft);
}
.lp-team-photo image-slot { display: block; width: 100%; height: 100%; }
.lp-team-meta { display: flex; flex-direction: column; gap: 4px; padding-top: var(--space-xs); }
.lp-team-meta .lp-team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: .65;
}
.lp-team-meta h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 540;
  letter-spacing: -0.3px;
  margin: 0;
}
.lp-team-meta .lp-team-cred {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  padding: 2px 8px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  margin-top: 6px;
  align-self: flex-start;
}
.lp-team-meta p { margin: 6px 0 0; font-size: 15px; }

/* Role color dot, like a sticky tag */
.lp-team-role::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  background: var(--ink);
}
.lp-team-card[data-role="dentist"]    .lp-team-role::before { background: var(--block-lilac); }
.lp-team-card[data-role="hygienist"]  .lp-team-role::before { background: var(--block-mint); }
.lp-team-card[data-role="assistant"]  .lp-team-role::before { background: var(--block-coral); }
.lp-team-card[data-role="admin"]      .lp-team-role::before { background: var(--block-cream); }

/* CTA block that replaces the per-person team grid on phones only. */
.lp-team-cta { display: none; }   /* hidden on desktop + tablet */
.lp-team-cta-text { display: flex; flex-direction: column; gap: 12px; }
.lp-team-cta-quote {
  font-family: var(--font-sans);
  font-size: clamp(22px, 5.4vw, 28px);
  font-weight: 540;
  letter-spacing: -0.4px;
  line-height: 1.18;
  margin: 0;
  text-wrap: balance;
}
.lp-team-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.lp-team-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper, #fff);
  font-size: 16px;
}

@media (max-width: 560px) {
  /* Hide the per-person grid; show the condensed CTA card. */
  #team .lp-team-grid { display: none; }
  #team .lp-team-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: var(--block-coral);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    color: inherit;
    text-decoration: none;
  }
}

/* ----- CARE IN ACTION GALLERY ----- */
.lp-gallery-rail {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--space-xxl) var(--space-lg);
  margin: 0 calc(-1 * var(--space-xxl));
  scrollbar-width: thin;
}
.lp-gallery-rail::-webkit-scrollbar { height: 8px; }
.lp-gallery-rail::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 4px; }
.lp-gallery-item {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.lp-gallery-item-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-soft);
}
.lp-gallery-item-img image-slot { display: block; width: 100%; height: 100%; }
.lp-gallery-item-cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: .7;
}

/* ----- REVIEWS ----- */
.lp-reviews-wrap { position: relative; }
.lp-reviews-track-clip {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.lp-reviews-track {
  display: flex;
  transition: transform 480ms cubic-bezier(.22, 1, .36, 1);
}
.lp-review-slide {
  flex: 0 0 100%;
  padding: var(--space-xxl);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 320px;
}
.lp-review-quote {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 340;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0;
  text-wrap: pretty;
  max-width: 920px;
}
.lp-review-stars {
  font-family: var(--font-mono);
  letter-spacing: 4px;
  color: var(--ink);
  font-size: 14px;
}
.lp-review-author {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-top: auto;
}
.lp-review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--block-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 540;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.lp-review-name {
  font-family: var(--font-sans);
  font-weight: 540;
  font-size: 16px;
  letter-spacing: -0.14px;
}
.lp-review-source {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: .6;
}
.lp-reviews-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-lg);
}
.lp-reviews-dots {
  display: flex; gap: 6px;
}
.lp-reviews-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--hairline);
  padding: 0;
  cursor: pointer;
}
.lp-reviews-dots button.is-active { background: var(--ink); }
.lp-reviews-nav-buttons { display: flex; gap: var(--space-xs); }

/* ----- INSURANCE BLOCK ----- */
.lp-insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.lp-insurance-tile {
  background: rgba(255,255,255,.5);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.lp-insurance-tile .lp-ins-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: .65;
}
.lp-insurance-tile h4 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 540;
  letter-spacing: -0.3px;
  margin: 0;
}
.lp-insurance-tile p { margin: 0; font-size: 15px; }

/* ----- MAP ----- */
.lp-map {
  width: 100%;
  height: 460px;
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.lp-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ----- BIG WORDMARK (Pre-footer feature) ----- */
.lp-bigmark {
  max-width: 1280px; margin: 0 auto; padding: var(--space-section) var(--space-xxl) var(--space-xxl);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-xxl); align-items: end;
}
.lp-bigmark .lp-bigmark-text {
  font-family: var(--font-sans);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 340;
  letter-spacing: -3px;
  line-height: 0.88;
  margin: 0;
  text-wrap: balance;
}
.lp-bigmark-aside {
  display: flex; flex-direction: column; gap: var(--space-md);
  padding-bottom: var(--space-lg);
}
.lp-bigmark-aside p { margin: 0; font-size: 18px; }

/* ----- FOOTER AFFILIATIONS / EXTRAS ----- */
.lp-footer-affil {
  max-width: 1280px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.lp-footer-affil .lp-affil-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: .55;
}
.lp-footer-affil .lp-affil-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.lp-affil-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--ink);
}

/* ----- LITTLE BITS ----- */
.lp-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 480;
  font-size: 16px;
  letter-spacing: -0.1px;
  color: var(--ink);
  text-decoration: none;
  margin-top: auto;
}
.lp-arrow-link:hover { gap: 10px; }
.lp-arrow-link::after {
  content: "→";
  display: inline-block;
  transition: transform .12s ease;
}

/* "Also: ..." catalog under the 5 service cards */
.lp-also a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.lp-also a:hover {
  color: var(--accent-coral, rgb(217, 122, 95));
  text-decoration-color: currentColor;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 980px) {
  .lp-info-strip { grid-template-columns: 1fr; padding: 0 var(--space-lg); }
  .lp-personal { grid-template-columns: 1fr; padding: 0 var(--space-lg); }
  .lp-personal-panel { padding: var(--space-xl) 0; }
  .lp-painless-inner { grid-template-columns: 1fr; padding: var(--space-xl); }
  .lp-painless h2 { font-size: 44px; letter-spacing: -0.6px; }
  .lp-team-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-review-quote { font-size: 22px; letter-spacing: -0.2px; }
  .lp-review-slide { padding: var(--space-xl); }
  .lp-insurance-grid { grid-template-columns: 1fr 1fr; }
  .lp-bigmark { grid-template-columns: 1fr; padding: var(--space-xxl) var(--space-lg); }
}
@media (max-width: 560px) {
  .lp-insurance-grid { grid-template-columns: 1fr; }
  .lp-team-grid { grid-template-columns: 1fr; }
  .lp-bigmark .lp-bigmark-text { font-size: clamp(56px, 16vw, 96px) !important; }
}

/* ----- SERVICES GRID — 5-card variant on index ----- */
.bld-services.lp-services-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1200px) {
  .bld-services.lp-services-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .bld-services.lp-services-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .bld-services.lp-services-5 { grid-template-columns: 1fr; }
}

/* ----- STICKY REVIEW RAIL (right edge, all pages) ----- */
.bld-review-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 95;
  pointer-events: none;
}
.bld-review-tab {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px 0 14px;
  border-radius: 24px 0 0 24px;
  background: #fff;
  color: #1a1a1a;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 540;
  letter-spacing: -0.1px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.06);
  transform: translateX(calc(100% - 44px));
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
  overflow: hidden;
}
.bld-review-tab:hover,
.bld-review-tab:focus-visible {
  transform: translateX(0);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.08);
}
.bld-review-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.bld-review-tab-label {
  font-size: 14px;
  line-height: 1;
}
.bld-review-tab--facebook {
  background: #1877F2;
  color: #fff;
}

@media (max-width: 600px) {
  .bld-review-rail { gap: 6px; }
  .bld-review-tab {
    height: 40px;
    padding: 0 10px 0 12px;
    font-size: 13px;
    transform: translateX(calc(100% - 40px));
  }
}

/* ----- HAMBURGER + MOBILE NAV ----- */
.bld-nav-toggle { display: none; }

@media (max-width: 980px) {
  /* keep phone CTA visible, hide the "Make an appointment" button on mobile */
  .bld-nav-cta .btn-primary { display: none; }

  .bld-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--ink, #1a1a1a);
    position: relative;
    z-index: 110;
  }
  .bld-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 2px auto;
    transition: transform .22s ease, opacity .15s ease;
  }
  .bld-nav.is-mobile-open .bld-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .bld-nav.is-mobile-open .bld-nav-toggle span:nth-child(2) { opacity: 0; }
  .bld-nav.is-mobile-open .bld-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .bld-nav .bld-nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: #f6f4ef;
    padding: 88px 24px 40px;
    z-index: 100;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
    margin: 0;
  }
  .bld-nav.is-mobile-open .bld-nav-links { transform: translateX(0); }

  .bld-nav-links .bld-nav-link {
    font-size: 20px !important;
    font-weight: 500 !important;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    width: 100%;
  }
  .bld-nav-links .bld-nav-item .bld-nav-link {
    border-bottom: none;
    padding-bottom: 4px;
  }

  /* Inline-expanded mega-menu on mobile */
  .bld-nav-item .bld-megamenu {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 4px 0 16px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    width: auto !important;
    pointer-events: auto !important;
    grid-template-columns: 1fr !important;
  }
  .bld-mm-col { padding: 6px 0; }
  .bld-mm-col-head {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: .55;
    margin: 10px 0 2px;
  }
  .bld-mm-link { padding: 8px 0 !important; display: block; }
  .bld-mm-link-h { font-size: 15px; }
  .bld-mm-link-sub { display: none !important; }
}
