/* Package and lead modals */
    /* ── 20. MODALS — package-modal + lead-modal overlays ─────── */
    .package-modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(8, 24, 31, 0.48);
      backdrop-filter: blur(10px);
    }

    .package-modal.open {
      display: flex;
    }

    .package-modal-dialog {
      width: min(80vw, 1120px);
      height: min(80vh, 780px);
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) 320px;
      gap: 0;
      overflow: hidden;
      border-radius: 30px;
      background: #fff;
      box-shadow: 0 30px 80px rgba(10, 42, 52, 0.28);
    }

    .package-modal-main {
      padding: 28px;
      overflow: auto;
    }

    .package-modal-side {
      padding: 24px;
      background: linear-gradient(180deg, #f5fbfd, #eaf4f7);
      border-left: 1px solid #dbe8ed;
    }

    .lead-modal-dialog {
      position: relative;
      width: min(92vw, 760px);
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) 320px;
      overflow: hidden;
      border-radius: 30px;
      background: #fff;
      box-shadow: 0 30px 80px rgba(10, 42, 52, 0.28);
    }

    .lead-modal-copy {
      position: relative;
      min-height: 520px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 28px;
      background:
        linear-gradient(180deg, rgba(8, 25, 31, 0.1) 0%, rgba(8, 75, 89, 0.74) 100%),
        center / cover no-repeat url("../../assets/images/modals/lead-support-specialist.jpg");
    }

    .lead-modal-copy .section-chip {
      width: fit-content;
      margin-bottom: 14px;
      background: rgba(255, 255, 255, 0.18);
      color: #fff;
    }

    .lead-modal-copy h3 {
      margin: 0 0 10px;
      max-width: 100%;
      color: #fff;
      font-size: clamp(1.8rem, 5vw, 2.6rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
      text-wrap: balance;
    }

    .lead-modal-copy p {
      margin: 0;
      max-width: 34ch;
      color: rgba(255, 255, 255, 0.88);
      line-height: 1.5;
    }

    .lead-modal-form {
      background: linear-gradient(180deg, #f9fcfd, #eef6f8);
      border-left: 1px solid #dbe8ed;
      padding: 80px 24px 30px;
    }
    
    .lead-modal-dialog > .modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      z-index: 20;
    }

    .lead-modal-form h4 {
      margin: 0 0 8px;
      font-size: 1.5rem;
      line-height: 1.05;
    }

    .lead-modal-form p {
      margin: 0 0 24px;
      color: var(--muted);
      line-height: 1.5;
    }

    .lead-modal-form .form-stack {
      display: grid;
      gap: 20px;
    }

    .lead-modal-form .primary-button {
      width: 100%;
      margin: 0;
    }

    .lead-modal-note {
      margin-top: 14px;
      color: #5e7681;
      font-size: 12px;
      line-height: 1.45;
    }

    .package-modal-top {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 16px;
    }

    .package-modal-title h3 {
      margin: 10px 0 6px;
      font-size: 2rem;
      line-height: 1.02;
    }

    .package-modal-title p {
      margin: 0;
      color: var(--muted);
      line-height: 1.5;
    }

    .modal-close {
      width: 42px;
      height: 42px;
      border: 1px solid #d7e7ec;
      border-radius: 999px;
      background: #fff;
      color: var(--ink);
      font-size: 22px;
      cursor: pointer;
    }

    .modal-price-band {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      margin-top: 18px;
      padding: 16px 18px;
      border-radius: 20px;
      background: linear-gradient(135deg, #fdf3f6 0%, #f9f4fb 100%);
      border: 1px solid rgba(166, 33, 89, 0.14);
    }

    .modal-price-band strong {
      font-size: 2rem;
      letter-spacing: -0.05em;
      color: var(--raspberry);
    }

    .modal-price-band .old-price {
      font-size: 16px;
    }

    .modal-section {
      margin-top: 22px;
    }

    .modal-section h4 {
      margin: 0 0 10px;
      font-size: 1.05rem;
    }

    .modal-list {
      display: grid;
      gap: 10px;
    }

    .modal-list-item {
      padding: 12px 14px;
      border-radius: 16px;
      background: #f7fbfd;
      border: 1px solid #dbeaf0;
    }

    .modal-list-item strong {
      display: block;
      margin-bottom: 4px;
    }

    .modal-mini-form {
      display: grid;
      gap: 10px;
      margin-top: 18px;
    }

    .modal-side h4 {
      margin: 8px 0 6px;
      font-size: 1.18rem;
    }

    .modal-side p {
      margin: 0;
      color: var(--muted);
      line-height: 1.45;
    }
