.pack-selection-page {
  min-height: 100vh;
  display: block;
  padding: 32px;
  background: linear-gradient(145deg, #102a43, #164e75);
}

.pack-selection {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 36px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px #071b2b70;
}

.pack-selection header {
  text-align: center;
}

.selection-logo {
  display: block;
  width: 184px;
  height: auto;
  margin: 0 auto 8px;
}

.pack-selection header > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.pack-selection h1 {
  margin: 8px 0 4px;
  font-size: 34px;
}

.pack-selection header p {
  margin: 0 auto 30px;
  color: var(--muted);
}

.pack-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.pack-card {
  min-width: 0;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}

.pack-card:hover,
.pack-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 10px 24px #1479bd1c;
  transform: translateY(-2px);
}

.pack-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue2);
  font-size: 20px;
}

.pack-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pack-card div span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue2);
  font-size: 13px;
  font-weight: 700;
}

.pack-card p {
  margin: 12px 0 14px;
}

.pack-card small {
  color: var(--muted);
}

.selection-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 28px;
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfd;
}

.selection-contact h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.selection-contact p {
  margin: 0 0 10px;
  color: var(--muted);
}

.selection-contact .contact-note {
  color: var(--navy);
  font-weight: 700;
}

.selection-contact .account-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 8px;
  padding: 10px 12px;
  border: 1px solid #b7d9ed;
  border-radius: 9px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 800;
}

.selection-contact .account-search button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}

.selection-contact .account-steps {
  color: var(--navy);
  font-size: 13px;
}

.selection-contact .consult-divider {
  margin: 18px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.selection-contact .consult-divider h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.selection-contact .contact-privacy {
  color: var(--muted);
}

.selection-contact .contact-qr {
  display: block;
  width: 190px;
  height: auto;
  background: #fff;
}

.selection-contact .qr-block {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  translate: -50% 20px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}

.copy-toast.show {
  opacity: 1;
  translate: -50% 0;
}

@media (max-width: 1100px) {
  .pack-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .pack-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .pack-selection-page {
    padding: 16px;
  }

  .pack-selection {
    padding: 28px 20px;
  }

  .pack-cards {
    grid-template-columns: 1fr;
  }

  .selection-contact {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px 18px;
    text-align: center;
  }

  .selection-contact .account-search {
    align-items: stretch;
    flex-direction: column;
  }
}
