/* Support page — Figma 9091:1448 (form), 9091:1542 (privacy / submit), 9091:1599 (process) */
.page-main--subpage {
  padding-block: 0;
}

/* Scroll reveal (matches Company / Solution / Business section timing) */
.page-support .subpage-reveal,
.page-support .support-inquiry__reveal,
.page-support .support-process__reveal,
.page-support .support-resources__reveal {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition:
    opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-support .subpage-reveal.is-visible,
.page-support .support-inquiry__reveal.is-visible,
.page-support .support-process__reveal.is-visible,
.page-support .support-resources__reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .page-support .subpage-reveal,
  .page-support .support-inquiry__reveal,
  .page-support .support-process__reveal,
  .page-support .support-resources__reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-inquiry {
  background: #fff;
  color: #101010;
}

.support-inquiry__inner {
  width: 100%;
  max-width: 108rem;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 8.33vw, 10rem) clamp(3rem, 6vw, 5rem);
}

/* Form */
.support-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
}

.support-inquiry-form__required-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: 0;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0a63b0;
}

.support-inquiry-form__required-mark {
  font-size: 1rem;
  font-weight: 400;
}

.support-inquiry-form__fields {
  display: flex;
  flex-direction: column;
}

.support-inquiry-form__row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e3e3e3;
}

.support-inquiry-form__row--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-inquiry-form__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  min-width: 0;
  padding: 1.25rem 0.625rem;
}

.support-inquiry-form__field--full {
  width: 100%;
}

.support-inquiry-form__label-wrap {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  width: 10rem;
  min-width: 6.25rem;
  margin: 0;
  font-family: var(--font-family-base);
}

.support-inquiry-form__label {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.2;
  color: #000;
}

.support-inquiry-form__required {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1;
  color: #0a63b0;
}

.support-inquiry-form__input,
.support-inquiry-form__textarea,
.support-inquiry-form__file {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.support-inquiry-form__input {
  height: 3.75rem;
  padding: 0.625rem 1.5rem;
  border: 0;
  border-radius: 5px;
  background: #f5f5f5;
  color: #101010;
  font-family: var(--font-family-base);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.support-inquiry-form__input::placeholder,
.support-inquiry-form__textarea::placeholder {
  color: #8e9192;
}

.support-inquiry-form__input:focus-visible,
.support-inquiry-form__textarea:focus-visible {
  outline: 2px solid #0a63b0;
  outline-offset: 2px;
}

.support-inquiry-form__textarea {
  min-height: 12.5rem;
  padding: 1.25rem;
  border: 1px solid #c4c7c7;
  border-radius: 5px;
  background: #fff;
  color: #101010;
  font-family: var(--font-family-base);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  resize: vertical;
}

.support-inquiry-form__field--full:has(.support-inquiry-form__textarea) {
  align-items: flex-start;
}

.support-inquiry-form__field--full:has(.support-inquiry-form__textarea) .support-inquiry-form__label-wrap {
  padding-top: 0.75rem;
}

/* Inquiry type radios */
.support-inquiry-form__radios {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.support-inquiry-form__radio-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.875rem);
  margin: 0;
  padding: 0.25rem 0.625rem;
  list-style: none;
}

.support-inquiry-form__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-family-base);
}

.support-inquiry-form__radio-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-inquiry-form__radio-ui {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #d8dadb;
  border-radius: 50%;
  background: #fff;
}

.support-inquiry-form__radios .support-inquiry-form__radio-input:checked + .support-inquiry-form__radio-ui {
  border-color: transparent;
  background: url("../../images/tick.svg") center / contain no-repeat;
}

.support-inquiry-form__radio-input:focus-visible + .support-inquiry-form__radio-ui {
  outline: 2px solid #0a63b0;
  outline-offset: 2px;
}

.support-inquiry-form__radio-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
}

.support-inquiry-form__radios .support-inquiry-form__radio-input:not(:checked) ~ .support-inquiry-form__radio-text {
  color: #8e9192;
}

/* File attachment (visual only) */
.support-inquiry-form__file {
  display: flex;
  align-items: stretch;
  min-height: 3.75rem;
  border: 1px solid #c4c7c7;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.support-inquiry-form__file-name {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding-inline: 1.5rem;
  font-family: var(--font-family-base);
  font-size: 1rem;
  color: #8e9192;
}

