/* ===== СТРАНИЦА ЭКСПОНЕНТА ===== */

/* ВСТУПЛЕНИЕ */

.exp-intro__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 40px;
}

.text {
  font-size: 15px;
  line-height: 1.75;
  color: #1a1a1a;
  max-width: 600px;
}

.exp-intro__text a {
  color: #bb1f11;
  font-weight: 500;
}

.exp-intro__text a:hover {
  text-decoration: underline;
}

.exp-intro__title {
  font-size: 16px;
  color: #888;
  white-space: nowrap;
}

.exp-intro__title span {
  color: #bb1f11;
}

/* ПРЕИМУЩЕСТВА */

.exp-why {
  padding-block: 48px 60px;
}

.exp-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.exp-why__card {
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.exp-why__card-title {
  font-size: 15px;
  font-weight: 600;
  color: #bb1f11;
  padding: 24px 20px 12px;
  max-width: none;
}

.exp-why__card-text {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.5;
  padding: 0 20px 24px;
  flex: 1;
  max-width: none;
}

.exp-why__card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.exp-why__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #ddd;
  transition: transform 0.4s ease;
}

.exp-why__card:hover .exp-why__card-img img {
  transform: scale(1.04);
}

.exp-why__cta {
  display: flex;
  justify-content: flex-end;
}

.exp-why__cta-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.exp-why__cta-link:hover {
  color: #bb1f11;
}

/* 5 ШАГОВ */

.exp-steps {
  padding-block: 80px;
}

.exp-steps .section-title {
  margin-bottom: 48px;
}

.exp-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
}

.exp-steps__item {
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-steps__item:last-child {
  padding-right: 0;
}

.exp-steps__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.exp-steps__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #bb1f11;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bb1f11;
}

.exp-steps__arrow {
  flex: 1;
  display: flex;
  align-items: center;
}

.exp-steps__item:last-child .exp-steps__arrow {
  visibility: hidden;
}

.exp-steps__title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  max-width: none;
}

.exp-steps__text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  flex: 1;
  max-width: none;
}

.exp-steps__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  transition: color 0.2s ease;
  margin-top: auto;
}

.exp-steps__link:hover {
  color: #bb1f11;
}

.exp-steps__note {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 32px;
  max-width: 700px;
}

.exp-steps__note a {
  color: #1a1a1a;
  font-weight: 500;
}

.exp-steps__note a:hover {
  color: #bb1f11;
}

/* ФОРМА */

.exp-form {
  padding-bottom: 100px;
}

.exp-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: #f5f5f5;
  padding: 64px;
  background-image: url("../images/pattern.png");
  background-repeat: repeat;
  background-size: auto;
}

.exp-form__title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 20px;
}

.exp-form__desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: none;
}

.exp-form__note {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}

/* CF7 стили */

.exp-form__right .wpcf7 {
  width: 100%;
}

.exp-form__right .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-form__right .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.exp-form__right input[type="text"],
.exp-form__right input[type="email"],
.exp-form__right input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid #bb1f11;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.exp-form__right input::placeholder {
  color: #aaa;
}

.exp-form__right input:focus {
  border-color: #8a1509;
  box-shadow: 0 0 0 3px rgba(187, 31, 17, 0.1);
}

.exp-form__right input[type="submit"],
.exp-form__right .wpcf7-submit {
  width: 100%;
  padding: 18px;
  background: #bb1f11;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 4px;
}

.exp-form__right input[type="submit"]:hover,
.exp-form__right .wpcf7-submit:hover {
  background: #8a1509;
}

.exp-form__privacy {
  margin-top: 12px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
  max-width: none;
}

.exp-form__privacy a {
  color: #888;
  text-decoration: underline;
}

.exp-form__privacy a:hover {
  color: #bb1f11;
}

.exp-form__right .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.exp-form__right .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #bb1f11;
  cursor: pointer;
}

.exp-form__right .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}

.exp-form__right .wpcf7-acceptance .wpcf7-list-item-label a {
  color: #888;
  text-decoration: underline;
}

.exp-form__right .wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: #bb1f11;
}

/* АДАПТИВ */

@media (max-width: 1024px) {
  .exp-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exp-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .exp-steps__item:nth-child(2) .exp-steps__arrow {
    visibility: hidden;
  }

  .exp-form__inner {
    gap: 48px;
    padding: 48px;
  }
}

@media (max-width: 768px) {
  .exp-intro__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .exp-intro__title {
    white-space: normal;
    text-align: left;
  }

  .exp-why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .exp-steps {
    padding-block: 48px;
  }

  .exp-steps__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .exp-steps__item {
    padding-right: 0;
  }

  .exp-steps__item .exp-steps__arrow {
    display: none;
  }

  .exp-form {
    padding-bottom: 48px;
  }

  .exp-form__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
}

@media (max-width: 380px) {
  .exp-intro__inner {
    padding-bottom: 28px;
  }

  .text {
    font-size: 14px;
  }

  .exp-why {
    padding-block: 36px 48px;
  }

  .exp-why__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .exp-why__card-title {
    padding: 20px 16px 10px;
  }

  .exp-why__card-text {
    padding: 0 16px 20px;
  }

  .exp-steps {
    padding-block: 36px;
  }

  .exp-steps .section-title {
    margin-bottom: 32px;
  }

  .exp-steps__title {
    font-size: 15px;
  }

  .exp-form__inner {
    padding: 24px 16px;
    gap: 28px;
  }

  .exp-form__right input[type="text"],
  .exp-form__right input[type="email"],
  .exp-form__right input[type="tel"] {
    padding: 14px 16px;
    font-size: 14px;
  }

  .exp-form__right input[type="submit"],
  .exp-form__right .wpcf7-submit {
    padding: 16px;
    font-size: 13px;
  }
}
