/* Information = START */

/* Кольори та шрифт сторінок «Про нас» / «Співпраця» */
.information-page {
  --info-font: var(--font-family, 'Inter Tight', sans-serif);
  --info-text: #242f33;
  --info-muted: #7d7c7c;
  --info-green: #33815c;
  --info-green-dark: #2a6c4d;
  --info-green-soft: #e4f1ea;
  --info-orange: #ef7038;
  --info-orange-dark: #e35d22;
  --info-orange-soft: #fdeee4;
  --info-bg: #f3f7f5;
  --info-line: #f3f3f3;
  --info-line-dark: #ddebe4;
  --info-radius: 12px;
  --info-ease: cubic-bezier(0.4, 0, 0.2, 1);

  font-family: var(--info-font);
  color: var(--info-text);
}

/* Остання секція сторінки вже має свої відступи — футер без верхнього margin (будь-який footer_variantN) */
body:has(.information-page) footer,
body:has(.information-page) #footer_variant4 {
  margin-top: 0;
}

.information-page__head {
  padding-bottom: 44px;
}

.information-page__head .breadcrumb {
  margin-bottom: 0;
}

.information-page__title {
  margin: 4px 0 0;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--info-text);
}

.mobile .information-page__head {
  padding-bottom: 24px;
}

.mobile .information-page__title {
  font-size: 22px;
}

/* Секція */
.info-section {
  position: relative;
  padding: 80px 0;
  background: #fff;
}

.info-section--grey {
  background: var(--info-bg);
}

.info-section--border {
  border-top: 1px solid var(--info-line);
}

.mobile .info-section {
  padding: 40px 0;
}

/* Заголовок секції: назва + підзаголовок зліва, текст / посилання справа */
.info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.info-head--end {
  align-items: flex-end;
}

.info-head__main {
  display: flex;
  flex: 0 1 650px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.info-head__title {
  margin: 0;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--info-text);
}

.info-head__subtitle {
  max-width: 420px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--info-muted);
}

.info-head__aside {
  flex: 1 1 0;
  font-size: 14px;
  line-height: 26px;
  color: var(--info-text);
}

.info-head__aside strong,
.info-head__aside b {
  font-weight: 600;
}

.info-head__aside p {
  margin: 0;
}

.mobile .info-head {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 20px;
}

.mobile .info-head__main {
  flex-basis: auto;
}

.mobile .info-head__title {
  font-size: 22px;
}

.mobile .info-head__aside {
  font-size: 13px;
  line-height: 20px;
}

/* Кнопки */
.info-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 43px;
  padding: 12px 10px 13px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  color: var(--info-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--info-ease), border-color 0.3s var(--info-ease), color 0.3s var(--info-ease), box-shadow 0.3s var(--info-ease), transform 0.3s var(--info-ease);
}

.info-btn:hover,
.info-btn:focus {
  text-decoration: none;
}

.info-btn:active {
  transform: translateY(1px);
}

.info-btn__icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.info-btn--orange {
  border-color: var(--info-orange);
  background: var(--info-orange);
  color: #fff;
}

.info-btn--orange:hover,
.info-btn--orange:focus {
  border-color: var(--info-orange-dark);
  background: var(--info-orange-dark);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(239, 112, 56, 0.3);
}

.info-btn--green {
  border-color: var(--info-green);
  background: var(--info-green);
  color: #fff;
}

.info-btn--green:hover,
.info-btn--green:focus {
  border-color: var(--info-green-dark);
  background: var(--info-green-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(51, 129, 92, 0.3);
}

.info-btn--outline {
  border-color: var(--info-green);
  color: var(--info-text);
}

.info-btn--outline:hover,
.info-btn--outline:focus {
  background: var(--info-green);
  color: #fff;
}

.info-btn--outline .info-btn__icon {
  filter: brightness(0.2);
  transition: filter 0.3s var(--info-ease);
}

.info-btn--outline:hover .info-btn__icon {
  filter: none;
}

.info-btn[disabled],
.info-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.mobile .info-btn {
  white-space: normal;
  text-align: left;
}

/* Цитата з помаранчевою лінією */
.info-quote {
  position: relative;
  margin: 0;
  padding: 18px 20px 17px 29px;
  border: 1px solid var(--info-line);
  background: #fff;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 17px;
  line-height: 30px;
  color: var(--info-text);
}

.info-quote::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  background: var(--info-orange);
}

