.page-faq {
  --faq-accent: #FF6F00;
  --faq-accent-soft: #FFF3E8;
  --faq-teal: #00C2A8;
  --faq-teal-soft: #E0F7F4;
  --faq-indigo: #7C5CFF;
  --faq-indigo-soft: #EFEBFF;
  --faq-amber: #FFC107;
  --faq-amber-soft: #FFF8E1;
  --faq-card-radius: 1rem;
  background: #F5F7FA;
}

.page-faq .faq-hero {
  background: #0A1F44;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 30px;
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.4), rgba(0, 194, 168, 0.2));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-faq .faq-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-faq .faq-hero__lead {
  max-width: 560px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.page-faq .faq-hero__visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.3);
}

.page-faq .faq-search-area {
  position: relative;
  z-index: 5;
}

.page-faq .faq-search-panel {
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(10, 31, 68, 0.12);
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  margin-top: -3rem;
}

.page-faq .faq-search__label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  color: #0A1F44;
  margin-bottom: 0.75rem;
}

.page-faq .faq-search__box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #F5F7FA;
  border: 1.5px solid #E8ECF2;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-search__box:focus-within {
  border-color: #FF6F00;
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.15);
}

.page-faq .faq-search__icon {
  color: #FF6F00;
  flex-shrink: 0;
}

.page-faq .faq-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #121E33;
  outline: none;
  min-width: 0;
}

.page-faq .faq-search__input::placeholder {
  color: #4A5A7A;
  opacity: 0.7;
}

.page-faq .faq-search__hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #4A5A7A;
}

.page-faq .faq-top-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.page-faq .faq-top-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-left: 4px solid #0A1F44;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-top-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(10, 31, 68, 0.1);
}

.page-faq .faq-top-card__rank {
  font-family: var(--font-data);
  font-size: 0.875rem;
  font-weight: 700;
  color: #FF6F00;
  margin: 0 0 0.5rem;
}

.page-faq .faq-top-card__title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  line-height: 1.4;
  color: #0A1F44;
  margin: 0 0 0.75rem;
}

.page-faq .faq-top-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4A5A7A;
  margin: 0 0 1rem;
}

.page-faq .faq-top-card__link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0A1F44;
  text-decoration: none;
  border-bottom: 2px solid #00C2A8;
  padding-bottom: 0.125rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-top-card__link:hover {
  color: #FF6F00;
  border-bottom-color: #FF6F00;
}

.page-faq .faq-layout {
  background: #FFFFFF;
}

.page-faq .faq-layout__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.page-faq .faq-sidebar__sticky {
  position: sticky;
  top: 5.5rem;
}

.page-faq .faq-sidebar__label {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4A5A7A;
  margin: 0 0 1rem;
}

.page-faq .faq-category-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid #E8ECF2;
}

.page-faq .faq-category-link {
  display: block;
  padding: 0.875rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #4A5A7A;
  text-decoration: none;
  border-bottom: 1px solid #E8ECF2;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-left-color 0.2s ease, background 0.2s ease;
}

.page-faq .faq-category-link.is-active,
.page-faq .faq-category-link:hover {
  color: #0A1F44;
  border-left-color: #FF6F00;
  background: #F5F7FA;
}

.page-faq .faq-sidebar__contact {
  padding: 1.5rem;
  background: #0A1F44;
  color: #FFFFFF;
  border-radius: 0.75rem;
}

.page-faq .faq-sidebar__contact-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.page-faq .faq-content {
  min-width: 0;
}

.page-faq .faq-section {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #E8ECF2;
}

.page-faq .faq-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.page-faq .faq-section__title {
  font-family: var(--font-head);
  font-size: 1.75rem;
  line-height: 1.2;
  color: #0A1F44;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.page-faq .faq-section__index {
  font-family: var(--font-data);
  font-size: 0.875rem;
  color: #FF6F00;
  font-weight: 700;
}

.page-faq .accordion {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-faq .accordion details {
  background: #F5F7FA;
  border-radius: 0.75rem;
  border: 1px solid #E8ECF2;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-faq .accordion details[open] {
  border-color: #FF6F00;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.12);
}

.page-faq .accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #121E33;
  transition: color 0.2s ease;
}

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

.page-faq .accordion summary::after {
  content: "+";
  font-family: var(--font-data);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FF6F00;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.page-faq .accordion details[open] summary::after {
  transform: rotate(45deg);
}

.page-faq .accordion summary:hover {
  color: #0A1F44;
}

.page-faq .accordion-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4A5A7A;
}

.page-faq .accordion-body p {
  margin: 0 0 0.75rem;
}

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

.page-faq .faq-flow-panel {
  display: grid;
  gap: 0;
  background: #0A1F44;
  color: #FFFFFF;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: 1.5rem;
}

.page-faq .faq-flow-panel__img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.page-faq .faq-flow-panel__body {
  padding: 1.5rem;
}

.page-faq .faq-flow-panel__label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  color: #00C2A8;
  margin: 0 0 1rem;
}

.page-faq .faq-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-flow-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.page-faq .faq-flow-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: #FF6F00;
  border-radius: 50%;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.875rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.page-faq .faq-cta {
  background: #0A1F44;
  color: #FFFFFF;
  text-align: center;
}

.page-faq .faq-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.page-faq .faq-cta__label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: #00C2A8;
  text-transform: uppercase;
  margin: 0;
}

.page-faq .faq-cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

.page-faq .faq-cta__text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  margin: 0;
}

.page-faq .btn-primary {
  background: #FF6F00;
  border-color: #FF6F00;
  color: #FFFFFF;
}

.page-faq .btn-primary:hover {
  background: #E56300;
  border-color: #E56300;
}

.page-faq .btn-outline {
  border: 1.5px solid #0A1F44;
  color: #0A1F44;
  background: transparent;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.page-faq .btn-outline:hover {
  background: #F5F7FA;
}

.page-faq .btn-secondary {
  background: #FF6F00;
  border-color: #FF6F00;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.page-faq .btn-secondary:hover {
  background: #E56300;
}

@media (min-width: 640px) {
  .page-faq .faq-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-faq .faq-flow-panel__img {
    height: 100%;
    min-height: 250px;
    object-fit: cover;
  }

  .page-faq .faq-flow-panel__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }

  .page-faq .faq-top-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-faq .faq-layout__grid {
    grid-template-columns: 280px 1fr;
    gap: 4rem;
  }
}
