/* ==========================================================================
   Contact Us: Send Us a Message + Find Us on the Map (contact.html only).
   Two cards side by side, matching the Contact design. Scoped under .ph-enquiry.
   "on the Map" uses the index.html heading style (.hp-h2 + orange .hp-script).
   ========================================================================== */

.ph-enquiry {
  position: relative;
  padding: 40px 0 110px;
  background: linear-gradient(180deg, #eef3f9 0%, var(--hp-cream) 100%);
}

.ph-enquiry .ct-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ph-enquiry .ct-form-card,
.ph-enquiry .ct-map-card {
  min-width: 0;
  padding: clamp(28px, 3.4vw, 44px);
  background: #ffffff;
  border: 1px solid #e3e9f1;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(14, 42, 71, .08);
}

.ph-enquiry .ct-kicker {
  font-family: var(--hp-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hp-orange);
  margin: 0;
}

/* ---------- form ---------- */
.ph-enquiry .ct-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.ph-enquiry .ct-note {
  font-size: 13px;
  color: var(--hp-ink);
}

.ph-enquiry .ct-form-title {
  font-family: var(--hp-serif);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--hp-blue);
  margin: 0 0 12px;
}

.ph-enquiry .ct-form-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--hp-ink);
  margin: 0 0 26px;
}

.ph-enquiry .ct-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.ph-enquiry .ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ph-enquiry .ct-field--wide {
  grid-column: 1 / -1;
}

.ph-enquiry .ct-field > span {
  font-family: var(--hp-nav);
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-navy);
}

.ph-enquiry .ct-field input,
.ph-enquiry .ct-field select,
.ph-enquiry .ct-field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--hp-navy);
  background: #fbfaf7;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ph-enquiry .ct-field textarea {
  min-height: 130px;
  resize: vertical;
}

.ph-enquiry .ct-field input:focus,
.ph-enquiry .ct-field select:focus,
.ph-enquiry .ct-field textarea:focus {
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 4px rgba(10, 74, 149, .12);
}

.ph-enquiry .ct-submit {
  margin-top: 26px;
}

.ph-enquiry .form-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--hp-blue);
}

/* ---------- map ---------- */
.ph-enquiry .ct-map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

/* index.html heading style: DM Sans, navy, orange script word */
.ph-enquiry .ct-map-card .hp-h2 {
  font-family: var(--hp-sans);
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--hp-navy);
  margin: 6px 0 10px;
}

.ph-enquiry .ct-map-card .hp-h2 .hp-script {
  font-size: 60px;
  line-height: 1;
}

.ph-enquiry .ct-map-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--hp-ink);
  margin: 0;
}

.ph-enquiry .ct-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 64px;
  height: 72px;
  padding-top: 6px;
  border-radius: 18px;
  background: #fdeee4;
  overflow: hidden;
}

.ph-enquiry .ct-mascot img {
  width: 44px;
  height: auto;
}

.ph-enquiry .ct-mascot b {
  margin-top: 2px;
  font-family: var(--hp-nav);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--hp-navy);
}

/* embedded Google Map (interactive iframe) */
.ph-enquiry .ct-map {
  position: relative;
  height: 340px;
  overflow: hidden;
  border: 1px solid #d9e3ee;
  border-radius: 24px;
  background: #eef2f6;
}

.ph-enquiry .ct-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .ph-enquiry {
    padding: 28px 0 80px;
  }
  .ph-enquiry .ct-enquiry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
}

/* ---------- phones ---------- */
@media (max-width: 620px) {
  .ph-enquiry .ct-form-card,
  .ph-enquiry .ct-map-card {
    padding: 24px 20px;
    border-radius: 26px;
  }
  .ph-enquiry .ct-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-enquiry .ct-map {
    height: 280px;
  }
  .ph-enquiry .ct-map-label {
    font-size: 11px;
    padding: 4px 10px;
  }
  .ph-enquiry .ct-map-school {
    font-size: 11px;
    padding: 7px 12px;
  }
  .ph-enquiry .ct-map-chip {
    font-size: 13px;
    padding: 6px 12px;
  }
  .ph-enquiry .ct-map-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .ph-enquiry .ct-map-foot .hp-pill {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-enquiry .ct-map img {
    transition: none;
  }
}

/* more breathing room between the map, the address and the button */
.ph-enquiry .ct-map-card .ct-map {
  margin-bottom: 0;
}

.ph-enquiry .ct-map-card .ct-map-foot {
  margin-top: 34px;
  padding-top: 0;
  align-items: center;
  gap: 24px 28px;
}

.ph-enquiry .ct-map-card .ct-map-address {
  line-height: 1.6;
}

@media (max-width: 620px) {
  .ph-enquiry .ct-map-card .ct-map-foot {
    margin-top: 28px;
    gap: 18px;
  }
}

/* space between the address text and the Get Directions button */
.ph-enquiry .ct-map-card .ct-map-foot {
  row-gap: 28px;
}

.ph-enquiry .ct-map-card .ct-map-foot .hp-pill {
  margin-top: 4px;
}

@media (max-width: 620px) {
  .ph-enquiry .ct-map-card .ct-map-foot {
    row-gap: 26px;
  }
}
