   /* Contact page — page-specific styles only. */


/* ==========================================================================
   Hero
   ========================================================================== */

.nv-contact-hero {
  /* Same small-text opt-out the home hero uses, so the two heroes read alike */
  --nv-fs-xs:  0.875rem;
  --nv-fs-2xs: 0.75rem;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding-block:
    calc(var(--nv-header-h) + clamp(3rem, 1.5rem + 4.5vw, 6.5rem))
    clamp(3.5rem, 2rem + 5vw, 7rem);

  color: var(--nv-text);
  background-color: var(--nv-band-deep);
  background-image: radial-gradient(
    252.43% 376.4% at -22.19% 63.36%,
    var(--nv-band-deep) 0%,
    var(--nv-band-navy) 97.55%
  );
}



/* Dark HubSpot form */
.nv-contact-hero__embed[data-hubspot-form="dark"]{
    overflow: hidden;
    border-radius: 20px;
}

.nv-contact-hero__embed[data-hubspot-form="dark"] iframe{
    border-radius: 20px;
    display: block;
}

/* Light HubSpot form */
.nv-contact-hero__embed[data-hubspot-form="light"]{
    overflow: visible;
    border-radius: 0;
}

.nv-contact-hero__embed[data-hubspot-form="light"] iframe{
    border-radius: 0;
}

/* Decorative bloom behind the copy column */
.nv-contact-hero__glow {
  position: absolute;
  z-index: var(--nv-z-base);
  pointer-events: none;

  inset-block-start: clamp(-9rem, -7vw, -5rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);

  width: min(60%, var(--nv-container-max));
  height: clamp(20rem, 30vw, 34rem);

  background-image: var(--nv-gradient-hero-glow);
  opacity: var(--nv-hero-glow-opacity);
  mix-blend-mode: screen;
  filter: blur(clamp(48px, 6vw, 96px));
}

/* The screen blend has nothing to lift on a white ground — retire it */
[data-color-scheme="light"] .nv-contact-hero__glow {
  display: none;
}

.nv-contact-hero__inner {
  position: relative;
  z-index: var(--nv-z-decor);

  display: grid;
  /* The form column leads slightly: the embed sets the taller floor */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: start;
  gap: clamp(2rem, 0.5rem + 3.2vw, 4rem);
}

/* Hero: copy column */
.nv-contact-hero__title {
  margin-block-start: var(--nv-space-5);
  font-size: var(--nv-fs-h1);
  line-height: 1.14;
  color: var(--nv-text);
}

.nv-contact-hero__lead {
  margin-block-start: var(--nv-space-5);
  /* max-width: 34em; */
  color: var(--nv-text-muted);
}

.nv-contact-hero__phi {
  margin: var(--nv-space-4) 0 0;
  max-width: 36em;
  font-size: var(--nv-fs-sm);
  font-weight: var(--nv-fw-medium);
  line-height: 1.55;
  color: var(--nv-text);
}

.nv-contact-hero__next {
  margin: var(--nv-space-4) 0 0;
  max-width: 36em;
  font-size: var(--nv-fs-sm);
  line-height: 1.6;
  color: var(--nv-text-muted);
}

.nv-contact-hero__points {
  margin-block-start: var(--nv-space-10);
}


/* ==========================================================================
   Hero: benefit list
   ========================================================================== */

.nv-contact-hero__benefits {
  display: grid;
  /* Slightly wider than the old flat list, so the cards read as separate */
  gap: var(--nv-space-7);
  /* Pulled in from --nv-space-10: the cards' own padding now supplies the
     air this margin used to, which keeps the column from growing further */
  margin-block-start: var(--nv-space-8);
}


.nv-contact-benefit {
  flex-direction: row;
  align-items: flex-start;
  padding: var(--nv-space-5);
}

.nv-contact-benefit__icon {
  flex: none;
  display: grid;
  place-items: center;

  width: 2.75rem;
  height: 2.75rem;

  color: var(--nv-aqua-300);
  background-color: var(--nv-chip-fill);
  border: 1px solid var(--nv-card-border);
  border-radius: var(--nv-radius-lg);

  transition:
    border-color var(--nv-dur-base) var(--nv-ease-out),
    background-color var(--nv-dur-base) var(--nv-ease-out);
}

.nv-contact-benefit__icon svg {
  width: var(--nv-icon-lg);
  height: var(--nv-icon-lg);
}

.nv-contact-benefit__body {
  display: flex;
  flex-direction: column;
  gap: var(--nv-space-1);
}

.nv-contact-benefit__title {
  font-family: var(--nv-font-display);
  font-size: var(--nv-fs-h5);
  font-weight: var(--nv-fw-semibold);
  line-height: 1.35;
  letter-spacing: var(--nv-ls-snug);
  color: var(--nv-text);
}

.nv-contact-benefit__text {
  font-size: var(--nv-fs-2xs);
  line-height: var(--nv-lh-relaxed);
  color: var(--nv-text-muted);
}


   /* Hero: form column */

.nv-contact-hero__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}


   /* HubSpot: theme routing */


.nv-contact-hero__embed {
  display: none;
}

/* width: an iframe with no stated width falls back to its 300px intrinsic
   default, so the revealed embed is told to fill the column */
:root:not([data-color-scheme="light"]) .nv-contact-hero__embed[data-hubspot-form="dark"],
[data-color-scheme="light"] .nv-contact-hero__embed[data-hubspot-form="light"] {
  display: block;
  width: 100%;
}


   /* HubSpot: width containment only */

   
.nv-contact-hero__embed > * {
  max-width: 100%;
}

.nv-contact-hero__embed iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

/* Laptop — even the columns out before they stack */
@media (max-width: 1199.98px) {
  .nv-contact-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--nv-space-8);
  }
}

/* Tablet — single column, form first is tempting but the pitch has to lead */
@media (max-width: 991.98px) {
  .nv-contact-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 3.5rem);
  }

  /* .nv-contact-hero__copy,
  .nv-contact-hero__form {
    max-width: 40rem;
  } */
}

/* Large mobile */
@media (max-width: 767.98px) {
  .nv-contact-hero__benefits,
  .nv-contact-hero__points {
    margin-block-start: var(--nv-space-8);
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .nv-contact-hero__lead {
    max-width: none;
  }

  .nv-contact-benefit {
    padding: var(--nv-space-4);
  }

  .nv-contact-benefit__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-contact-benefit__icon {
    transition: none;
  }
}
