/* ---- Privacy policy modal (opened from consult-form's "자세히" link) ------
   PC/TA: centered card. MO: bottom sheet, rounded top corners only.
   ---------------------------------------------------------------------- */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.privacy-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.privacy-modal__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(9, 41, 98, .25);
  overflow: hidden;
  transform: translateY(12px) scale(.98);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.privacy-modal.is-open .privacy-modal__panel {
  transform: translateY(0) scale(1);
}

.privacy-modal__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-bluegrey-300);
}
.privacy-modal__title {
  font-weight: 700;
  color: var(--color-black);
  font-size: clamp(17px, calc(17px + (20 - 17) * ((100vw - 375px) / (1440 - 375))), 20px);
}
.privacy-modal__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-400);
  font-size: 20px;
  transition: color .2s ease;
}
.privacy-modal__close:hover { color: var(--color-darkblue); }

.privacy-modal__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  color: var(--color-grey-900);
  font-size: 14px;
  line-height: 1.6;
}
.privacy-modal__intro { margin-bottom: 24px; }

.privacy-modal__section { margin-top: 22px; }
.privacy-modal__section:first-of-type { margin-top: 0; }
.privacy-modal__section h3 {
  font-weight: 700;
  color: var(--color-darkblue);
  font-size: 16px;
  margin-bottom: 8px;
}
.privacy-modal__section p { margin-bottom: 6px; }
.privacy-modal__section p:last-child { margin-bottom: 0; }

.privacy-modal__list { margin-top: 8px; }
.privacy-modal__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  word-break: keep-all;
}
.privacy-modal__list li:last-child { margin-bottom: 0; }
.privacy-modal__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-blue);
}

@media (max-width: 767px) {
  .privacy-modal { padding: 16px; }
  .privacy-modal__panel {
    max-width: none;
    max-height: 80vh;
    border-radius: 16px;
  }
  .privacy-modal__header { padding: 16px 18px; }
  .privacy-modal__body { padding: 18px; font-size: 13px; }
}
