/* ─── CONTACT PAGE STYLES ─── */

/* Contact Hero */
.contact-hero {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  animation: fadeUp 0.6s ease both;
}

.contact-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 20px;
}

.contact-hero .hero-subtitle {
  font-size: 18px;
  max-width: 100%;
}

/* Contact Container */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  animation: fadeUp 0.6s ease 0.1s both;
}

/* Contact Form */
.contact-form-wrapper {
  padding: 40px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 24px;
  height: 100%; /* add this */
  box-sizing: border-box; /* add this to prevent overflow */
}

.contact-form-wrapper h2 {
  margin-bottom: 28px;
}

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

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

.contact-form label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--deep);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(138, 171, 150, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .cta-primary {
  margin-top: 8px;
}

/* Contact Info */
.contact-info-wrapper h2 {
  margin-bottom: 28px;
}

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

.info-card {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.info-card:hover {
  border-color: var(--sage-light);
  box-shadow: 0 8px 24px rgba(90, 128, 104, 0.1);
  transform: translateY(-2px);
}

.info-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
}

.info-card .info-detail {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

/* FAQ Section */
.faq {
  margin-bottom: 80px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  border-color: var(--sage-light);
  box-shadow: 0 12px 36px rgba(90, 128, 104, 0.1);
}

.faq-item:hover::before {
  transform: scaleX(1);
}

.faq-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 920px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .contact-hero {
    margin-bottom: 40px;
    padding: 20px 0;
  }

  .contact-hero .hero-title {
    font-size: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}
