/* Shared header, page typography and floating button styles loaded on every public page. */

/* Menu: smaller brand mark and a subtle hover instead of the flip effect. */
.site-nav-shell [data-menu-brand] {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem) !important;
}

/* Menu: panel hugs its links instead of stretching them across the full viewport height. */
html body[data-menu-open] .legacy-template-page > .text-cream.pointer-events-none.fixed.site-nav-shell {
  height: min(calc(100svh - 24px), 31rem) !important;
}

html body[data-menu-open] .legacy-template-page .site-nav-shell nav {
  align-content: start !important;
  gap: 1rem !important;
  grid-auto-rows: auto !important;
}

html body[data-menu-open] .legacy-template-page .site-nav-shell nav a.heading-3 {
  height: auto !important;
}

html body[data-menu-open] .legacy-template-page .site-nav-shell nav a.heading-3 > span:first-child {
  left: auto !important;
  position: relative !important;
  top: auto !important;
  transition: transform 0.3s ease, color 0.3s ease;
}

html body[data-menu-open] .legacy-template-page .site-nav-shell nav a.heading-3:is(:hover, :focus-visible) > span:first-child {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.2em;
  transform: scale(1.04) !important;
}

/* Floating WhatsApp button. */
.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  color: #fff;
  display: grid;
  height: 3.5rem;
  justify-items: center;
  position: fixed;
  right: 1.25rem;
  transition: transform 0.2s ease;
  width: 3.5rem;
  z-index: 90;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  transform: scale(1.06);
}

.whatsapp-float svg {
  height: 1.9rem;
  width: 1.9rem;
}

/* Long About copy reads better in the body typeface. */
html body .legacy-template-page[data-template-route$="/about-us"] #Static1#Static1 > .wrapper h2.heading-2.heading-2,
html body .legacy-template-page[data-template-route$="/about-us"] #Static1-2#Static1-2 > .wrapper h2.heading-2.heading-2 {
  font-family: var(--font-workSans), Arial, sans-serif !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.5 !important;
}

/* Privacy hero: Bootstrap's unlayered h1 rules beat the template's layered .hero/.text-cream-dark, so restate them. */
html body .legacy-template-page[data-template-route$="/privacy-policy"] #Hero > .trigger::after {
  background: linear-gradient(180deg, rgba(9, 18, 14, 0.62) 0%, rgba(9, 18, 14, 0.18) 45%, transparent 80%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

html body .legacy-template-page[data-template-route$="/privacy-policy"] #Hero .wrapper {
  padding-inline: clamp(1.25rem, 4vw, 5rem);
  padding-top: clamp(7rem, 22svh, 14rem);
}

html body .legacy-template-page[data-template-route$="/privacy-policy"] #Hero h1.hero {
  color: #fff4d6;
  font-size: clamp(2.75rem, min(8vw, 14svh), 10rem);
  line-height: 0.95;
}

html body .legacy-template-page[data-template-route$="/privacy-policy"] #Hero .wrapper ~ .absolute {
  z-index: 1;
}
