.page-faq {
  --faq-access: var(--green);
  --faq-access-soft: var(--green-light);
  --faq-mobile: var(--yellow-deep);
  --faq-mobile-soft: var(--yellow-light);
  --faq-update: var(--yellow);
  --faq-update-soft: rgba(242, 201, 76, .08);
  --faq-data: var(--blue);
  --faq-data-soft: rgba(74, 144, 217, .08);
  overflow-x: hidden;
  background: var(--cream);
}
.faq-hero {
  position: relative;
  padding: calc(var(--header-height) + 36px) 0 48px;
  background:
    radial-gradient(circle at 82% 22%, rgba(45, 143, 94, .10), transparent 24%),
    linear-gradient(135deg, var(--green-light) 0%, var(--cream) 58%, #ffffff 100%);
  overflow: hidden;
}
.faq-hero::after {
  content: "";
  position: absolute;
  top: -16%;
  right: -14%;
  width: 52%;
  height: 130%;
  background: linear-gradient(105deg, transparent 40%, rgba(45, 143, 94, .10) 41%, rgba(45, 143, 94, .10) 45%, transparent 46%);
  transform: rotate(12deg);
  pointer-events: none;
}
.faq-hero__inner {
  position: relative;
  z-index: 1;
}
.faq-hero .breadcrumb {
  margin-bottom: 24px;
}
.faq-hero .breadcrumb__item {
  color: var(--gray-mid);
}
.faq-hero .breadcrumb__item a {
  color: var(--gray-mid);
  text-decoration: none;
}
.faq-hero .breadcrumb__item a:hover {
  color: var(--green);
}
.faq-hero .breadcrumb__current {
  font-weight: 600;
  color: var(--gray-deep);
}
.faq-hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.faq-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--green);
  text-transform: uppercase;
}
.faq-hero__kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--yellow);
  transform: skewX(-20deg);
  border-radius: 2px;
}
.faq-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.14;
  margin: 14px 0 16px;
  color: var(--gray-deep);
  letter-spacing: .01em;
}
.faq-hero__lead {
  font-size: 16px;
  line-height: 1.78;
  color: var(--gray-mid);
  max-width: 58ch;
  margin: 0;
}
.faq-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--gray-deep);
}
.faq-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.faq-hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  transform: rotate(45deg);
}
.faq-legend {
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .72);
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--gray-mid);
  box-shadow: var(--shadow-sm);
}
.faq-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.faq-legend__dot {
  width: 10px;
  height: 10px;
  transform: skewX(-12deg);
  border-radius: 1px;
}
.faq-legend__dot--access {
  background: var(--green);
}
.faq-legend__dot--mobile {
  background: var(--yellow-deep);
}
.faq-legend__dot--update {
  background: var(--yellow);
}
.faq-legend__dot--data {
  background: var(--blue);
}
.faq-hero__visual {
  margin: 0;
  display: flex;
  justify-content: center;
}
.faq-hero__img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px 24px 24px 8px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  transform: rotate(1.5deg);
}
.faq-tools {
  padding: 26px 0 32px;
  background: var(--white);
  border-bottom: 1px solid rgba(13, 27, 42, .06);
}
.faq-search {
  max-width: 720px;
}
.faq-search__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gray-deep);
  margin-bottom: 8px;
}
.faq-search__input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--gray-deep);
  background: var(--cream);
  border: 1px solid transparent;
  border-left: 4px solid var(--green);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.faq-search__input:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 143, 94, .12);
}
.faq-search__hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-mid);
  margin: 8px 0 0;
}
.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.faq-cats__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-deep);
  background: var(--cream);
  border: 1px solid rgba(13, 27, 42, .06);
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.faq-cats__link span {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-mid);
}
.faq-cats__link::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: skewX(-12deg);
  background: var(--gray-light);
}
.faq-cats__link--access::before {
  background: var(--green);
}
.faq-cats__link--mobile::before {
  background: var(--yellow-deep);
}
.faq-cats__link--update::before {
  background: var(--yellow);
}
.faq-cats__link--data::before {
  background: var(--blue);
}
.faq-cats__link:hover,
.faq-cats__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: var(--green-light);
}
.faq-route {
  margin-top: 24px;
  padding: 20px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 12px;
}
.faq-route__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.faq-route__step {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--yellow);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transform: skewX(-12deg);
}
.faq-route__item strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-deep);
  white-space: nowrap;
}
.faq-route__item span {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.45;
}
.faq-route__arrow {
  display: none;
}
.faq-cat {
  padding: 48px 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.faq-cat--access {
  background: var(--cream);
}
.faq-cat--mobile {
  background: var(--green-light);
}
.faq-cat--update {
  background: var(--night);
}
.faq-cat--data {
  background: var(--yellow-light);
}
.faq-cat__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.faq-cat__num {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  background: var(--white);
  padding: 8px 10px;
  border-radius: 6px;
  transform: skewX(-12deg);
  box-shadow: var(--shadow-sm);
  letter-spacing: .02em;
}
.faq-cat__head h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.25;
  margin: 4px 0 6px;
  color: var(--gray-deep);
}
.faq-cat__head p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-mid);
  margin: 0;
  max-width: 64ch;
}
.faq-cat__head a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-cat--update .faq-cat__head h2 {
  color: var(--yellow-light);
}
.faq-cat--update .faq-cat__head p {
  color: rgba(255, 255, 255, .72);
}
.faq-cat--update .faq-cat__head a {
  color: var(--yellow);
}
.faq-cat--update .faq-cat__num {
  background: var(--yellow);
  color: var(--night);
  box-shadow: none;
}
.faq-list {
  display: grid;
  gap: 16px;
}
.faq-item {
  --faq-accent: var(--green);
  --faq-soft: var(--green-light);
  --faq-trigger-hover: var(--white);
  background: var(--white);
  border-left: 5px solid var(--faq-accent);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.faq-cat--access .faq-item {
  --faq-accent: var(--green);
  --faq-soft: var(--green-light);
  --faq-trigger-hover: var(--white);
}
.faq-cat--mobile .faq-item {
  --faq-accent: var(--yellow-deep);
  --faq-soft: var(--yellow-light);
  --faq-trigger-hover: var(--white);
}
.faq-cat--update .faq-item {
  --faq-accent: var(--yellow);
  --faq-soft: rgba(242, 201, 76, .08);
  --faq-trigger-hover: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
}
.faq-cat--data .faq-item {
  --faq-accent: var(--blue);
  --faq-soft: rgba(74, 144, 217, .08);
  --faq-trigger-hover: var(--white);
}
.faq-item .panel__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 18px 14px;
  background: var(--faq-soft);
  color: var(--gray-deep);
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  transition: background var(--transition);
}
.faq-item .panel__trigger:hover {
  background: var(--faq-trigger-hover);
}
.faq-item__q {
  flex: 1;
  display: inline-flex;
  align-items: center;
}
.faq-item__q::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  transform: skewX(-16deg);
  background: var(--faq-accent);
  margin-right: 10px;
  border-radius: 1px;
}
.faq-item .panel__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  position: relative;
  border: 2px solid var(--faq-accent);
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}
.faq-item .panel__icon::before,
.faq-item .panel__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--faq-accent);
  border-radius: 2px;
}
.faq-item .panel__icon::before {
  width: 10px;
  height: 2px;
}
.faq-item .panel__icon::after {
  width: 2px;
  height: 10px;
}
.faq-item[data-open="true"] .panel__icon {
  background: var(--faq-accent);
}
.faq-item[data-open="true"] .panel__icon::before {
  background: var(--white);
}
.faq-item[data-open="true"] .panel__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-item .panel__body {
  padding: 18px 20px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-mid);
  border-top: 1px dashed rgba(13, 27, 42, .08);
}
.faq-item .panel__body p {
  margin: 0 0 12px;
  max-width: 72ch;
}
.faq-item .panel__body p:last-child {
  margin-bottom: 0;
}
.faq-item .panel__body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.faq-cat--update .faq-item .panel__trigger {
  color: #F8F6F3;
}
.faq-cat--update .faq-item .panel__body {
  color: rgba(255, 255, 255, .78);
  border-top-color: rgba(255, 255, 255, .12);
}
.faq-cat--update .faq-item .panel__body a {
  color: var(--yellow);
}
.faq-steps {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
  counter-reset: faq-step;
  display: grid;
  gap: 10px;
}
.faq-steps li {
  counter-increment: faq-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
}
.faq-steps li::before {
  content: counter(faq-step);
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--faq-accent);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  transform: skewX(-10deg);
  border-radius: 4px;
}
.faq-figure {
  margin: 18px 0;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.faq-figure figcaption {
  font-size: 13px;
  color: var(--gray-mid);
  padding: 10px 14px 12px;
  line-height: 1.5;
}
.faq-contact {
  padding: 56px 0;
  background: var(--night);
  color: #fff;
}
.faq-contact__inner {
  position: relative;
  max-width: 760px;
}
.faq-contact__inner::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 64px;
  height: 6px;
  background: var(--yellow);
  transform: skewX(-24deg);
  border-radius: 3px;
}
.faq-contact__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.faq-contact h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.25;
  margin: 10px 0 12px;
  color: #fff;
}
.faq-contact p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 62ch;
}
.faq-contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}
.faq-contact__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-contact__list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--yellow);
  transform: skewX(-14deg);
}
.faq-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.faq-contact .btn--outline {
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
  background: transparent;
}
.faq-contact .btn--outline:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.faq-contact__note {
  font-size: 14px;
}
.faq-contact__note a {
  color: var(--yellow);
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .faq-hero {
    padding: calc(var(--header-height) + 64px) 0 72px;
  }
  .faq-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 48px;
  }
  .faq-hero__visual {
    justify-content: flex-end;
  }
  .faq-tools {
    padding: 30px 0 36px;
  }
  .faq-tools__row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 28px;
    align-items: end;
  }
  .faq-cats {
    justify-content: flex-end;
    margin-top: 0;
  }
  .faq-cat {
    padding: 72px 0;
  }
  .faq-cat__head {
    gap: 24px;
    margin-bottom: 34px;
  }
  .faq-cat__num {
    font-size: 52px;
    padding: 10px 12px;
  }
  .faq-list {
    gap: 20px;
  }
  .faq-item .panel__trigger {
    padding: 20px 22px 20px 18px;
    font-size: 17px;
  }
  .faq-item .panel__body {
    padding: 22px 26px 26px;
    font-size: 15px;
  }
  .faq-contact {
    padding: 72px 0;
  }
}

@media (min-width: 860px) {
  .faq-route {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .faq-route__item {
    flex: 1;
  }
  .faq-route__arrow {
    display: block;
    flex: 0 0 auto;
    color: var(--green);
    font-size: 20px;
    font-weight: 700;
  }
}
