/* WEIZON 공통 서브페이지 */

.subpage {
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: #fff;
  color: #34405a;
}

.subpage .header {
  position: fixed;
}

.subpage .header.is-scrolled {
  left: 20px;
  right: 20px;
  width: auto;
}

@media (max-width: 950px) {
  .subpage .header.is-scrolled {
    left: 0;
    right: 0;
    width: auto;
  }
}

.subpage-banner {
  position: relative;
  height: 220px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #012e6a 0%, #015b80 48%, #018792 100%);
  background-size:
    48px 48px,
    48px 48px,
    auto;
}

.subpage-banner__lines {
  position: absolute;
  left: -120px;
  bottom: 34px;
  width: calc(100% + 240px);
  max-width: none;
  height: 75px;
  object-fit: cover;
  opacity: 0.8;
  animation: subpage-line-drift 26s ease-in-out infinite alternate;
}

.subpage-banner__wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 64px;
}

@keyframes subpage-line-drift {
  from {
    transform: translateX(-70px);
  }
  to {
    transform: translateX(70px);
  }
}

.subpage-main {
  min-height: calc(100vh - 310px);
  padding: 54px 0 84px;
}

.subpage-heading {
  margin-bottom: 90px;
  text-align: center;
}

.subpage-heading h1 {
  margin-bottom: 12px;
  color: #34405a;
  font-size: clamp(30px, 3vw, 60px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.subpage-heading p {
  color: #68738c;
  font-size: 24px;
}

/* 가입 신청 단계 */
.signup-container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 0 auto 54px;
}

.stepper::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 15px;
  right: 15px;
  left: 15px;
  height: 1px;
  background: #dce1eb;
}

.stepper__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 0 8px;
  background: #fff;
  color: #aab3c7;
  font-size: 24px;
  font-weight: 600;
}

.stepper__item:first-child {
  justify-self: start;
}

.stepper__item:nth-child(2) {
  justify-self: center;
}

.stepper__item:last-child {
  justify-self: end;
}

.stepper__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #b9c3d7;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  /* padding-bottom: 3px; */
}

.stepper__item.is-active {
  color: #34405a;
}

