/* 152-ФЗ: отметки согласия в формах, ссылки на документы, видео по клику */

/* Отметки согласия — на тёмном фоне попапа заявки и блока отзывов */
.callme__popup { padding-left: 36px; padding-right: 36px; }
.pd-checks {
  display: grid;
  gap: 9px;
  max-width: 320px;
  margin: 2px auto 16px;
  text-align: left;
}
.comment-form .pd-checks { max-width: 560px; margin: 12px 0 16px; }
.pd-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  font: 400 12.5px/1.45 "Open Sans", Arial, sans-serif;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}
.pd-check input,
.popup .pd-check input {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}
.pd-box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(255, 255, 255, .8);
  border-radius: 4px;
  transition: background .2s, box-shadow .2s;
}
.pd-check input:checked + .pd-box {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230C2638' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: #fff;
}
.pd-check input:focus-visible + .pd-box { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.pd-check a { color: #fff; text-decoration: underline; }
.pd-check a:hover { color: #d9d9d9; }
.pd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Подвал: строка со ссылками на документы */
.pd-footer-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font: 400 14px/1.4 "Open Sans", Arial, sans-serif;
}
.pd-footer-docs a { color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .3s; }
.pd-footer-docs a:hover { color: #fff; }

/* Видео YouTube загружается только по нажатию */
.yt-facade {
  position: relative;
  display: inline-block;
  width: 500px;
  max-width: 100%;
  height: 420px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0C2638 center / cover no-repeat;
  cursor: pointer;
  vertical-align: top;
}
.yt-facade::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); transition: background .3s; }
.yt-facade:hover::before { background: rgba(0, 0, 0, .15); }
.yt-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 50px;
  margin: -25px 0 0 -36px;
  border-radius: 12px;
  background: rgba(12, 38, 56, .9);
}
.yt-facade__play::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 15px;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade__note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font: 400 12px/1.4 "Open Sans", Arial, sans-serif;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
