/* Лендинг /kopilka/ — Копилка невесты */

.mk-land {
  background: #fff;
  overflow: hidden;
  margin-top: -40px;
  padding-bottom: 100px;
  position: relative;
}

.mk-land__inner {
  width: min(1290px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0px 0px;
  position: relative;
}

/* Цветок по левому краю экрана (как в макете), не от контентной колонки */
.mk-land__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: min(644px, 33.5vw);
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  max-height: 618px;
}

.mk-land__crumbs,
.mk-land__hero {
  position: relative;
  z-index: 1;
}

.mk-land__crumbs {
  margin: 0 0 40px;
  padding-left: 0;
}

.mk-land__crumbs a{
  text-decoration: none;
}

.breadcrumbs-yoast span, .breadcrumbs-yoast a{
  font-size: 14px;
}

.breadcrumbs-yoast > span{
  gap: 5px 8px;
}

.mk-land__hero {
  display: grid;
  grid-template-columns: minmax(0, 585px) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  position: relative;
}

.mk-land__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
  max-width: 585px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.mk-land__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
  padding-top: 40px;
}

.mk-land__title {
  margin: 0;
  font-family: "Cormorant Infant", serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 50px;
  text-transform: uppercase;
  color: #372137;
}

.mk-land__lead {
  margin: 0;
  font-family: Montserrat-regular, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #372137;
}

.mk-land__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  margin-top: -2px;
}

.mk-land__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mk-land__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: #3e0b3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mk-land__check img {
  width: 12px;
  height: 12px;
  display: block;
  /* белая галочка на чёрном фоне PNG → чёрный уходит на фиолетовом круге */
  mix-blend-mode: screen;
}

.mk-land__item-text {
  font-family: Montserrat-regular, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #372137;
}

.mk-land__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mk-land__btn {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 32px;
  border-radius: 30px;
  background-color: #a96d8e;
  background-image: linear-gradient(180deg, #d67fae 33%, #a96d8e 92%);
  color: #fff;
  font-family: Montserrat-semibold, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  /* background не анимируем: gradient → solid даёт «мигание» */
  transition: color 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.mk-land__btn:hover,
.mk-land__btn:focus {
  background-color: #a96d8e;
  background-image: none;
  color: #fff;
  text-decoration: none;
  filter: brightness(0.96);
  outline: none;
}

a.mk-land__btn:hover,
a.mk-land__btn:focus,
a.mk-land__btn:active,
a.mk-land__btn:visited {
  color: #fff;
  text-decoration: none;
}

.mk-land__btn--outline {
  background-color: #fff;
  background-image: none;
  color: #3e0b3d;
  border: 1px solid #3e0b3d;
}

.mk-land__btn--outline:hover,
.mk-land__btn--outline:focus {
  background-color: #3e0b3d;
  background-image: none;
  color: #fff;
  filter: none;
}

.mk-land__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  width: 805px;
  height: 737px;
  bottom: -219px;
  right: -160px;
}

.mk-land__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mk-land__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
}

/* —— Адаптив: ПК-стили выше не меняем —— */

@media screen and (max-width: 1400px) {
  .mk-land__visual {
    width: min(640px, 52vw);
    height: auto;
    aspect-ratio: 805 / 737;
    right: -80px;
    bottom: -100px;
  }

  .mk-land__bg {
    left: 0;
    width: min(520px, 40vw);
  }
}

@media screen and (max-width: 1100px) {
  .mk-land {
    padding-bottom: 48px;
  }

  .mk-land__inner {
    width: min(1290px, calc(100% - 32px));
    padding: 28px 0 0;
  }

  .mk-land__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .mk-land__content {
    max-width: none;
    padding-top: 0;
    gap: 28px;
  }

  .mk-land__copy {
    padding-top: 16px;
    max-width: none;
  }

  .mk-land__title {
    font-size: 42px;
    line-height: 1.05;
  }

  .mk-land__bg {
    left: 0;
    top: 0;
    width: min(420px, 55vw);
  }

  /* Абсолют с ПК снимаем — картинка в потоке под текстом (на планшете скрыта, на мобилке снова показывается) */
  .mk-land__visual {
    position: relative;
    width: min(520px, 100%);
    height: auto;
    aspect-ratio: 805 / 737;
    bottom: auto;
    right: auto;
    margin: 8px auto 0;
    min-height: 0;
    /* display: none; */
  }

  .mk-land__image {
    width: 100%;
    margin: 0;
  }
}

/* Мобильный макет Figma 414 — <=767px */
@media screen and (max-width: 767px) {
  .mk-land {
    margin-top: -13px;
    padding-bottom: 0px;
    background: #fefbff;
  }

  .breadcrumbs-yoast > span{
    gap: 5px 6px;
  }

  .mk-land__inner {
    width: 100%;
    padding: 24px 16px 0;
    overflow: hidden;
  }

  .mk-land__bg {
    left: -31%;
    top: 0;
    width: 100%;
    max-width: none;
  }

  /* На мобилке оставляем сдвиг влево как в макете 414 */

  .mk-land__crumbs {
    margin-bottom: 0;
  }

  .mk-land__crumbs,
  .mk-land__crumbs a,
  .breadcrumbs-yoast span,
  .breadcrumbs-yoast a {
    font-size: 12px;
  }

  .mk-land__hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 20px;
  }

  .mk-land__content {
    gap: 24px;
    max-width: none;
    padding-top: 0;
  }

  .mk-land__copy {
    padding-top: 0;
    gap: 12px;
    max-width: none;
  }

  .mk-land__title {
    font-size: 36px;
    line-height: 42px;
  }

  .mk-land__lead {
    font-size: 16px;
    line-height: 22px;
  }

  .mk-land__lead br {
    display: none;
  }

  .mk-land__list {
    gap: 12px;
    margin-top: 12px;
  }

  .mk-land__item-text {
    font-size: 16px;
    line-height: 22px;
  }

  .mk-land__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mk-land__btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
    border-radius: 24px;
  }

  .mk-land__visual {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    align-items: stretch;
    justify-content: stretch;
  }

  .mk-land__visual picture {
    width: 100%;
    height: 100%;
  }

  .mk-land__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  .mk-land__check {
    width: 24px;
    height: 22px;
    border-radius: 11px;
    margin-top: 1px;
  }
}
