.page-faq {
  --faq-teal: #0f4c5c;
  --faq-teal-soft: #eef4f5;
  --faq-orange: #f39c12;
  --faq-orange-soft: #fdf5e7;
  --faq-green: #27ae60;
  --faq-green-soft: #edf7f1;
  --faq-wine: #7b2d3b;
  --faq-radius: 24px;
  --faq-space: clamp(56px, 8vw, 112px);
  overflow-x: hidden;
}

.faq-hero {
  position: relative;
  background: linear-gradient(140deg, var(--c-primary) 0%, #0b4468 55%, var(--c-jewel-teal) 100%);
  color: var(--c-white);
  padding: 48px 0 72px;
  overflow: hidden;
}

.faq-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.faq-hero::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -140px;
  width: 100%;
  height: 260px;
  background: linear-gradient(115deg, transparent 49.6%, rgba(255, 255, 255, 0.05) 49.9%, transparent 50.2%);
  transform: rotate(-6deg);
  pointer-events: none;
}

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

.faq-hero .breadcrumb {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
}

.faq-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-hero .breadcrumb a:hover {
  color: var(--c-accent);
}

.faq-hero .breadcrumb__sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

.faq-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin: 0 0 18px;
}

.faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--c-white);
}

.faq-hero__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 0 26px;
}

.faq-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 20px;
  max-width: 480px;
  margin: 0 0 22px;
  backdrop-filter: blur(6px);
}

.faq-search__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 0;
}

.faq-search__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.faq-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-text);
  flex-shrink: 0;
}

.faq-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
}

.faq-hero__quick a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.faq-hero__quick a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.faq-hero__quick-sep {
  color: rgba(255, 255, 255, 0.3);
}

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

.faq-hero__tags .tag {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--c-white);
}

.faq-hero__visual {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.faq-hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.faq-hero__visual::after {
  content: "";
  position: absolute;
  top: -18px;
  right: -14px;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: var(--c-accent);
  opacity: 0.8;
  z-index: 0;
}

.faq-hero__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.faq-section {
  padding: var(--faq-space) 0;
  background: var(--c-bg);
}

.faq-section--teal {
  background: linear-gradient(180deg, var(--faq-teal-soft) 0%, var(--c-bg) 100%);
}

.faq-section--orange {
  background: linear-gradient(180deg, var(--faq-orange-soft) 0%, var(--c-bg) 100%);
}

.faq-section--green {
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--faq-green-soft) 100%);
}

.faq-section--wine {
  background: var(--faq-wine);
  color: rgba(255, 255, 255, 0.92);
}

.faq-section__head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

.faq-section__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-white);
  background: var(--faq-teal);
  flex-shrink: 0;
}

.faq-section__index--orange {
  background: var(--faq-orange);
  color: var(--c-text);
}

.faq-section__index--green {
  background: var(--faq-green);
}

.faq-section__index--wine {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f3d2d8;
}

.faq-section__title-wrap {
  min-width: 0;
}

.faq-section__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 12px;
}

.faq-section__badge--teal {
  color: var(--faq-teal);
  background: rgba(15, 76, 92, 0.12);
}

.faq-section__badge--orange {
  color: #b96e06;
  background: rgba(243, 156, 18, 0.16);
}

.faq-section__badge--green {
  color: var(--faq-green);
  background: rgba(39, 174, 96, 0.14);
}

.faq-section__badge--wine {
  color: #c75d6d;
  background: rgba(255, 255, 255, 0.14);
}

.faq-section__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
  margin: 0 0 10px;
}

.faq-section--wine .faq-section__title {
  color: var(--c-white);
}

.faq-section__lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0;
  max-width: 620px;
}

.faq-section--wine .faq-section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-surface);
  border-radius: var(--faq-radius);
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 28px rgba(44, 62, 80, 0.1);
}

.faq-item--teal[open] {
  border-color: rgba(15, 76, 92, 0.28);
}

.faq-item--orange[open] {
  border-color: rgba(243, 156, 18, 0.36);
}

.faq-item--green[open] {
  border-color: rgba(39, 174, 96, 0.32);
}

.faq-item--wine[open] {
  border-color: rgba(199, 93, 109, 0.36);
}

.faq-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-text);
  transition: color 0.2s ease;
}

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

.faq-item__summary:hover {
  color: var(--c-primary);
}

.faq-item--orange .faq-item__summary:hover {
  color: #b96e06;
}

.faq-item--green .faq-item__summary:hover {
  color: var(--faq-green);
}

.faq-item--wine .faq-item__summary:hover {
  color: var(--faq-wine);
}

.faq-item__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-white);
  background: var(--faq-teal);
}

.faq-item--orange .faq-item__num {
  background: var(--faq-orange);
  color: var(--c-text);
}

.faq-item--green .faq-item__num {
  background: var(--faq-green);
}

.faq-item--wine .faq-item__num {
  background: var(--faq-wine);
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid var(--c-surface);
  border-radius: 50%;
  background: var(--c-bg);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  background: var(--c-text);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

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

.faq-item[open] .faq-item__icon {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq-item__answer {
  padding: 0 24px 24px 84px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-muted);
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item--orange .faq-item__answer a {
  color: #b96e06;
}

.faq-item--green .faq-item__answer a {
  color: var(--faq-green);
}

.faq-item--wine .faq-item__answer a {
  color: var(--faq-wine);
}

.faq-export-img {
  max-width: 920px;
  margin: 48px auto 0;
  text-align: center;
}

.faq-export-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(44, 62, 80, 0.12);
}

.faq-export-img__caption {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-muted);
}

.faq-contact {
  max-width: 920px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--faq-radius);
  padding: 28px;
}

.faq-contact__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 10px;
}

.faq-contact__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.faq-contact .btn {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .faq-section__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-section__index {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }

  .faq-item__summary {
    padding: 18px 16px;
    gap: 12px;
    font-size: 15px;
  }

  .faq-item__num {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .faq-item__answer {
    padding: 0 16px 20px 60px;
    font-size: 14px;
  }

  .faq-contact {
    padding: 24px;
  }
}

@media (min-width: 768px) {
  .faq-contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
  }
}

@media (min-width: 1024px) {
  .faq-hero {
    padding: 72px 0 96px;
  }

  .faq-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
  }

  .faq-list {
    gap: 20px;
  }

  .faq-section__head {
    grid-template-columns: 88px 1fr;
    gap: 28px;
    margin-bottom: 48px;
  }

  .faq-section__index {
    width: 88px;
    height: 88px;
    font-size: 28px;
  }

  .faq-item__summary {
    padding: 24px 28px;
    font-size: 17px;
  }

  .faq-item__answer {
    padding: 0 28px 28px 96px;
    font-size: 16px;
  }
}

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