/* Public service detail — shares the approved product-detail composition. */
.service-detail-page {
  min-height: 70vh;
  background: #f8f6f0;
}

.service-detail-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--topnav-h) + 34px) var(--margin) 72px;
}

.service-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #52605a;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}

.service-detail-back:hover { color: var(--primary); }

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.service-detail-gallery,
.service-detail-info { min-width: 0; }

.service-detail-visual-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.service-detail-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #ebe8df;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #f3f3f1 100%);
  box-shadow: 0 12px 34px rgba(30,55,43,.05);
}

.service-detail-visual-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #d4d6d3;
}

.service-detail-visual-icon svg { width: 64px; height: 64px; }
.service-detail-visual > img { width:100%; height:100%; object-fit:cover; display:block; }
.service-gallery-thumbs { display:flex; gap:10px; margin-top:12px; min-height:0; overflow-x:auto; }
.service-gallery-thumb { flex:0 0 66px; width:66px; height:66px; padding:0; overflow:hidden; border:2px solid transparent; border-radius:12px; background:#fff; cursor:pointer; }
.service-gallery-thumb.active { border-color:var(--primary); }
.service-gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

.service-detail-sdg-strip {
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  z-index: 2;
  display: flex;
  height: 5px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}

.service-detail-sdg-strip span { flex: 1; }

.service-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  color: #7b817e;
  font-size: 11px;
}

