/* FAQ section — narashhivanie-volos */

.company_requisites {
  color: #666666;
  font-family: Open Sans;
}

.company_requisites__title {
  margin: 0 0 13px;
  color: #444444;
  font-size: 12px;
  line-height: 100%;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.company_requisites__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company_requisites__list li {
  margin: 0;
  color: #666666;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

.company_requisites__list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.company_requisites__list a:hover {
  color: #DCAEB0;
}

.meta_legal_notice {
  margin: 12px 0 0;
  color: #8a8a8a;
  font-family: Open Sans;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.footer_main_section .meta_legal_notice {
  text-align: left;
}

.footer_socials .meta_legal_notice {
  width: 100%;
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 640px) {
  .footer_socials .meta_legal_notice {
    max-width: 300px;
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.45;
  }
}

.wpcf7-acceptance label {
  align-items: flex-start;
  -webkit-align-items: flex-start;
}

.salon_form_section .wpcf7-acceptance label {
  align-items: flex-start;
  -webkit-align-items: flex-start;
}

.wpcf7-acceptance .checkbox_input {
  flex: 0 0 auto;
}

.wpcf7-acceptance .checkbox_input::before {
  margin-top: 3px;
}

.wpcf7-acceptance .wpcf7-list-item-label p {
  line-height: 1.55;
}

.wpcf7-acceptance .wpcf7-list-item-label a {
  color: #DCAEB0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: #c69395;
}

.cookie_consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: none;
  align-items: center;
  width: min(640px, calc(100vw - 48px));
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(220, 174, 176, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
  font-family: Open Sans;
  gap: 18px;
}

.cookie_consent.is_visible {
  display: flex;
}

.cookie_consent__text {
  color: #666666;
  font-size: 12px;
  line-height: 1.55;
}

.cookie_consent__text a {
  color: #DCAEB0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.cookie_consent__text a:hover {
  color: #c69395;
}

.cookie_consent__actions {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 150px;
}

.cookie_consent__button {
  flex: 0 0 auto;
  width: 100%;
  min-width: 118px;
  height: 42px;
  padding: 0 22px;
  border: 0;
  background: #DCAEB0;
  color: #fff;
  font-family: Open Sans;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie_consent__button:hover {
  background: #c69395;
}

.cookie_consent__button_secondary {
  background: #f6f2f2;
  color: #666666;
  border: 1px solid rgba(102, 102, 102, 0.22);
}

.cookie_consent__button_secondary:hover {
  background: #ede5e5;
}

@media (max-width: 640px) {
  .cookie_consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .cookie_consent__actions {
    width: 100%;
  }

  .cookie_consent__button {
    width: 100%;
    padding: 0 12px;
  }
}

.footer .footer_main_section .company_requisites {
  width: 100%;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(102, 102, 102, 0.18);
}

.footer .footer_main_section .company_requisites__list {
  max-width: 760px;
}

.contacts_page .company_requisites {
  margin-top: 29px;
  padding-top: 25px;
  border-top: 1px solid rgba(122, 122, 122, 0.18);
}

.contacts_page .company_requisites__title {
  margin-bottom: 14px;
  color: #7A7A7A;
  font-size: 18px;
  line-height: 22px;
}

.contacts_page .company_requisites__list {
  display: block;
}

.contacts_page .company_requisites__list li {
  font-size: 14px;
  line-height: 22px;
}

.contacts_page .company_requisites__list li:not(:first-child) {
  margin-top: 5px;
}

@media (max-width: 768px) {
  .footer .footer_main_section .company_requisites {
    margin-top: 24px;
    padding-top: 20px;
  }

  .footer .footer_main_section .company_requisites__list {
    display: block;
  }

  .footer .footer_main_section .company_requisites__list li:not(:first-child) {
    margin-top: 6px;
  }
}

.faq_section {
  padding: 80px 0 100px;
  background: #fff;
  overflow: visible;
}

.faq_section .container,
.faq_section__layout {
  overflow: visible;
}

/* sticky-fix: убираем overflow только у тех контейнеров,
   которые реально оборачивают .faq_section. Прочие страницы
   не затрагиваются. */
.tab_section:has(.faq_section),
.page:has(.faq_section),
.salon_page:has(.faq_section),
.new_page:has(.faq_section),
main:has(.faq_section) {
  overflow: visible;
}

.faq_section__head {
  text-align: center;
  margin-bottom: 50px;
}

.faq_section__eyebrow {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DCAEB0;
  margin: 0 0 18px;
  font-weight: 500;
}

.faq_section__title {
  font-size: 38px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
  color: #444;
  margin: 0 0 22px;
}

.faq_section__title span {
  color: #DCAEB0;
  font-weight: inherit;
}

.faq_section__lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

.faq_section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

/* List */
.faq_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq_item {
  background: #f7f7f7;
  border-radius: 10px;
  transition: background-color 0.25s ease;
  overflow: hidden;
}

.faq_item.is_open {
  background: #FBEFEC;
}

.faq_item__head {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  gap: 10px;
}

.faq_item__num {
  font-size: 28px;
  font-weight: 300;
  color: #DCAEB0;
  letter-spacing: 0.04em;
}

.faq_item__q {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  font-weight: 500;
}

.faq_item__icon {
  width: 28px;
  height: 28px;
  border: 1px solid #DCAEB0;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  justify-self: end;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq_item__icon::before,
.faq_item__icon::after {
  content: "";
  position: absolute;
  background: #DCAEB0;
  top: 50%;
  left: 50%;
  transition: transform 0.25s ease;
}

.faq_item__icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq_item__icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq_item.is_open .faq_item__icon {
  background: #DCAEB0;
}

.faq_item.is_open .faq_item__icon::before,
.faq_item.is_open .faq_item__icon::after {
  background: #fff;
}

.faq_item.is_open .faq_item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq_item__body {
  display: none;
}

.faq_item__body-inner {
  padding: 0 28px 24px 98px;
}

.faq_item__a {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

.faq_item__a p {
  margin: 0 0 10px;
}

.faq_item__a p:last-child {
  margin-bottom: 0;
}

/* CTA card */
.faq_cta {
  background: #2C2F36;
  color: #fff;
  border-radius: 10px;
  padding: 38px 36px 34px;
  position: sticky;
  top: 100px;
}

.faq_cta__title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #fff;
}

.faq_cta__title span {
  color: #DCAEB0;
  font-weight: inherit;
}

.faq_cta__text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 26px;
}

.faq_cta__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
}

.faq_cta__phone {
  display: inline-block;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.faq_cta__phone:hover {
  color: #DCAEB0;
}

.faq_cta__button {
  display: inline-block;
  background: #DCAEB0;
  color: #2C2F36;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: 0;
}

.faq_cta__button:hover {
  background: #c69395;
  color: #fff;
}

/* Adaptive */
@media (max-width: 1270px) {
  .faq_section .container {
    padding: 0 12px;
  }
}

@media (max-width: 1024px) {
  .faq_section__title {
    font-size: 30px;
  }
  .faq_section__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq_cta {
    position: static;
  }
}

@media (max-width: 640px) {
  .faq_section {
    padding: 50px 0 60px;
  }
  .faq_section__title {
    font-size: 22px;
  }
  .faq_section__head {
    margin-bottom: 30px;
  }
  .faq_item__head {
    grid-template-columns: 50px 1fr 28px;
    padding: 16px 18px;
    gap: 8px;
  }
  .faq_item__num {
    font-size: 22px;
  }
  .faq_item__q {
    font-size: 14px;
  }
  .faq_item__icon {
    width: 22px;
    height: 22px;
  }
  .faq_item__icon::before {
    width: 10px;
  }
  .faq_item__icon::after {
    height: 10px;
  }
  .faq_item__body-inner {
    padding: 0 18px 18px 76px;
  }
  .faq_cta {
    padding: 28px 24px;
  }
  .faq_cta__title {
    font-size: 22px;
  }
  .faq_cta__phone {
    font-size: 20px;
  }
}
