/* =====================================================================
   Contact page (contact.php). Classes start with .ct-.
   Hero uses .ab-* (about-page.css); the form card uses .contact-*
   (contact-home.css), so it looks the same as on the home page.
   ===================================================================== */

/* ---------- Quick contact cards (overlap the bottom of the hero) ---------- */
.ct-quick {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}
.ct-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ct-qcard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 22px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #ece9f5;
  box-shadow: 0 24px 50px -30px rgba(18, 20, 28, 0.35);
  color: #12141c;
  transition: transform 400ms var(--header-ease), box-shadow 400ms var(--header-ease), border-color 300ms ease;
}
.ct-qcard:hover {
  color: #12141c;
  transform: translateY(-5px);
  border-color: rgba(232, 49, 138, 0.35);
  box-shadow: 0 30px 56px -28px rgba(232, 49, 138, 0.5);
}
.ct-qcard-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 19px;
  box-shadow: 0 12px 24px -10px rgba(232, 49, 138, 0.6);
}
.ct-qcard-text {
  flex: 1 1 auto;
  min-width: 0;
}
.ct-qcard-text small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8fa3;
}
.ct-qcard-text b {
  display: block;
  margin-top: 4px;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.ct-qcard-arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e6e4ef;
  font-size: 13px;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 400ms var(--header-ease);
}
.ct-qcard:hover .ct-qcard-arrow {
  background: #12141c;
  border-color: #12141c;
  color: #ffffff;
  transform: rotate(-45deg);
}

/* ---------- Form section ---------- */
.ct-form-section {
  padding: 80px 0 90px;
}

/* "what happens next" steps in the dark panel */
.ct-steps {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
/* thin gradient line joining the step numbers */
.ct-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-pink), var(--brand-purple));
  opacity: 0.6;
}
.ct-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ct-step-num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #17162a;
  border: 2px solid var(--brand-pink);
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
.ct-steps b {
  display: block;
  margin-top: 2px;
  font-family: var(--title-font);
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
}
.ct-steps small {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Map ---------- */
.ct-map {
  padding: 0 0 100px;
  background: #ffffff;
}
.ct-map-frame {
  position: relative;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #ece9f5;
  box-shadow: 0 34px 70px -40px rgba(18, 20, 28, 0.45);
}
.ct-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.ct-map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 380px;
  padding: 20px 22px 20px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 50px -24px rgba(18, 20, 28, 0.5);
}
.ct-map-card b {
  display: block;
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 700;
  color: #12141c;
}
.ct-map-card p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #5b6072;
}
.ct-map-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-pink);
}
.ct-map-card a i {
  font-size: 12px;
  transition: transform 250ms var(--header-ease);
}
.ct-map-card a:hover i {
  transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .ct-quick-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 14px;
  }
  .ct-quick {
    margin-top: -36px;
  }
  .ct-form-section {
    padding: 64px 0 70px;
  }
}
@media (max-width: 575.98px) {
  .ct-qcard {
    padding: 18px 16px;
    gap: 14px;
  }
  .ct-qcard-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .ct-qcard-text b {
    font-size: 15px;
  }
  .ct-map {
    padding-bottom: 70px;
  }
  .ct-map-frame {
    height: 480px;
    border-radius: 22px;
  }
  .ct-map-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 16px;
  }
}

/* hero: extra room at the bottom for the overlapping cards */
.ab-hero.ct-hero {
  padding-bottom: 120px;
}
@media (max-width: 575.98px) {
  .ab-hero.ct-hero {
    padding-bottom: 90px;
  }
}

/* email: only ever breaks after the "@", never mid-word */
.ct-qcard-text b.ct-qcard-email {
  overflow-wrap: normal;
  word-break: normal;
}
