.page-faq {
  --faq-border: #dfe7e1;
  --faq-glow: rgba(52, 211, 153, 0.16);
  --faq-glow-orange: rgba(255, 90, 31, 0.12);
  --faq-bg-glow: rgba(255, 179, 107, 0.18);
  --faq-radius: 20px;
  --faq-accordion-radius: 16px;
}

.page-faq .container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-faq .breadcrumbs {
  padding-top: 24px;
}

.page-faq .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #7C8DA6;
}

.page-faq .breadcrumbs a {
  color: #0A5C2A;
  text-decoration: none;
  font-weight: 500;
}

.page-faq .faq-hero {
  position: relative;
  margin-top: 8px;
  margin-bottom: 40px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(22, 163, 74, 0.14), transparent 58%),
    radial-gradient(ellipse at 88% 20%, rgba(255, 90, 31, 0.12), transparent 48%),
    #F4F7F6;
  border-radius: 28px;
  padding: 40px 0;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(255, 90, 31, 0.08));
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  border-radius: 28px;
}

.page-faq .faq-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-faq .faq-hero__text h1 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #14213D;
}

.page-faq .faq-hero__desc {
  max-width: 640px;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1F2937;
}

.page-faq .faq-hero__visual {
  display: none;
}

.page-faq .faq-hero__svg {
  width: 100%;
  height: auto;
  max-width: 480px;
}

.page-faq .faq-hero__track {
  fill: none;
  stroke: #34D399;
  stroke-width: 2;
  stroke-dasharray: 8 10;
  opacity: 0.7;
}

.page-faq .faq-hero__track--alt {
  stroke: #FF5A1F;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  opacity: 0.6;
}

.page-faq .faq-hero__orb {
  fill: #F4F7F6;
  stroke: #0A5C2A;
  stroke-width: 3;
}

.page-faq .faq-hero__orb--small {
  stroke: #FF5A1F;
  fill: #FFFFFF;
}

.page-faq .faq-hero__bolt {
  fill: none;
  stroke: #14213D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-faq .faq-hero__chat {
  fill: #0A5C2A;
  opacity: 0.92;
}

.page-faq .faq-hero__chat--alt {
  fill: #FF5A1F;
  opacity: 0.88;
}

.page-faq .faq-hero__chat-tail {
  fill: none;
  stroke: #14213D;
  stroke-width: 2;
  stroke-linecap: round;
}

.page-faq .faq-hero__line {
  stroke: #7C8DA6;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.6;
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 72px;
}

.page-faq .faq-sidebar {
  position: static;
  padding: 24px;
  background: #14213D;
  border-radius: 20px;
  color: #FFFFFF;
  align-self: start;
}

.page-faq .faq-sidebar .section-index {
  color: #34D399;
}

.page-faq .faq-sidebar__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-sidebar__link {
  display: block;
  padding: 10px 14px;
  color: #D1D9E6;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s;
}

.page-faq .faq-sidebar__link:hover,
.page-faq .faq-sidebar__link:focus-visible {
  color: #FFFFFF;
  border-left-color: #FF5A1F;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.page-faq .faq-sidebar__status {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-faq .faq-sidebar__status .status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(22, 163, 74, 0.2);
  color: #34D399;
  border-radius: 999px;
  font-size: 0.8125rem;
}

.page-faq .faq-sidebar__status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.page-faq .faq-sidebar__note {
  margin: 12px 0 0;
  color: #7C8DA6;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.page-faq .faq-content {
  display: grid;
  gap: 48px;
}

.page-faq .faq-section {
  position: relative;
  scroll-margin-top: 140px;
}

.page-faq .faq-section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.page-faq .faq-section__head .section-index {
  color: #FF5A1F;
}

.page-faq .faq-section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: #14213D;
  letter-spacing: -0.01em;
}

.page-faq .faq-accordion {
  display: grid;
  gap: 12px;
}

.page-faq .faq-item {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #dfe7e1;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(20, 33, 61, 0.04);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.page-faq .faq-item:has(.faq-item__btn--active) {
  border-color: #34D399;
}

.page-faq .faq-item:has(.faq-item__btn--active)::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18), transparent 70%);
  pointer-events: none;
}

.page-faq .faq-item__q {
  margin: 0;
}

.page-faq .faq-item__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.5;
}

.page-faq .faq-item__btn:hover,
.page-faq .faq-item__btn:focus-visible {
  outline: none;
  background: rgba(244, 247, 246, 0.4);
}

.page-faq .faq-item__icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #0A5C2A;
  transition: background-color 0.3s, border-radius 0.3s;
}

.page-faq .faq-item__icon::before {
  content: "";
  position: absolute;
  inset: 10px 5px;
  background: #FFFFFF;
  border-radius: 2px;
}

.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  inset: 5px 10px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-faq .faq-item__btn--active .faq-item__icon {
  background: #FF5A1F;
  border-radius: 50%;
}

.page-faq .faq-item__btn--active .faq-item__icon::after {
  transform: scaleY(0);
}

.page-faq .faq-item__a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #1F2937;
  font-size: 0.9375rem;
  line-height: 1.75;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s, opacity 0.3s;
}

.page-faq .faq-item__a--open {
  max-height: 300px;
  padding: 0 20px 20px 56px;
  opacity: 1;
}

.page-faq .faq-item__a p {
  margin: 0 0 8px;
}

.page-faq .faq-item__a p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background:
    radial-gradient(ellipse at 12% 12%, rgba(255, 179, 107, 0.14), transparent 50%),
    #FFFFFF;
  border: 2px solid #FF5A1F;
  border-radius: 24px;
  padding: 28px 24px;
  scroll-margin-top: 140px;
  overflow: hidden;
}

.page-faq .faq-contact-card::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.14), transparent 70%);
}

.page-faq .faq-contact-card__text {
  position: relative;
  z-index: 1;
}

.page-faq .faq-contact-card__text .section-index {
  color: #FF5A1F;
}

.page-faq .faq-contact-card__text h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: #14213D;
}

.page-faq .faq-contact-card__text p:not(.section-index) {
  margin: 0 0 20px;
  color: #4B5563;
  line-height: 1.7;
}

.page-faq .faq-contact-card__visual {
  position: relative;
  z-index: 1;
}

.page-faq .faq-contact-card__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-faq .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #FFFFFF;
  background: #FF5A1F;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255, 90, 31, 0.32);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.page-faq .btn-cta:hover,
.page-faq .btn-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.36);
  outline: none;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 52px 0;
  }

  .page-faq .faq-hero__text h1 {
    font-size: 2.75rem;
  }

  .page-faq .faq-hero__visual {
    display: block;
  }

  .page-faq .faq-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
  }

  .page-faq .faq-layout {
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-faq .faq-sidebar {
    position: sticky;
    top: 120px;
  }

  .page-faq .faq-contact-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero__text h1 {
    font-size: 3.5rem;
  }

  .page-faq .faq-sidebar__link {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