.stepper__item.is-active .stepper__number {
  background: linear-gradient(180deg, #1169d8 0%, #0096a7 100%);
}

.stepper__item.is-done {
  color: #34405a;
}

.stepper__item.is-done .stepper__number {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.stepper__item.is-done .stepper__number img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-panel {
  padding: 40px;
  border: 1px solid rgba(74, 85, 120, 0.55);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(15, 46, 91, 0.18);
}

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

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #303b54;
  font-size: 13px;
  font-weight: 600;
}

.required {
  color: #1686c4;
}

.form-control {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #c4cad6;
  border-radius: 7px;
  outline: 0;
  background: #fff;
  color: #4d5870;
  font: inherit;
  font-size: 13px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-control::placeholder {
  font-size: 14px;
  color: #9aa3b5;
}

.form-control:focus {
  border-color: #168bd3;
  box-shadow: 0 0 0 3px rgba(22, 139, 211, 0.12);
}

select.form-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 18px,
    calc(100% - 12px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.form-divider {
  grid-column: 1 / -1;
  height: 1px;
  margin: 6px 0 2px;
  background: #dfe3eb;
}

.form-section-title {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: #303b54;
  font-size: 17px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.action-btn {
  display: inline-flex;
  min-width: 108px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #1e8bd0;
  border-radius: 7px;
  background: #fff;
  color: #4d5870;
  font-size: 18px;
  font-weight: 400;
  padding: 16px;
}

.action-btn img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.action-btn--primary {
  background: linear-gradient(135deg, #2887d8, #3d99ef);
  color: #fff;
  box-shadow: 0 5px 14px rgba(40, 135, 216, 0.25);
}

/* 가입 신청 3단계 — 정보 확인 */
.summary-panel,
.agree-panel {
  margin-bottom: 18px;
}

.summary-panel__title {
  margin-bottom: 24px;
  color: #303b54;
  font-size: 18px;
  /* font-weight: 400; */
}

.summary-list {
  display: grid;
}

.summary-list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e4e8ef;
}

.summary-list__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-list__row:first-child {
  padding-top: 0;
}

.summary-list dt {
  flex: 0 0 auto;
  color: #7a8499;
  font-size: 14px;
  font-weight: 500;
}

.summary-list dd {
  color: #34405a;
  font-size: 20px;
  font-weight: 600;
  text-align: right;
}

.summary-list__price {
  color: #1d70d1;
  font-size: 20px;
  font-weight: 800;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: #2f8de5;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.agree-list {
  display: grid;
  gap: 14px;
}

.agree-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #34405a;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.agree-item input {
  width: 18px;
  height: 18px;
  accent-color: #2f8de5;
}

.agree-item__link {
  margin-left: 8px;
  color: #2f8de5;
  font-weight: 600;
  text-decoration: underline;
}

/* 가입 신청 완료 */
.complete-page {
  text-align: center;
}

.complete-hero {
  margin-bottom: 34px;
}

.complete-hero__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
}

.complete-hero__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.complete-hero h1 {
  margin-bottom: 10px;
  color: #303b54;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.complete-hero p {
  color: #68738c;
  font-size: 16px;
}

.complete-panel {
  text-align: left;
}

.complete-receipt {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e4e8ef;
}

.complete-receipt__label {
  margin-bottom: 8px;
  color: #30374f;
  font-size: 14px;
  font-weight: 500;
}

.complete-receipt__value {
  color: #194185;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.complete-next h2 {
  margin-bottom: 14px;
  color: #303b54;
  font-size: 16px;
  font-weight: 700;
}

.complete-next__list {
  display: grid;
  gap: 10px;
}

.complete-next__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #eef6ff;
  color: #34405a;
  font-size: 18px;
  font-weight: 400;
  text-align: left;
}

.complete-next__num {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #2f8de5;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  justify-content: center;
}

.complete-contact {
  margin: 22px 0 8px;
  color: #8a93a6;
  font-size: 16px;
}

/* 가입 신청 플랜 선택 */
.signup-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.signup-plan {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid #9da8bb;
  border-radius: 12px;
  background: #fff;
  color: #34405a;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.signup-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 20px rgba(15, 46, 91, 0.16);
}

.signup-plan.is-selected {
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(155deg, #0873e2 0%, #0e90cc 56%, #0b9b91 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 104, 190, 0.32);
}

.signup-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 5px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: #168bd3;
  color: #fff;
  font-size: 11px;
}

.signup-plan h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(15, 46, 91, 0.15);
  font-size: 19px;
}

.signup-plan.is-selected h2 {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.signup-plan__price {
  margin: 16px 0 18px;
  color: #205995;
  font-size: 25px;
  font-weight: 800;
}

.signup-plan.is-selected .signup-plan__price {
  color: #fff;
}

.signup-plan ul {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.signup-plan li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  background: url("../img/ok.svg") center / contain no-repeat;
  vertical-align: -4px;
}

.signup-plan li.is-disabled {
  color: #c5ccd8;
}

.signup-plan.is-selected li.is-disabled {
  color: #ececec;
}

.signup-plan li.is-disabled::before {
  background-image: url("../img/no.svg");
}

.trial-options {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #d6dbe5;
  border-radius: 9px;
  background: #f1f3f7;
}

.trial-options h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.trial-options__list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
}

.trial-options label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.start-date {
  width: 190px;
  margin-top: 24px;
}

.start-date__input {
  position: relative;
}

.start-date__input .form-control {
  padding-right: 40px;
}

.start-date__icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 플랜 안내 */
.plans-page .subpage-main {
  padding-bottom: 0;
}

.billing-toggle {
  display: flex;
  width: min(320px, calc(100% - 32px));
  height: 54px;
  margin: -4px auto 48px;
  padding: 5px;
  border: 1px solid #aeb8ca;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 8px 18px rgba(15, 46, 91, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.billing-toggle button {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 23px;
  color: #59657d;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition:
    color 0.2s,
    background 0.25s,
    box-shadow 0.25s,
    transform 0.2s;
}