.service-detail-breadcrumb a { color: #64736c; text-decoration: none; }
.service-detail-breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.service-detail-breadcrumb span:last-child { color: #33413b; font-weight: 600; }
.service-detail-breadcrumb-sep { color: #b2b8b5; }

.service-detail-category {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf6f0;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
}

.service-detail-info h1 {
  margin: 0 0 10px;
  color: #17382d;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.service-detail-description {
  margin-bottom: 22px;
  color: #64706b;
  font-size: var(--text-base);
  line-height: 1.8;
  white-space: pre-line;
}

.service-detail-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #e3e8e4;
  border-radius: 14px;
  background: #fff;
}

.service-detail-price-card {
  min-width: 0;
  min-height: 82px;
  padding: 14px;
  border-right: 1px solid #edf0ed;
  background: #fff;
}

.service-detail-price-card:last-child { border-right: 0; }
.service-detail-price-label { display: block; margin-bottom: 5px; color: #89918d; font-size: 10px; }
.service-detail-price-card strong { color: #173d30; font-size: var(--text-xl); line-height: 1.1; }
.service-detail-price-card small { margin-left: 5px; color: #7a837f; font-size: var(--text-xs); }
.service-detail-price-empty { grid-column: 1 / -1; padding: 14px; color: var(--grey-600); font-size: var(--text-sm); }

.service-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #e8e5dc;
}

.service-detail-price-locked {
  grid-column:1 / -1; display:grid; grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center; gap:12px; width:100%; padding:14px 16px;
  border:1px solid #f0d7a7; border-radius:14px; background:#fff8e9; color:#674a0d;
}
.service-detail-price-lock { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:#fff; color:#8a620d; }
.service-detail-price-lock svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }
.service-detail-price-locked strong,.service-detail-price-locked small { display:block; }
.service-detail-price-locked strong { font-size:var(--text-sm); }
.service-detail-price-locked small { margin-top:3px; color:#94773d; font-size:11px; line-height:1.45; }
.service-detail-price-locked a { color:#755006; font-size:var(--text-xs); font-weight:800; text-decoration:none; white-space:nowrap; }
@media(max-width:520px){.service-detail-price-locked{grid-template-columns:auto minmax(0,1fr)}.service-detail-price-locked a{grid-column:2}}

.service-detail-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ebe8df;
  border-radius: 12px;
  background: #fff;
}

.service-detail-fact-icon {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ecf7f2;
  color: var(--primary-dark);
}

.service-detail-fact-icon svg { width: 18px; height: 18px; }
.service-detail-fact-label { display: block; margin-bottom: 2px; color: var(--grey-500); font-size: var(--text-xs); }
.service-detail-fact-value { color: var(--grey-800); font-size: var(--text-sm); font-weight: 600; overflow-wrap: anywhere; }

.service-custom-card {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #e5e8e5;
  border-radius: 18px;
  background: #fff;
}
.service-custom-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 18px; border-bottom:1px solid transparent; }
.service-custom-card.is-open .service-custom-head { border-bottom-color:#edf0ed; }
.service-custom-heading { display:flex; align-items:center; gap:9px; min-width:0; }
.service-custom-heading strong { display:block; color:#173d30; font-size:var(--text-base); }
.service-custom-icon { display:grid; place-items:center; width:20px; height:20px; flex:0 0 20px; color:#08a58d; }
.service-custom-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.service-custom-badge { display:inline-flex; align-items:center; min-height:24px; padding:4px 9px; border-radius:999px; background:#eaf7f2; color:#208065; font-size:10px; font-weight:700; white-space:nowrap; }
.service-custom-badge.hidden { display:none; }
.service-custom-switch { position:relative; display:inline-block; width:42px; height:24px; flex:0 0 auto; }
.service-custom-switch input { opacity:0; width:0; height:0; }
.service-custom-switch span { position:absolute; inset:0; border-radius:999px; background:#d9ddda; cursor:pointer; transition:.2s; }
.service-custom-switch span::before { content:''; position:absolute; width:18px; height:18px; left:3px; top:3px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.18); transition:.2s; }
.service-custom-switch input:checked + span { background:var(--primary); }
.service-custom-switch input:checked + span::before { transform:translateX(18px); }
.service-custom-options-wrap { display:none; padding:16px 18px 18px; }
.service-custom-options-wrap.is-open { display:block; }
.service-custom-group + .service-custom-group { margin-top:22px; }
.service-custom-group h3 { margin:0 0 9px; color:#17382d; font-size:var(--text-sm); font-weight:800; }
.service-custom-choice-list { display:grid; gap:7px; }
.service-custom-choice { position:relative; display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:48px; padding:11px 14px; border:1px solid #e1e6e2; border-radius:12px; background:#fff; color:#51615a; font-size:var(--text-sm); cursor:pointer; transition:border-color .15s,background .15s,color .15s,box-shadow .15s; }
.service-custom-choice:hover { border-color:#80cdbd; background:#f7fcfa; }
.service-custom-choice:has(input:focus-visible) { outline:3px solid rgba(15,138,106,.18); outline-offset:1px; }
.service-custom-choice:has(input:checked) { border-color:#48bea7; background:#eaf8f4; color:#18745e; box-shadow:0 0 0 1px rgba(72,190,167,.08); }
.service-custom-choice input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.service-custom-choice-label { min-width:0; font-weight:500; }
.service-custom-choice-price { flex:0 0 auto; color:#b0b6b3; font-size:var(--text-sm); font-weight:700; white-space:nowrap; }
.service-custom-choice:has(input:checked) .service-custom-choice-price,.service-custom-choice-price.has-charge { color:#087f68; }
.service-custom-disclaimer { display:flex; align-items:flex-start; gap:7px; margin:18px 0 0; color:#929b97; font-size:10px; line-height:1.55; }
.service-custom-disclaimer svg { width:14px; height:14px; margin-top:1px; flex:0 0 14px; fill:none; stroke:currentColor; stroke-width:1.8; }

.service-detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #073b2e;
  color: #fff;
}

.service-detail-action-kicker { display: block; margin-bottom: 4px; color: rgba(255,255,255,.58); font-size: 10px; }
.service-detail-actions strong { color: #fff; font-size: var(--text-base); }
.service-detail-enquire { border-color: #b9f04f; background: #b9f04f; color: #17382d; white-space: nowrap; }
.service-detail-enquire:hover { border-color: #c9f772; background: #c9f772; color: #17382d; }

.service-enquiry-prompt .enquiry-prompt-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s4);
  padding: var(--s3) var(--s4);
  border: 1.5px solid rgba(30,158,88,.3);
  border-radius: var(--r-lg);
  background: rgba(30,158,88,.06);
}

.service-enquiry-prompt strong { color: var(--black); }
.service-enquiry-prompt p { max-width: 590px; margin-top: 4px; color: var(--grey-600); font-size: var(--text-sm); line-height: 1.6; }
.service-enquiry-prompt .enquiry-prompt-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.service-detail-se-card {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #ebe8df;
  border-radius: 16px;
  background: #fff;
}

.service-detail-se-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.service-detail-se-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.service-detail-se-monogram { flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; }
.service-detail-se-monogram img { width: 100%; height: 100%; padding: 4px; object-fit: contain; background: #fff; }
.service-detail-se-card h2 { font-size: var(--text-base); font-weight: 700; }
.service-detail-se-sdgs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.service-detail-se-note { margin-top: 8px; color: var(--grey-500); font-size: 11px; line-height: 1.55; }
.service-detail-se-link { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; padding: 0; border: 0; background: transparent; color: #0aa58d; text-decoration: none; }
.service-detail-se-link:hover { color: #078b77; text-decoration: none; }
.service-detail-se-link svg { width: 24px; height: 24px; }

.service-detail-not-found { max-width: 560px; margin: var(--s12) auto; padding: 0 var(--margin); text-align: center; }
.service-detail-not-found-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--s3); border-radius: 50%; background: var(--grey-100); color: var(--grey-400); }
.service-detail-not-found h1 { margin-bottom: var(--s2); font-size: var(--text-3xl); }
.service-detail-not-found p { margin-bottom: var(--s4); color: var(--grey-600); line-height: var(--lh-relaxed); }
.service-detail-skeleton { max-width: 1180px; margin: 0 auto; padding: calc(var(--topnav-h) + 34px) var(--margin) 72px; }

@media (max-width: 860px) {
  .service-detail-wrap { padding: var(--margin); }
  .service-detail-back { display: none; }
  .service-detail-grid { display: flex; flex-direction: column; gap: 0; }
  .service-detail-gallery,
  .service-detail-info { display: contents; }
  .service-detail-info > * { order: 4; }
  .service-detail-breadcrumb { order: 1; }
  .service-detail-visual-frame { order: 2; }
  .service-gallery-thumbs { order: 3; margin-bottom: 30px; }
  .service-detail-se-card { order: 5; }
  .service-detail-actions { grid-template-columns: 1fr; }
  .service-detail-enquire { width: 100%; }
}

@media (max-width: 560px) {
  .service-detail-wrap { padding: 18px; }
  .service-detail-prices { grid-template-columns: 1fr; }
  .service-detail-price-card { border-right: 0; border-bottom: 1px solid #edf0ed; }
  .service-detail-price-card:last-child { border-bottom: 0; }
  .service-detail-facts { grid-template-columns: 1fr; }
  .service-detail-se-head { align-items: flex-start; }
  .service-detail-se-card .btn { padding: 7px 9px; }
  .service-enquiry-prompt .enquiry-prompt-actions { width: 100%; }
  .service-enquiry-prompt .enquiry-prompt-actions .btn { flex: 1; justify-content: center; }
}