.support-inquiry-form__file-btn {
  flex: 0 0 auto;
  width: min(12.1875rem, 40%);
  min-width: 7.5rem;
  min-height: 3.75rem;
  padding: 0 1rem;
  border: 0;
  background: #0a63b0;
  color: #fff;
  font-family: var(--font-family-base);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.2;
  cursor: not-allowed;
  opacity: 0.85;
}

/* Privacy table */
.support-inquiry-privacy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.support-inquiry-privacy__title {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: clamp(1.375rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  color: #151515;
}

.support-inquiry-privacy__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.support-inquiry-privacy__table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  border: 1px solid #e3e3e3;
  table-layout: fixed;
  font-family: var(--font-family-base);
}

.support-inquiry-privacy__col-label {
  width: 32%;
}

.support-inquiry-privacy__col-content {
  width: 68%;
}

.support-inquiry-privacy__table th,
.support-inquiry-privacy__table td {
  padding: 0.875rem 1rem;
  border: 1px solid #e3e3e3;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  text-align: left;
  vertical-align: top;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.support-inquiry-privacy__table th {
  font-weight: 500;
  background: #fff;
}

.support-inquiry-privacy__row--tall th,
.support-inquiry-privacy__row--tall td {
  min-height: 9.375rem;
}

.support-inquiry-privacy__tel {
  color: inherit;
  text-decoration: none;
}

.support-inquiry-privacy__tel:hover {
  text-decoration: underline;
}

/* Footer: consent + submit */
.support-inquiry-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  width: 100%;
}

.support-inquiry-form__consent {
  flex: 1 1 18rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.support-inquiry-form__consent-legend {
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.22;
  color: #101010;
}

.support-inquiry-form__consent-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-inquiry-form__radio--consent .support-inquiry-form__radio-ui--consent {
  width: 1.375rem;
  height: 1.375rem;
  border-color: #ddd;
}

.support-inquiry-form__radio--consent .support-inquiry-form__radio-ui--consent::after {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: transparent;
}

.support-inquiry-form__radio--consent .support-inquiry-form__radio-input:checked + .support-inquiry-form__radio-ui--consent {
  border-color: #2c4ea2;
}

.support-inquiry-form__radio--consent .support-inquiry-form__radio-input:checked + .support-inquiry-form__radio-ui--consent::after {
  background: #2c4ea2;
}

.support-inquiry-form__radio--consent .support-inquiry-form__radio-text {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.22;
  color: #3a3a3a;
}

.support-inquiry-form__submit-wrap {
  flex: 0 0 auto;
  align-self: flex-end;
}

.support-inquiry-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11.25rem;
  min-height: 3.75rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 5px;
  background: #0a63b0;
  color: #fff;
  font-family: var(--font-family-base);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.support-inquiry-form__submit:hover {
  background: #085291;
}

.support-inquiry-form__submit:focus-visible {
  outline: 2px solid #0a63b0;
  outline-offset: 3px;
}

/* Inquiry process — Figma 9091:1599 */
.support-process {
  background: #fff;
  color: #101010;
}

.support-process__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.25rem);
  width: 100%;
  max-width: 108rem;
  margin-inline: auto;
  padding: 0 clamp(1rem, 8.33vw, 10rem) clamp(3rem, 6vw, 5rem);
}

.support-process__title {
  width: 100%;
  margin: 0;
  font-family: var(--font-family-base);
  font-size: clamp(1.375rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  color: #151515;
}

.support-process__flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 3.125rem);
  width: 100%;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 2rem;
  background: #f8f8f8;
}

.support-process__step {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.support-process__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 1rem;
  width: min(100%, 13.35rem);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 0.5rem solid #0a63b0;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.support-process__icon {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 4.4375rem;
  object-fit: contain;
}

.support-process__label {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
  color: #0a63b0;
}

.support-process__arrow {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.support-process__arrow-icon {
  display: block;
  width: clamp(1.125rem, 2vw, 1.5rem);
  height: auto;
}

/* Support resources — reuses the press card rhythm for static technical 자료 */
.support-resources {
  background: #fff;
  color: #101010;
}

.support-resources__inner {
  width: 100%;
  max-width: 108rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 8.33vw, 10rem) clamp(3.5rem, 6vw, 5.5rem);
}

.support-resources__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.875rem;
}

