  body.fm-lock { overflow: hidden; }

  .fm-toggle {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
  }

  .hero-cta, .step-btn, .about-cta-btn {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .fm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    padding: 28px 16px;
    background: rgba(8, 8, 7, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.26s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Открытие/закрытие — чистый CSS, без JavaScript */
  #fm-toggle:checked ~ .fm-overlay { display: flex; opacity: 1; }

  .fm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    cursor: default;
    margin: 0;
  }

  .fm-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 980px;
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(243, 238, 223, 0.14);
    background:
      radial-gradient(circle at top left, rgba(201, 168, 102, 0.16), transparent 34%),
      linear-gradient(135deg, rgba(40, 38, 32, 0.98), rgba(22, 21, 17, 0.99));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
    transform: translateY(18px) scale(0.985);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  #fm-toggle:checked ~ .fm-overlay .fm-dialog { transform: translateY(0) scale(1); }

  .fm-dialog::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(201, 168, 102, 0.18);
    pointer-events: none;
  }

  .fm-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(243, 238, 223, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    font-family: var(--body);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .fm-close:hover {
    background: rgba(201, 168, 102, 0.16);
    border-color: rgba(201, 168, 102, 0.6);
    color: var(--gold-light);
  }

  .fm-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
    padding: 60px;
  }

  .fm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .fm-eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--gold);
  }

  .fm-title {
    font-family: var(--display);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--cream);
    margin-bottom: 22px;
  }

  .fm-text {
    max-width: 360px;
    color: rgba(243, 238, 223, 0.68);
    font-size: 15px;
    line-height: 1.75;
  }

  .fm-note {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(243, 238, 223, 0.14);
    color: rgba(243, 238, 223, 0.58);
    font-size: 13px;
    line-height: 1.6;
  }

  #giftRequestForm {
    display: grid;
    gap: 18px;
    align-content: start;
  }

  .fm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .fm-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .fm-field-full { grid-column: 1 / -1; }

  .fm-field label {
    color: rgba(243, 238, 223, 0.82);
    font-size: 13px;
    font-weight: 500;
  }
  .fm-required { color: var(--gold-light); }

  .fm-field input,
  .fm-field select,
  .fm-field textarea {
    width: 100%;
    border: 1px solid rgba(243, 238, 223, 0.16);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.045);
    color: var(--light-text);
    font-family: var(--body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .fm-field input,
  .fm-field select {
    height: 52px;
    padding: 0 16px;
  }
  .fm-field textarea {
    min-height: 104px;
    padding: 15px 16px;
    resize: vertical;
    line-height: 1.5;
  }
  .fm-field input::placeholder,
  .fm-field textarea::placeholder {
    color: rgba(243, 238, 223, 0.34);
  }

  .fm-field select {
    appearance: none;
    cursor: pointer;
    background-image:
      linear-gradient(45deg, transparent 50%, var(--gold-light) 50%),
      linear-gradient(135deg, var(--gold-light) 50%, transparent 50%);
    background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }
  .fm-field option {
    background: var(--ink);
    color: var(--light-text);
  }

  .fm-field input:focus,
  .fm-field select:focus,
  .fm-field textarea:focus {
    border-color: rgba(201, 168, 102, 0.72);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(201, 168, 102, 0.08);
  }

  .fm-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 4px;
  }
  .fm-privacy {
    max-width: 310px;
    color: rgba(243, 238, 223, 0.48);
    font-size: 11px;
    line-height: 1.55;
  }
  .fm-privacy a {
    color: var(--gold);
    text-decoration: underline;
  }
  .fm-privacy a:hover {
    color: var(--gold-light);
  }

  .fm-submit {
    flex: 0 0 auto;
    min-width: 210px;
    height: 54px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #171510;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }
  .fm-submit:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
  }

  .fm-success {
    display: none;
    margin-top: 16px;
    padding: 15px 16px;
    border: 1px solid rgba(201, 168, 102, 0.35);
    background: rgba(201, 168, 102, 0.1);
    color: var(--cream);
    font-size: 14px;
    line-height: 1.5;
  }
  .fm-success.is-visible { display: block; }

  @media (max-width: 860px) {
    .fm-wrap {
      grid-template-columns: 1fr;
      gap: 34px;
      padding: 52px 26px;
    }
    .fm-dialog::before { inset: 12px; }
    .fm-text { max-width: none; }
  }

  @media (max-width: 560px) {
    .fm-overlay { padding: 14px 8px; }
    .fm-wrap { padding: 48px 20px 36px; }
    .fm-grid { grid-template-columns: 1fr; }
    .fm-bottom { align-items: stretch; flex-direction: column; }
    .fm-submit { width: 100%; min-width: 0; }
    .fm-close { top: 10px; right: 10px; }
    .fm-field input,
    .fm-field select,
    .fm-field textarea { font-size: 16px; }
  }
