@charset "utf-8";

@import "global.css";

/* Contact Form */
main section.contact-form {
  width: 100%;
  height: auto;
}

main section.contact-form div.box-wrapper {
  display: flex;
  width: 100%;
  height: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox에서 스크롤바 숨김 */
  -ms-overflow-style: none; /* IE/Edge에서 스크롤바 숨김 */
  position: relative;
}

/* Chrome/Safari/Opera에서 스크롤바 숨김 */
main section.contact-form div.box-wrapper::-webkit-scrollbar {
  display: none;
}

/* 더 부드러운 스크롤링을 위한 전환 효과 */
main section.contact-form div.box-wrapper.transitioning {
  scroll-behavior: auto !important;
}

/* 전환 중 클론 숨기기 */
main section.contact-form div.box-wrapper.transitioning .box:first-child,
main section.contact-form div.box-wrapper.transitioning .box:last-child {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media only screen and (min-width: 1280px) {
  main section.contact-form div.box-wrapper {
    height: 100%;
  }
}

main section.contact-form div.box-wrapper div.box {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  padding-top: 100px;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  position: relative;
  scroll-snap-stop: always;
}

main section.contact-form div.box-wrapper div.box div.tabs {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 100px;
  padding: 0 var(--mobile-padding);
}

@media only screen and (min-width: 1280px) {
  main section.contact-form div.box-wrapper div.box div.tabs {
    width: var(--desktop-max-width);
    padding: 0;
  }
}

main section.contact-form div.box-wrapper div.box div.tabs h1 {
  font-size: 36px;
  font-weight: 900;
  color: #6c68df;
}

@media only screen and (min-width: 1280px) {
  main section.contact-form div.box-wrapper div.box div.tabs h1 {
    font-size: 48px;
  }
}

main section.contact-form div.box-wrapper div.box form {
  padding: 0 var(--mobile-padding);
}

@media only screen and (min-width: 1280px) {
  main section.contact-form div.box-wrapper div.box form {
    padding: 0;
  }
}

main section.contact-form div.box-wrapper div.box form div.form-groups {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

@media only screen and (min-width: 1280px) {
  main section.contact-form div.box-wrapper div.box form div.form-groups {
    width: var(--desktop-max-width);
    flex-wrap: nowrap;
    gap: 17px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups:first-of-type {
  margin-top: 40px;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-form
    div.box-wrapper
    div.box
    form
    div.form-groups:first-of-type {
    margin-top: 100px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups:not(:first-of-type) {
  margin-top: 50px;
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups
  div.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups
  div.form-group
  label {
  font-size: 14px;
  font-weight: 700;
  color: #404040;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-form
    div.box-wrapper
    div.box
    form
    div.form-groups
    div.form-group
    label {
    font-size: 16px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups
  div.form-group
  div.categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-form
    div.box-wrapper
    div.box
    form
    div.form-groups
    div.form-group
    div.categories {
    gap: 20px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups
  div.form-group
  div.categories
  p {
  padding: 5px 12px;
  border: 2px solid #404040;
  border-radius: 20px;
  font-size: 14px;
  background-color: #ffffff;
  color: #404040;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-form
    div.box-wrapper
    div.box
    form
    div.form-groups
    div.form-group
    div.categories
    p {
    font-size: 16px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups
  div.form-group
  div.categories
  p.is-selected {
  background-color: #404040;
  color: #ffffff;
  font-weight: 700;
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.form-groups
  div.form-group
  input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #404040;
  font-size: 14px;
  color: #404040;
  padding: 0px 12px 6px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-form
    div.box-wrapper
    div.box
    form
    div.form-groups
    div.form-group
    input {
    font-size: 16px;
  }
}

main section.contact-form div.box-wrapper div.box form div.terms-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.terms-group
  p.terms-text {
  font-size: 14px;
  font-weight: 400;
  color: #404040;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-form
    div.box-wrapper
    div.box
    form
    div.terms-group
    p.terms-text {
    font-size: 16px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.terms-group
  p.terms-text
  a {
  font-weight: 700;
}

main section.contact-form div.box-wrapper div.box form div.actions {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

main section.contact-form div.box-wrapper div.box form div.actions button {
  padding: 10px 50px;
  background-color: #404040;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

@media only screen and (min-width: 1280px) {
  main section.contact-form div.box-wrapper div.box form div.actions button {
    font-size: 16px;
  }
}

main
  section.contact-form
  div.box-wrapper
  div.box
  form
  div.actions
  button:disabled {
  background-color: #bfbfbf;
  color: #ffffff;
  cursor: default;
}

/* Contact Info */
main section.contact-info {
  width: 100%;
  height: auto;
  margin: 160px 0 60px 0;
  padding: 0 var(--mobile-padding);
}

@media only screen and (min-width: 1280px) {
  main section.contact-info {
    margin: 200px 0 120px 0;
    padding: 0;
  }
}

main section.contact-info div.box-wrapper {
  display: block; /* not a scroll container here */
  width: 100%;
  height: auto;
  overflow: visible; /* ensure children paint fully */
  position: relative;
  margin: 0 auto;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper {
    width: var(--desktop-max-width);
  }
}

/* Chrome/Safari/Opera에서 스크롤바 숨김 */
main section.contact-info div.box-wrapper::-webkit-scrollbar {
  display: none;
}

main section.contact-info div.box-wrapper div.box {
  width: 100%;
  height: auto; /* grow to fit children on mobile */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper div.box {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0px;
  }
}

main section.contact-info div.box-wrapper div.box div.left {
  flex: 1;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* natural flow; push download with margin-top:auto */
  align-items: flex-start;
  scroll-snap-align: start;
  position: relative;
  scroll-snap-stop: always;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper div.box div.left {
    flex: 0 0 50%;
  }
}

main section.contact-info div.box-wrapper div.box div.left div.content-groups {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

main
  section.contact-info
  div.box-wrapper
  div.box
  div.left
  div.content-groups
  div.content-group {
  display: flex;
  gap: 12px;
}

main
  section.contact-info
  div.box-wrapper
  div.box
  div.left
  div.content-groups
  div.content-group
  label {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #404040;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-info
    div.box-wrapper
    div.box
    div.left
    div.content-groups
    div.content-group
    label {
    font-size: 16px;
  }
}

main
  section.contact-info
  div.box-wrapper
  div.box
  div.left
  div.content-groups
  div.content-group
  p {
  flex: 5;
  font-size: 14px;
  font-weight: 400;
  color: #404040;
}

@media only screen and (min-width: 1280px) {
  main
    section.contact-info
    div.box-wrapper
    div.box
    div.left
    div.content-groups
    div.content-group
    p {
    font-size: 16px;
  }
}

main section.contact-info div.box-wrapper div.box div.left div.download {
  display: none;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper div.box div.left div.download {
    display: block;
    margin-top: 100px;
  }
}

main section.contact-info div.box-wrapper div.box div.left div.download a {
  padding: 10px 50px;
  border-radius: 20px;
  background-color: #404040;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

main section.contact-info div.box-wrapper div.box div.right {
  width: 100%;
  height: auto; /* let iframe define height */
  flex-shrink: 0;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper div.box div.right {
    flex: 0 0 50%;
    width: 50%;
  }
}

main section.contact-info div.box-wrapper div.box div.right iframe {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 403 / 233;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper div.box div.right iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 655 / 378;
  }
}

main section.contact-info div.box-wrapper div.box div.right div.download {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 33px;
}

@media only screen and (min-width: 1280px) {
  main section.contact-info div.box-wrapper div.box div.right div.download {
    display: none;
  }
}

main section.contact-info div.box-wrapper div.box div.right div.download a {
  padding: 10px 50px;
  border-radius: 20px;
  background-color: #404040;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
