.page-faq {
  --faq-bg: #f1f6ec;
  --faq-card: #ffffff;
  --faq-border: #d9e8cd;
  --faq-deep: #1B4D3E;
  --faq-grid-line: rgba(27, 77, 62, .06);
  position: relative;
  background: var(--faq-bg);
  font-family: var(--font-body);
}

.page-faq .faq-hero {
  position: relative;
  padding: 28px 0 56px;
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 18%, rgba(0, 166, 81, .5), transparent 58%),
    linear-gradient(132deg, #14332a 0%, #1B4D3E 48%, #145a38 100%);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 18% 30%, #000 20%, transparent 74%);
  mask-image: radial-gradient(ellipse at 18% 30%, #000 20%, transparent 74%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -40px;
  height: 110px;
  background: linear-gradient(108deg, transparent 30%, rgba(255, 199, 0, .22) 68%, transparent 72%);
  transform: rotate(-4deg);
  pointer-events: none;
}

.page-faq .faq-hero .container {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__ghost {
  position: absolute;
  right: -58px;
  top: 24px;
  width: 280px;
  height: 280px;
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero .breadcrumb {
  margin: 0 0 16px;
}

.page-faq .faq-hero .breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .2s;
}

.page-faq .faq-hero .breadcrumb a:hover {
  color: #fff;
}

.page-faq .faq-hero .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
}

.page-faq .faq-hero .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, .9);
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 34px;
  align-items: center;
  padding-top: 30px;
}

.page-faq .faq-hero__content {
  position: relative;
  z-index: 2;
}

.page-faq .map-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-faq .faq-hero h1 {
  margin: 12px 0 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 800;
  color: #fff;
}

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

.page-faq .faq-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.page-faq .faq-fact {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 14px 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
}

.page-faq .faq-fact__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
}

.page-faq .faq-fact__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

.page-faq .faq-hero__cta {
  margin-top: 28px;
}

.page-faq .faq-hero__media {
  margin: 0;
  position: relative;
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.page-faq .faq-desk {
  position: relative;
  padding: 46px 0 64px;
}

.page-faq .faq-desk::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 39px, var(--faq-grid-line) 40px);
  pointer-events: none;
}

.page-faq .faq-layout {
  position: relative;
  display: grid;
  gap: 28px;
}

.page-faq .faq-filter-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-faq .faq-sidebar__inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--faq-deep);
  color: #fff;
  padding: 22px 18px;
  box-shadow: var(--shadow-float);
}

.page-faq .faq-sidebar__inner::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -30px;
  width: 90px;
  height: 90px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  pointer-events: none;
}

.page-faq .faq-sidebar__kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--yellow-400);
  text-transform: uppercase;
}

.page-faq .faq-sidebar__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.page-faq .faq-sidebar__desc {
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
}

.page-faq .faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-faq .faq-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background .25s var(--ease-out),
    border-color .25s,
    color .25s,
    box-shadow .25s;
}

.page-faq .faq-filter__num {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .7;
}

.page-faq .faq-sidebar__figure {
  margin: 18px 0 14px;
}

.page-faq .faq-sidebar__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
}

.page-faq .faq-sidebar__cta {
  display: flex;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.page-faq #faq-all:checked ~ .faq-sidebar label[for="faq-all"],
.page-faq #faq-usage:checked ~ .faq-sidebar label[for="faq-usage"],
.page-faq #faq-service:checked ~ .faq-sidebar label[for="faq-service"],
.page-faq #faq-account:checked ~ .faq-sidebar label[for="faq-account"] {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 166, 81, .35);
}

.page-faq #faq-usage:checked ~ .faq-groups .faq-group:not([data-cat="usage"]),
.page-faq #faq-service:checked ~ .faq-groups .faq-group:not([data-cat="service"]),
.page-faq #faq-account:checked ~ .faq-groups .faq-group:not([data-cat="account"]) {
  display: none;
}

.page-faq .faq-groups {
  display: grid;
  gap: 34px;
}

.page-faq .faq-group {
  animation: faq-group-in .4s var(--ease-out);
}