.support-resources__item {
  min-width: 0;
}

.support-resource-card {
  height: 100%;
  background: #fff;
  border: 1px solid #d9dfe9;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.support-resource-card:has(.support-resource-card__link:hover),
.support-resource-card:has(.support-resource-card__link:focus-visible) {
  box-shadow: 2px 4px 8px 2px rgba(0, 0, 0, 0.1);
}

.support-resource-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.support-resource-card__link:hover,
.support-resource-card__link:focus-visible {
  text-decoration: none;
}

.support-resource-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 15.875rem;
  background: #e5e5e5;
  overflow: hidden;
}

.support-resource-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15.875rem;
  object-fit: cover;
}

.support-resource-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 15.875rem;
  color: #a5a5a5;
}

.support-resource-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.875rem 1.875rem 2.5rem;
}

.support-resource-card__title {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #151515;
  transition: color 0.2s ease;
}

.support-resource-card__link:hover .support-resource-card__title,
.support-resource-card__link:focus-visible .support-resource-card__title {
  color: #0a63b0;
}

.support-resource-card__date {
  margin-top: auto;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #90939b;
}

.support-resources__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12rem;
  padding: 2rem;
  text-align: center;
  color: #535353;
  background: #f8fafc;
  border: 1px solid #d9dfe9;
  border-radius: 12px;
}

.support-resources__empty p {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.support-resources-pagination__list {
  list-style: none;
  padding: 0.75rem 0 0;
  margin: clamp(3rem, 6.25vw, 6.25rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.support-resources-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0.625rem;
  border-radius: 100px;
  font-family: var(--font-family-base);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: #474747;
  text-decoration: none;
}

.support-resources-pagination__page.is-active {
  color: #0a63b0;
}

/* Tablet / mobile */
@media (max-width: 63.99rem) {
  .support-inquiry__inner,
  .support-process__inner,
  .support-resources__inner {
    padding-inline: 1rem;
  }

  .support-resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-process__flow {
    gap: clamp(0.75rem, 2vw, 1.5rem);
    padding: clamp(1rem, 2vw, 1.5rem);
  }

  .support-process__card {
    width: min(100%, 11.5rem);
    padding: clamp(0.875rem, 2vw, 1.25rem);
  }

  .support-process__label {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  }

  .support-inquiry-form__row--split {
    grid-template-columns: 1fr;
  }

  .support-inquiry-form__field {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .support-inquiry-form__label-wrap {
    width: 100%;
  }

  .support-inquiry-form__field--full:has(.support-inquiry-form__textarea) .support-inquiry-form__label-wrap {
    padding-top: 0;
  }

  .support-inquiry-form__radio-list {
    padding-inline: 0;
  }
}

@media (max-width: 47.99rem) {
  .support-resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .support-resource-card__thumb,
  .support-resource-card__thumb img,
  .support-resource-card__thumb-placeholder {
    min-height: 10rem;
  }

  .support-resource-card__body {
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .support-resource-card__title {
    font-size: 1.0625rem;
  }

  .support-inquiry-form__footer {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.375rem;
  }

  .support-inquiry-form__consent {
    flex: 0 0 auto;
  }

  .support-inquiry-form__consent-legend {
    margin-bottom: 0.5rem;
  }

  .support-inquiry-form__consent-list {
    gap: 0.625rem 1rem;
  }

  .support-inquiry-form__submit-wrap {
    align-self: stretch;
    margin-top: 0;
  }

  .support-inquiry-form__submit {
    width: 100%;
    min-height: 3.25rem;
  }

  .support-inquiry-form__file-btn {
    width: auto;
    min-width: 6.5rem;
  }

  .support-inquiry-privacy__table {
    min-width: 36rem;
    font-size: 0.9375rem;
  }

  .support-inquiry-privacy__table th,
  .support-inquiry-privacy__table td {
    padding: 0.75rem 0.625rem;
  }

  .support-process__flow {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .support-process__step {
    flex: none;
    width: 100%;
  }

  .support-process__arrow {
    align-self: center;
    transform: rotate(90deg);
  }

  .support-process__card {
    width: min(100%, 10.5rem);
    padding: 1rem;
  }

  .support-process__icon {
    max-height: 3.75rem;
  }
}

@media (max-width: 29.99rem) {
  .support-resources__grid {
    grid-template-columns: 1fr;
  }
}
