/* Source: widgets/13.html — keep CSS identical to the HTML. */
.edge-faq {
  --edge-faq-primary: #094a3c;
  --edge-faq-secondary: #daa630;
  --edge-faq-tertiary: #000000;
  --edge-faq-bg: #f8f9f8;
  --edge-faq-card: #ffffff;
  --edge-faq-text: #1a1a1a;
  --edge-faq-muted: #5a5a5a;
  --edge-faq-border: rgba(9, 74, 60, 0.12);
  --edge-faq-heading-font: "Plus Jakarta Sans", sans-serif;
  --edge-faq-body-font: "Poppins", sans-serif;

  width: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(218, 166, 48, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(9, 74, 60, 0.05) 0%, transparent 50%),
    var(--edge-faq-bg);
  color: var(--edge-faq-text);
  font-family: var(--edge-faq-body-font);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
}

.edge-faq *,
.edge-faq *::before,
.edge-faq *::after {
  box-sizing: border-box;
}

.edge-faq__inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* Section 2: Category Tab Navigation */
.edge-faq__nav {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.edge-faq__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--edge-faq-border);
}

.edge-faq__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  font-family: var(--edge-faq-heading-font);
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--edge-faq-muted);
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

/* Elementor theme button overrides — keep original underline tab look */
#edge-faq button.edge-faq__tab,
.edge-faq button.edge-faq__tab {
  color: var(--edge-faq-muted) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

.edge-faq__tab::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 2px;
  background: var(--edge-faq-secondary);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-faq__tab:hover,
#edge-faq button.edge-faq__tab:hover,
.edge-faq button.edge-faq__tab:hover {
  color: var(--edge-faq-primary) !important;
  background: rgba(9, 74, 60, 0.04) !important;
  background-color: rgba(9, 74, 60, 0.04) !important;
}

.edge-faq__tab.is-active,
#edge-faq button.edge-faq__tab.is-active,
.edge-faq button.edge-faq__tab.is-active {
  color: var(--edge-faq-primary) !important;
  background: transparent !important;
  background-color: transparent !important;
}

.edge-faq__tab.is-active::after {
  transform: scaleX(1);
}

.edge-faq__tab:focus-visible {
  outline: 2px solid var(--edge-faq-primary);
  outline-offset: 2px;
}

.edge-faq__select-wrap {
  display: none;
  position: relative;
}

.edge-faq__select-label {
  display: block;
  font-family: var(--edge-faq-heading-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edge-faq-primary);
  margin-bottom: 0.5rem;
}

.edge-faq__select {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 2.75rem 0.625rem 1rem;
  font-family: var(--edge-faq-heading-font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--edge-faq-primary);
  background: var(--edge-faq-card);
  border: 1px solid var(--edge-faq-border);
  border-radius: 10px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edge-faq__select:focus {
  outline: none;
  border-color: var(--edge-faq-primary);
  box-shadow: 0 0 0 3px rgba(9, 74, 60, 0.12);
}

.edge-faq__select-icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 1rem;
  height: 1rem;
  color: var(--edge-faq-primary);
  pointer-events: none;
}

/* Section 3: FAQ Accordion */
.edge-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
}

.edge-faq__group {
  transition: opacity 0.3s ease;
}

.edge-faq__group.is-hidden {
  display: none;
}

.edge-faq__group-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--edge-faq-heading-font);
  font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edge-faq-secondary);
  margin: 0 0 1rem;
}

.edge-faq__group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(218, 166, 48, 0.35);
}

