/* Scoped to the public business profile; shared navigation remains unchanged. */
.business-profile {
  --profile-ink: #172c35;
  --profile-muted: #596a73;
  --profile-line: #dce3e7;
  --profile-accent: #136e63;
  --profile-link: #136e63;
  --profile-surface: #fff;
  color: var(--profile-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 1.6rem 0 3rem;
}
.business-profile a { text-underline-offset: .22em; }
.business-profile .profile-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.business-profile .profile-topline, .business-profile .profile-breadcrumb,
.business-profile .profile-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.business-profile .profile-topline { margin-bottom: 2.4rem; }
.business-profile .profile-breadcrumb { justify-content: flex-start; flex-wrap: wrap; gap: .7rem; color: var(--profile-muted); font-size: .82rem; }
.business-profile .profile-breadcrumb a, .business-profile .profile-manage { display: inline-flex; gap: .45rem; align-items: center; color: var(--profile-ink); text-decoration: none; }
.business-profile .profile-breadcrumb .profile-icon { width: 15px; height: 15px; }
.business-profile .profile-manage { font-size: .82rem; font-weight: 600; padding: .65rem .9rem; border: 1px solid var(--profile-line); background: var(--profile-surface); border-radius: 9px; white-space: nowrap; }
.business-profile .profile-manage:hover { border-color: var(--profile-accent); color: var(--profile-accent); }
.business-profile .profile-manage .profile-icon { width: 16px; height: 16px; }
.business-profile .profile-hero { display: flex; gap: 2.5rem; align-items: center; padding-bottom: 2.1rem; }
.business-profile .profile-heading { flex: 1; min-width: 0; }
.business-profile .profile-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--profile-muted); margin: 0 0 .9rem; }
.business-profile .profile-category { padding: .36rem .65rem; border-radius: 6px; background: #e6f2ee; color: #216051; letter-spacing: .025em; }
.business-profile h1 { color: var(--profile-ink); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.1; font-weight: 650; letter-spacing: -.045em; margin: 0 0 1.05rem; overflow-wrap: anywhere; }
.business-profile .profile-address { display: inline-flex; align-items: flex-start; gap: .45rem; color: var(--profile-muted); font-size: .96rem; line-height: 1.5; text-decoration: none; }
.business-profile .profile-address:hover { color: var(--profile-accent); }
.business-profile .profile-badges { display: flex; gap: .6rem 1.2rem; align-items: center; flex-wrap: wrap; margin-top: .95rem; }
.business-profile .profile-badge { display: inline-flex; gap: .4rem; align-items: center; font-size: .77rem; color: var(--profile-muted); text-decoration: none; }
.business-profile .profile-badge-verified { color: #246c56; }
.business-profile .profile-badge .profile-icon { width: 16px; height: 16px; }
.business-profile .profile-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.75rem; }
.business-profile .btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 10px; padding: .8rem 1.15rem; font-size: .88rem; line-height: 1.4; font-weight: 600; box-shadow: none; white-space: normal; text-decoration: none; }
.business-profile .btn-primary { background: var(--profile-accent); border-color: var(--profile-accent); color: #fff; }
.business-profile .btn-primary:hover { background: #0d564e; border-color: #0d564e; }
.business-profile .btn-outline-primary { background: var(--profile-surface); color: var(--profile-ink); border-color: #cdd7dc; }
.business-profile .btn-outline-primary:hover { background: #eef5f2; border-color: #9eb8ae; }
.business-profile .profile-text-action { display: inline-flex; align-items: center; gap: .35rem; color: var(--profile-ink); font-size: .83rem; font-weight: 600; text-decoration: none; }
.business-profile .profile-hero-actions .profile-text-action { padding: .65rem .5rem; }
.business-profile .profile-text-action:hover { color: var(--profile-accent); text-decoration: underline; }
.business-profile .profile-text-action .profile-icon { width: 17px; height: 17px; }
.business-profile .profile-logo { width: 60px; height: 60px; object-fit: contain; background: #fff; padding: .3rem; border: 1px solid var(--profile-line); border-radius: 12px; margin-bottom: 1rem; }
.business-profile .profile-hero-photo { position: relative; width: 36%; flex-shrink: 0; aspect-ratio: 4 / 3; margin: 0; border-radius: 16px; overflow: hidden; }
.business-profile .profile-hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.business-profile .profile-hero-photo .profile-credit { position: absolute; bottom: 0; margin: 0; width: 100%; padding: .55rem .8rem; background: #162a35d9; color: #fff; }
.business-profile .profile-hero-photo .profile-credit a { color: #fff; }
.business-profile .profile-sections { display: flex; gap: 2rem; border-bottom: 1px solid var(--profile-line); margin-bottom: 2rem; overflow-x: auto; }
.business-profile .profile-sections a { padding: 1rem 0; color: var(--profile-muted); text-decoration: none; font-size: .87rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.business-profile .profile-sections a:first-child { color: var(--profile-ink); border-color: var(--profile-ink); font-weight: 650; }
.business-profile .profile-sections a:hover { color: var(--profile-accent); border-color: var(--profile-accent); }
.business-profile .profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 326px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.business-profile .profile-main, .business-profile .profile-contact { min-width: 0; }
.business-profile .profile-main > .card { background: none; border: 0; border-bottom: 1px solid var(--profile-line); border-radius: 0; box-shadow: none; margin-bottom: 1.7rem !important; }
.business-profile .profile-main > .card > .card-body { padding: 0 0 1.7rem; }
.business-profile h2 { color: var(--profile-ink); font-size: 1.3rem; letter-spacing: -.025em; font-weight: 650; margin-bottom: .95rem; }
.business-profile .profile-main p { line-height: 1.7; font-size: .94rem; }
.business-profile .profile-main .profile-eyebrow { font-size: .65rem; margin-bottom: .55rem; letter-spacing: .1em; }
.business-profile .profile-summary { margin-bottom: .4rem; }
.business-profile .profile-section-heading { margin-bottom: .9rem; }
.business-profile .profile-section-heading h2 { margin: 0; }
.business-profile .profile-location-address { display: flex; align-items: center; gap: .5rem; color: var(--profile-muted); }
.business-profile .profile-map { position: relative; z-index: 0; width: 100%; height: 255px; background: #e9eff0; border-radius: 13px; overflow: hidden; margin: 1rem 0 .7rem; }
.business-profile .profile-map-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--profile-muted); font-size: .75rem; }
.business-profile .profile-map-link .profile-icon { width: 14px; height: 14px; }
.business-profile .profile-map-status { position: relative; z-index: 1000; padding: .75rem; font-size: .8rem; color: var(--profile-ink); background: var(--profile-surface); pointer-events: none; }
.business-profile .profile-contact { position: sticky; top: 6rem; }
.business-profile .profile-contact-card { padding: 1.6rem; border: 1px solid var(--profile-line); border-radius: 16px; background: var(--profile-surface); box-shadow: 0 8px 24px #172c3507; }
.business-profile .profile-contact h2 { font-size: 1.3rem; margin-bottom: .45rem; }
.business-profile .profile-contact-intro { font-size: .81rem; line-height: 1.55; color: var(--profile-muted); }
.business-profile .profile-actions { display: grid; gap: .6rem; margin: 1.25rem 0; }
.business-profile .profile-actions .btn { padding: .8rem .65rem; overflow-wrap: anywhere; }
.business-profile .profile-contact-section { border-top: 1px solid var(--profile-line); padding-top: 1.2rem; margin-top: 1.25rem; overflow-wrap: anywhere; }
.business-profile .profile-contact-section h3 { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; margin-bottom: .75rem; }
.business-profile .profile-contact-section h3 .profile-icon { width: 17px; height: 17px; color: var(--profile-muted); }
.business-profile .profile-contact-section p, .business-profile .profile-hours { font-size: .8rem; line-height: 1.65; color: var(--profile-muted); margin-bottom: .5rem; }
.business-profile .profile-hours { list-style: none; padding: 0; margin: 0; }
.business-profile .profile-hours li { padding: .25rem 0; }
.business-profile .profile-updated { color: var(--profile-muted); font-size: .67rem; margin: 1.1rem 0 0; }
.business-profile .profile-owner { padding: 1.3rem .15rem; margin-top: .4rem; }
.business-profile .profile-owner h2 { font-size: .93rem; margin-bottom: .4rem; }
.business-profile .profile-owner p { font-size: .8rem; color: var(--profile-muted); line-height: 1.6; margin-bottom: .6rem; }
.business-profile .profile-owner > a { color: var(--profile-link); font-size: .81rem; font-weight: 600; }
.business-profile .profile-main .badge { background: #e9eef1 !important; color: #344f5c !important; border: 0 !important; border-radius: 6px; padding: .5rem .7rem; font-size: .75rem; font-weight: 500; }
.business-profile .profile-review-empty { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0 .2rem; }
.business-profile .profile-review-empty > .profile-icon { width: 36px; height: 36px; color: #5a7a75; padding: .35rem; background: #e9f1ee; border-radius: 9px; }
.business-profile .profile-review-empty h3 { font-size: .98rem; font-weight: 600; margin-bottom: .35rem; }
.business-profile .profile-review-empty p { font-size: .85rem; color: var(--profile-muted); margin: 0; }
.business-profile .profile-review-score { display: inline-flex; gap: .3rem; align-items: center; font-weight: 600; font-size: .85rem; }
.business-profile .profile-main > .profile-disclosure { margin-bottom: 0 !important; }
.business-profile .profile-disclosure > summary { padding: 1.2rem 0; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--profile-ink); }
.business-profile .profile-main > .profile-disclosure > .card-body { padding: .25rem 0 1.5rem; }
.business-profile .profile-source { font-size: .72rem; white-space: pre-wrap; overflow-wrap: anywhere; background: #eef2f4; padding: 1rem; border-radius: 8px; }
.business-profile .profile-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.business-profile .profile-gallery figure { margin: 0; }
.business-profile .profile-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; }
.business-profile .profile-credit { font-size: .68rem; padding-top: .4rem; }
.business-profile .profile-footnotes { margin-top: 2.5rem; border-top: 1px solid var(--profile-line); padding-top: 1.5rem; color: var(--profile-muted); }
.business-profile .profile-safety .alert { border: 0; border-radius: 0; background: none; padding: 0; color: var(--profile-muted); margin-bottom: 1.25rem; }
.business-profile .profile-safety p { font-size: .75rem; }
.business-profile .profile-footnotes a { color: var(--profile-muted); font-size: .75rem; }
.business-profile [id] { scroll-margin-top: 6rem; }
.business-profile :focus-visible { outline: 3px solid #18786b; outline-offset: 4px; }
@media (max-width: 991px) {
  .business-profile .profile-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 2rem; }
  .business-profile .profile-contact-card { padding: 1.25rem; }
  .business-profile .profile-hero-photo { width: 31%; }
}
@media (max-width: 767px) {
  .business-profile { padding-top: 1rem; }
  .business-profile .profile-topline { flex-wrap: wrap; gap: .8rem; margin-bottom: 1.7rem; }
  .business-profile .profile-manage { font-size: .75rem; padding: .55rem .7rem; }
  .business-profile .profile-hero { flex-direction: column; align-items: stretch; gap: 1.5rem; padding-bottom: 1.4rem; }
  .business-profile h1 { font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1.12; }
  .business-profile .profile-address { font-size: .85rem; }
  .business-profile .profile-eyebrow { font-size: .67rem; }
  .business-profile .profile-hero-actions { gap: .6rem; margin-top: 1.25rem; }
  .business-profile .profile-hero-actions .btn { flex: 1 1 auto; padding: .85rem .65rem; font-size: .83rem; }
  .business-profile .profile-hero-actions .profile-text-action { padding-left: 0; font-size: .78rem; }
  .business-profile .profile-hero-photo { width: 100%; aspect-ratio: 16 / 10; }
  .business-profile .profile-sections { gap: 1.3rem; margin-bottom: 1.6rem; }
  .business-profile .profile-sections a { font-size: .78rem; padding: .8rem 0; }
  .business-profile .profile-layout { display: flex; flex-direction: column; gap: 1.6rem; }
  .business-profile .profile-main, .business-profile .profile-contact { width: 100%; }
  .business-profile .profile-contact { position: static; }
  .business-profile .profile-contact-card { padding: 1.25rem; }
  .business-profile .profile-actions { margin: 1rem 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-profile .profile-actions > :first-child { grid-column: 1 / -1; }
  .business-profile .profile-actions .btn { font-size: .8rem; padding: .75rem .5rem; }
  .business-profile .profile-owner { padding: 1.1rem 0 0; }
  .business-profile .profile-map { height: 225px; }
  .business-profile .profile-gallery img { height: 140px; }
  .business-profile h2 { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .business-profile *, .business-profile *::before, .business-profile *::after { scroll-behavior: auto !important; transition: none !important; }
}

html[data-mode="dark"] .business-profile { --profile-ink: #ebf1ff; --profile-muted: #b8c6de; --profile-line: #34445a; --profile-surface: #15223b; --profile-link: #b1dfd1; }
html[data-mode="dark"] .business-profile .btn-outline-primary:hover { background: #21344d; }
html[data-mode="dark"] .business-profile .profile-badge-verified { color: #b1dfd1; }
html[data-mode="dark"] .business-profile .profile-source { background: var(--profile-surface); }
html[data-mode="dark"] .business-profile .profile-manage:hover,
html[data-mode="dark"] .business-profile .profile-text-action:hover,
html[data-mode="dark"] .business-profile .profile-address:hover,
html[data-mode="dark"] .business-profile .profile-sections a:hover { color: var(--profile-link); }
