/* ==========================================================================
   Cielo site header: ONE component for every page.
   Source of truth: assets/site-header.css + assets/site-header.js + _header.html
   Everything is namespaced with "sh-" so no page stylesheet can change it.
   ========================================================================== */

.sh {
  --sh-ink: #060d10;
  --sh-paper: #EFE9DC;
  --sh-gold: #BC8F4A;
  --sh-hair: rgba(239, 233, 220, 0.10);
  --sh-hair-2: rgba(239, 233, 220, 0.22);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background 500ms ease, border-color 500ms ease;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.sh *, .sh *::before, .sh *::after { box-sizing: border-box; }
:where(.sh) a { color: inherit; text-decoration: none; background: none; }
:where(.sh) button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; text-transform: none; letter-spacing: normal; border-radius: 0; -webkit-appearance: none; appearance: none; }
/* the blurred bar lives on a pseudo-element so the dropdown and menu can blur the page themselves */
.sh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 13, 16, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  transition: opacity 500ms ease, background 300ms ease;
  pointer-events: none;
}
.sh.sh-scrolled::before,
.sh.sh-solid::before { opacity: 1; }
.sh.sh-solid:not(.sh-scrolled)::before { background: rgba(6, 13, 16, 0.94); }
.sh.sh-open::before { opacity: 1; background: rgba(6, 13, 16, 0.94); }
.sh.sh-scrolled,
.sh.sh-solid,
.sh.sh-open { border-bottom-color: var(--sh-hair); }

.sh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 56px;
  margin: 0;
}
.sh-logo { display: flex; align-items: center; flex: none; }
.sh-logo img { height: 32px; width: auto; display: block; transition: opacity 240ms ease; }
.sh-logo:hover img { opacity: 0.75; }

/* ---- main links ---- */
.sh-links { display: flex; align-items: center; gap: clamp(24px, 2.7vw, 40px); }
.sh-links > a,
.sh-dd-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  font-family: 'Jost', sans-serif;
  font-size: clamp(12px, 1vw, 14.5px);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 233, 220, 0.72);
  transition: color 240ms ease;
  white-space: nowrap;
}
.sh-links > a:hover,
.sh-dd-trigger:hover,
.sh-dd.sh-dd-open .sh-dd-trigger { color: var(--sh-paper); }
.sh-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--sh-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
}
.sh-links > a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- "What We Build" dropdown (dark glass, spaced capitals) ---- */
.sh-dd { position: relative; display: flex; align-items: center; }
.sh-dd-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 20px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms;
  z-index: 5;
}
.sh-dd.sh-dd-open .sh-dd-panel,
.sh-dd:focus-within .sh-dd-panel { opacity: 1; visibility: visible; pointer-events: auto; }
@media (hover: hover) {
  .sh-dd:hover .sh-dd-panel { opacity: 1; visibility: visible; pointer-events: auto; }
}
.sh-dd-inner {
  background: rgba(6, 13, 16, 0.84);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  border: 1px solid rgba(239, 233, 220, 0.14);
  border-top: 1px solid rgba(188, 143, 74, 0.55);
  border-radius: 0;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.30);
  padding: 14px 0;
  min-width: 290px;
}
.sh-dd-inner a { display: block; padding: 14px 32px; white-space: nowrap; }
.sh-dd-inner a span {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(239, 233, 220, 0.82);
  transition: color 250ms ease;
}
.sh-dd-inner a span::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sh-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
}
.sh-dd-inner a:hover span,
.sh-dd-inner a:focus-visible span { color: var(--sh-paper); }
.sh-dd-inner a:hover span::after,
.sh-dd-inner a:focus-visible span::after { transform: scaleX(1); transform-origin: left; }

