/* ==================================================================
   Homepage hero — Five by Five
   Shared shell (video backdrop, nav) + two direction layouts
   ================================================================== */

.hh-hero {
  position: relative;
  width: 1440px;
  height: 830px;
  overflow: hidden;
  background: #0d0f0f;
  color: #fff;
  font-family: var(--font-sans);
  isolation: isolate;
}

/* ---- Video backdrop + overlays ---------------------------------- */
.hh-bg { position: absolute; inset: 0; z-index: 0; }
.hh-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hh-kenburns 26s ease-in-out infinite alternate;
}
@keyframes hh-kenburns {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hh-video { animation: none; transform: scale(1.06); }
}
.hh-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,15,15,0.78) 0%, rgba(13,15,15,0.30) 34%, rgba(13,15,15,0.40) 62%, rgba(13,15,15,0.88) 100%),
    linear-gradient(90deg, rgba(13,15,15,0.55) 0%, rgba(13,15,15,0.10) 55%, rgba(13,15,15,0.0) 100%);
}
.hh-glow { display: none; }
.hh-grain {
  position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Nav (sticky, Concept C: smart reveal) ----------------------- */
.hh-nav {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: 100%; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 3.2vw, 92px);
  /* Match the 1280px content column used by page sections (80px min gutter) */
  padding: 22px max(80px, calc((100% - 1280px) / 2));
  background: rgba(13,15,15,0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transform: translateY(0);
  transition: transform 300ms var(--ease-out, ease), background 260ms var(--ease-out, ease),
              border-color 260ms var(--ease-out, ease), padding 260ms var(--ease-out, ease);
}
.hh-nav.is-top {
  padding-top: 30px; padding-bottom: 30px;
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hh-nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px;
  background: var(--gradient-signature, linear-gradient(90deg, #ff43a4, #ffa63e));
  transition: width 120ms linear;
}
.hh-brand { display: inline-flex; align-items: center; }
.hh-brand img { height: 44px; width: auto; display: block; }
.hh-navlinks {
  display: flex; align-items: center; gap: clamp(24px, 3.2vw, 92px);
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.hh-navitem {
  display: flex; flex-direction: column; gap: 2px;
  text-decoration: none; white-space: nowrap;
}
.hh-navitem:hover, .hh-navitem:focus { text-decoration: none; }
.hh-navitem-kicker {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 400; letter-spacing: 0.01em;
  line-height: 1.3; color: rgba(255,255,255,0.72);
}
.hh-navitem-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans);
  font-size: 17px; font-weight: 600; letter-spacing: -0.005em;
  line-height: 1.25; color: #fff;
  transition: color 160ms var(--ease-out, ease);
}
.hh-navitem:hover .hh-navitem-label { color: #fff; }
.hh-quote-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--fbf-green, #28dc9a);
  box-shadow: 0 0 0 0 rgba(40,220,154,0.55), 0 0 12px 2px rgba(40,220,154,0.75);
  animation: rb-pulse 2.2s var(--ease-out, ease) infinite;
}
@media (prefers-reduced-motion: reduce) { .hh-quote-dot { animation-duration: 3.2s; } }
.hh-navcta { display: inline-flex; align-items: center; gap: clamp(24px, 3.2vw, 92px); }

/* ---- Shared bits ------------------------------------------------- */
.hh-eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.hh-eyebrow b { color: var(--fbf-green); font-weight: 700; }
.hh-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); }