.billing-toggle button.is-active {
  background: linear-gradient(135deg, #2690ef, #3b9cff);
  color: #fff;
  font-weight: 700;
  box-shadow:
    0 6px 14px rgba(38, 130, 220, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.discount {
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 14px;
  background: #cef6df;
  color: #31b56d;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s;
}

.billing-toggle button.is-active .discount {
  background: rgba(0, 72, 170, 0.38);
  color: #fff;
}

.pricing-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto 90px;
}

.pricing-detail {
  min-height: 480px;
  padding: 38px;
  border: 1px solid #9ca7ba;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(15, 46, 91, 0.17);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.pricing-detail--featured {
  border-color: rgba(255, 255, 255, 0.75);
  background-color: #0e90cc;
  background-image: linear-gradient(
    135deg,
    #0873e2 0%,
    #0e90cc 35%,
    #0b9b91 65%,
    #0873e2 100%
  );
  background-size: 220% 220%;
  background-position: 12% 40%;
  color: #fff;
  box-shadow: 0 13px 30px rgba(0, 104, 190, 0.32);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-position 0.85s ease;
}

.pricing-detail--featured:hover {
  transform: translateY(-6px);
  background-position: 88% 60%;
  box-shadow: 0 16px 34px rgba(0, 104, 190, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-detail--featured,
  .pricing-detail--featured:hover {
    background-position: 12% 40%;
    transition:
      transform 0.25s,
      box-shadow 0.25s;
  }
}

.pricing-detail__badge {
  display: inline-block;
  margin-bottom: 17px;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  font-size: 11px;
}

.pricing-detail h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 46, 91, 0.14);
  font-size: 25px;
}

.pricing-detail--featured h2 {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.pricing-detail__price {
  margin: 24px 0 8px;
  color: #205995;
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 800;
}

.pricing-detail--featured .pricing-detail__price {
  color: #fff;
}

.pricing-detail__period {
  margin-left: 4px;
  color: #8590a6;
  font-size: 13px;
  font-weight: 400;
}

.pricing-detail--featured .pricing-detail__period {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-detail__target {
  min-height: 48px;
  color: #68738c;
  font-size: 20px;
}

.pricing-detail--featured .pricing-detail__target {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-detail__join {
  width: 100%;
  height: 42px;
  margin: 13px 0 20px;
  border: 1px solid #9ca7ba;
  border-radius: 5px;
  background: #fff;
  color: #566177;
  font-weight: 400;
  font-size: 18px;
}

.pricing-detail ul {
  display: grid;
  gap: 11px;
  font-size: 18px;
}

.pricing-detail li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background: url("../img/ok.svg") center / contain no-repeat;
  vertical-align: -4px;
}

.pricing-detail li.is-disabled {
  color: #c5ccd8;
}

.pricing-detail--featured li.is-disabled {
  color: #ececec;
}

.pricing-detail li.is-disabled::before {
  background-image: url("../img/no.svg");
}

.comparison {
  padding: 66px 0 90px;
  background: #e7f6fa;
}

.comparison__inner {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
}

.comparison h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #34405a;
  font-size: 30px;
}

.comparison h2 img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.comparison-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #aab4c5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 46, 91, 0.16);
}

.comparison-table-wrap .dt-container,
.comparison-table-wrap .dt-layout-row,
.comparison-table-wrap .dt-layout-cell,
.comparison-table-wrap .dt-layout-table {
  max-width: 100%;
}

#featureTable {
  width: 100% !important;
  border-collapse: collapse !important;
}

#featureTable th,
#featureTable td {
  padding: 15px 20px;
  border-bottom: 1px solid #dce1e8;
  text-align: center;
  font-size: 18px;
}

#featureTable th:first-child,
#featureTable td:first-child {
  text-align: left;
}

#featureTable thead th {
  background: #f2f4f8;
  color: #5a657b;
  font-weight: 700;
}

#featureTable tbody tr:last-child td {
  border-bottom: 0;
}

.feature-status-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.dt-container .dt-layout-row {
  margin: 0 !important;
}

/* 서브페이지 푸터 */
.subpage .footer {
  min-height: 130px;
}

.subpage .footer__inner {
  padding-top: 30px;
  padding-bottom: 62px;
}

@media (max-width: 1024px) {
  .pricing-detail-grid {
    gap: 18px;
  }

  .pricing-detail {
    padding: 26px;
  }
}

