/* =========================
   Haiphen Contact (scoped)
   ========================= */

.hp-contact{
  /* Break out of global centered typography */
  text-align: left;
  width: 100%;
}

.hp-contact-grid{
  display: grid;
  grid-template-columns: 1.25fr 0.75fr; /* form larger, info smaller */
  gap: 1.25rem;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.hp-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(17,24,39,0.10);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17,24,39,0.10);
}

.hp-form-card,
.hp-info-card{
  padding: 1.1rem;
}

/* Make sure global input/textarea rules elsewhere don't wreck this */
.hp-contact input,
.hp-contact textarea,
.hp-contact button{
  font: inherit;
}

/* Fields grid */
.hp-fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .95rem 1rem;
  align-items: start;
}

.hp-field span{
  display:block;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}

.hp-field-full{ grid-column: 1 / -1; }

.hp-field-box{
  border: 1px solid rgba(17,24,39,0.10);
  border-radius: 14px;
  background: rgba(248,250,252,0.92);
  padding: .6rem .65rem;
}

.hp-field-box-message{
  padding: .75rem .75rem;
}

.hp-contact input,
.hp-contact textarea{
  width:100%;
  border: 0;
  background: transparent;
  padding: .15rem .1rem;
  font-size: 1rem;
  outline: none;
  color: #0f172a;
}

.hp-contact textarea{
  min-height: 220px;
  resize: vertical;
  line-height: 1.55;
}

.hp-field-box:focus-within{
  box-shadow: 0 0 0 4px rgba(90,155,212,0.16);
  border-color: rgba(90,155,212,0.65);
  background: #ffffff;
}

.hp-actions{
  display:flex;
  align-items:center;
  gap:.85rem;
  margin-top: .2rem;
}

.hp-status{ color: var(--muted); font-weight: 700; }

.hp-footnote{
  margin: .35rem 0 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.hp-muted{ color: var(--muted); }

.hp-honeypot{
  position:absolute !important;
  left:-9999px !important;
  width:1px; height:1px;
  opacity:0;
}

/* Info card */
.hp-brand{
  display:flex;
  gap:.85rem;
  align-items:center;
  margin-bottom:.75rem;
}

.hp-robot{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.10);
  object-fit: cover;     /* ✅ fixes nature.png looking weird */
  padding: 0;            /* ✅ don’t “postage stamp” photos */
  background: #fff;
}

.hp-title{ font-weight: 900; font-size: 1.1rem; }
.hp-tagline{ color: var(--muted); font-weight: 700; margin-top: .1rem; }

.hp-info-row{
  display:flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px dashed rgba(17,24,39,0.10);
}
.hp-info-row:last-of-type{ border-bottom: 0; }

.hp-k{ color: var(--muted); font-weight: 700; }
.hp-v a{ font-weight: 800; color: var(--text); text-decoration: none; }
.hp-v a:hover{ text-decoration: underline; }

.hp-quote{
  margin: .95rem 0 0 0;
  padding: .75rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(248,250,252,0.92);
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}
.hp-quote-by{
  display:block;
  margin-top:.35rem;
  color: var(--muted);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px){
  .hp-contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .hp-fields{ grid-template-columns: 1fr; }
  .hp-robot{ width: 56px; height: 56px; }
}