/* Стили для страницы Политика конфиденциальности */

.legal-policy-page {
  width: 100%;
  min-height: 100vh;
}

/* Privacy Hero Section */
.legal-hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 32px;
}

.legal-hero-star {
  position: absolute;
  top: -80px;
  height: 799px;
  width: auto;
  pointer-events: none;
  z-index: 0;
}

.legal-hero-star--left {
  left: 0;
}

.legal-hero-star--right {
  right: 0;
  transform: scaleX(-1);
}

.legal-hero-container {
  position: relative;
  max-width: 1500px;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  z-index: 1;
}

.legal-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 160px;
}

.legal-hero-title {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #108669;
  margin: 0;
  text-shadow: 0px 16px 25px 0px #10866929;
}

.legal-content-block {
  border-radius: 32px;
  padding: 24px;
  gap: 20px;
  background: #FFFFFF;
  box-shadow: 0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A,
              0px 0px 0px 1px #2F2F2F0A;
  display: flex;
  flex-direction: column;
}

.legal-text {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.legal-text--with-bullets {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-text--with-bullets span {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.legal-text--with-bullets span::before {
  content: '•';
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.1em;
}

.legal-text--with-bullet {
  display: flex;
  align-items: flex-start;
}

.legal-text--with-bullet::before {
  content: '•';
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.1em;
}

.legal-subtitle {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.legal-content-block p,
.legal-content-block li {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.legal-content-block h2,
.legal-content-block h3,
.legal-content-block h4 {
  font-family: 'SF Pro', system-ui, -apple-system, sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.legal-content-block ul,
.legal-content-block ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-policy-page .footer-container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
}

/* FAQ Section */
.faq-section {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 160px;
  padding-inline: clamp(24px, calc(100px - (1440px - 100vw) * 76px / 416px), 100px);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-title {
  font-family: 'SF Pro', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  border-bottom-width: 2px;
  padding: 8px;
  background: #FFFFFF;
  box-shadow: 0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A,
              0px 0px 0px 1px #2F2F2F0A;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item--open {
  border: 1px solid #108669;
  box-shadow: 0px 5px 15px 0px #10866959,
              0px 0px 24px 1px #2F2F2F0A,
              0px 1px 1px -0.5px #2F2F2F0A,
              0px 3px 3px -1.5px #2F2F2F0A,
              0px 6px 6px -3px #2F2F2F0A,
              0px 12px 12px -6px #2F2F2F0A,
              0px 24px 24px -12px #2F2F2F0A;
}

.faq-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item-question {
  font-family: 'SF Pro', sans-serif;
  font-weight: 510;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin-inline: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  flex: 1;
}

.faq-item-arrow {
  width: 15.5px;
  height: 7.5px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-right: 16px;
}

.faq-item-arrow--rotated {
  transform: rotate(180deg);
}

.faq-item-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-answer-wrapper--open {
  max-height: 1000px;
}

.faq-item-answer {
  margin-top: 8px;
  gap: 10px;
  border-radius: 16px;
  padding: 24px 16px;
  background: #EFEFEF;
}

.faq-item-answer-text {
  font-family: 'SF Pro', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #2B2B2B;
  margin: 0;
}

@media (max-width: 768px) {
  .legal-hero-container {
    padding-inline: 20px !important;
  }

  .legal-hero-content {
    gap: 24px;
    margin-bottom: 64px;
  }

  .legal-hero-title {
    font-size: 32px;
  }

  .legal-subtitle {
    font-size: 14px;
  }

  .legal-content-block {
    gap: 16px;
  }

  .legal-text {
    font-size: 14px;
  }
}

