/* Header and Contact refinement — 2026-07-18.
   Keeps the RE/MAX mark, gives Danielle's name its own signature treatment,
   and turns the Contact hero into a true full-width gold band. */

.site-header .brand-wordmark {
  align-items: center;
  gap: clamp(14px, 1.1vw, 20px);
  min-width: max-content;
  overflow: visible;
}

.site-header .brand-text {
  position: relative;
  display: flex;
  min-height: auto;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding-right: clamp(12px, 1vw, 18px);
  overflow: visible;
  transform: none;
}

.site-header .brand-text::after {
  content: "";
  display: block;
  width: clamp(46px, 4vw, 68px);
  height: 1px;
  margin-top: 9px;
  background: linear-gradient(90deg, #e0bc5f, rgba(224, 188, 95, 0.08));
}

.site-header .brand-wordmark .brand-text > span {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 1.6vw, 32px);
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.site-header .brand-remax-mark {
  width: clamp(116px, 7.4vw, 142px);
  height: 56px;
  object-position: center;
}

.contact-leads-page.contact-action-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 clamp(72px, 7vw, 112px);
  overflow: clip;
  background: #f7f4eb;
}

.contact-leads-page .contact-action-hero {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.68fr);
  gap: clamp(42px, 4.4vw, 78px);
  align-items: center;
  padding: clamp(48px, 5vw, 78px)
    max(48px, calc((100vw - 1760px) / 2 + 48px));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(183, 136, 27, 0.24), transparent 29%),
    radial-gradient(circle at 94% 92%, rgba(176, 125, 17, 0.2), transparent 34%),
    linear-gradient(118deg, #ecd493 0%, #fff8e7 52%, #e5c475 100%);
  box-shadow: none;
}

.contact-leads-page .contact-action-copy {
  align-self: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.contact-leads-page .contact-action-form {
  width: 100%;
  max-width: 620px;
  margin: 0;
  justify-self: end;
  border-color: rgba(108, 79, 17, 0.2);
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 26px 66px rgba(67, 47, 8, 0.15);
}

.contact-leads-page .contact-portrait-frame {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 390px);
  aspect-ratio: 16 / 10;
  margin: 28px 0 0;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(108, 79, 17, 0.35);
  border-radius: 2px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow:
    0 22px 48px rgba(67, 47, 8, 0.16),
    12px 12px 0 rgba(255, 248, 225, 0.48);
}

.contact-leads-page .contact-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.contact-leads-page .contact-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.contact-leads-page .contact-situation-section {
  margin-top: clamp(34px, 3vw, 46px);
}

@media (max-width: 1380px) {
  .site-header .brand-wordmark {
    gap: 13px;
  }

  .site-header .brand-text {
    padding-right: 9px;
  }

  .site-header .brand-wordmark .brand-text > span {
    font-size: 24px;
  }

  .site-header .brand-remax-mark {
    width: 112px;
  }
}

@media (max-width: 1180px) {
  .site-header .nav-bar {
    grid-template-columns: minmax(300px, auto) 1fr auto auto;
  }

  .site-header .brand-wordmark .brand-text > span {
    font-size: 22px;
  }

  .site-header .brand-remax-mark {
    width: 100px;
    height: 50px;
  }
}

@media (max-width: 1100px) {
  .contact-leads-page .contact-action-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding: 48px max(28px, 5vw) 62px;
  }

  .contact-leads-page .contact-action-copy {
    width: min(100%, 780px);
  }

  .contact-leads-page .contact-action-form {
    max-width: 780px;
    justify-self: start;
  }
}

@media (max-width: 920px) {
  .site-header .nav-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header .brand-wordmark {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .contact-leads-page.contact-action-page {
    padding-bottom: 0;
  }

  .contact-leads-page .contact-action-hero {
    gap: 32px;
    padding: 34px 18px 44px;
  }

  .contact-leads-page .contact-portrait-frame {
    width: 100%;
    margin-top: 24px;
    padding: 6px;
    box-shadow:
      0 18px 38px rgba(67, 47, 8, 0.15),
      7px 7px 0 rgba(255, 248, 225, 0.44);
  }

  .contact-leads-page .contact-portrait-frame::after {
    inset: 6px;
  }

  .contact-leads-page .contact-action-form {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .site-header .brand-wordmark {
    gap: 8px;
    max-width: calc(100vw - 78px);
  }

  .site-header .brand-text {
    padding-right: 5px;
  }

  .site-header .brand-text::after {
    width: 34px;
    margin-top: 6px;
  }

  .site-header .brand-wordmark .brand-text > span {
    font-size: 18px;
  }

  .site-header .brand-remax-mark {
    width: 80px;
    height: 42px;
  }
}
