/* Popup 1-в-1 (макет) — версия “аккуратно и компактно” */

.plp-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.35);
  display:none; align-items:center; justify-content:center;
  z-index:999999;
  padding:24px;
  font-family: Arial, Helvetica, sans-serif;
}
.plp-overlay.plp-show{display:flex;}

.plp-modal{
  position:relative;
  width:min(760px, 92vw); /* было шире — делаем компактнее */
  background:transparent;
}


.plp-inner{
  background:#465f84;
  padding:26px 28px 22px;      /* меньше отступы */
  position:relative;
}

/* убираем "пунктир/стежки" вокруг формы */
.plp-inner:before{
  display:none !important;
  content:none !important;
}

/* titles */
.plp-title-small{
  text-align:center;
  color:#fff;
  font-size:34px;              /* было 44 */
  line-height:1.15;
  margin-top:6px;
  margin-bottom:4px;
}
.plp-title-big{
  text-align:center;
  color:#fff;
  font-size:88px;              /* было 120 */
  line-height:1;
  font-weight:800;
  margin:4px 0 18px;
}

/* form */
.plp-row{
  display:flex;
  gap:18px;                    /* меньше разрыв */
  justify-content:center;
  margin:10px 0 18px;
  flex-wrap:wrap;
}

.plp-input{
  width:330px;                 /* фикс аккуратно */
  max-width:100%;
  height:64px;                 /* было 92 */
  font-size:34px;              /* было 52 */
  padding:8px 18px;
  border:2px solid rgba(0,0,0,.25);
  border-radius:8px;
  outline:none;
  color:#444;
  background:#fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.08);
}
.plp-input::placeholder{color:#777;}

/* button */
.plp-btn{
  display:block;
  width:min(660px, 92%);
  margin:0 auto;
  min-height:108px;            /* вместо огромной высоты */
  padding:16px 18px;
  font-size:42px;              /* уменьшили, чтобы не вылезало */
  font-weight:900;
  text-transform:uppercase;
  line-height:1.05;
  border-radius:10px;
  border:2px solid rgba(0,0,0,.25);
  cursor:pointer;
  background: linear-gradient(#f6b22e, #f2a021);
  color:#000;

  /* чтобы текст всегда помещался */
  white-space:normal;
  word-break:break-word;
  text-align:center;

  /* анимация */
  animation: plpPulse 1.8s ease-in-out infinite;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.plp-btn:hover{
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.03);
}
.plp-btn:active{
  transform: translateY(1px) scale(.995);
  animation: none; /* чтобы при клике не дрожала */
}

@keyframes plpPulse{
  0%   { transform: scale(1);   box-shadow: 0 10px 24px rgba(0,0,0,.22); }
  50%  { transform: scale(1.015); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
  100% { transform: scale(1);   box-shadow: 0 10px 24px rgba(0,0,0,.22); }
}

.plp-msg{
  text-align:center;
  margin-top:12px;
  font-size:16px;
  color:#fff;
  min-height:20px;
}
.plp-hp{display:none !important;}

@media (max-width: 900px){
  .plp-modal{ width:min(560px, 94vw); }
  .plp-title-small{font-size:22px;}
  .plp-title-big{font-size:54px;}
  .plp-input{
    width:100%;
    font-size:22px;
    height:56px;
  }
  .plp-btn{
    width:100%;
    min-height:86px;
    font-size:26px;
  }
}