/* ==========================================================================
   Contact page
   - 섹션 순서 = contact.html 주석 [S01]~[S02] (상단 비주얼은 common.css 공통)
   - 각 섹션 블록 안에 반응형(1600 / 1280 / 1024 / 768)까지 함께 작성
   - 시안 기준 폭 1920px
   ========================================================================== */

/* [S01] Contact Form ----------------------------------------------------- */
.sec-ct { padding: 150px 0 150px; }
.sec-ct__grid { display: grid; grid-template-columns: 1fr 760px; gap: 80px; align-items: start; }
.sec-ct__eyebrow { font-size: 17px; line-height: 28px; font-weight: 600; color: var(--c-primary); }
.sec-ct__title { margin-top: 28px; font-size: 44px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; color: #000; }
.sec-ct__title em { color: var(--c-primary); }
.sec-ct__list { margin-top: 50px; }
.sec-ct__item { display: flex; align-items: flex-start; gap: 16px; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: #333; }
.sec-ct__item + .sec-ct__item { margin-top: 18px; }
.sec-ct__ic { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-top: calc((1lh - 34px) / 2); border-radius: 50%; background: #efefef; color: #1f5c2e; }
.sec-ct__ic svg { width: 20px; height: 20px; }

/* 폼: 가는 밑줄형 입력 — 라벨(진하게) > 입력(보통) > 안내문(연하게) 순으로 위계를 낮춤 */
.ct-form { padding-top: 46px; font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; } /* 입력폼은 영문·숫자도 Pretendard */
.ct-form input, .ct-form textarea, .ct-form button { font-family: inherit; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ct-field { margin-bottom: 36px; }
.ct-field > label, .ct-label { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; color: #1a1a1a; }
.ct-req { margin-left: 4px; font-size: 16px; color: var(--c-primary); }
.ct-field input[type="text"], .ct-field input[type="tel"], .ct-field input[type="email"], .ct-field textarea {
  display: block; width: 100%; padding: 12px 0 13px; border: 0; border-bottom: 1px solid #dcdcdc; border-radius: 0; background: transparent;
  font-size: 18px; line-height: 1.4; letter-spacing: -.02em; color: #111; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.ct-field textarea { height: 104px; resize: none; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #b8b8b8; }
.ct-field input:hover, .ct-field textarea:hover { border-bottom-color: #aaa; }
.ct-field input:focus, .ct-field textarea:focus { border-bottom-color: var(--c-primary); box-shadow: 0 1px 0 var(--c-primary); }
.ct-field.is-error input, .ct-field.is-error textarea { border-bottom-color: #d64545; box-shadow: 0 1px 0 #d64545; }
.ct-field.is-error > label, .ct-field.is-error > .ct-label { color: #d64545; }

/* 체크박스: 가는 테두리 + 둥근 모서리, 선택하면 초록으로 채움 */
.ct-chks { display: grid; grid-template-columns: repeat(5, max-content); justify-content: start; gap: 14px 34px; padding-top: 10px; }
.ct-chk { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 18px; line-height: 1.4; letter-spacing: -.02em; color: #666; transition: color .2s; }
.ct-chk:hover { color: #111; }
.ct-chk input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ct-chk i { flex: none; position: relative; width: 18px; height: 18px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; transition: background .2s, border-color .2s; }
.ct-chk:hover i { border-color: #888; }
.ct-chk i::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.ct-chk input:checked + i { border-color: var(--c-primary); background: var(--c-primary); }
.ct-chk input:checked + i::after { transform: rotate(45deg) scale(1); }
.ct-chk input:checked ~ span { color: #111; font-weight: 500; }
.ct-chk input:focus-visible + i { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.ct-agree { display: flex; align-items: center; margin-top: -4px; font-size: 18px; }
.ct-agree.is-error .ct-chk { color: #d64545; }
.ct-agree.is-error .ct-chk i { border-color: #d64545; }
.ct-agree .ct-chk { color: #444; }
.ct-agree__view { padding: 0; font-size: 18px; letter-spacing: -.02em; color: #333; text-decoration: underline; text-underline-offset: 3px; }
.ct-policy { margin-top: 14px; padding: 18px 20px; background: #f7f7f7; font-size: 16px; line-height: 1.7; letter-spacing: -.02em; color: #666; }
.ct-policy[hidden] { display: none; }

.ct-msg { min-height: 24px; margin-top: 22px; font-size: 16px; line-height: 1.5; color: #d64545; }
.ct-msg.is-ok { color: var(--c-primary); }
.ct-submit {
  display: block; width: 100%; height: 66px; margin-top: 10px; background: var(--c-primary); color: #fff;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em; transition: background .25s;
}
.ct-submit:hover { background: var(--c-accent); }
.ct-submit:disabled { opacity: .6; cursor: default; }

@media (max-width: 1600px) {
  .sec-ct { padding: 110px 0 110px; }
  .sec-ct__grid { grid-template-columns: 1fr 640px; gap: 60px; }
  .sec-ct__title { font-size: 38px; }
  .ct-submit { height: 58px; }
}
@media (max-width: 1280px) {
  .sec-ct__grid { grid-template-columns: 1fr 560px; gap: 40px; }
  .sec-ct__title { font-size: 34px; }
  .ct-chks { gap: 14px 24px; }
}
@media (max-width: 1024px) {
  .sec-ct { padding: 80px 0 80px; }
  .sec-ct__grid { grid-template-columns: 1fr; gap: 44px; }
  .sec-ct__title { margin-top: 18px; font-size: 32px; }
  .sec-ct__list { margin-top: 32px; }
  .ct-form { padding-top: 0; }
}
@media (max-width: 768px) {
  .sec-ct { padding: 56px 0 60px; }
  .sec-ct__eyebrow { font-size: 14px; }
  .sec-ct__title { font-size: 26px; }
  .sec-ct__item { font-size: 15px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-field { margin-bottom: 30px; }
  .ct-field > label, .ct-label { font-size: 16px; }
  /* iOS 에서 입력 시 자동 확대되지 않도록 16px */
  .ct-field input[type="text"], .ct-field input[type="tel"], .ct-field input[type="email"], .ct-field textarea { font-size: 16px; }
  .ct-chk, .ct-agree, .ct-agree__view { font-size: 15px; }
  .ct-chks { grid-template-columns: repeat(3, max-content); gap: 12px 24px; }
  .ct-submit { height: 54px; }
}

/* [S02] Map -------------------------------------------------------------- */
.sec-ctmap { height: 667px; background: #e8e8e8; }
.sec-ctmap iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 1600px) { .sec-ctmap { height: 560px; } }
@media (max-width: 1024px) { .sec-ctmap { height: 440px; } }
@media (max-width: 768px) { .sec-ctmap { height: 320px; } }
