/* =========================================================
   CONTACT PAGE — HERO BANNER
   Mirrors the Digitus "dh" services/blog hero: full-bleed
   photo with a warm tint + white bottom fade, glowing pulse
   line, page-label crumb and bottom-centred copy + CTA.
   ========================================================= */

.dh {
  --dh-blue-1: #7ecbea;
  --dh-blue-2: #2f7fdc;
  position: relative;
  min-height: 640px;
  height: 76vh;
  overflow: hidden;
  font-family:"Inter", sans-serif;
  background: #fff;
}

/* --- layers --- */

.dh-bg {
  position: absolute;
  inset: 0;
  background:
    url("../../assets/cnt.webp") center top / cover no-repeat,
    linear-gradient(135deg, #7a3b3b, #b7674a 50%, #8a6a86);
}

/* fade the photo into the next section's background so the
   hero blends seamlessly into the page */
.dh-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 36%, rgba(246, 247, 250, 0.8) 68%, #f6f7fa 92%);
}

/* --- page label / crumb --- */

.dh-crumb {
  position: absolute;
  top: 184px;
  left: 170px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0px;
  font-weight: 500;
  color: #fff;
  z-index: 3;
}

.dh-crumb svg {
  width: 14px;
  height: 14px;
}

/* --- content --- */

.dh-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 55px;
  text-align: center;
  z-index: 3;
}

.dh-title {
  margin: 0 auto;
  max-width: 1500px;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 53px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 100%;
  color: #000;
}

/* Subheading stays on a single line. The font size scales with the
   viewport so the ~99-character line always fits inside the padded
   content box instead of wrapping or overflowing. */

.dh-sub {
  max-width: none;
  margin: 10px auto 20px;
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, calc((100vw - 72px) / 54), 19px);
  line-height: 120%;
  letter-spacing: 0px;
  font-weight: 300;
  color: #000;
  white-space: nowrap;
}

.dh-btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, var(--dh-blue-1), var(--dh-blue-2));
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dh-btn:hover,
.dh-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 127, 220, 0.35);
  outline: none;
}

.dh-btn:focus-visible {
  outline: 3px solid var(--dh-blue-2);
  outline-offset: 3px;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {
  .dh-crumb {
    left: 40px;
    top: 160px;
  }
}

@media (max-width: 800px) {
  .dh-content {
    padding: 0 24px 40px;
  }

  .dh-title {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .dh {
    min-height: 520px;
  }

  .dh-crumb {
    left: 20px;
    top: 120px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dh-btn {
    transition: none;
  }
}