/* offer.css — модалка "Публичная оферта" */

body.offer-modal-open { overflow: hidden; }

.offer-footer-link{
  color: var(--text-muted, #948777);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.offer-footer-link:hover{
  color: var(--accent-secondary, #D3A452);
  transform: translateY(-1px);
}

/* Контейнер модалки */
.offer-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.offer-modal.is-open{ display: flex; }

/* Затемнение */
.offer-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
}

/* Окно */
.offer-modal__dialog{
  position: relative;
  width: min(900px, 100%);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: rgba(16, 13, 11, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.75);
  overflow: hidden;
}

/* Шапка */
.offer-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(246,169,58,0.10), rgba(0,0,0,0));
}
.offer-modal__title{
  margin: 0;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-main, #f7f4ef);
}
.offer-modal__close{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  color: var(--text-main, #f7f4ef);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.offer-modal__close:hover{
  border-color: rgba(246,169,58,0.35);
  background: rgba(246,169,58,0.10);
}

/* Тело (СКРОЛЛ) */
.offer-modal__body{
  padding: 14px 16px 0;
  overflow: auto;
  color: var(--text-soft, #d4ccc0);
  font-size: 14px;
  line-height: 1.55;
}
.offer-modal__body h4{
  margin: 14px 0 8px;
  font-size: 14px;
  color: var(--text-main, #f7f4ef);
}
.offer-modal__body p{ margin: 0 0 10px; }
.offer-modal__body ul{ margin: 0 0 10px; padding-left: 18px; }
.offer-modal__body li{ margin: 0 0 6px; }

/* Разделитель (вместо ⸻) */
.offer-sep{
  margin: 12px 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Низ + кнопка */
.offer-modal__footer{
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: flex-end;
  background: rgba(0,0,0,0.12);
}
.offer-modal__agree{
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #FF8A00;
  color: #000;
}
.offer-modal__agree:hover{ background: #E67800; }
.offer-modal__agree:active{ background: #CC6A00; }