.edge-faq__items {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.edge-faq__item {
  background: var(--edge-faq-card);
  border: 1px solid var(--edge-faq-border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.edge-faq__item:hover {
  border-color: rgba(9, 74, 60, 0.2);
}

.edge-faq__item.is-open {
  border-color: rgba(9, 74, 60, 0.22);
  box-shadow: 0 8px 24px rgba(9, 74, 60, 0.07);
}

.edge-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.375rem);
  font-family: var(--edge-faq-heading-font);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--edge-faq-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  transition: color 0.2s ease;
}

#edge-faq button.edge-faq__trigger,
.edge-faq button.edge-faq__trigger {
  color: var(--edge-faq-primary) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

.edge-faq__trigger:hover {
  color: var(--edge-faq-tertiary);
}

.edge-faq__trigger:focus-visible {
  outline: 2px solid var(--edge-faq-primary);
  outline-offset: -2px;
}

.edge-faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(9, 74, 60, 0.08);
  color: var(--edge-faq-primary);
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease;
}

.edge-faq__item.is-open .edge-faq__icon {
  transform: rotate(180deg);
  background: rgba(218, 166, 48, 0.18);
  color: var(--edge-faq-secondary);
}

.edge-faq__icon svg {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}

.edge-faq__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.edge-faq__item.is-open .edge-faq__panel {
  max-height: var(--edge-faq-panel-height, 24rem);
  opacity: 1;
  visibility: visible;
}

.edge-faq__answer {
  padding: 0 clamp(1rem, 2.5vw, 1.375rem) clamp(1.125rem, 2vw, 1.375rem);
  font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--edge-faq-muted);
  margin: 0;
}

/* Section 4: Still Have Questions CTA */
.edge-faq__cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(9, 74, 60, 0.04) 0%, rgba(218, 166, 48, 0.06) 100%),
    var(--edge-faq-card);
  border: 1px solid var(--edge-faq-border);
  border-radius: 16px;
}

.edge-faq__cta-headline {
  font-family: var(--edge-faq-heading-font);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--edge-faq-primary) !important;
  margin: 0 0 0.625rem;
}

.edge-faq__cta-copy {
  max-width: 32rem;
  margin: 0 auto clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(0.875rem, 1.5vw, 0.96875rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--edge-faq-muted);
}

#edge-faq a.edge-faq__cta-btn,
.edge-faq a.edge-faq__cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.385rem 1.375rem !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 24px !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: #daa630 !important;
  background-image: none !important;
  border: 2px solid #daa630 !important;
  border-radius: 50px !important;
  box-shadow: none !important;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    gap 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#edge-faq a.edge-faq__cta-btn:visited,
.edge-faq a.edge-faq__cta-btn:visited {
  color: #ffffff !important;
}

#edge-faq a.edge-faq__cta-btn:hover,
#edge-faq a.edge-faq__cta-btn:focus,
.edge-faq a.edge-faq__cta-btn:hover,
.edge-faq a.edge-faq__cta-btn:focus {
  color: #ffffff !important;
  background-color: #094a3c !important;
  border-color: #094a3c !important;
  text-decoration: none !important;
  gap: 0.55rem;
  box-shadow: 0 6px 18px rgba(9, 74, 60, 0.35) !important;
  transform: translateY(-1px);
}

#edge-faq a.edge-faq__cta-btn:focus-visible,
.edge-faq a.edge-faq__cta-btn:focus-visible {
  outline: 2px solid #094a3c !important;
  outline-offset: 3px;
}

#edge-faq a.edge-faq__cta-btn:active,
.edge-faq a.edge-faq__cta-btn:active {
  color: #ffffff !important;
  background-color: #073d32 !important;
  border-color: #073d32 !important;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(9, 74, 60, 0.25) !important;
}

@media (max-width: 640px) {
  .edge-faq__tabs {
    display: none;
  }

  .edge-faq__select-wrap {
    display: block;
  }
}

@media (max-width: 380px) {
  #edge-faq a.edge-faq__cta-btn,
  .edge-faq a.edge-faq__cta-btn {
    width: 100%;
    padding: 0.42rem 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edge-faq__panel,
  .edge-faq__icon,
  .edge-faq__item,
  .edge-faq__tab,
  .edge-faq__cta-btn {
    transition: none;
  }

  .edge-faq__cta-btn:hover,
  .edge-faq__cta-btn:focus {
    transform: none;
  }
}
