.page-faq {
  --faq-line: rgba(248, 249, 250, 0.18);
  --faq-glow: rgba(244, 162, 97, 0.16);
  --faq-hard-shadow: 6px 6px 0 rgba(27, 38, 59, 0.08);
}

.page-faq img {
  max-width: 100%;
  height: auto;
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  color: var(--clr-light);
  background:
    radial-gradient(circle at 85% 12%, var(--faq-glow), transparent 40%),
    linear-gradient(120deg, var(--clr-deep) 0%, #22395c 55%, var(--clr-primary) 135%);
  padding: 32px 0 44px;
  border-bottom: 6px solid var(--clr-accent);
}

.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.page-faq .faq-hero__content {
  max-width: 680px;
}

.page-faq .faq-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(248, 249, 250, 0.72);
}

.page-faq .faq-hero .breadcrumbs a {
  color: rgba(248, 249, 250, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-hero .breadcrumbs a:hover {
  color: var(--clr-accent);
  border-color: currentColor;
}

.page-faq .faq-hero .breadcrumbs .sep {
  color: rgba(248, 249, 250, 0.38);
}

.page-faq .faq-hero .breadcrumbs [aria-current="page"] {
  color: var(--clr-accent);
}

.page-faq .faq-hero .eyebrow {
  color: var(--clr-accent);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.page-faq .faq-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5.4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.page-faq .faq-hero__lead {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(248, 249, 250, 0.84);
  max-width: 62ch;
}

.page-faq .faq-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 28px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 249, 250, 0.18);
}

.page-faq .faq-hero__stat {
  display: grid;
  gap: 2px;
}

.page-faq .faq-hero__num {
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1.1;
}

.page-faq .faq-hero__label {
  font-size: 12px;
  color: rgba(248, 249, 250, 0.68);
}

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

.page-faq .faq-hero__media {
  margin-top: 34px;
  background: var(--clr-paper);
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.page-faq .faq-hero__wave {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 42px;
}

.page-faq .faq-section {
  position: relative;
  background: var(--clr-light);
  padding: 56px 0 64px;
}

.page-faq .faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    var(--clr-primary) 0 18px,
    transparent 18px 32px,
    var(--clr-accent) 32px 46px,
    transparent 46px 60px
  );
}

.page-faq .faq-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.page-faq .faq-tab-btn {
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--clr-primary);
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px 8px 999px 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.18);
}

.page-faq .faq-tab-btn:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 2px;
}

.page-faq .faq-tab-btn.is-active {
  background: var(--clr-accent);
  color: var(--clr-deep);
  border-color: var(--clr-accent);
  box-shadow: 0 6px 16px rgba(244, 162, 97, 0.34);
}

.page-faq .faq-panel__intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 26px;
  padding: 18px 20px;
  background: rgba(65, 90, 119, 0.08);
  border: 1px solid rgba(45, 106, 79, 0.16);
  border-radius: 16px 4px 16px 4px;
}

.page-faq .faq-panel__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 13px;
  color: var(--clr-accent);
  background: var(--clr-deep);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.page-faq .faq-panel__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--clr-darkgreen);
  line-height: 1.3;
}

.page-faq .faq-panel__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-slate);
}

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

.page-faq .faq-item {
  background: var(--clr-light);
  border: 1px solid rgba(45, 106, 79, 0.14);
  border-left: 5px solid var(--clr-primary);
  border-radius: 16px 4px 16px 4px;
  box-shadow: var(--faq-hard-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-item[open] {
  border-left-color: var(--clr-accent);
  box-shadow: 8px 8px 0 rgba(244, 162, 97, 0.12);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-darkgreen);
  line-height: 1.5;
}

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

.page-faq .faq-item__q:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: -3px;
  border-radius: 12px 4px 0 0;
}

.page-faq .faq-item__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px 2px 8px 2px;
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
}

.page-faq .faq-item__mark--a {
  background: var(--clr-accent);
  color: var(--clr-deep);
}

.page-faq .faq-item__text {
  flex: 1;
}

.page-faq .faq-item__icon {
  flex-shrink: 0;
  position: relative;
  width: 15px;
  height: 15px;
  color: var(--clr-slate);
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-faq .faq-item__icon::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.page-faq .faq-item__icon::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.page-faq .faq-item[open] .faq-item__icon::before {
  transform: translateX(-50%) scaleY(0);
}

.page-faq .faq-item__a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 18px 18px;
  border-top: 1px dashed rgba(45, 106, 79, 0.22);
}

