/* ===== HERO ===== */
.hero { --h: 889; background: var(--white); overflow: visible; }  /* let form shadow bleed past the seam */
.hero .stage { background: transparent; }

/* Photo area clips at 832 (matches Figma main overflow-clip) */
.hero__photo {
  position: absolute; top: 0; left: 0; width: 1920px; height: 832px;
  overflow: hidden; z-index: 0;
}
/* Skyline placed at the exact Figma transform (node 4886:9440):
   img w=72.71%(1396) h=124.56%(1046) left 48.69% top -9.81%, whole frame mirrored horizontally.
   Net: image occupies the LEFT ~half (x -411..985), right half empty → covered by navy gradient. */
.hero__bg {
  position: absolute; top: -82px; left: -411px; width: 1396px; height: 1046px; z-index: 0;
  object-fit: cover; transform: scaleX(-1);
}
/* Navy gradient — solid over the empty right half, fading to transparent across the skyline (left) */
.hero__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to left, #0e0d2c 0%, #0e0d2c 49%, rgba(14,13,44,.55) 58%, rgba(14,13,44,0) 74%),
    rgba(0,0,0,.18);
}
/* Top navy gradient behind the fixed header (Figma node 4886:9446) for legible nav over the skyline */
.hero__photo::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 220px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, #0e0d2c 0%, rgba(14,13,44,.55) 40%, rgba(14,13,44,0) 100%);
}
/* Lawyer cutout on top of bg + scrim — Figma node 4886:9453 (640×960 frame, img ~661w) */
.hero__woman {
  position: absolute; top: 130px; left: 380px; width: 661px; height: auto; z-index: 2;
  pointer-events: none;
}

/* --- Accessibility floating gold button --- */
.hero__a11y {
  position: absolute; left: 9px; top: 235px; width: 40px; height: 40px;
  background: var(--gold); border-radius: 900px; z-index: 6;
  display: flex; align-items: center; justify-content: center; border: 0;
}
.hero__a11y img { width: 20px; height: 22px; }

/* --- DUNS / trust strip (left) — single composited image (BDi + DUNS + 4.9 laurel) --- */
.hero__trust {
  position: absolute; left: 0; top: 301px; width: 115px; height: 265px; z-index: 5;
}
.hero__trust-img { width: 115px; height: 265px; object-fit: cover; border-radius: 0 7px 7px 0; }

