.contact-page-wrapper:first-of-type {
  margin-top: 0;
}

.contact-page-wrapper {
  width: min(1100px, 94%);
  margin: 0.5rem auto;
  padding: 2rem 0.35rem;
}

.contact-flex {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.contact-photo img {
  width: 380px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(15, 45, 84, 0.14);
}

.contact-info {
  max-width: 600px;
}

.contact-info h1 {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-info h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.contact-info p {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}

.map-container {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .contact-page-wrapper {
    width: calc(100% - 18px);
    padding: 1rem 0.2rem;
    margin: 0.9rem auto;
  }

  .contact-flex {
    flex-direction: column;
    text-align: center;
  }
}
