/* ==========================================================================
   Customer Support
   Page: customer-support 
   ========================================================================== */

.customer-support {
  padding: 4.8rem 0;
}

.customer-support__inner {
  max-width: 76.8rem;
  margin: 0 auto;
}

/* Header
   ========================================================================== */

.customer-support__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.customer-support__header-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-support__header-icon svg,
.customer-support__header-icon .dashicons {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary-foreground, #fff);
}

.customer-support__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-foreground, #1a1a1a);
  margin: 0;
}

/* Contact Cards
   ========================================================================== */

.customer-support__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .customer-support__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.customer-support__card {
  background: var(--color-card, #fff);
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: 1.2rem;
  padding: 2.4rem 1.6rem 1.6rem;
  text-align: center;
}

.customer-support__card-icon {
  margin: 0 auto 0.8rem;
}

.customer-support__card-icon svg,
.customer-support__card-icon .dashicons {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-primary, #22c55e);
}

.customer-support__card-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-foreground, #1a1a1a);
  margin: 0 0 0.4rem;
}

.customer-support__card-value {
  font-size: 1.2rem;
  color: var(--color-muted-foreground, #737373);
  margin: 0;
}

/* FAQ Accordion
   ========================================================================== */

.customer-support__faq-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-foreground, #1a1a1a);
  margin: 0 0 1.6rem;
}

.customer-support__accordion {
  width: 100%;
}

.customer-support__accordion-item {
  border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.customer-support__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.6rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-foreground, #1a1a1a);
  transition: color 0.2s ease;
}

.customer-support__accordion-trigger:hover {
  color: var(--color-primary, #22c55e);
}

.customer-support__accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-muted-foreground, #737373);
}

.customer-support__accordion-trigger[aria-expanded="true"]
  .customer-support__accordion-chevron {
  transform: rotate(180deg);
}

.customer-support__accordion-content {
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}

.customer-support__accordion-content[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.customer-support__accordion-content.is-open {
  max-height: 32rem;
  opacity: 1;
  visibility: visible;
}

.customer-support__accordion-body {
  padding: 0 0 1.6rem;
  font-size: 1.4rem;
  color: var(--color-muted-foreground, #737373);
  line-height: 1.6;
}
