/* Contact page styles — hero + joined info bar (no clip) */

.contact-hero {
  background: url("../images/contacthero.jpeg"), #050e17;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 85vh;
  position: relative;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 5.5rem;
  z-index: 1;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 100% 50%, rgba(10, 40, 120, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 60% 40%, rgba(5, 20, 80, 0.3) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.contact-hero-waves {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 60%, rgba(66, 132, 31, 0.12) 0%, transparent 60%);
}

.contact-hero > .container-pro {
  position: relative;
  z-index: 2;
}

/* Info bar: sits on top of hero bottom edge (joined), never clipped */
.contact-info-wrap {
  background: var(--bg-secondary, #fff);
  padding: 0 0 2.5rem;
  position: relative;
  z-index: 40;
  overflow: visible !important;
  isolation: isolate;
  margin-bottom: 0 !important;
}

.contact-info-pull {
  margin-top: -2.75rem;
  position: relative;
  z-index: 41;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }

  .contact-info-pull {
    margin-top: -1.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/*
 * WPBakery/theme wrappers clip negative-margin overlap — force visible
 * so the info card can sit on the hero edge without icons being cut off.
 */
.page-template-page-contact-php #primary,
.page-template-page-contact-php .site-main,
.page-template-page-contact-php .entry-content,
.page-template-page-contact-php .wpb-content-wrapper,
.page-template-page-contact-php .vc_row,
.page-template-page-contact-php .vc_row-fluid,
.page-template-page-contact-php .wpb_row,
.page-template-page-contact-php .vc_column_container,
.page-template-page-contact-php .vc_column-inner,
.page-template-page-contact-php .wpb_wrapper,
.page-template-page-contact-php .raw-vc-section-row,
.page-template-page-contact-php .raw-vc-element {
  overflow: visible !important;
}

.contact-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.contact-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-bar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: visible;
  position: relative;
  z-index: 42;
}

@media (max-width: 639px) {
  .contact-info-bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 12px;
  }
  .contact-info-item:nth-child(2) {
    border-right: none;
  }
  .contact-info-item:nth-child(1),
  .contact-info-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.25rem 1.25rem;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  min-width: 0;
}

@media (max-width: 639px) {
  .contact-info-item {
    padding: 1rem 0.85rem;
    gap: 8px;
    flex-direction: column;
  }
}

.contact-info-item:last-child {
  border-right: none;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

@media (max-width: 639px) {
  .contact-info-icon {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

.contact-info-label {
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 3px;
}

@media (max-width: 639px) {
  .contact-info-label {
    font-size: 0.6rem;
  }
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 639px) {
  .contact-info-value {
    font-size: 0.72rem;
  }
}

.contact-info-sub {
  font-size: 0.68rem;
  color: #9ca3af;
  margin-top: 2px;
}

@media (max-width: 639px) {
  .contact-info-sub {
    font-size: 0.6rem;
  }

  /* Soften forced desktop line breaks in contact copy */
  .contact-hero p br,
  .contact-reach p br,
  .contact-cta p br,
  .page-slug-contact p br {
    display: none;
  }

  .contact-cta .btn-primary,
  .contact-cta .btn-blue,
  .contact-cta button {
    white-space: nowrap;
  }
}