/* --- Hero copy (right) --- */
.hero__copy { position: absolute; top: 190px; right: 311px; width: 753px; z-index: 4; text-align: right; color: #fff; }
.hero__eyebrow { font-size: 34px; font-weight: 400; line-height: 1.1; color: var(--gold-deep); }
.hero__title {
  font-size: 56px; font-weight: 700; line-height: 68px; margin-top: 0; width: 753px; color: #fff;
}
.hero__lead { font-size: 21px; line-height: 30px; margin-top: 40px; width: 643px; }
.hero__lead b { font-weight: 700; }
.hero__why-block { position: absolute; top: 537px; right: 311px; width: 643px; z-index: 4; text-align: right; color: #fff; }
.hero__why { font-size: 21px; font-weight: 700; line-height: 30px; }

.hero__bullets { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.hero__bullets li { display: flex; direction: rtl; align-items: center; gap: 12px; }
.hero__bullets .mark { flex: 0 0 11px; width: 11px; height: 10px; }
.hero__bullets p { font-size: 18px; line-height: 24px; }
.hero__bullets b { font-weight: 700; }

/* --- Lead form card (overlapping hero bottom) — absolute layout @ exact Figma coords (node 4886:10029) --- */
.hero__form {
  position: absolute; top: 764px; left: 50%; transform: translateX(-50%);
  width: 1301px; height: 125px; background: #fff; border-radius: 10px;
  box-shadow: var(--shadow-form); z-index: 7;
}
/* intro text + phone — right side */
.hf__intro { position: absolute; right: 29px; top: 50%; transform: translateY(-50%); width: 395px; text-align: right; }
.hf__intro-top { font-size: 25px; color: var(--navy); line-height: 1.2; }
.hf__intro-top b { font-weight: 700; }
.hf__call { display: flex; direction: rtl; align-items: center; gap: 10px; margin-top: 10px; }
.hf__call-label { font-weight: 600; font-size: 32px; color: var(--navy); line-height: 1; }
.hf__call-ic { width: 26px; height: 26px; filter: brightness(0) saturate(100%); }
.hf__call-num { font-family: var(--font-num); font-weight: 800; font-size: 32px; color: var(--navy); line-height: 1; direction: ltr; }
/* two fields — center */
.hf__fields { position: absolute; left: 245px; top: 32px; width: 624px; height: 60px; display: flex; direction: rtl; gap: 10px; }
.hf__input {
  flex: 1; width: 307px; height: 60px; background: var(--cream); border: 1px solid #e3d6bd; border-bottom: 1px solid var(--cream-border);
  border-radius: 4px; padding: 0 18px; font: inherit; font-size: 19px; color: var(--ink-soft); text-align: right;
}
.hf__input::placeholder { color: var(--ink-soft); }
/* gold submit — left */
.hf__submit {
  position: absolute; left: 27px; top: 32px; width: 208px; height: 60px;
  display: flex; direction: ltr; align-items: center; gap: 0;
  background: var(--gold-btn); border: 1px solid var(--gold-btn-bd); border-radius: 0;
  color: #fff; font-weight: 700; font-size: 21px;
}
.hf__submit .circ { flex: 0 0 60px; width: 60px; height: 100%; border-right: 1px solid var(--gold-btn-bd); display: flex; align-items: center; justify-content: center; }
.hf__submit .circ img { width: 27px; height: 27px; }
.hf__submit-lbl { flex: 1; text-align: center; white-space: nowrap; }

/* ===== Mobile hero (Figma node 5309:7414 — 375px) ===== */
@media (max-width: 1024px) {
  .hero { --h: auto; height: auto; min-height: auto; background: var(--navy); overflow: hidden; }
  .hero .stage { position: static; width: 100%; height: auto; transform: none; background: none; padding: 0; }
  .hero__inner { position: relative; display: flex; flex-direction: column; padding-bottom: 38px; }

  /* photo block at top — city bg + lawyer cutout, lower body dissolves into navy */
  .hero__photo {
    display: block; position: relative; order: 0; width: 100%; height: auto; aspect-ratio: 375 / 372;
    background: none; overflow: hidden;
  }
  .hero__bg {
    display: block; position: absolute; inset: 0; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%; transform: scaleX(-1);
  }
  /* lawyer cutout — dropped down so head clears the header, torso runs into the fade */
  .hero__woman {
    display: block; position: absolute; bottom: -48px; left: 50%; transform: translateX(-50%);
    top: auto; width: 100%; max-width: 400px; height: auto; z-index: 1;
  }
  /* navy gradient sits ABOVE the man (z-index 2) — FULLY TRANSPARENT from the head down
     to the chest (no scrim covering his face/upper body), then fades the lower body to navy.
     No flat scrim, no left scrim — keeps him clear and bright above the chest. */
  .hero__photo::before {
    content: ""; position: absolute; inset: 0; height: 100%; z-index: 2; pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(14,13,44,0) 0%,
      rgba(14,13,44,0) 56%,
      rgba(14,13,44,.5) 71%,
      rgba(14,13,44,.92) 86%,
      var(--navy) 100%);
  }
  .hero__photo::after { content: none; }

  /* trust strip on photo right (frosted BDi/DUNS/4.9) */
  .hero__trust {
    position: absolute; order: 0; top: calc(100vw * 88 / 375); right: 0; left: auto;
    width: calc(100vw * 80 / 375); height: auto; z-index: 6;
  }
  .hero__trust-img { width: 100%; height: auto; border-radius: 5px 0 0 5px; }

  /* copy: eyebrow + title + lead (centered, on navy) */
  .hero__copy { order: 1; position: static; width: auto; right: auto; text-align: center; padding: 6px 18px 0; color: #fff; }
  .hero__eyebrow { font-size: clamp(22px, 7vw, 26px); line-height: 1.2; color: var(--gold-deep); }
  .hero__title {
    font-size: clamp(28px, 9vw, 34px); line-height: 1.25; width: auto; margin: 8px auto 0; max-width: 340px; color: #fff;
  }
  .hero__copy::after {
    content: ""; display: block; width: 90%; max-width: 342px; height: 1px;
    background: rgba(229,195,139,.45); margin: 20px auto 0;
  }
  .hero__lead { font-size: clamp(16px, 5vw, 20px); line-height: 1.4; margin-top: 18px; width: auto; color: #fff; }
  .hero__lead b { font-weight: 700; }

  /* form card — reset desktop absolute layout to a vertical stack */
  .hero__form {
    order: 2; position: static; transform: none; width: auto; height: auto; margin: 28px 16px 0;
    display: flex; flex-direction: column; align-items: stretch; padding: 26px 20px 24px; gap: 16px;
  }
  .hf__intro { position: static; transform: none; right: auto; width: auto; text-align: center; }
  .hf__intro-top { font-size: clamp(24px, 7vw, 30px); }
  .hf__call { justify-content: center; margin-top: 8px; }
  .hf__call-label, .hf__call-num { font-size: clamp(26px, 8vw, 32px); }
  .hf__fields { position: static; left: auto; top: auto; width: auto; height: auto; flex-direction: column; gap: 14px; }
  .hf__input { width: 100%; height: 54px; }
  .hf__submit {
    position: static; left: auto; top: auto; width: 182px; height: 52px;
    justify-content: flex-start; align-self: center;
  }

  /* why + bullets — RTL, right-aligned (heading + bullets hug the right edge) */
  .hero__why-block { order: 3; position: static; top: auto; right: auto; width: auto; padding: 32px 18px 0; color: #fff; }
  .hero__why { font-size: clamp(24px, 7.5vw, 28px); text-align: right; }
  .hero__bullets { margin-top: 18px; gap: 16px; }
  .hero__bullets li { justify-content: flex-start; align-items: flex-start; }
  .hero__bullets .mark { margin-top: 6px; }
  .hero__bullets p { font-size: 17px; line-height: 1.35; text-align: right; }
}
