/* ============================================================
   CONTACT.CSS — contact.html only
   Contact grid, form, details, ICAI disclaimer
   ============================================================ */

.contact-section {
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.cdetail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.cdetail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cdetail label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cdetail a {
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 500;
  display: block;
  transition: color 0.2s;
}
.cdetail a:hover {
  color: var(--gold-dark);
}
.cdetail span {
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 500;
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.csocial-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: 5px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.csocial-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.icai-box {
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  font-size: 11.5px;
  color: var(--navy);
  line-height: 1.7;
}
.icai-box strong {
  display: block;
  font-size: 12px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.form-wrap {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  border: 1px solid var(--border-navy);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 88px;
}
.form-wrap-title {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  color: var(--navy-dark);
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  padding: 10px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--navy-dark);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.btn-submit {
  width: 100%;
  background: var(--navy-dark);
  color: var(--gold);
  border: none;
  padding: 14px 20px;
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  margin-top: 0.25rem;
}
.btn-submit:hover {
  background: var(--navy-mid);
}
.form-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.55;
  text-align: center;
}

/* ── Validation states ─────────────────────────────────────── */
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #dc2626;
}
.field input.invalid:focus,
.field select.invalid:focus,
.field textarea.invalid:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.field-error {
  display: none;
  font-size: 11.5px;
  font-weight: 500;
  color: #dc2626;
  margin-top: 6px;
  line-height: 1.45;
}
.field-error.show {
  display: block;
}
.field-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.field-meta .field-error {
  flex: 1;
}
.char-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.char-count.limit {
  color: #dc2626;
  font-weight: 600;
}

/* Honeypot — visually hidden off-screen; only bots fill it */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-wrap {
    position: static;
  }
}
@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
