/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 80px 0 120px;
}

.contact-grid {
  display: grid;
  gap: 60px;
}

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


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

.info-block h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list li {
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  /* Allow long values (e.g. the 36-char admin email) to wrap instead of
     overflowing at narrow tablet widths where the 5fr info column is
     ~260–280px. */
  min-width: 0;
}

.info-list li i {
  color: var(--accent-text);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.7; /* aligns icon visually with the first line of wrapped text */
}

.info-list li a {
  color: var(--text-muted);
  /* Emails/URLs have no natural break points; anywhere lets the browser
     wrap between any two characters when the line runs out of room. */
  overflow-wrap: anywhere;
  min-width: 0;
}

.info-list li a:hover {
  color: var(--accent-text);
}

/* ========== FAQ ACCORDION ========== */
.faq-section {
  padding: 80px 0 120px;
  transition: background-color 0.3s ease;
}

[data-theme='light'] .faq-section {
  background: #f9f6ef;
}

[data-theme='dark'] .faq-section {
  background: #1a1a1a;
}

.faq-section .section-heading {
  margin-bottom: 50px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  list-style: none;
  color: var(--text-primary);
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

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

/* Editorial accent bar — sits in the 12 px cleared by `padding-left: 12px`
   on open and scales in from 0 height. Reads as a "this chapter is open"
   mark rather than the empty cleared space the previous version left. */
.faq-item summary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  width: 3px;
  height: 60%;
  background: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--accent-text);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-item[open] summary {
  color: var(--accent-text);
  padding-left: 12px;
}

.faq-item[open] summary::before {
  transform: translateY(-50%) scaleY(1);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--accent-text);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::before {
    transition: none;
  }
}

.faq-answer {
  padding: 0 0 22px 12px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 767px) {
  .contact-section {
    padding: 40px 0 60px;
  }

  .contact-grid {
    gap: 40px;
  }

  .faq-section {
    padding: 40px 0 60px;
  }
}

/* ========== RESPONSIVE: TABLET ========== */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 7fr 5fr;
  }
}
