/* ===== Public Book page — profile header + services + reviews (theme-aware) ===== */
.site .book-wrap { max-width: 1080px; margin: 0 auto; padding: 70px 48px 80px; width: 100%; }

/* header */
.site .book-head { display: flex; align-items: center; gap: 76px; flex-wrap: wrap; }
.site .book-photo {
  width: 150px; height: 150px; border-radius: 50%; flex: 0 0 150px; object-fit: cover;
  border: 1px solid var(--rail-line); box-shadow: 0 18px 40px -22px var(--shadow); background: var(--surface);
}
.site .book-photo-fallback {
  width: 150px; height: 150px; border-radius: 50%; flex: 0 0 150px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 46px;
}
.site .book-intro { flex: 1; min-width: 280px; text-align: left; }
.site .book-intro h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.6px; color: var(--ink); }
.site .book-intro .desc { color: var(--muted); font-weight: 500; font-size: 16px; line-height: 1.7; margin: 14px 0 18px 0; max-width: none; }
.site .book-contact { display: flex; gap: 10px; margin-top: 18px; justify-content: flex-start; }
.site .book-contact-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: 0;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 10px 24px -12px var(--accent); transition: filter .15s, transform .12s;
}
.site .book-contact-btn svg { width: 16px; height: 16px; }
.site .book-contact-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

.site .book-divider { height: 1px; background: var(--rail-line); margin: 40px 0 34px; }

/* services */
.site .svc-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.site .svc-top h2 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); }
.site .svc-search {
  display: flex; align-items: center; gap: 10px; flex: 0 0 320px; max-width: 100%;
  background: var(--input-bg); border: 1px solid var(--rail-line); border-radius: 12px; padding: 0 14px; height: 46px; color: var(--muted);
}
.site .svc-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.site .svc-search input { flex: 1; border: none; outline: none; background: none; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); }
.site .svc-search input::placeholder { color: var(--faint); }

.site .svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.site .svc-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rail-line);
  border-radius: 0; overflow: hidden; box-shadow: 0 14px 36px -30px var(--shadow); transition: transform .25s, box-shadow .25s;
}
.site .svc-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px var(--shadow); }
.site .svc-banner {
  min-height: 160px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #fff; position: relative;
}
.site .svc-banner svg { width: 52px; height: 52px; flex: 0 0 52px; opacity: .95; }
.site .svc-banner .svc-name { font-size: 19px; font-weight: 800; line-height: 1.2; text-transform: uppercase; text-align: right; letter-spacing: .3px; }
.site .svc-card { cursor: pointer; }
.site .svc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.site .svc-when { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.site .svc-title { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.site .svc-card-desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== service detail page (two-column: content + sidebar) ===== */
.site .svc-detail-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.5px; color: var(--ink); line-height: 1.12; margin: 4px 0 22px; }
.site .svc-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.site .svc-detail-main { min-width: 0; }
.site .svc-detail-img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rail-line); }
.site .svc-detail-img.fallback { aspect-ratio: 16/10; padding: 24px; }
.site .svc-sec-h { font-size: 18px; font-weight: 800; color: var(--ink); margin: 30px 0 14px; }
.site .svc-detail-desc { font-size: 16px; line-height: 1.8; color: var(--muted); }
.site .svc-detail-desc p { margin: 0 0 16px; }
.site .svc-detail-desc p:last-child { margin-bottom: 0; }
.site .svc-detail-loc { font-size: 15px; color: var(--muted); font-weight: 500; }

.site .svc-detail-side { position: sticky; top: 24px; display: flex; flex-direction: column; }
.site .svc-book-lg { width: 100%; justify-content: center; text-align: center; font-size: 15px; padding: 15px; border-radius: 0; background: var(--accent); box-shadow: none; }
.site .svc-book-lg:hover { filter: brightness(1.06); }
.site .svc-side-label { font-weight: 800; color: var(--ink); font-size: 15px; margin: 24px 0 12px; }
.site .svc-side-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 13px; border-radius: 0; border: 1px solid var(--rail-line); background: var(--surface); color: var(--accent); font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 12px; text-decoration: none; }
.site .svc-side-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.site .svc-side-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }

.site .svc-detail-reviews { margin-top: 40px; }

@media (max-width: 880px) {
  .site .svc-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .site .svc-detail-side { position: static; }
}
.site .svc-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site .svc-price { font-size: 18px; font-weight: 800; color: var(--ink); }
.site .svc-book {
  border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 13.5px; color: #fff; padding: 10px 22px; border-radius: 0;
  background: var(--accent); box-shadow: 0 10px 24px -12px var(--accent);
}
.site .svc-book:hover { filter: brightness(1.06); }

