/* MMPR v2.0 — промо-страница подписки /subscribe/ (продолжение баннера «Месяц скидок Yamaha»). Десктоп rem, мобилка px */
body:has(.mmpr) h1.page_title { display: none; }
.mmpr, .mmpr * { box-sizing: border-box; }
.mmpr { --pr-red: #B31B20; --pr-red-deep: #8E1418; --pr-cta: #FF1F1F; --pr-ink: #1E1E1E; --pr-mute: #6B6B6B; --pr-line: #E4E4E4; --pr-soft: #F2F2F2;
  max-width: 1260rem; margin: 16rem 0 0; font-family: "Inter", Arial, sans-serif; color: var(--pr-ink); }

/* красный блок */
.mmpr__hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 500rem; gap: 56rem; align-items: center;
  padding: 72rem 72rem 72rem 92rem; border-radius: 24rem; background: var(--pr-red); overflow: hidden; }
.mmpr__star { position: absolute; display: block; opacity: .9; }
.mmpr__star svg { display: block; width: 100%; height: 100%; }
.mmpr__star--a { top: 22rem; left: 44rem; width: 44rem; height: 44rem; }
.mmpr__star--b { top: 150rem; left: 20rem; width: 26rem; height: 26rem; opacity: .7; }
.mmpr__star--c { top: 40rem; right: 600rem; width: 22rem; height: 22rem; opacity: .6; }

