/* ============================================
   ParkStrata — Contact Page Styles
   ============================================ */

/* ── Contact Hero ──────────────────────────── */
.contact-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 60%);
}

.contact-hero__title {
  font-size: 44px;
  font-weight: 800;
  color: var(--gray-900);
  margin: 16px 0;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.contact-hero__subtitle {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Contact Content ───────────────────────── */
.contact-content {
  padding: 60px 0 100px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}

/* ── Form Card ─────────────────────────────── */
.contact__form-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact__form-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.contact__form-card > p {
  font-size: 15px;
  color: var(--gray-400);
  margin-bottom: 28px;
}

/* Email CTA */
.contact__email-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__email-note {
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  margin: 0;
}

.contact__email-note a {
  color: var(--primary);
  font-weight: 600;
}

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

.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .2s var(--ease);
}

.contact__info-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__info-icon svg {
  width: 22px;
  height: 22px;
}

.contact__info-icon--green {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.contact__info-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.contact__info-card a {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}
.contact__info-card a:hover {
  text-decoration: underline;
}

.contact__info-card p {
  font-size: 14px;
  color: var(--gray-600);
}

.contact__info-card small {
  font-size: 12px;
  color: var(--gray-400);
  display: block;
  margin-top: 2px;
}

/* ── FAQ ───────────────────────────────────── */
.contact__faq {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}

.contact__faq h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.contact__faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}

.contact__faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact__faq-item summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.contact__faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform .2s var(--ease);
  flex-shrink: 0;
}

.contact__faq-item[open] summary::after {
  content: '\2212';
  color: var(--primary);
}

.contact__faq-item p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 8px;
  padding-right: 24px;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
  .contact-hero {
    padding: 110px 0 40px;
  }

  .contact-hero__title {
    font-size: 32px;
  }

  /* minmax(0, 1fr) stops the single column from stretching to the
     min-content width of the long "Email info@parkstrata.com.au" button,
     which was pushing the page ~27px wider than the viewport. */
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .contact__form-card {
    padding: 24px;
  }

  /* Buttons default to white-space: nowrap; on narrow screens let the label
     wrap at the space (keeping the email address itself intact) and use a
     rounded rectangle instead of a full pill so two lines don't balloon into
     an oval. Trimmed padding + font give the address room to stay on one line. */
  .contact__email-cta .btn {
    white-space: normal;
    line-height: 1.4;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: var(--radius);
  }
}