/* reviews */
.site .book-reviews-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 54px 0 24px; flex-wrap: wrap; }
.site .book-reviews-bar .rv-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site .book-reviews-bar h2 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); }
.site .rv-stars { display: inline-flex; gap: 3px; }
.site .rv-stars svg { width: 22px; height: 22px; }
.site .rv-stars .on { color: var(--amber, #f6b100); }
.site .rv-stars .off { color: var(--rail-line); }
.site .rv-count { color: var(--muted); font-weight: 600; font-size: 14px; }
/* actions: prev/next arrows + ghost "Post A Review" button */
.site .rv-actions { display: flex; align-items: center; gap: 12px; }
.site .rv-nav { display: flex; gap: 8px; }
.site .rv-arrow {
  width: 40px; height: 40px; border: 1px solid var(--rail-line); cursor: pointer; border-radius: 0;
  background: var(--surface); color: var(--accent); display: grid; place-items: center; transition: border-color .15s, background .15s, transform .12s;
}
.site .rv-arrow:hover { border-color: var(--accent); background: var(--accent-soft); }
.site .rv-arrow:active { transform: scale(.92); }
.site .rv-post-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 14px;
  color: var(--accent); padding: 11px 22px; border-radius: 0; background: var(--surface); border: 1px solid var(--rail-line);
  transition: border-color .15s, background .15s;
}
.site .rv-post-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.site .rv-post-btn:hover { border-color: var(--accent); background: var(--accent-soft); }

/* reviews — wide, sharp-cornered cards in a horizontal scroller */
.site .rv-list {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity; scroll-behavior: smooth; cursor: grab; user-select: none;
  scrollbar-width: none; -ms-overflow-style: none;
}
.site .rv-list::-webkit-scrollbar { display: none; }
.site .rv-list.grabbing { cursor: grabbing; scroll-behavior: auto; }
.site .rv-card { flex: 0 0 460px; max-width: 88%; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--rail-line); border-radius: 0; padding: 22px 24px; box-shadow: none; }
.site .rv-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site .rv-av { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; }
.site .rv-who { flex: 1; min-width: 0; }
.site .rv-who b { font-size: 14.5px; font-weight: 800; color: var(--ink); display: block; line-height: 1.3; }
.site .rv-who small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.site .rv-rating {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  background: var(--surface); border: 1px solid var(--rail-line); color: var(--accent); font-weight: 800; font-size: 12.5px;
  padding: 5px 10px; border-radius: 8px;
}
.site .rv-rating svg { width: 12px; height: 12px; }
.site .rv-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.site .rv-empty { color: var(--muted); font-weight: 600; padding: 10px 0 30px; }

/* modal (booking + review forms) */
.site-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8,10,15,.55); backdrop-filter: blur(3px); }
.site-modal.open { display: flex; }
.site-modal-box { width: min(460px, 100%); background: var(--surface, #fff); border: 1px solid var(--rail-line); border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); overflow: hidden; }
.site-modal-head { padding: 22px 24px 6px; }
.site-modal-head h3 { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.site-modal-head p { color: var(--muted); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.site-modal-body { padding: 16px 24px 8px; display: flex; flex-direction: column; gap: 14px; }
.site-modal-body label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.site-modal-body input, .site-modal-body textarea, .site-modal-body select {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--rail-line); background: var(--input-bg);
  color: var(--ink); font-family: inherit; font-size: 14.5px; font-weight: 600; outline: none;
}
.site-modal-body input:focus, .site-modal-body textarea:focus, .site-modal-body select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.site-modal-body textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.site-rate { display: inline-flex; gap: 4px; }
.site-rate svg { width: 28px; height: 28px; cursor: pointer; color: var(--rail-line); }
.site-rate svg.on { color: var(--amber, #f6b100); }
.site-modal-foot { padding: 14px 24px 22px; display: flex; gap: 12px; }
.site-modal-foot button { flex: 1; padding: 13px; border-radius: 0; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 14px; border: 1px solid var(--rail-line); }
.site-modal-foot .ghost { background: transparent; color: var(--muted); }
.site-modal-foot .primary { border-color: transparent; color: #fff; background: var(--accent); }
.site-modal-status { padding: 0 24px; min-height: 18px; font-size: 13px; font-weight: 700; color: var(--accent); }

@media (max-width: 980px) { .site .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .site .rv-list { grid-template-columns: 1fr; } }
@media (max-width: 780px) {
  .site .book-wrap { padding: 46px 20px 60px; }
  .site .svc-grid { grid-template-columns: 1fr; }
  .site .svc-search { flex: 1 1 100%; }
  /* elegant centered header on phones */
  .site .book-head { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .site .book-photo, .site .book-photo-fallback { width: 112px; height: 112px; flex: 0 0 112px; }
  .site .book-intro { text-align: center; min-width: 0; }
  .site .book-intro h1 { font-size: 26px; }
  .site .book-intro .desc { margin: 12px auto 16px; }
  .site .book-contact { justify-content: center; margin-top: 4px; }
  .site .book-reviews-bar { gap: 14px; margin: 40px 0 20px; }
  .site .book-reviews-bar .rv-left { gap: 12px; }
  .site .book-reviews-bar h2 { font-size: 22px; }
  .site .rv-actions { flex-wrap: wrap; }
  .site .rv-card { flex-basis: 86%; padding: 20px; }
  .site .svc-top { flex-direction: column; align-items: stretch; gap: 14px; }
  .site .svc-top h2 { font-size: 22px; }
  .site .svc-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .site .svc-detail-side { position: static; }
  .site .book-wrap { padding: 60px 18px 60px; }
}
@media (max-width: 560px) {
  .site .book-wrap { padding: 54px 15px 54px; }
  .site .book-head { gap: 14px; }
  .site .book-photo, .site .book-photo-fallback { width: 96px; height: 96px; flex: 0 0 96px; }
  .site .book-photo-fallback { font-size: 36px; }
  .site .book-intro h1 { font-size: 23px; }
  .site .book-intro .desc { font-size: 15px; line-height: 1.65; }
  .site .svc-banner { min-height: 128px; padding: 18px; }
  .site .svc-banner svg { width: 42px; height: 42px; flex: 0 0 42px; }
  .site .svc-banner .svc-name { font-size: 17px; }
  .site .svc-top h2, .site .book-reviews-bar h2 { font-size: 20px; }
  /* stack the reviews header so the arrows + button don't cramp */
  .site .book-reviews-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site .rv-actions { width: 100%; justify-content: space-between; }
  .site .rv-card { flex-basis: 90%; padding: 18px; }
  .site .rv-post-btn { flex: 1; justify-content: center; }
}