/* 서브페이지 모바일 레이아웃: 950px */
@media (max-width: 950px) {
  .subpage-banner {
    height: 124px;
  }

  .subpage-main {
    padding-top: 42px;
  }

  .subpage-heading {
    width: min(100%, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .subpage-heading h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .subpage-heading p {
    font-size: 16px;
  }

  .stepper__item {
    font-size: 13px;
  }

  .form-panel {
    padding: 26px 20px;
  }

  .form-grid,
  .signup-plan-grid,
  .pricing-detail-grid {
    grid-template-columns: 1fr;
  }

  .summary-list__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .summary-list dd {
    text-align: left;
  }

  .complete-hero h1 {
    font-size: 28px;
  }

  .complete-receipt__value {
    font-size: 26px;
  }

  .signup-plan,
  .pricing-detail {
    min-height: auto;
  }

  .pricing-detail-grid {
    width: min(560px, calc(100% - 32px));
  }

  .pricing-detail h2 {
    font-size: 22px;
  }

  .pricing-detail__target,
  .pricing-detail ul {
    font-size: 16px;
  }

  .comparison {
    padding: 48px 0 64px;
    overflow-x: clip;
  }

  .comparison__inner {
    width: min(100%, calc(100% - 32px));
  }

  .comparison h2 {
    font-size: 22px;
  }

  #featureTable {
    /* min-width: 640px; */
  }

  #featureTable th,
  #featureTable td {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .billing-toggle {
    height: 52px;
    padding: 5px;
  }

  .billing-toggle button {
    padding: 0 7px;
    font-size: 13px;
  }

  .discount {
    height: 24px;
    padding: 0 6px;
    font-size: 10px;
  }

  .subpage-heading {
    margin-bottom: 34px;
  }

  .subpage-heading h1 {
    font-size: 29px;
  }

  .stepper {
    margin-bottom: 36px;
  }

  .stepper__item {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .form-grid {
    gap: 16px;
  }

  .trial-options__list {
    flex-direction: column;
    gap: 10px;
  }
}

/* 도입 사례 */
.cases-page .subpage-heading {
  margin-bottom: 28px;
}

.cases-page .subpage-heading p {
  max-width: 820px;
  margin: 0 auto;
  color: #68738c;
  /* font-size: clamp(15px, 1.6vw, 18px); */
  line-height: 1.7;
}

.cases-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.cases-summary {
  margin-bottom: 28px;
  padding: 28px 32px;
  border: 1px solid #7d89af;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 46, 91, 0.12);
}

.cases-summary__list {
  display: grid;
  gap: 16px;
}

.cases-summary__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #34405a;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.65;
}

.cases-summary__icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  object-fit: contain;
}

.cases-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.cases-map,
.cases-panel {
  border: 1px solid #7d89af;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 46, 91, 0.12);
}

.cases-map {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.cases-map__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #194185;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cases-map__title-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cases-map__canvas {
  position: relative;
  flex: 1;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 675 / 728;
}

.cases-map__svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cases-map__pin {
  position: absolute;
  z-index: 2;
  width: clamp(40px, 8.5%, 53px);
  pointer-events: none;
  filter: drop-shadow(0 5px 8px rgba(15, 46, 91, 0.28));
  transform: translate(-50%, -100%);
  transition: transform 0.25s ease;
}

.cases-map__pin > img {
  display: block;
  width: 100%;
  height: auto;
}

.cases-map__pin-label {
  position: absolute;
  top: 30%;
  left: 50%;
  color: #fff;
  font-size: clamp(11px, 1.15vw, 13px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 1px rgba(0, 64, 140, 0.25);
}

.cases-map__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 55%;
  height: 7px;
  border-radius: 50%;
  background: rgba(25, 65, 133, 0.2);
  transform: translateX(-50%);
}

@keyframes cases-pin-jump {
  0%,
  100% {
    transform: translate(-50%, -100%);
  }
  50% {
    transform: translate(-50%, calc(-100% - 8px));
  }
}

.cases-layout:has(.case-item[data-pin="incheon"]:hover)
  .cases-map__pin--incheon,
.cases-layout:has(.case-item[data-pin="gunsan"]:hover) .cases-map__pin--gunsan,
.cases-layout:has(.case-item[data-pin="iksan"]:hover) .cases-map__pin--iksan,
.cases-layout:has(.case-item[data-pin="yangsan"]:hover)
  .cases-map__pin--yangsan {
  z-index: 5;
  animation: cases-pin-jump 1.1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cases-layout:has(.case-item:hover) .cases-map__pin {
    animation: none;
  }
}

