@charset "utf-8";

/* ==============================
   Contact Page
============================== */

/* 이 페이지는 메인 홈페이지와 동일하게 나눔스퀘어 사용 */
body {
  font-family: "NanumSquare", "Noto Sans KR", sans-serif;
}

.contact-main {
  background: #fff;
  color: #121212;
}

:root {
  --cts-orange: var(--main-orange, #ff7900);
  --cts-black: #121212;
  --cts-gray: #666;
  --cts-line: rgba(0, 0, 0, 0.08);
  --cts-soft: #f7f7f5;
  --cts-inner: min(1280px, calc(100% - 80px));
}

.contact-main h2,
.contact-main h3,
.contact-main p,
.contact-main span,
.contact-main label,
.contact-main a {
  word-break: keep-all;
}

.contact-main .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--cts-orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.088em;
}

.contact-main .section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--cts-orange);
}

/* ==============================
   Visual
============================== */
.cts-visual {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  border-radius: 0 0 72px 72px;
  background-image: url("../img/hero_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  isolation: isolate;
}

.cts-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(10, 8, 6, 0.86) 0%,
      rgba(20, 14, 8, 0.72) 55%,
      rgba(255, 121, 0, 0.24) 100%
    );
  pointer-events: none;
}

.cts-visual__inner {
  position: relative;
  z-index: 2;
  width: var(--cts-inner);
  height: 100%;
  margin: 0 auto;
  padding-top: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  animation: ctsReveal 0.8s ease both;
}

.cts-visual__title {
  position: relative;
  top: -50px;
  max-width: 720px;
  margin: 80px 0 0;
  color: #fff;
  font-size: 48px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-align: center;
}

.cts-visual__desc {
  position: relative;
  top: -50px;
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: -0.018em;
}

@keyframes ctsReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   Panel
============================== */
.cts-panel {
  position: relative;
  width: 100%;
  padding: 0 0 140px;
}

.cts-panel__inner {
  width: var(--cts-inner);
  margin: -40px auto 0;
}

.cts-panel__card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.14);
}

.cts-panel__info {
  flex: 0 0 400px;
  padding: 60px 48px;
  background: var(--cts-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cts-panel__info h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--cts-black);
}

.cts-panel__info > p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cts-gray);
  letter-spacing: -0.018em;
}

.cts-info__list {
  margin: 36px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--cts-line);
}

.cts-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cts-info__item + .cts-info__item {
  margin-top: 22px;
}

.cts-info__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cts-orange);
  color: #fff;
}

.cts-info__icon svg {
  width: 22px;
  height: 22px;
}

.cts-info__text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cts-black);
}

.cts-info__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cts-gray);
}

.cts-info__text p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cts-info__text p a:hover {
  color: var(--cts-orange);
}

.cts-info__sns {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--cts-line);
}

.cts-info__sns > span {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cts-black);
}

.cts-info__sns-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cts-info__sns-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cts-line);
  color: var(--cts-orange);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cts-info__sns-list a svg {
  width: 17px;
  height: 17px;
}

.cts-info__sns-list a:hover {
  background: var(--cts-orange);
  color: #fff;
  transform: translateY(-3px);
}

/* ==============================
   Form
============================== */
.cts-panel__form {
  flex: 1;
  min-width: 0;
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cts-panel__form h3 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--cts-black);
}

.cts-form__row {
  display: flex;
  gap: 24px;
}

.cts-form__field {
  flex: 1;
  min-width: 0;
  margin-bottom: 22px;
}

.cts-form__field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cts-black);
}

.cts-form__optional {
  font-weight: 400;
  color: var(--cts-gray);
}

.cts-form__field input,
.cts-form__field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--cts-line);
  border-radius: 12px;
  background: var(--cts-soft);
  font-family: inherit;
  font-size: 15px;
  color: var(--cts-black);
  letter-spacing: -0.018em;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cts-form__field textarea {
  min-height: 140px;
  resize: vertical;
}

.cts-form__field input::placeholder,
.cts-form__field textarea::placeholder {
  color: #aaa;
}

.cts-form__field input:focus,
.cts-form__field textarea:focus {
  outline: none;
  border-color: var(--cts-orange);
  background: #fff;
}

.cts-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 58px;
  margin-top: 8px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--cts-orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.018em;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.cts-form__submit:disabled {
  background: #d9d9d9;
  color: #999;
  cursor: not-allowed;
}

.cts-form__notice {
  /* margin: 16px 0 0; */
  /* min-height: 20px; */
  font-size: 14px;
  font-weight: 600;
  color: var(--cts-orange);
  text-align: center;
}

/* ==============================
   Submit Modal
============================== */
.cts-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.cts-modal[hidden] {
  display: none;
}

.cts-modal__box {
  width: 100%;
  max-width: 360px;
  padding: 40px 32px 28px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: ctsReveal 0.3s ease both;
}

.cts-modal__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--cts-black);
}

.cts-modal__close {
  width: 100%;
  height: 48px;
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--cts-orange);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* ==============================
   Responsive
============================== */
@media screen and (max-width: 1440px) {
  .cts-panel__info {
    flex: 0 0 360px;
    padding: 52px 40px;
  }

  .cts-panel__form {
    padding: 52px 48px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --cts-inner: calc(100% - 80px);
  }
}

@media screen and (max-width: 1024px) {
  .cts-visual {
    height: 400px;
    border-radius: 0;
  }

  .cts-visual__title {
    margin-top: 56px;
    font-size: 40px;
  }

  .cts-panel__inner {
    margin-top: -28px;
  }

  .cts-panel__card {
    flex-direction: column;
    border-radius: 26px;
  }

  .cts-panel__info {
    flex: none;
  }

  .cts-panel__form {
    padding-top: 48px;
  }

  .cts-form__submit {
    width: 100%;
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --cts-inner: calc(100% - 40px);
  }

  .cts-visual {
    height: 340px;
    border-radius: 0;
  }

  .cts-info__sns {
    display: none;
  }

  .cts-visual__title {
    margin-top: 40px;
    font-size: 30px;
    line-height: 1.36;
  }

  .cts-visual__desc {
    margin-top: 16px;
    font-size: 15px;
  }

  .cts-panel {
    padding-bottom: 90px;
  }

  .cts-panel__inner {
    margin-top: -20px;
  }

  .cts-panel__card {
    border-radius: 20px;
  }

  .cts-panel__info,
  .cts-panel__form {
    padding: 40px 24px;
  }

  .cts-panel__info h3,
  .cts-panel__form h3 {
    font-size: 22px;
  }

  .cts-panel__info h3,
  .cts-panel__info > p {
    text-align: center;
  }

  .cts-form__row {
    flex-direction: column;
    gap: 0;
  }
}

@media screen and (max-width: 430px) {
  .cts-visual__title {
    font-size: 26px;
  }

  .cts-panel__info,
  .cts-panel__form {
    padding: 32px 20px;
  }
}
