/* unify.css — единый вид для всех страниц (добавляется после site.css)
   Цель: единый футер/промо, фиксы select option, аккуратная типографика.
*/

/* 1) Sticky footer: футер всегда внизу, без "развала" */
html, body { height: 100%; }
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main.container{ flex: 1 0 auto; }
footer.footer{ flex: 0 0 auto; }

/* 2) Единый футер: выравнивание и переносы */
.footer{
  width: 100%;
  margin-top: 28px;
}
.footer__inner{
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 0;
}
.footer__left{
  opacity: .85;
  font-size: 14px;
}
.footer__links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__links a{
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer__links a:hover{
  border-bottom-color: currentColor;
}
.footer__sep{
  opacity: .35;
  padding: 0 2px;
}

/* 3) FIX: выпадашки select на разных ОС (читаемо всегда)
   Важно: сам список option часто нативный, поэтому делаем "железобетонно" читабельно.
*/
select, .select{
  color: inherit;
}
select{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
select:focus{
  border-color: rgba(255,255,255,.22);
}
/* Самое важное: option */
select option{
  background: #ffffff !important;
  color: #111111 !important;
}

/* 4) Promo-блок (SilaNet) — единый вид и аккуратная сетка */
.promo{
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.promo__title{
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px 0;
}
.promo__desc{
  opacity: .9;
  margin: 0 0 14px 0;
  line-height: 1.35;
}
.promo__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px 0;
}
.promo__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  text-decoration: none;
  color: inherit;
  user-select: none;
}
.promo__btn:hover{
  background: rgba(255,255,255,.08);
}
.promo__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(0, 200, 160, .14);
  border: 1px solid rgba(0, 200, 160, .25);
}
.promo__credsTitle{
  font-weight: 700;
  margin: 0 0 10px 0;
}
.promo__grid{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 14px;
  align-items: center;
  max-width: 520px;
}
.promo__label{
  opacity: .75;
  font-size: 13px;
}
.promo__input{
  width: 100%;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 12px;
  color: inherit;
}
.promo__note{
  margin-top: 12px;
  opacity: .7;
  font-size: 12px;
}

/* 5) “Праздники”: если где-то съезжает низ — добавляем безопасный паддинг */
.holpage,
.timepage{
  padding-bottom: 10px;
}

/* 6) Небольшая мобильная правка футера */
@media (max-width: 720px){
  .footer__inner{ align-items: flex-start; }
  .footer__links{ gap: 8px; }
}