.cases-panel {
  display: flex;
  flex-direction: column;
  padding: 8px 24px;
}

.cases-list {
  display: grid;
}

.case-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #e4e8ef;
  transition: background-color 0.2s ease;
}

.case-item:last-child {
  border-bottom: 0;
}

.case-item:hover {
  background: rgba(47, 141, 229, 0.03);
}

.case-item__thumb {
  overflow: hidden;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border-radius: 12px;
  background: #e8eef5;
}

.case-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-item__region {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 3px 12px;
  border: 1px solid #34bb7c;
  border-radius: 999px;
  background: #dbfae6;
  color: #17b26a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.case-item__name {
  margin-bottom: 6px;
  color: #194185;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.case-item__detail {
  color: #566177;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 950px) {
  .cases-layout {
    grid-template-columns: 1fr;
  }

  .case-item__thumb {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .case-item__name {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .cases-summary {
    padding: 20px;
  }

  .cases-panel {
    padding: 4px 16px;
  }

  .case-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .case-item__thumb {
    width: 100%;
    height: 180px;
    flex-basis: auto;
  }
}

/* 약관·개인정보처리방침 */
.legal-page .subpage-heading {
  margin-bottom: 28px;
}

.legal-page .subpage-heading p {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.legal-container {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 auto 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #dbfae6;
  color: #0f6e56;
  font-size: 16px;
  font-weight: 500;
}

.legal-page .subpage-heading + .legal-badge,
.legal-badge-wrap {
  display: flex;
  justify-content: center;
}

.legal-toc {
  margin-bottom: 42px;
  padding: 28px 32px;
  border: 1px solid rgba(74, 85, 120, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 46, 91, 0.1);
}

.legal-toc h2 {
  margin-bottom: 16px;
  color: #303b54;
  font-size: 18px;
  font-weight: 700;
}

.legal-toc__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
}

.legal-toc__list a {
  color: #1d70d1;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.2s;
}

.legal-toc__list a:hover {
  color: #0f4f9a;
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 96px;
}

.legal-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #194185;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-section__title::before {
  content: "";
  display: block;
  width: 4px;
  height: 1.1em;
  flex: 0 0 4px;
  border-radius: 2px;
  background: #2f8de5;
}

.legal-list {
  display: grid;
  gap: 8px;
  padding-left: 4px;
}

.legal-list li {
  position: relative;
  padding-left: 16px;
  color: #4d5870;
  font-size: 15px;
  line-height: 1.75;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7a8499;
}

.legal-table-wrap {
  margin: 4px 0 16px;
  overflow: hidden;
  border: 1px solid #d5dbe6;
  border-radius: 12px;
  background: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e6ebf2;
  color: #445066;
  /* font-size: 18px; */
  line-height: 1.5;
  text-align: center;
  vertical-align: top;
}

.legal-table th {
  background: #f3f5f8;
  color: #5a657b;
  font-weight: 700;
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.terms-page .legal-table-wrap {
  border-color: #7d89af;
}

.terms-page .legal-table th,
.terms-page .legal-table td {
  border-bottom-color: #7d89af;
}

.legal-callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.legal-callout--warn {
  background: #fdead7;
  color: #ef6820;
  font-size: 18px;
  font-weight: 400;
}

.legal-callout--info {
  background: #e8f2fc;
  color: #1a5fa8;
}

.legal-callout--info p {
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
}

.legal-callout__icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  object-fit: contain;
}

.legal-callout strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 20px;
}

.footer__links a.is-active {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 950px) {
  .legal-toc {
    padding: 22px 20px;
  }

  .legal-toc__list {
    grid-template-columns: 1fr 1fr;
  }

  .legal-section__title {
    font-size: 18px;
  }

  .legal-table th,
  .legal-table td {
    padding: 12px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .legal-toc__list {
    grid-template-columns: 1fr;
  }

  .legal-table-wrap {
    overflow-x: auto;
  }

  .legal-table {
    min-width: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-banner__lines {
    animation: none;
  }
}