.page-faq .faq-item__a p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--clr-slate);
}

.page-faq .faq-toolnote {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 18px;
  background: var(--clr-paper);
  border: 1px dashed var(--clr-primary);
  border-radius: 18px 6px 18px 6px;
}

.page-faq .faq-toolnote__img {
  width: 100%;
  border-radius: 12px 4px 12px 4px;
  box-shadow: var(--faq-hard-shadow);
}

.page-faq .faq-toolnote__body {
  align-self: center;
}

.page-faq .faq-toolnote__body .eyebrow {
  color: var(--clr-red);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-faq .faq-toolnote__body h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--clr-darkgreen);
}

.page-faq .faq-toolnote__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--clr-slate);
}

.page-faq .faq-shortcut {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, var(--faq-glow), transparent 36%),
    var(--clr-darkgreen);
  color: var(--clr-light);
  padding: 60px 0 56px;
}

.page-faq .faq-shortcut::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(248, 249, 250, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.page-faq .faq-shortcut__head {
  max-width: 560px;
  margin: 0 auto 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-faq .faq-shortcut__head .eyebrow {
  color: var(--clr-accent);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-faq .faq-shortcut__head h2 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
}

.page-faq .faq-shortcut__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(248, 249, 250, 0.75);
}

.page-faq .faq-shortcut__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-faq .faq-shortcut__card {
  display: block;
  position: relative;
  padding: 18px 54px 18px 18px;
  background: var(--clr-paper);
  color: var(--clr-darkgreen);
  border-radius: 16px 4px 16px 4px;
  text-decoration: none;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-shortcut__card:hover,
.page-faq .faq-shortcut__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.16);
}

.page-faq .faq-shortcut__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.page-faq .faq-shortcut__note {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--clr-slate);
}

.page-faq .faq-shortcut__arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--clr-accent);
  border: 1px solid var(--clr-accent);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-faq .faq-shortcut__card:hover .faq-shortcut__arrow,
.page-faq .faq-shortcut__card:focus-visible .faq-shortcut__arrow {
  transform: translateY(-50%) translateX(4px);
  background: var(--clr-accent);
  color: var(--clr-darkgreen);
}

.page-faq .faq-shortcut__contact {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 249, 250, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  color: rgba(248, 249, 250, 0.8);
}

.page-faq .faq-shortcut__contact span {
  opacity: 0.75;
}

.page-faq .faq-shortcut__dot {
  margin: 0 4px;
}

@keyframes faq-spin-ring {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-hero__ring {
    animation: none;
  }
}

@media (min-width: 620px) {
  .page-faq .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-faq .faq-toolnote {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .page-faq .faq-hero {
    padding-top: 40px;
  }

  .page-faq .faq-hero__grid {
    margin-top: 40px;
  }
}

@media (min-width: 860px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) auto;
    gap: 40px;
    align-items: center;
    margin-top: 48px;
  }

  .page-faq .faq-hero__badge {
    display: grid;
    place-items: center;
    position: relative;
    width: 180px;
    height: 180px;
    justify-self: end;
    align-self: center;
    color: rgba(248, 249, 250, 0.7);
  }

  .page-faq .faq-hero__badge svg {
    position: relative;
    z-index: 1;
  }

  .page-faq .faq-hero__ring {
    position: absolute;
    inset: -16px;
    border: 2px dashed rgba(244, 162, 97, 0.5);
    border-radius: 50%;
    animation: faq-spin-ring 32s linear infinite;
  }

  .page-faq .faq-tab-list {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .page-faq .faq-tab-btn {
    flex: 0 1 auto;
    min-width: 148px;
  }

  .page-faq .faq-hero__wave {
    height: 72px;
  }

  .page-faq .faq-shortcut__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .page-faq .faq-shortcut__card {
    min-height: 148px;
    padding-right: 18px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-section {
    padding: 72px 0 80px;
  }

  .page-faq .faq-panel__intro {
    padding: 20px 24px;
  }

  .page-faq .faq-list {
    gap: 14px;
  }

  .page-faq .faq-toolnote {
    padding: 24px;
  }

  .page-faq .faq-shortcut {
    padding: 72px 0 64px;
  }
}