.mmpr__offer { position: relative; color: #fff; }
.mmpr__tag { display: inline-flex; align-items: center; gap: 10rem; height: 48rem; padding: 0 22rem 0 14rem; margin-bottom: 28rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 100rem; background: rgba(255,255,255,.12); font-size: 22rem; font-weight: 500; }
.mmpr__tag svg { width: 24rem; height: 24rem; }
.mmpr .mmpr__month { margin: 0; font-size: 64rem; font-weight: 600; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }
.mmpr .mmpr__brand { margin: 4rem 0 0 -4rem; font-family: "Anton", "Inter", Arial, sans-serif; font-size: 196rem; line-height: .9; letter-spacing: .01em; }
.mmpr .mmpr__deal { margin: 18rem 0 0; font-size: 44rem; font-weight: 600; line-height: 1; }
.mmpr__deal b { font-size: 96rem; font-weight: 800; letter-spacing: -.03em; vertical-align: -6rem; }

/* карточка формы */
.mmpr__card { position: relative; padding: 40rem; border-radius: 20rem; background: #fff; box-shadow: 0 30rem 60rem -20rem rgba(60,0,0,.45); }
.mmpr .mmpr__h1 { margin: 0 0 12rem; font-size: 32rem; font-weight: 700; line-height: 1.15; color: var(--pr-ink); text-transform: none; }
.mmpr__lead { margin: 0 0 26rem; font-size: 16rem; line-height: 1.5; color: var(--pr-mute); }
.mmpr__label { display: block; margin-bottom: 8rem; font-size: 14rem; font-weight: 600; color: var(--pr-ink); }
.mmpr .mmpr__field { display: block; padding: 0; background: none; border: 0; border-radius: 0; }
.mmpr .mmpr__input { display: block; width: 100%; height: 60rem; padding: 0 20rem; font: 400 17rem/1 "Inter", Arial, sans-serif; color: var(--pr-ink);
  background: var(--pr-soft); border: 1.5px solid transparent; border-radius: 14rem; outline: none; box-shadow: none; transition: border-color .15s, background .15s; }
.mmpr .mmpr__input::placeholder { color: #A0A0A0; font-size: 17rem !important; }
.mmpr .mmpr__input:focus { background: #fff; border-color: var(--pr-ink); }
.mmpr .mmpr__field.is-error .mmpr__input { border-color: var(--pr-cta); background: #fff; }
.mmpr .mmpr__btn { display: block; width: 100%; height: 60rem; margin-top: 12rem; padding: 0 24rem; font: 600 18rem/1 "Inter", Arial, sans-serif; color: #fff;
  background: var(--pr-cta); border: 0; border-radius: 14rem; cursor: pointer; transition: background .15s, transform .1s; }
.mmpr .mmpr__btn:hover { background: #E01515; }
.mmpr .mmpr__btn:active { transform: translateY(1px); }
.mmpr .mmpr__btn:focus-visible { outline: 3px solid var(--pr-ink); outline-offset: 2px; }

/* согласия — свой чекбокс, кликается вся строка */
.mmpr .mmpr__consent { position: relative; display: flex; align-items: flex-start; gap: 12rem; margin: 16rem 0 0; padding: 0; font-size: 14rem; line-height: 1.4; color: var(--pr-mute); cursor: pointer; user-select: none; }
.mmpr .mmpr__consent + .mmpr__consent { margin-top: 10rem; }
.mmpr .mmpr__consent input { position: absolute; left: 0; top: 0; width: 22rem; height: 22rem; margin: 0; opacity: 0; cursor: pointer; }
.mmpr .mmpr__box { flex: 0 0 22rem; display: flex; align-items: center; justify-content: center; width: 22rem; height: 22rem; margin-top: -1rem;
  border: 1.5px solid #BDBDBD; border-radius: 6rem; background: #fff; transition: background .15s, border-color .15s; }
.mmpr .mmpr__box svg { width: 14rem; height: 14rem; opacity: 0; transition: opacity .1s; }
.mmpr .mmpr__consent input:checked + .mmpr__box { background: var(--pr-cta); border-color: var(--pr-cta); }
.mmpr .mmpr__consent input:checked + .mmpr__box svg { opacity: 1; }
.mmpr .mmpr__consent input:focus-visible + .mmpr__box { outline: 2px solid var(--pr-ink); outline-offset: 2px; }
.mmpr .mmpr__consent.is-error .mmpr__box { border-color: var(--pr-cta); }
.mmpr .mmpr__consent a { color: var(--pr-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #BDBDBD; }
.mmpr .mmpr__consent a:hover { text-decoration-color: currentColor; }
.mmpr .mmpr__error { margin: 12rem 0 0; font-size: 14rem; color: var(--pr-cta); }

/* шаги */
.mmpr__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20rem; margin: 20rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.mmpr__steps li { display: grid; grid-template-columns: 44rem 1fr; column-gap: 16rem; align-items: center; margin: 0; padding: 24rem 28rem; border-radius: 20rem; background: var(--pr-soft); }
.mmpr__steps li::before { display: none; }
.mmpr__num { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 44rem; height: 44rem; border-radius: 50%;
  background: var(--pr-red); color: #fff; font-size: 18rem; font-weight: 700; }
.mmpr__steps b { font-size: 17rem; font-weight: 600; line-height: 1.3; }
.mmpr__steps li > span:last-child { font-size: 14rem; line-height: 1.4; color: var(--pr-mute); }

@media (max-width: 1280px) and (min-width: 769px) {
  .mmpr__hero { grid-template-columns: 1fr; }
  .mmpr__star--c { right: 40rem; }
}
@media (max-width: 768px) {
  .mmpr { max-width: none; width: 100%; margin-top: 4px; }
  .mmpr__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 16px 16px; border-radius: 20px; }
  .mmpr__offer { padding: 0 6px; }
  .mmpr__star--a { top: 14px; left: auto; right: 22px; width: 28px; height: 28px; }
  .mmpr__star--b { top: 70px; left: auto; right: 64px; width: 14px; height: 14px; }
  .mmpr__star--c { display: none; }
  .mmpr__tag { height: 34px; gap: 6px; padding: 0 14px 0 10px; margin-bottom: 16px; font-size: 15px; }
  .mmpr__tag svg { width: 18px; height: 18px; }
  .mmpr .mmpr__month { font-size: 32px; }
  .mmpr .mmpr__brand { margin: 2px 0 0 -2px; font-size: 86px; }
  .mmpr .mmpr__deal { margin-top: 10px; font-size: 22px; }
  .mmpr__deal b { font-size: 48px; vertical-align: -3px; }
  .mmpr__card { padding: 22px 18px 20px; border-radius: 16px; }
  .mmpr .mmpr__h1 { margin-bottom: 8px; font-size: 22px; }
  .mmpr__lead { margin-bottom: 18px; font-size: 14px; }
  .mmpr__label { margin-bottom: 6px; font-size: 13px; }
  .mmpr .mmpr__input { height: 54px; padding: 0 16px; font-size: 16px; border-radius: 12px; }
  .mmpr .mmpr__input::placeholder { font-size: 16px !important; }
  .mmpr .mmpr__btn { height: 54px; margin-top: 10px; font-size: 16px; border-radius: 12px; }
  .mmpr .mmpr__consent { gap: 10px; margin-top: 14px; font-size: 13px; }
  .mmpr .mmpr__consent input, .mmpr .mmpr__box { width: 22px; height: 22px; flex-basis: 22px; }
  .mmpr .mmpr__box { margin-top: -2px; border-radius: 6px; }
  .mmpr .mmpr__box svg { width: 14px; height: 14px; }
  .mmpr .mmpr__error { font-size: 13px; }
  .mmpr__steps { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .mmpr__steps li { grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 14px; }
  .mmpr__num { width: 36px; height: 36px; font-size: 15px; }
  .mmpr__steps b { font-size: 15px; }
  .mmpr__steps li > span:last-child { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .mmpr * { transition: none !important; } }

/* v2.1 — размеры заголовка акции */
.mmpr .mmpr__month { font-size: 54rem; }
.mmpr .mmpr__brand { font-size: 150rem; }
.mmpr .mmpr__deal { font-size: 32rem; white-space: nowrap; }
.mmpr__deal b { font-size: 76rem; }
.mmpr__star--c { right: 590rem; }
@media (max-width: 768px) {
  .mmpr .mmpr__month { font-size: 30px; }
  .mmpr .mmpr__brand { font-size: 78px; }
  .mmpr .mmpr__deal { font-size: 20px; white-space: normal; }
  .mmpr__deal b { display: block; margin-bottom: 4px; font-size: 52px; vertical-align: 0; }
}

/* v2.2 — компактнее */
.mmpr__hero { grid-template-columns: minmax(0, 1fr) 440rem; gap: 40rem; padding: 40rem 40rem 40rem 64rem; border-radius: 20rem; }
.mmpr__star--a { top: 18rem; left: 26rem; width: 30rem; height: 30rem; }
.mmpr__star--b { top: 96rem; left: 16rem; width: 18rem; height: 18rem; }
.mmpr__star--c { top: 26rem; right: 520rem; width: 16rem; height: 16rem; }
.mmpr__tag { height: 36rem; gap: 8rem; padding: 0 16rem 0 10rem; margin-bottom: 18rem; font-size: 16rem; }
.mmpr__tag svg { width: 18rem; height: 18rem; }
.mmpr .mmpr__month { font-size: 40rem; }
.mmpr .mmpr__brand { margin-top: 2rem; font-size: 112rem; }
.mmpr .mmpr__deal { margin-top: 12rem; font-size: 24rem; }
.mmpr__deal b { font-size: 56rem; vertical-align: -4rem; }
.mmpr__card { padding: 28rem; border-radius: 16rem; }
.mmpr .mmpr__h1 { margin-bottom: 8rem; font-size: 24rem; }
.mmpr__lead { margin-bottom: 18rem; font-size: 14rem; line-height: 1.45; }
.mmpr__label { margin-bottom: 6rem; font-size: 13rem; }
.mmpr .mmpr__input { height: 50rem; padding: 0 16rem; font-size: 16rem; border-radius: 12rem; }
.mmpr .mmpr__input::placeholder { font-size: 16rem !important; }
.mmpr .mmpr__btn { height: 50rem; margin-top: 10rem; font-size: 16rem; border-radius: 12rem; }
.mmpr .mmpr__consent { gap: 10rem; margin-top: 12rem; font-size: 13rem; }
.mmpr .mmpr__consent + .mmpr__consent { margin-top: 8rem; }
.mmpr .mmpr__consent input, .mmpr .mmpr__box { width: 20rem; height: 20rem; flex-basis: 20rem; }
.mmpr .mmpr__box svg { width: 12rem; height: 12rem; }
.mmpr .mmpr__error { margin-top: 10rem; font-size: 13rem; }
.mmpr__steps { gap: 12rem; margin-top: 12rem; }
.mmpr__steps li { grid-template-columns: 34rem 1fr; column-gap: 12rem; padding: 14rem 18rem; border-radius: 14rem; }
.mmpr__num { width: 34rem; height: 34rem; font-size: 15rem; }
.mmpr__steps b { font-size: 15rem; }
.mmpr__steps li > span:last-child { font-size: 13rem; }
@media (max-width: 768px) {
  .mmpr__hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 12px 12px; border-radius: 16px; }
  .mmpr__star--a { top: 12px; right: 16px; width: 22px; height: 22px; }
  .mmpr__star--b { top: 52px; right: 48px; width: 12px; height: 12px; }
  .mmpr__tag { height: 28px; gap: 5px; padding: 0 11px 0 8px; margin-bottom: 10px; font-size: 13px; }
  .mmpr__tag svg { width: 15px; height: 15px; }
  .mmpr .mmpr__month { font-size: 22px; }
  .mmpr .mmpr__brand { font-size: 58px; }
  .mmpr .mmpr__deal { margin-top: 6px; font-size: 16px; white-space: nowrap; }
  .mmpr__deal b { display: inline; margin: 0; font-size: 36px; vertical-align: -2px; }
  .mmpr__card { padding: 18px 16px 16px; border-radius: 14px; }
  .mmpr .mmpr__h1 { margin-bottom: 6px; font-size: 19px; }
  .mmpr__lead { margin-bottom: 14px; font-size: 13px; }
  .mmpr__label { font-size: 12px; }
  .mmpr .mmpr__input, .mmpr .mmpr__btn { height: 50px; border-radius: 11px; }
  .mmpr .mmpr__btn { margin-top: 8px; font-size: 16px; }
  .mmpr .mmpr__consent { margin-top: 12px; font-size: 12px; }
  .mmpr .mmpr__consent input, .mmpr .mmpr__box { width: 20px; height: 20px; flex-basis: 20px; }
  .mmpr .mmpr__box svg { width: 12px; height: 12px; }
  .mmpr__steps { gap: 6px; margin-top: 8px; }
  .mmpr__steps li { grid-template-columns: 30px 1fr; padding: 10px 14px; border-radius: 12px; }
  .mmpr__num { width: 30px; height: 30px; font-size: 13px; }
  .mmpr__steps b { font-size: 14px; }
  .mmpr__steps li > span:last-child { font-size: 12px; }
}

/* v2.3 — фиксы */
.mmpr .mms__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 768px) {
  .mmpr .mmpr__input::placeholder { font-size: 16px !important; }
  .mmpr .mmpr__consent { gap: 10px; }
  .mmpr .mmpr__consent + .mmpr__consent { margin-top: 8px; }
  .mmpr__star--a { left: auto; }
  .mmpr__star--b { left: auto; }
  .mmpr__lead { font-size: 13px; }
}
@media (max-width: 768px) { .mmpr .mmpr__input { padding: 0 16px; font-size: 16px; } }

/* v3.0 — персонаж из баннера заполняет середину, цвет как у баннера */
.mmpr { --pr-red: #D3000B; }
.mmpr__hero { grid-template-columns: auto minmax(0, 1fr) 430rem; gap: 0; padding: 36rem 40rem 36rem 64rem; }
.mmpr__offer { padding-right: 16rem; }
.mmpr__mascot { align-self: end; display: flex; justify-content: center; margin-bottom: -36rem; min-width: 0; }
.mmpr__mascot img { display: block; width: auto; height: 380rem; max-width: 100%; object-fit: contain; object-position: bottom center; }
.mmpr__star--c { top: 30rem; right: auto; left: 50%; }
@media (max-width: 1280px) and (min-width: 769px) {
  .mmpr__hero { grid-template-columns: minmax(0, 1fr) 400rem; }
  .mmpr__mascot { display: none; }
}
@media (max-width: 768px) {
  .mmpr__hero { grid-template-columns: minmax(0, 1fr); padding: 20px 12px 12px; gap: 16px; }
  .mmpr__offer { position: relative; padding-right: 0; }
  .mmpr__mascot { display: none; }
}

/* v3.1 — состояние после подписки (в той же карточке) */
.mmpr [hidden] { display: none !important; }
.mmpr__done { outline: none; }
.mmpr__done-ic { display: flex; align-items: center; justify-content: center; width: 52rem; height: 52rem; margin-bottom: 18rem; border-radius: 50%; background: var(--pr-cta); }
.mmpr__done-ic--gray { background: #8A8A8A; }
.mmpr__done-ic svg { width: 26rem; height: 26rem; }
.mmpr__mail { word-break: break-all; color: var(--pr-red); }
.mmpr__done .mmpr__lead a { color: var(--pr-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mmpr .mmpr__btn--link { display: flex; align-items: center; justify-content: center; margin-top: 4rem; text-decoration: none; color: #fff; }
.mmpr .mmpr__btn--link:hover { color: #fff; }
.mmpr__again { display: block; margin: 14rem auto 0; padding: 4rem 8rem; border: 0; background: none; font: 500 14rem/1.3 "Inter", Arial, sans-serif; color: var(--pr-mute);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #C8C8C8; cursor: pointer; }
.mmpr__again:hover { color: var(--pr-ink); }
.mmpr__again:focus-visible, .mmpr .mmpr__btn--link:focus-visible { outline: 2px solid var(--pr-ink); outline-offset: 2px; }
.mmpr__error.is-visible { display: block; }
@media (max-width: 768px) {
  .mmpr__done-ic { width: 44px; height: 44px; margin-bottom: 14px; }
  .mmpr__done-ic svg { width: 22px; height: 22px; }
  .mmpr .mmpr__btn--link { margin-top: 2px; }
  .mmpr__again { margin-top: 12px; padding: 6px 8px; font-size: 14px; }
}
.mmpr__mail { display: block; word-break: normal; overflow-wrap: anywhere; }