.mobile .info-quote {
  padding: 12px 12px 12px 14px;
  font-size: 14px;
  line-height: 20px;
}

/* Посилання з зеленою стрілкою в колі */
.info-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--info-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: var(--info-text);
  text-decoration: underline !important;
  text-underline-offset: 0;
  transition: color 0.3s var(--info-ease);
  cursor: pointer;
}

.info-more::after {
  content: '';
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  background: url('../../../../../image/catalog/icon/information/arrow-circle.svg') center / contain no-repeat;
  transition: transform 0.3s var(--info-ease);
}

.info-more:hover,
.info-more:focus {
  color: var(--info-green);
}

.info-more:hover::after {
  transform: translateX(4px);
}

/* Текст із редактора */
.info-text {
  font-family: var(--info-font);
  font-size: 14px;
  line-height: 26px;
  color: var(--info-text);
}

.info-text > *:last-child {
  margin-bottom: 0;
}

.info-text p {
  margin: 0 0 10px;
}

.info-text strong,
.info-text b {
  font-weight: 600;
}

.info-text h2,
.info-text h3 {
  margin: 0 0 15px;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--info-text);
}

.info-text h4,
.info-text h5 {
  margin: 0 0 10px;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--info-text);
}

.info-text ul,
.info-text ol {
  margin: 0 0 10px;
  padding-left: 21px;
}

.info-text ul li {
  list-style: disc;
}

.info-text ol li {
  list-style: decimal;
}

.info-text a {
  color: var(--info-green);
  text-decoration: underline;
}

.mobile .info-text {
  font-size: 13px;
  line-height: 24px;
}

.mobile .info-text h2,
.mobile .info-text h3 {
  font-size: 18px;
}

.mobile .info-text h4,
.mobile .info-text h5 {
  font-size: 14px;
}

/* Ланцюжок «крок → крок» */
.info-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0;
  margin: 0;
  padding: 0;
  font-family: var(--info-font);
  font-weight: 600;
  font-size: 17px;
  line-height: 30px;
  color: var(--info-text);
}

.info-chain__item {
  display: inline-flex;
  align-items: center;
  list-style: none;
}

.info-chain__item:not(:last-child)::after {
  content: '→';
  margin: 0 14px;
  font-weight: 600;
  color: var(--info-green);
}

.info-chain__text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-chain__link {
  color: var(--info-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--info-ease);
}

.info-chain__link:hover,
.info-chain__link:focus {
  color: var(--info-green);
}

.mobile .info-chain {
  font-size: 13px;
  line-height: 20px;
}

.mobile .info-chain__item:not(:last-child)::after {
  margin: 0 8px;
}

/* Навігація слайдерів: крапки + стрілки */
.info-slider-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
}

.info-slider-nav__dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.info-slider-nav__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border: 1px solid #b8c2bd;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  transition: background-color 0.3s var(--info-ease), border-color 0.3s var(--info-ease);
}

.info-slider-nav__dots .swiper-pagination-bullet-active {
  border-color: var(--info-green);
  background: var(--info-green);
}

.info-slider-nav__arrows {
  display: flex;
  gap: 9px;
}

.info-slider-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(36, 47, 51, 0.15);
  color: var(--info-text);
  cursor: pointer;
  transition: background-color 0.3s var(--info-ease), color 0.3s var(--info-ease), opacity 0.3s var(--info-ease);
}

.info-slider-nav__btn svg {
  width: 6px;
  height: 10px;
}

.info-slider-nav__btn:hover {
  background: var(--info-green);
  color: #fff;
}

.info-slider-nav__btn.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.info-slider-nav__btn.swiper-button-lock,
.info-slider-nav__dots.swiper-pagination-lock {
  display: none;
}

/* Поля форм */
.info-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.info-field__label {
  padding-left: 10px;
  font-family: var(--info-font);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--info-text);
}

.info-field__label .required {
  color: var(--info-orange);
}

