/* latest-template.css */
/* Branch details layered after the unmodified RC14 template and DeepSeek fixes. */
html .location-intro-actions{display:flex;flex-wrap:wrap;gap:1rem 1.8rem}
html .location-intro-actions a{font-size:.875rem;line-height:1.7;border-bottom:1px solid var(--light-line);padding-bottom:.3rem;color:var(--light-brand)}
html .scene-date{display:flex;gap:.7rem;margin-top:1.2rem;font-size:.72rem;color:var(--light-muted)}
html .hgs-quality{padding-block:clamp(3rem,7vw,7rem)}
html .hgs-quality>h2{max-width:22ch;font-size:clamp(2rem,3.6vw,3.8rem);line-height:1.25;margin:1rem 0 2.5rem}
html .hgs-quality .upgrade-collaboration{padding:2rem 0;border-bottom:0}
html .upgrade-collaboration{color:var(--light-ink)}
html .upgrade-collaboration h3{font-size:1.15rem;line-height:1.5;margin-block:.75rem}
html .upgrade-collaboration p{line-height:1.8}
html .buyer-breadcrumb{padding-block:1.2rem;font-size:.8rem}
html .buyer-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;list-style:none;margin:0;padding:0}
html .buyer-breadcrumb li:not(:last-child)::after{content:'/';margin-inline-start:1rem;opacity:.5}
html .buyer-breadcrumb a{text-decoration:none}
html .buyer-breadcrumb [aria-current]{overflow-wrap:anywhere}
html .service-page .capability-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
html .capability-detail .arrow-link{display:inline-block;margin-top:1.25rem}
html .page-hero--scene .page-hero-media img{width:100%;height:100%;object-fit:cover}
html .knowledge-scene-header .page-hero-content{display:block}
html body[data-page=contact] .page-hero-meta a:last-child{background:transparent;color:white;border-color:#ffffff90;overflow-wrap:anywhere}
html body .hero .hero-content .hero-actions{justify-content:center}
@media(max-width:760px){
 html .service-page .capability-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 html .location-intro-actions{gap:.7rem 1.2rem}
 html body[data-page=contact] .page-hero-meta a:last-child{font-size:.82rem}
}
@media(prefers-reduced-motion:reduce){html .scene-image img{transition:none}}

/* floating-whatsapp.css */
.hgs-floating-whatsapp {
  --hgs-wa-clearance: 0px;
  position: fixed;
  z-index: 80;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--hgs-wa-clearance));
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 3.5rem;
  padding: .65rem 1.05rem .65rem .75rem;
  color: #fff;
  background: #176b4a;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  box-shadow: 0 .5rem 1.5rem rgba(9,40,28,.22);
  font: 600 .92rem/1.2 "General Sans", system-ui, sans-serif;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, bottom .18s ease;
}
.hgs-floating-whatsapp svg { width: 2rem; height: 2rem; flex: 0 0 auto; }
.hgs-floating-whatsapp:hover { color: #fff; background: #12573d; transform: translateY(-2px); }
.hgs-floating-whatsapp:focus-visible { outline: 3px solid #d69a2d; outline-offset: 3px; }
.hgs-floating-whatsapp[hidden] { display: none !important; }
body[data-page="product-detail"] .hgs-floating-whatsapp { --hgs-wa-clearance: 4.75rem; }

@media (min-width: 701px) {
  body[data-page="product-detail"] .hgs-floating-whatsapp { --hgs-wa-clearance: 0px; }
}
@media (max-width: 700px) {
  .hgs-floating-whatsapp {
    width: 3.5rem;
    height: 3.5rem;
    min-height: 3.5rem;
    padding: .7rem;
    justify-content: center;
  }
  .hgs-floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hgs-floating-whatsapp svg { width: 2.15rem; height: 2.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hgs-floating-whatsapp { transition: none; }
}

/* hgs-measurement.css */
.hgs-consent {
  position: fixed;
  z-index: 1000;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(25rem, calc(100vw - 2rem));
  padding: 1.25rem;
  color: #172019;
  background: #f7f5ee;
  border: 1px solid rgba(23, 32, 25, .18);
  border-radius: .75rem;
  box-shadow: 0 1rem 3rem rgba(23, 32, 25, .16);
  font: 400 1rem/1.5 "General Sans", system-ui, sans-serif;
}

.hgs-consent[hidden] { display: none; }
.hgs-consent strong { font-weight: 600; }
.hgs-consent p { margin: .5rem 0 1rem; }
.hgs-consent > a { display: inline-block; margin: 0 0 1rem; color: #1b4d36; text-underline-offset: .18em; }
.hgs-consent__actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.hgs-consent button {
  min-height: 2.75rem;
  padding: .625rem 1rem;
  color: #fff;
  background: #1b4d36;
  border: 1px solid #1b4d36;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hgs-consent button.is-secondary { color: #1b4d36; background: transparent; }
.hgs-consent button:focus-visible { outline: 3px solid #d69a2d; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hgs-consent, .hgs-consent * { scroll-behavior: auto; transition: none; }
}