/* ---- right side: phone, rating, call-to-action ---- */
.sh-actions { display: flex; align-items: center; gap: 22px; }
.sh-tel {
  font-family: 'Jost', sans-serif;
  font-size: clamp(12px, 1vw, 14.5px);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(239, 233, 220, 0.86);
  white-space: nowrap;
  transition: color 240ms ease;
}
.sh-tel:hover { color: var(--sh-gold); }
.sh-rating { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; flex: none; color: var(--sh-paper); transition: opacity 240ms ease; }
.sh-rating:hover { opacity: 0.75; }
.sh-r-stars { display: flex; gap: 2px; }
.sh-r-stars svg { width: 10px; height: 10px; display: block; fill: var(--sh-gold); }
.sh-r-row { display: flex; align-items: center; gap: 6px; }
.sh-r-g { width: 14px; height: 14px; display: block; flex: none; fill: var(--sh-paper); }
.sh-r-n { font-family: 'Jost', sans-serif; font-weight: 400; font-size: 14px; letter-spacing: 0.04em; line-height: 1; }
.sh-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  color: var(--sh-paper);
  font-family: 'Jost', sans-serif;
  font-size: clamp(12px, 1vw, 14.5px);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--sh-hair-2);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.sh-cta:hover { background: var(--sh-paper); color: var(--sh-ink); border-color: var(--sh-paper); }

/* ---- small-screen controls (hidden on large screens) ---- */
.sh-phone,
.sh-burger { display: none; }
.sh-phone,
.sh-burger {
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex: none;
  color: var(--sh-paper);
  border: 1px solid var(--sh-hair-2);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.sh-phone svg { width: 18px; height: 18px; display: block; }
.sh-phone:hover, .sh-phone:active, .sh-burger:hover { background: var(--sh-paper); color: var(--sh-ink); border-color: var(--sh-paper); }
.sh-burger-lines { position: relative; display: block; width: 24px; height: 18px; }
.sh-burger-lines i {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease, top 320ms cubic-bezier(.2,.7,.2,1);
}
.sh-burger-lines i:nth-child(1) { top: 0; }
.sh-burger-lines i:nth-child(2) { top: 8px; }
.sh-burger-lines i:nth-child(3) { top: 16px; }
.sh.sh-open .sh-burger-lines i:nth-child(1) { top: 8px; transform: rotate(45deg); }
.sh.sh-open .sh-burger-lines i:nth-child(2) { opacity: 0; }
.sh.sh-open .sh-burger-lines i:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ---- small-screen menu ---- */
.sh-mobile {
  position: absolute;
  top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(6, 13, 16, 0.94);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  border-top: 1px solid rgba(188, 143, 74, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.sh-mobile[hidden] { display: none; }
.sh-m-inner { padding: 8px 56px 28px; }
.sh-m-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid rgba(239, 233, 220, 0.10);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(239, 233, 220, 0.9);
  transition: color 240ms ease;
}
.sh-m-inner > .sh-m-item:first-child,
.sh-m-inner > :first-child > .sh-m-item { border-top: 0; }
.sh-m-item:hover, .sh-m-item:focus-visible { color: var(--sh-paper); }
.sh-m-cta { color: var(--sh-gold); }
.sh-m-cta:hover, .sh-m-cta:focus-visible { color: #D9B06A; }
.sh-m-caret { width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-right: 4px; transition: transform 280ms ease; flex: none; }
.sh-m-group.sh-m-group-open .sh-m-caret { transform: rotate(-135deg); }
.sh-m-sub { display: none; padding: 0 0 12px 18px; }
.sh-m-group.sh-m-group-open .sh-m-sub { display: block; }
.sh-m-sub a {
  display: block;
  padding: 13px 0;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 233, 220, 0.74);
  transition: color 240ms ease;
}
.sh-m-sub a:hover, .sh-m-sub a:focus-visible { color: var(--sh-paper); }

html.sh-lock { overflow: hidden; }

/* ---- below the desktop width: logo, phone button, menu button ---- */
@media (max-width: 1180px) {
  .sh-links, .sh-tel, .sh-rating, .sh-cta { display: none; }
  .sh-phone, .sh-burger { display: inline-flex; }
  .sh-actions { gap: 10px; }
}
@media (min-width: 1181px) {
  .sh-mobile { display: none !important; }
}
@media (max-width: 768px) {
  .sh-inner { padding: 0 20px; }
  .sh-m-inner { padding: 6px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sh, .sh * { transition-duration: 1ms !important; }
}