.info-field__control {
  width: 100%;
  height: 43px;
  padding: 0 10px;
  border: 2px solid var(--info-line);
  border-radius: 3px;
  background: #fff;
  font-family: var(--info-font);
  font-size: 14px;
  line-height: 30px;
  color: var(--info-text);
  outline: none;
  box-shadow: none;
  transition: border-color 0.3s var(--info-ease), box-shadow 0.3s var(--info-ease);
}

.info-field__control::placeholder {
  color: var(--info-muted);
}

.info-field__control:hover {
  border-color: #e3e9e6;
}

.info-field__control:focus {
  border-color: var(--info-green);
  box-shadow: 0 0 0 3px rgba(51, 129, 92, 0.1);
}

textarea.info-field__control {
  height: 100px;
  padding: 7px 10px;
  resize: vertical;
}

.info-field__control.error_style {
  border-color: #e53935;
}

/* Плашка помилки під полем — як у модалках (main.css, .auth-modal__error): блідо-червоний фон, текст 14/20 і хрестик праворуч */
.info-field .auth-modal__error,
.info-agree .auth-modal__error {
  position: relative;
  margin-top: 2px;
  padding: 1px 34px 2px 10px;
  border-radius: 3px;
  background-color: rgba(224, 82, 67, 0.06);
  font-family: var(--info-font);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: #e05243;
  animation: info-error-in 0.3s var(--info-ease);
}

.info-field .auth-modal__error-close,
.info-agree .auth-modal__error-close {
  position: absolute;
  top: 3px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s var(--info-ease);
}

.info-field .auth-modal__error-close img,
.info-agree .auth-modal__error-close img {
  display: block;
  transform: rotate(-45deg);
}

.info-field .auth-modal__error-close:hover,
.info-agree .auth-modal__error-close:hover {
  opacity: 0.6;
}

@keyframes info-error-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Згода з політикою конфіденційності */
.info-agree {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-agree__input {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.info-agree__box {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--info-text);
  border-radius: 5px;
  background: #fff;
  pointer-events: none;
  transition: background-color 0.25s var(--info-ease), border-color 0.25s var(--info-ease);
}

.info-agree__box::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: url('../../../../../image/catalog/icon/information/checkbox-check.svg') center / 15px 15px no-repeat;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--info-ease), transform 0.25s var(--info-ease);
}

.info-agree__input:hover + .info-agree__box,
.info-agree__input:focus-visible + .info-agree__box {
  border-color: var(--info-green);
}

.info-agree__input:checked + .info-agree__box {
  border-color: var(--info-green);
  background: var(--info-green);
}

.info-agree__input:checked + .info-agree__box::after {
  opacity: 1;
  transform: scale(1);
}

.info-agree__input.error_style + .info-agree__box {
  border-color: #e53935;
}

.info-agree__text {
  margin: 0;
  font-family: var(--info-font);
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--info-muted);
}

.info-agree__text a {
  color: var(--info-text);
  text-decoration: underline;
  text-underline-offset: 0;
  transition: color 0.3s var(--info-ease);
}

.info-agree__text a:hover {
  color: var(--info-green);
}

.info-agree .auth-modal__error {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2;
  margin-top: 6px;
  white-space: nowrap;
}

/* Мобілка: згода над кнопкою — помилка в потоці й відсуває кнопку, а не налазить на неї */
.mobile .info-agree {
  flex-wrap: wrap;
  row-gap: 6px;
}

/* Текст згоди стискається поруч із чекбоксом, на окремий рядок переходить лише помилка */
.mobile .info-agree__text {
  flex: 1 1 0;
  min-width: 0;
}

.mobile .info-agree .auth-modal__error {
  position: relative;
  top: auto;
  flex: 0 0 100%;
  margin-top: 0;
  white-space: normal;
}

/* Повідомлення після відправки форми */
.info-form-success {
  padding: 24px;
  border-radius: var(--info-radius);
  background: var(--info-green-soft);
  font-family: var(--info-font);
  font-size: 14px;
  line-height: 22px;
  color: var(--info-text);
  animation: info-fade-up 0.5s var(--info-ease);
}

.info-form-success .popup-success__title {
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--info-green);
}

.info-form-success p {
  margin: 0;
}

/* Плавна поява секцій при прокручуванні */
.info-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--info-ease), transform 0.7s var(--info-ease);
}

.info-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes info-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

  .info-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Information = END */