@keyframes faq-group-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq .faq-group__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--faq-border);
  font-size: 22px;
  font-weight: 800;
  color: var(--faq-deep);
}

.page-faq .faq-group__icon {
  color: var(--green-600);
  flex-shrink: 0;
}

.page-faq .faq-group__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange-500);
  letter-spacing: .06em;
}

.page-faq .faq-item {
  position: relative;
  margin-bottom: 14px;
  border: 1px solid var(--faq-border);
  border-radius: 14px;
  background: var(--faq-card);
  overflow: hidden;
  transition:
    border-color .3s,
    box-shadow .3s var(--ease-out);
}

.page-faq .faq-item:hover {
  border-color: rgba(0, 166, 81, .5);
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 166, 81, .6);
  box-shadow: 0 10px 24px rgba(27, 77, 62, .1);
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
}

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

.page-faq .faq-item__index {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red-600);
  background: rgba(227, 6, 19, .08);
  border-radius: 8px;
  padding: 3px 7px;
}

.page-faq .faq-item__ballwrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  flex-shrink: 0;
  transition:
    transform .35s var(--ease-out),
    background .3s,
    color .3s;
}

.page-faq .faq-item__text {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.page-faq .faq-item__toggle {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  transition: background .25s;
}

.page-faq .faq-item__toggle::before,
.page-faq .faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-700);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out);
}

.page-faq .faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item[open] summary .faq-item__toggle {
  background: var(--green-600);
}

.page-faq .faq-item[open] summary .faq-item__toggle::before,
.page-faq .faq-item[open] summary .faq-item__toggle::after {
  background: #fff;
}

.page-faq .faq-item[open] summary .faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.page-faq .faq-item[open] summary .faq-item__ballwrap {
  transform: rotate(160deg) scale(1.06);
  background: var(--green-600);
  color: #fff;
}

.page-faq .faq-item__answer {
  border-top: 1px dashed var(--faq-border);
  background: linear-gradient(180deg, #fdfdf8 0%, #fff 44%);
  padding: 14px 18px 18px;
}

.page-faq .faq-item__answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #41534a;
}

.page-faq .faq-item__a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--red-600);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  vertical-align: 2px;
  flex-shrink: 0;
}

.page-faq .faq-quick {
  padding: 0 0 60px;
}

.page-faq .faq-quick__inner {
  border-radius: 24px;
  background: linear-gradient(105deg, var(--green-900) 0%, var(--green-600) 100%);
  color: #fff;
  padding: 34px 26px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-float);
}

.page-faq .faq-quick__intro {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.page-faq .faq-quick__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.page-faq .faq-quick__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.page-faq .faq-quick__link {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background .25s,
    transform .25s var(--ease-out);
}

.page-faq .faq-quick__link:hover {
  background: rgba(255, 255, 255, .24);
  transform: translateY(-2px);
}

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

  .page-faq .faq-hero__facts {
    gap: 12px;
  }

  .page-faq .faq-fact__num {
    font-size: 22px;
  }
}

@media (min-width: 992px) {
  .page-faq .faq-hero {
    padding: 60px 0 72px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    padding-top: 44px;
  }

  .page-faq .faq-hero h1 {
    font-size: 52px;
  }

  .page-faq .faq-hero__ghost {
    right: 40px;
    width: 360px;
    height: 360px;
  }

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

  .page-faq .faq-sidebar__inner {
    padding: 28px 24px;
    position: sticky;
    top: 116px;
  }

  .page-faq .faq-filters {
    flex-direction: column;
    gap: 12px;
  }

  .page-faq .faq-filter {
    width: 100%;
    justify-content: space-between;
  }

  .page-faq .faq-sidebar__figure {
    margin: 24px 0 18px;
  }

  .page-faq .faq-quick__inner {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    padding: 40px 38px;
  }

  .page-faq .faq-quick__links {
    justify-content: flex-end;
    margin-top: 0;
  }

  .page-faq .faq-quick__text {
    margin-top: 6px;
  }
}
