/* Business page as a lead-generation landing page.
   Loaded after the page's inline styles, so it only overrides presentation. Markup/IDs are unchanged. */

body.business-detail-page {
  --lp-radius: 16px;
  --lp-card-shadow: 0 6px 24px rgba(16, 24, 40, 0.08);
  --lp-border: rgba(16, 24, 40, 0.08);
  background: #f6f8fb;
}
body.business-detail-page .hero-landing { margin-top: -6px; }
body.business-detail-page .hero-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
body.business-detail-page .lp-no-reviews { display: none; }
body.business-detail-page .lp-about-toggle {
  background: none; border: 0; color: var(--primary-color); font-weight: 700; padding: .25rem 0; margin-top: .25rem;
}
body.business-detail-page .about-text.lp-clamped { max-height: 330px; overflow: hidden; position: relative; }
body.business-detail-page .about-text.lp-clamped::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

/* ---------- Section rhythm ---------- */
body.business-detail-page .section-modern { padding: 3.25rem 0; scroll-margin-top: 76px; }
body.business-detail-page .section-header { margin-bottom: 1.75rem !important; }
body.business-detail-page .section-header .section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35rem; }
body.business-detail-page .section-header .section-subtitle { font-size: 1rem; }
body.business-detail-page .section-modern.bg-light { background: #fff !important; }

/* ---------- Hero ---------- */
body.business-detail-page .hero-section {
  min-height: 0;
  padding: 5.5rem 0 4.5rem;
  align-items: flex-end;
}
body.business-detail-page .hero-overlay {
  background: linear-gradient(180deg, rgba(8, 15, 35, .55) 0%, rgba(8, 15, 35, .72) 55%, rgba(8, 15, 35, .88) 100%) !important;
}
body.business-detail-page .hero-content { position: relative; z-index: 2; width: 100%; }
body.business-detail-page .hero-inner {
  display: grid;
  grid-template-columns: 112px 1fr;
  column-gap: 1.5rem;
  align-items: center;
  text-align: left;
  max-width: 1040px;
  margin: 0 auto;
}
body.business-detail-page .hero-logo-container { grid-row: 1 / span 4; margin: 0; }
body.business-detail-page .hero-logo,
body.business-detail-page .hero-logo-placeholder {
  width: 112px; height: 112px; border-radius: 24px; border: 4px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); overflow: hidden; background: #fff;
}
body.business-detail-page .hero-logo img { width: 100%; height: 100%; object-fit: cover; }
body.business-detail-page .hero-logo-letter { font-size: 2.6rem; }
body.business-detail-page .hero-title {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.15; margin: 0 0 .5rem; text-align: left; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
}
body.business-detail-page .hero-meta { justify-content: flex-start; margin: 0 0 .65rem; gap: .5rem; }
body.business-detail-page .hero-tagline {
  margin: 0 0 1.1rem; color: rgba(255, 255, 255, .92); font-size: 1.08rem; line-height: 1.5; max-width: 640px;
}
body.business-detail-page .hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; margin: 0; }
body.business-detail-page .hero-cta .btn {
  border-radius: 999px; padding: .8rem 1.5rem; font-weight: 700; font-size: 1rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
body.business-detail-page .hero-cta .btn-quote {
  background: #ffb703; border-color: #ffb703; color: #1b1b1b; order: -1;
}
body.business-detail-page .hero-cta .btn-quote:hover { background: #ffc531; border-color: #ffc531; color: #000; }
body.business-detail-page .hero-scroll-indicator { display: none; }

/* engagement pills: small, top-right, out of the way of the headline */
body.business-detail-page .hero-top-strip { top: 16px; right: 16px; left: auto; }
body.business-detail-page .hero-content { padding: 0; }
body.business-detail-page .engagement-metrics { gap: .4rem; }
body.business-detail-page .engagement-btn { padding: .3rem .7rem; font-size: .85rem; }

/* ---------- Trust strip (overlaps hero bottom) ---------- */
body.business-detail-page .lp-trust { position: relative; z-index: 3; margin-top: 1.25rem; padding: 0 12px; }
body.business-detail-page .hero-landing + .lp-trust { margin-top: -2.4rem; }
body.business-detail-page .lp-trust-card {
  max-width: 1040px; margin: 0 auto; background: #fff; border-radius: var(--lp-radius);
  box-shadow: 0 12px 34px rgba(16, 24, 40, .14); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); overflow: hidden;
}
body.business-detail-page .lp-trust-item {
  padding: 1rem 1.1rem; display: flex; align-items: center; gap: .75rem; border-right: 1px solid var(--lp-border);
}
body.business-detail-page .lp-trust-item:last-child { border-right: 0; }
body.business-detail-page .lp-trust-item > i { font-size: 1.5rem; color: var(--primary-color); }
body.business-detail-page .lp-trust-item strong { display: block; font-size: 1.15rem; line-height: 1.15; color: #101828; }
body.business-detail-page .lp-trust-item span { font-size: .78rem; color: #667085; text-transform: uppercase; letter-spacing: .04em; }
body.business-detail-page .lp-trust-item.is-open > i { color: #12b76a; }
body.business-detail-page .lp-trust-item.is-closed > i { color: #f04438; }
body.business-detail-page .lp-trust-item .lp-stars { color: #f5b301; }

/* ---------- Unclaimed notice: slim ---------- */
body.business-detail-page .unclaimed-listing-banner { padding: .75rem 0 !important; }

/* ---------- About ---------- */
body.business-detail-page .about-section-modern { padding-top: 3rem; }
body.business-detail-page .about-section-modern .section-header { text-align: left !important; }
body.business-detail-page .about-section-modern .section-header > .d-flex { margin-bottom: 0 !important; }
body.business-detail-page .about-content-modern {
  background: #fff; border-radius: var(--lp-radius); padding: 1.75rem; box-shadow: var(--lp-card-shadow);
}
body.business-detail-page .about-text { font-size: 1.02rem; line-height: 1.75; color: #344054; }
body.business-detail-page .features-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
body.business-detail-page .feature-card-modern {
  background: #f6f8fb; border-radius: 12px; padding: 1rem; box-shadow: none; border: 1px solid var(--lp-border);
  display: flex; flex-direction: column; gap: .25rem;
}
body.business-detail-page .feature-icon-wrapper {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(0, 74, 173, .1); color: var(--primary-color);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 0 0 .4rem;
}
body.business-detail-page .feature-icon-wrapper i { color: var(--primary-color); }
body.business-detail-page .about-cta-modern { display: none; } /* the hero and sticky bar already carry the CTA */

/* ---------- Services: compact card grid ---------- */
body.business-detail-page .services-grid-unique {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 1140px; margin: 0 auto;
}
body.business-detail-page .service-card-unique { margin: 0 !important; width: auto !important; transform: none !important; }
body.business-detail-page .service-card-inner {
  display: flex !important; flex-direction: column !important; height: 100%; min-height: 0 !important;
  border-radius: var(--lp-radius); overflow: hidden; background: #fff; box-shadow: var(--lp-card-shadow); border: 1px solid var(--lp-border);
}
body.business-detail-page .service-image-wrapper {
  position: relative; width: 100% !important; height: 190px !important; min-height: 0 !important; flex: 0 0 auto; order: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}
body.business-detail-page .service-image-main { width: 100%; height: 100%; object-fit: cover; }
body.business-detail-page .service-image-overlay { display: none; }
body.business-detail-page .service-number { font-size: 1.1rem; top: 10px; left: 12px; opacity: .85; }
body.business-detail-page .service-icon-large { font-size: 2.6rem; opacity: .6; }
body.business-detail-page .service-content-wrapper {
  padding: 1.1rem 1.15rem 1.15rem !important; display: flex; flex-direction: column; gap: .5rem; flex: 1; width: 100% !important;
}
body.business-detail-page .service-icon-badge { display: none; }
body.business-detail-page .service-title-unique { font-size: 1.1rem; margin: 0; }
body.business-detail-page .service-description-unique { font-size: .93rem; color: #475467; flex: 1; }
body.business-detail-page .service-price-unique {
  display: flex; align-items: baseline; gap: .5rem; border: 0 !important; padding: 0 !important; margin: 0 !important;
}
body.business-detail-page .service-price-unique .price-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
body.business-detail-page .service-price-unique .price-label i { display: none; }
body.business-detail-page .service-price-unique .price-value { font-size: 1.3rem; color: var(--primary-color); }
body.business-detail-page .service-action-unique { border: 0 !important; padding: 0 !important; margin: .35rem 0 0 !important; }
body.business-detail-page .btn-book-service {
  width: 100%; border-radius: 12px; padding: .7rem 1rem; font-weight: 700; box-shadow: none; border: 0;
  background: var(--primary-color); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
body.business-detail-page .btn-book-service:hover { background: var(--primary-dark); color: #fff; }

/* ---------- Lead form (contact section) ---------- */
body.business-detail-page #contact-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
}
body.business-detail-page #contact-section .section-label,
body.business-detail-page #contact-section .section-title,
body.business-detail-page #contact-section .section-subtitle { color: #fff !important; }
body.business-detail-page #contact-section .section-label i { color: #ffb703; }
body.business-detail-page .contact-form-card {
  background: #fff; color: #101828; border-radius: var(--lp-radius); padding: 1.6rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
body.business-detail-page .contact-form-card .form-control { border-radius: 10px; padding: .7rem .9rem; }
body.business-detail-page .contact-form-card textarea.form-control { min-height: 110px; }
body.business-detail-page .contact-form-card .btn-primary {
  background: #ffb703; border-color: #ffb703; color: #1b1b1b; font-weight: 800; border-radius: 12px; padding: .85rem 1rem;
}
body.business-detail-page .contact-form-card .btn-primary:hover { background: #ffc531; border-color: #ffc531; }
body.business-detail-page .contact-info { display: flex; flex-direction: column; gap: .85rem; }
body.business-detail-page .contact-info .contact-item {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: .9rem 1rem;
  display: flex !important; flex-direction: row !important; align-items: flex-start; gap: .85rem; text-align: left;
  box-shadow: none; color: #fff; margin: 0;
}
body.business-detail-page .contact-info .contact-icon {
  flex: 0 0 40px; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: #fff; color: var(--primary-color);
  display: flex; align-items: center; justify-content: center;
}
body.business-detail-page .contact-info h6 { color: #fff; margin: 0 0 .2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
body.business-detail-page .contact-info a,
body.business-detail-page .contact-info address,
body.business-detail-page .contact-info p { color: #fff; margin: 0; font-size: .95rem; }
body.business-detail-page .contact-info .text-muted { color: rgba(255, 255, 255, .8) !important; }
body.business-detail-page .contact-info .social-link { background: #fff; color: var(--primary-color); }
body.business-detail-page #contact-section .map-card { border-radius: var(--lp-radius); overflow: hidden; background: #fff; padding: 1rem; color: #101828; }
body.business-detail-page #contact-section .map-card iframe { height: 320px; border-radius: 12px; }

/* ---------- Hours ---------- */
body.business-detail-page #hours-section .col-lg-8 { max-width: 640px; }
body.business-detail-page .hours-card { border-radius: var(--lp-radius); box-shadow: var(--lp-card-shadow); padding: 1.25rem 1.5rem; }
body.business-detail-page .hours-table td { padding: .6rem .4rem; }

/* ---------- Ratings / reviews: tighter ---------- */
body.business-detail-page #ratings-section { padding-bottom: 1rem; }
body.business-detail-page #review-form-section { padding-top: 1.5rem; }

/* ---------- Footer room above the sticky bar ---------- */
body.business-detail-page .business-footer { margin-bottom: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  body.business-detail-page .services-grid-unique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  body.business-detail-page .hero-landing { margin-top: -2px; }
  body.business-detail-page .section-modern { padding: 2.25rem 0; scroll-margin-top: 64px; }
  body.business-detail-page .hero-section { padding: 4.75rem 0 3.5rem; }
  body.business-detail-page .hero-inner { grid-template-columns: 1fr; text-align: center; row-gap: .5rem; }
  body.business-detail-page .hero-logo-container { grid-row: auto; display: flex; justify-content: center; margin-bottom: .25rem; }
  body.business-detail-page .hero-logo,
  body.business-detail-page .hero-logo-placeholder { width: 84px; height: 84px; border-radius: 20px; }
  body.business-detail-page .hero-title { justify-content: center; text-align: center; font-size: 1.6rem; }
  body.business-detail-page .hero-meta { justify-content: center; }
  body.business-detail-page .hero-tagline { font-size: .98rem; margin-inline: auto; }
  body.business-detail-page .hero-cta { justify-content: center; }
  body.business-detail-page .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  body.business-detail-page .hero-cta .btn-quote { flex-basis: 100%; }
  body.business-detail-page .hero-top-strip { top: 10px; right: 10px; }

  body.business-detail-page .hero-landing + .lp-trust { margin-top: -1.8rem; }
  body.business-detail-page .lp-trust-card { grid-template-columns: repeat(2, 1fr); }
  body.business-detail-page .lp-trust-item { padding: .8rem; border-bottom: 1px solid var(--lp-border); }
  body.business-detail-page .lp-trust-item:nth-child(2n) { border-right: 0; }
  body.business-detail-page .lp-trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  body.business-detail-page .lp-trust-item > i { font-size: 1.25rem; }

  body.business-detail-page .about-content-modern { padding: 1.25rem; }
  body.business-detail-page .services-grid-unique { grid-template-columns: 1fr; }
  body.business-detail-page .service-image-wrapper { height: 200px !important; }
  body.business-detail-page .contact-form-card { padding: 1.15rem; }

  /* sticky action bar: Call | WhatsApp | Get quote — the section menu stays in the header */
  body.business-detail-page .business-bottom-strip__nav { display: none !important; }
  body.business-detail-page .business-bottom-strip { padding: 8px 10px; }
  body.business-detail-page .business-bottom-strip__actions { flex: 1; width: 100%; gap: 8px; }
  body.business-detail-page .business-bottom-strip__action {
    flex: 1 1 0; padding: 12px 8px; font-size: .95rem; box-shadow: none; border-radius: 12px;
  }
  body.business-detail-page .business-bottom-strip__action-label { display: inline !important; }
  body.business-detail-page .business-bottom-strip__action--quote { background: #ffb703; color: #1b1b1b; flex: 1.4 1 0; }
}

@media (min-width: 768px) {
  body.business-detail-page .business-bottom-strip__action--quote { display: none; }
}

/* Book appointment (only rendered when the owner turned appointments on) */
body.business-detail-page .hero-cta .btn-book-appt { background: #fff; border-color: #fff; color: var(--primary-color); order: -2; }
body.business-detail-page .hero-cta .btn-book-appt:hover { background: #eef4ff; color: var(--primary-dark); }
@media (max-width: 767.98px) {
  body.business-detail-page .business-bottom-strip__action--book { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); color: #fff; flex: 1 1 0; }
}
@media (min-width: 768px) {
  body.business-detail-page .business-bottom-strip__action--book { display: none; }
}