.hh-grad {
  background: var(--gradient-signature);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hh-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hh-stars { display: inline-flex; align-items: center; letter-spacing: 1px; color: var(--fbf-orange); line-height: 1; }

/* ---- Bottom-docked badges (match current site) -------------------- */
/* Google reviews card: docked flush to the bottom-left, rounded top only */
.hh-greviews {
  position: fixed; right: 24px; left: auto; bottom: 0; z-index: 999;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 16px 20px;
  background: #fff; border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
  text-decoration: none; color: #0d0f0f;
  transition: transform 160ms var(--ease-out, ease);
}
.hh-greviews:hover { transform: translateY(-3px); text-decoration: none; }
.hh-greviews-g { display: block; flex-shrink: 0; width: 38px; height: 38px; }
.hh-greviews-stack { display: flex; flex-direction: column; gap: 0; }
.hh-greviews-top { display: inline-flex; align-items: center; gap: 8px; }
.hh-greviews .hh-stars { color: #fbbc05; gap: 2px; }
.hh-greviews-count { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; color: #0d0f0f; line-height: 1.15; }
.hh-greviews-sub { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #0d0f0f; line-height: 1.2; }

/* Client credibility strip (replaces the partner marquee) --------- */
.hh-clients {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  height: 98px; padding: 0 56px;
  display: flex; align-items: center; gap: 44px;
  background: rgba(13,15,15,0.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hh-clients-label {
  flex-shrink: 0;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.hh-clients-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hh-client-logo {
  height: 30px; width: auto; max-width: 122px; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 160ms var(--ease-out, ease);
}
.hh-client-logo:hover { opacity: 1; }

/* ================================================================== */
/*  DIRECTION A — Editorial centre                                     */
/* ================================================================== */
.hh-a-body {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 80px 156px;
}
.hh-a-title {
  margin: 26px 0 0;
  font-weight: 900;
  font-size: 66px; line-height: 1.12; letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.hh-a-sub {
  margin: 26px 0 0; max-width: none;
  font-size: 19px; line-height: 1.55; font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.hh-a-body .hh-cta-row { margin-top: 38px; justify-content: center; }

/* Trust strip */
.hh-trustbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  height: 56px; background: var(--fbf-orange);
  display: flex; align-items: center; overflow: hidden;
}
.hh-trust-track {
  display: flex; align-items: center; width: max-content;
  animation: hh-marquee 34s linear infinite;
}
.hh-trustbar:hover .hh-trust-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hh-trust-track { animation: none; } }
.hh-trust-group {
  display: flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--ink-900); font-weight: 500; white-space: nowrap;
}
@keyframes hh-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hh-trust-item { display: inline-flex; align-items: center; gap: 12px; }

/* ================================================================== */
/*  DIRECTION B — Asymmetric + proof card                              */
/* ================================================================== */
.hh-b-body {
  position: absolute; inset: 0; z-index: 3;
  display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center;
  padding: 128px 72px 72px;
}
.hh-b-left { max-width: 720px; }
.hh-b-title {
  margin: 22px 0 0;
  font-weight: 900;
  font-size: 72px; line-height: 1.0; letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.hh-b-sub {
  margin: 24px 0 0; max-width: 520px;
  font-size: 19px; line-height: 1.55; font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.hh-b-left .hh-cta-row { margin-top: 36px; }

.hh-b-right { display: flex; justify-content: flex-end; }

/* Rating + badge cluster (above headline) */
.hh-rating-row { display: flex; align-items: center; gap: 14px; }
.hh-rating-row .hh-stars { gap: 3px; }
.hh-rating-text { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85); white-space: nowrap; }
.hh-rating-text b { font-weight: 800; color: #fff; }
.hh-rating-badge { width: 52px; height: 52px; border-radius: 12px; margin-left: 4px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4)); }

/* ---- Form card (light island on the dark hero) ------------------ */
.hh-form-card {
  /* restore light-theme tokens so DS Inputs render on white */
  --surface-card: #ffffff;
  --surface-sunken: #eceae2;
  --text-primary: #0d0f0f;
  --text-secondary: #4c5252;
  --text-muted: #8a908f;
  --border-default: #e2ddd0;

  width: 440px;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 30px 26px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
  color: var(--text-primary);
}
.hh-form-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-900, #0d0f0f); font-weight: 500; text-transform: uppercase; white-space: nowrap;
}
.hh-form-head {
  margin: 12px 0 0; color: #0d0f0f;
  font-weight: 800; font-size: 27px; line-height: 1.08; letter-spacing: -0.02em;
}
.hh-form-head span { color: var(--fbf-green, #28dc9a); }
.hh-form-lede { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #4c5252; }
.hh-form-fields { display: flex; flex-direction: column; gap: 11px; margin: 20px 0 18px; }
.hh-form-note {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 14px; font-size: 12.5px; color: #6f7676;
}
