﻿.faq {
  max-width: 1920px;
  margin: 118px auto 30px;
  padding: 0;
  font-family: 'AGAvalancheC', Arial, sans-serif;
}

.faq__wrap {
  min-height: 1084px;
  padding: 120px 112px 112px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 7% 88%, rgba(149, 224, 242, 0.72) 0, rgba(149, 224, 242, 0.34) 19%, rgba(149, 224, 242, 0) 44%),
    radial-gradient(circle at 80% 4%, rgba(183, 252, 252, 0.78) 0, rgba(183, 252, 252, 0.34) 22%, rgba(183, 252, 252, 0) 48%),
    linear-gradient(120deg, #f0f7f8 0%, #edf7f8 58%, #dff4f5 100%);
  display: grid;
  grid-template-columns: minmax(360px, 560px) minmax(720px, 944px);
  justify-content: space-between;
  gap: 80px;
}

.faq__left,
.faq__right {
  width: auto;
}

.faq__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 22px;
  border: 1px solid rgba(198, 161, 117, 0.55);
  border-radius: 999px;
  color: #242728;
  font-family: 'ManropeBold', Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.faq__title {
  margin: 40px 0 0;
  color: #242728;
  font-size: 70px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faq__title span {
  color: rgba(216, 153, 75, 1);
}

.faq__lead {
  max-width: 520px;
  margin: 38px 0 0;
  color: #7d8a8e;
  font-family: 'ManropeRegular', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
}

.faq__right {
  padding-top: 68px;
}

.faq__item {
  padding: 0;
  border-top: 1px solid rgba(36, 39, 40, 0.13);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(36, 39, 40, 0.13);
}

.faq__q {
  display: grid;
  grid-template-columns: 48px 1fr 58px;
  align-items: center;
  width: 100%;
  min-height: 93px;
  padding: 0;
  border: 0;
  background: none;
  color: #242728;
  cursor: pointer;
  font-family: 'AGAvalancheC', Arial, sans-serif;
  font-size: 23px;
  line-height: 1.28;
  text-align: left;
}

.faq__num {
  align-self: center;
  color: rgba(216, 153, 75, 1);
  font-family: 'ManropeRegular', Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.faq__question {
  min-width: 0;
}

.faq__icon {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #242728;
  transition: background .25s ease, transform .25s ease;
}

.faq__icon svg {
  width: 23px;
  height: 23px;
}

.faq__a {
  display: none;
  max-width: 760px;
  margin: -15px 76px 34px 48px;
  color: #242728;
  font-family: 'ManropeRegular', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

.faq__item.is-open .faq__a {
  display: block;
}

.faq__item.is-open .faq__icon {
  background: #242728;
  border-color: #242728;
  transform: rotate(180deg);
}

.faq__item.is-open .faq__icon svg rect {
  fill: #fff;
}

@media (max-width: 960px) {
  .faq {
    margin: 50px -13px 56px;
    padding: 0;
    overflow: hidden;
  }

  .faq__wrap {
    min-height: auto;
    padding: 50px 13px 22px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background:
      radial-gradient(circle at 5% 12%, rgba(181, 227, 244, 0.8) 0, rgba(181, 227, 244, 0.36) 25%, rgba(181, 227, 244, 0) 52%),
      linear-gradient(180deg, #e8f6fb 0%, #edf8fa 100%);
  }

  .faq__left,
  .faq__right {
    width: 100%;
  }

  .faq__badge {
    min-height: 34px;
    padding: 7px 18px;
  }

  .faq__title {
    margin-top: 24px;
    font-size: 26px;
    line-height: 1.32;
  }

  .faq__lead {
    max-width: 338px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .faq__right {
    padding-top: 0;
  }

  .faq__item {
    padding-top: 10px;
  }

  .faq__q {
    min-height: 76px;
    grid-template-columns: 34px minmax(0, 1fr) 56px;
    align-items: start;
    font-size: 17px;
    line-height: 1.42;
    overflow-wrap: break-word;
  }

  .faq__num {
    align-self: start;
    font-size: 14px;
    line-height: 1.42;
  }

  .faq__icon {
    align-self: start;
    justify-self: end;
    width: 42px;
    height: 42px;
    margin-top: -6px;
  }

  .faq__icon svg {
    width: 22px;
    height: 22px;
  }

  .faq__a {
    max-width: none;
    width: auto;
    margin: 4px 0 22px 34px;
    padding-right: 56px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .faq__item.is-open .faq__icon {
    margin-top: 0;
    margin-right: 0;
    border-radius: 50%;
    background: #242728;
    border-color: #242728;
  }
}

@media (max-width: 1500px) and (min-width: 961px) {
  .faq {
    padding: 0 clamp(20px, 3.4vw, 56px);
  }

  .faq__wrap {
    min-height: auto;
    padding: clamp(72px, 7vw, 104px) clamp(48px, 5.4vw, 88px);
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.38fr);
    gap: clamp(38px, 5vw, 72px);
  }

  .faq__right {
    min-width: 0;
    padding-top: clamp(38px, 4.8vw, 62px);
  }

  .faq__title {
    font-size: clamp(48px, 5vw, 64px);
  }

  .faq__lead {
    max-width: 420px;
  }

  .faq__q {
    grid-template-columns: 42px minmax(0, 1fr) 54px;
    min-height: 86px;
    font-size: clamp(19px, 1.75vw, 23px);
  }

  .faq__a {
    max-width: none;
    margin-right: 54px;
  }
}

@media (max-width: 1120px) and (min-width: 961px) {
  .faq__wrap {
    padding: 64px 44px;
    grid-template-columns: minmax(250px, 0.74fr) minmax(0, 1.26fr);
    gap: 34px;
  }

  .faq__title {
    font-size: clamp(42px, 4.8vw, 54px);
  }

  .faq__lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .faq__q {
    grid-template-columns: 36px minmax(0, 1fr) 48px;
    font-size: 18px;
  }

  .faq__icon {
    width: 48px;
    height: 48px;
  }

  .faq__a {
    margin-left: 36px;
    margin-right: 48px;
  }
}

/* ===== FAQ INTERACTIONS ===== */
.faq__q,
.faq__icon {
  transition-property: background, color, box-shadow, transform;
  transition-duration: .24s;
  transition-timing-function: ease;
}

@media (hover: hover) and (pointer: fine) {
  .faq__q:hover {
    color: rgba(216, 153, 75, 1);
  }

  .faq__q:hover .faq__icon {
    background: #242728;
    box-shadow: 0 12px 28px rgba(36, 39, 40, .16);
    transform: translateX(3px);
  }

  .faq__q:hover .faq__icon svg rect {
    fill: #fff;
  }

  .faq__item.is-open .faq__q:hover .faq__icon {
    transform: rotate(180deg) translateX(-3px);
  }
}

.faq__q:focus-visible {
  outline: 2px solid rgba(201, 156, 100, .76);
  outline-offset: 4px;
}

/* Reacy2 color pass */
.faq__wrap {
  background:
    radial-gradient(circle at 4% 92%, rgb(13 61 101 / 58%) 0%, rgb(16 60 85 / 32%) 22%, rgba(4, 19, 43, 0) 46%),
    linear-gradient(153.35deg, #04132B 33.55%, #11405a 50.28%, #144975 56.09%, #04142D 84.46%);
}

.faq__badge,
.faq__title,
.faq__q,
.faq__a {
  color: #fff;
}

.faq__lead,
.faq__num {
  color: rgba(255, 255, 255, 0.58);
}

.faq__title span,
.faq__q:hover {
  color: rgba(216, 153, 75, 1);
}

.faq__item,
.faq__item:last-child {
  border-color: rgba(255, 255, 255, 0.13);
}

.faq__icon {
  color: #fff;
}

.faq__icon svg rect {
  fill: currentColor;
}

.faq__item.is-open .faq__icon,
.faq__q:hover .faq__icon {
  background: #fff;
  border-color: #fff;
  color: rgba(18, 29, 47, 1);
}

.faq__item.is-open .faq__icon svg rect,
.faq__q:hover .faq__icon svg rect {
  fill: currentColor;
}

