/* ════════════════════════════════════════════════
   SZUKAM BOGATEGO — Modale, formularze auth
════════════════════════════════════════════════ */

/* ── OVERLAY ─────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.65);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.active { display: flex; }

.modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  animation: modalIn .25s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ── HEAD ────────────────────────────────────── */
.modal__head {
  padding: 28px 32px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 600; color: #1a1008; margin: 0 0 4px;
}
.modal__sub { font-size: 13px; color: #888; margin: 0; line-height: 1.5; }
.modal__close {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: #aaa; transition: color .2s; flex-shrink: 0; margin-left: 12px;
}
.modal__close:hover { color: #333; }
.modal__body { padding: 24px 32px 32px; }

/* ── ALERTS ──────────────────────────────────── */
.modal__alert {
  display: none; padding: 12px 16px; border-radius: 10px;
  font-size: 13px; margin-bottom: 20px; line-height: 1.5;
}
.modal__alert--error   { background: #fff0f0; border: 1px solid #fcc; color: #c00; }
.modal__alert--success { background: #f0fff4; border: 1px solid #9de; color: #166534; }
.modal__alert.show { display: block; }

/* ── FORM FIELDS ─────────────────────────────── */
.mform-group { margin-bottom: 16px; }
.mform-group label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #7a6a50; margin-bottom: 6px;
}
.mform-group input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e8e0d0; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: #1a1008;
  background: #faf8f5; outline: none;
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.mform-group input:focus {
  border-color: #c8a45e;
  box-shadow: 0 0 0 3px rgba(200,164,94,.15);
  background: #fff;
}
.mform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mform-row--desktop { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── SUBMIT ──────────────────────────────────── */
.mform-submit {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #c8a45e, #a07840);
  border: none; border-radius: 10px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 16px rgba(200,164,94,.35);
  transition: all .25s; margin-top: 8px;
}
.mform-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,164,94,.5); }
.mform-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── EXTRAS ──────────────────────────────────── */
.mform-switch { text-align: center; margin-top: 20px; font-size: 13px; color: #888; }
.mform-switch a { color: #c8a45e; font-weight: 700; cursor: pointer; text-decoration: none; }
.mform-switch a:hover { text-decoration: underline; }
.mform-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.mform-divider::before, .mform-divider::after { content: ''; flex: 1; height: 1px; background: #e8e0d0; }
.mform-divider span { font-size: 11px; color: #bbb; letter-spacing: .08em; }

/* ── CUSTOM SELECT / MULTISELECT ─────────────── */
.mform-multiselect { position: relative; }
.mform-multiselect__trigger {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e8e0d0; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: #888;
  background: #faf8f5; outline: none; cursor: pointer;
  text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.mform-multiselect__trigger:hover,
.mform-multiselect--open .mform-multiselect__trigger {
  border-color: #c8a45e; background: #fff;
}
.mform-multiselect--open .mform-multiselect__trigger {
  box-shadow: 0 0 0 3px rgba(200,164,94,.15);
  border-radius: 10px 10px 0 0;
}
.mform-multiselect__trigger svg { flex-shrink: 0; color: #c8a45e; transition: transform .2s; }
.mform-multiselect--open .mform-multiselect__trigger svg { transform: rotate(180deg); }
.mform-multiselect__trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.mform-multiselect__trigger span.has-value { color: #1a1008; }
.mform-multiselect__menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border: 1.5px solid #c8a45e; border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 200;
  max-height: 220px; overflow-y: auto;
}
.mform-multiselect--open .mform-multiselect__menu { display: block; }

/* Multi-select items */
.mform-multiselect__item {
  display: flex; align-items: center; flex-direction: row;
  gap: 10px; padding: 10px 14px; cursor: pointer;
  font-size: 14px; color: #1a1008;
  transition: background .15s; user-select: none;
}
.mform-multiselect__item:hover { background: #fdf6e8; }
.mform-multiselect__item input[type="checkbox"] { display: none; }
.mform-multiselect__check {
  width: 18px; height: 18px; min-width: 18px; float: left; margin-right: 10px;
  border: 1.5px solid #d0c4a8; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; transition: all .15s; color: transparent; flex-shrink: 0;
}
.mform-multiselect__item input:checked ~ .mform-multiselect__check {
  background: #c8a45e; border-color: #c8a45e; color: #fff;
}
.mform-multiselect__text { display: block; margin-left: 28px; flex: 1; }
.mform-multiselect__item:last-child { border-radius: 0 0 8px 8px; }

/* Single-select items */
.mform-singleselect__item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  cursor: pointer; font-size: 14px; color: #1a1008;
  transition: background .15s; user-select: none;
}
.mform-singleselect__item:hover { background: #fdf6e8; }
.mform-singleselect__item.active { background: #fdf6e8; font-weight: 700; color: #c8a45e; }
.mform-singleselect__item:last-child { border-radius: 0 0 8px 8px; }
.mform-singleselect__dot {
  width: 16px; height: 16px; min-width: 16px;
  border: 1.5px solid #d0c4a8; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; flex-shrink: 0;
}
.mform-singleselect__item.active .mform-singleselect__dot {
  border-color: #c8a45e; background: #c8a45e;
  box-shadow: inset 0 0 0 3px #fff;
}

/* ── CHECKBOX REGULAMINU ─────────────────────── */
.mform-check { margin: 12px 0 20px; }
.mform-check__label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; user-select: none;
}
.mform-check__label input[type="checkbox"] { display: none; }
.mform-check__box {
  width: 18px; height: 18px; min-width: 18px; margin-top: 1px;
  border: 1.5px solid #d0c4a8; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; transition: all .15s; color: transparent; flex-shrink: 0;
}
.mform-check__label input:checked ~ .mform-check__box {
  background: #c8a45e; border-color: #c8a45e; color: #fff;
}
.mform-check__label:hover .mform-check__box { border-color: #c8a45e; }
.mform-check__text { font-size: 12px; color: #666; line-height: 1.6; }
.mform-check a { color: #c8a45e; text-decoration: none; }
.mform-check a:hover { text-decoration: underline; }

/* ── STATIC PAGES ────────────────────────────── */
.static-page { padding: 7rem 0 5rem; min-height: calc(100vh - 80px); }
.static-page .container { max-width: 820px; }
.static-page__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #888; text-decoration: none;
  margin-bottom: 40px; transition: color .2s;
}
.static-page__back:hover { color: #c8a45e; }
.static-page__header { margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid #e8e0d0; }
.static-page__tag { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #c8a45e; margin-bottom: 12px; }
.static-page__title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3rem); font-weight: 600; color: #1a1008; line-height: 1.15; margin: .5rem 0; }
.static-page__date { font-size: 12px; color: #aaa; margin-top: 6px; }

.doc-section { margin-bottom: 40px; }
.doc-section h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; color: #c8a45e; border-bottom: 2px solid #f0e8d8; padding-bottom: 10px; margin-bottom: 18px; }
.doc-section p { font-size: .93rem; line-height: 1.85; color: #555; margin-bottom: 14px; }
.doc-section ul, .doc-section ol { padding-left: 20px; margin-bottom: 14px; }
.doc-section li { font-size: .93rem; line-height: 1.8; color: #555; margin-bottom: 4px; }
.doc-section li::marker { color: #c8a45e; }
.doc-section a { color: #c8a45e; text-decoration: none; }
.doc-section a:hover { text-decoration: underline; }
.doc-highlight { background: #fdf6e8; border-left: 4px solid #c8a45e; border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 16px 0; }
.doc-highlight p { margin-bottom: 0; color: #7a5820; font-weight: 500; }
.doc-warn { background: #fff8f0; border-left: 4px solid #e07b00; border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 16px 0; }
.doc-warn p { margin-bottom: 0; color: #9a5500; }

/* ── FAQ ─────────────────────────────────────── */
.faq-item { border: 1px solid #e8e0d0; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: #faf8f5; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: .93rem; font-weight: 600;
  color: #1a1008; text-align: left; transition: background .2s;
}
.faq-item__q:hover { background: #fdf6e8; }
.faq-item__q svg { flex-shrink: 0; color: #c8a45e; transition: transform .25s; margin-left: 12px; }
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a { display: none; padding: 14px 20px; font-size: .9rem; line-height: 1.8; color: #555; border-top: 1px solid #e8e0d0; background: #fff; }
.faq-item.open .faq-item__a { display: block; }

/* ── REPORT FORM ─────────────────────────────── */
.report-form { background: #fff; border: 1px solid #e8e0d0; border-radius: 16px; padding: 2rem; }
.report-form .form-group { margin-bottom: 1.25rem; }
.report-form label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a6a50; margin-bottom: 6px; }
.report-form input, .report-form select, .report-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid #e8e0d0; border-radius: 10px; font-family: 'Inter', sans-serif; font-size: .9rem; color: #1a1008; background: #faf8f5; outline: none; transition: border-color .2s; box-sizing: border-box; }
.report-form input:focus, .report-form select:focus, .report-form textarea:focus { border-color: #c8a45e; box-shadow: 0 0 0 3px rgba(200,164,94,.15); background: #fff; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 500px) {
  .modal__body, .modal__head { padding-left: 20px; padding-right: 20px; }
  .mform-row, .mform-row--desktop { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   HERO REGISTRATION CARD
════════════════════════════════════════════════ */
.hero-reg-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(200,164,94,.25);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
}

/* Head — złota belka */
.hero-reg-card__head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(200,164,94,.2);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600; color: #1a1008;
}
.hero-reg-card__head svg { color: #c8a45e; flex-shrink: 0; }

/* Fields */
.hero-reg-card__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 12px;
}
.hero-reg-card__group {
  margin-bottom: 12px;
}
.hero-reg-card__group label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #7a6a50; margin-bottom: 5px;
}
.hero-reg-card__group input,
.hero-reg-card__group .mform-multiselect__trigger {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid #e8e0d0; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: #1a1008;
  background: #faf8f5; outline: none; box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.hero-reg-card__group input:focus,
.hero-reg-card__group .mform-multiselect--open .mform-multiselect__trigger {
  border-color: #c8a45e;
  box-shadow: 0 0 0 3px rgba(200,164,94,.15);
  background: #fff;
}

/* Checkbox */
.hero-reg-card__check {
  margin: 10px 0 16px;
}
.hero-reg-card__check .mform-check__text {
  font-size: 11px;
}

/* Alert */
.hero-reg-card__alert {
  display: none; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px;
  font-size: 12px; background: #fff0f0; border: 1px solid #fcc; color: #c00;
}
.hero-reg-card__alert.show { display: block; }

/* Submit */
.hero-reg-card__submit {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, #c8a45e, #a07840);
  border: none; border-radius: 10px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(200,164,94,.4);
  transition: all .25s;
}
.hero-reg-card__submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,164,94,.5); }
.hero-reg-card__submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Login link */
.hero-reg-card__login {
  text-align: center; margin-top: 14px;
  font-size: 12px; color: #888;
}
.hero-reg-card__login a {
  color: #c8a45e; font-weight: 700; cursor: pointer;
}
.hero-reg-card__login a:hover { text-decoration: underline; }

/* Success */
.hero-reg-card__success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #c8a45e, #a07840);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #fff;
  box-shadow: 0 8px 24px rgba(200,164,94,.35);
