/* ================================================
   CONTACT US PAGE
   astra-child/assets/css/contact.css
   ================================================ */

.contact-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 32px;
}

/* ── Hero ── */
.contact-hero {
  text-align: center;
  padding-bottom: 56px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 48px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0052cc;
  margin-bottom: 20px;
}

.contact-eyebrow::before,
.contact-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #0052cc;
}

.contact-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: #0d0d0d;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact-lead {
  font-size: 18px;
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Contact type cards ── */
.contact-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.contact-type-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-type-card:hover {
  border-color: #0052cc;
  transform: translateY(-2px);
}

.contact-type-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.contact-type-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 8px;
}

.contact-type-desc {
  font-size: 13px;
  font-weight: 300;
  color: #7a7a7a;
  line-height: 1.6;
}

/* ── Main layout ── */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ── Form ── */
.contact-form-wrap {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 8px;
}

.req {
  color: #0052cc;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #0d0d0d;
  background: #fafaf8;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.08);
  background: white;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Enquiry type pills */
.contact-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.type-pill {
  cursor: pointer;
}

.type-pill input[type="radio"] {
  display: none;
}

.type-pill span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #3a3a3a;
  background: white;
  transition: all 0.2s;
  cursor: pointer;
}

.type-pill input[type="radio"]:checked + span {
  background: #0052cc;
  border-color: #0052cc;
  color: white;
}

.type-pill span:hover {
  border-color: #0052cc;
  color: #0052cc;
}

.type-pill input[type="radio"]:checked + span:hover {
  color: white;
}

/* Submit button */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0052cc;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  align-self: flex-start;
}

.contact-btn:hover {
  background: #003d99;
  color: white;
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 48px 24px;
}

.contact-success-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.contact-success h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 12px;
}

.contact-success p {
  font-size: 15px;
  font-weight: 300;
  color: #7a7a7a;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Error state */
.contact-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ── Sidebar info ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
}

.contact-info-card--dark {
  background: #0d0d0d;
  border-color: #0d0d0d;
}

.contact-info-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0052cc;
  margin-bottom: 10px;
}

.contact-info-title--light {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 14px;
}

.contact-info-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.contact-info-link:hover {
  color: #0052cc;
}

.contact-info-note {
  font-size: 13px;
  font-weight: 300;
  color: #7a7a7a;
  line-height: 1.6;
}

/* Response times */
.contact-response-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-response-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #9ca3af;
  font-weight: 300;
}

.contact-response-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-response-dot--green {
  background: #059669;
}

.contact-response-dot--blue {
  background: #0052cc;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-types {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .contact-wrap { padding: 40px 20px; }
  .contact-form-wrap { padding: 24px; }
  .contact-types { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .contact-types { grid-template-columns: 1fr; }
}
