@charset "utf-8";
/* contact.html (PDF p6) 전용 */

/* ---------- 히어로 (y 72~832) ---------- */
.c-hero { display: flex; height: 760px; overflow: hidden; }
.c-hero__panel {
  width: 634px;
  background: var(--c-deep);
  color: var(--c-white);
  text-align: center;
  padding-top: 318px;
}
.c-hero__eyebrow { font-size: 12.5px; line-height: 18px; letter-spacing: -.02em; }
.c-hero__title { margin-top: 3px; font-size: 92px; line-height: 100px; font-weight: 400; letter-spacing: -.03em; }
.c-hero__visual {
  flex: 1;
  background:
    linear-gradient(90deg, rgba(0, 61, 66, .25) 0%, rgba(0, 61, 66, .18) 45%, rgba(0, 61, 66, .1) 100%),
    url("../img/p6/img_9437.jpg") 0 -342px / 806px 1444px no-repeat;
}

/* ---------- 상담 폼 ---------- */
.inquiry { padding-bottom: 119px; }
.inquiry .sec-title--1line { margin-top: 51px; }
.inquiry__desc { margin-top: 20px; }
.inquiry__form { margin-top: 63px; padding: 0 3px; }
/* 접수 실패 안내 (?error=) */
.f-error { margin-top: 40px; padding: 14px 24px; background: #fdf1f1; border-left: 3px solid #c0392b; font-size: 15px; line-height: 22px; letter-spacing: -.02em; color: #a12a1e; }
.f-error + script + .inquiry__form { margin-top: 24px; }

.f-row { display: flex; align-items: center; height: 75px; }
.f-row--type { height: 67px; }
.f-row--name { height: 78px; }
.f-row--contact { height: 71px; }
.f-label {
  align-self: stretch;
  display: flex;
  align-items: center;
  width: 299px;
  margin-right: 39px;
  padding: 4px 0 0 24px;
  border-bottom: 1px solid #dbdbdb;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #111;
}
.f-row--type .f-label { padding-top: 0; }
.f-field { flex: 1; }

.f-input, .f-textarea {
  display: block;
  width: 459px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #dbdbdb;
  border-radius: 0;
  background: var(--c-white);
  font-size: 14px;
  letter-spacing: -.02em;
  color: #111;
  outline: 0;
}
.f-input::placeholder, .f-textarea::placeholder { color: #5b5b5b; opacity: 1; }

.f-row--message { align-items: flex-start; height: auto; }
.f-row--message .f-label { align-items: flex-start; padding-top: 23px; border-bottom: 0; }
.f-textarea { width: 736px; height: 153px; margin-top: 17px; padding: 12px 15px; line-height: 22px; resize: none; }

/* 라디오 · 체크 (원형 20px, 회색 테두리) */
.f-radios { display: flex; gap: 33px; padding-left: 2px; }
.f-radio, .f-check { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; line-height: 22px; letter-spacing: 0; color: #111; cursor: pointer; }
.f-radio input, .f-check input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #dbdbdb;
  border-radius: 50%;
  background: var(--c-white);
  cursor: pointer;
}
.f-radio input:checked, .f-check input:checked { border: 6px solid var(--c-deep); }

.f-agree {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 53px;
  margin-top: 45px;
  padding: 0 30px 0 24px;
  background: var(--c-gray-bg);
}
.f-agree__more { font-size: 16px; line-height: 22px; letter-spacing: -.02em; color: #111; text-decoration: underline; text-underline-offset: 3px; }

.f-submit { margin-top: 40px; text-align: right; }
.f-submit .btn { width: 98px; height: 42px; padding: 0; }

/* ---------- 1440보다 넓은 화면: 좌측 패널은 왼쪽 뷰포트 끝까지, 사진은 오른쪽 끝까지 ---------- */
@media (min-width: 1441px) {
  .c-hero__panel { flex: none; width: calc(50% - 86px); padding-left: calc(50% - 720px); }
  .c-hero__visual { background-position: 0 0, center; background-size: auto, cover; }
}

/* ---------- 모바일 (≤ 900px) ---------- */
@media (max-width: 900px) {
  /* 히어로: 텍스트 패널(높이 200) 위, 사진 아래 4:3 */
  .c-hero { flex-direction: column; height: auto; }
  .c-hero__panel { display: flex; flex-direction: column; justify-content: center; width: auto; height: 200px; padding: 0 20px; }
  .c-hero__eyebrow { font-size: 12px; line-height: 18px; }
  .c-hero__title { margin-top: 6px; font-size: 40px; line-height: 1.2; }
  .c-hero__visual { flex: none; aspect-ratio: 4 / 3; background-position: 0 0, center 30%; background-size: auto, cover; }

  /* 상담 폼: 라벨 위, 입력칸 아래 1열 */
  .inquiry { padding-bottom: 70px; }
  .inquiry .sec-title--1line { margin-top: 28px; }
  .inquiry__desc { margin-top: 16px; }
  .inquiry__form { margin-top: 36px; padding: 0; }
  .f-error { margin-top: 24px; padding: 12px 16px; font-size: 14px; }
  .f-error + script + .inquiry__form { margin-top: 16px; }

  .f-row, .f-row--type, .f-row--name, .f-row--contact { flex-direction: column; align-items: stretch; height: auto; padding: 18px 0 20px; border-bottom: 1px solid #dbdbdb; }
  .f-label, .f-row--type .f-label, .f-row--message .f-label { width: auto; margin: 0 0 10px; padding: 0; border-bottom: 0; font-size: 15px; line-height: 22px; }
  .f-input, .f-textarea { width: 100%; height: 48px; font-size: 15px; }
  .f-textarea { height: 160px; margin-top: 0; }
  .f-row--message { border-bottom: 0; }

  .f-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-left: 0; }
  .f-radio, .f-check { font-size: 15px; }

  .f-agree { flex-wrap: wrap; gap: 8px 16px; height: auto; margin-top: 16px; padding: 14px 16px; }
  .f-agree__more { font-size: 14px; }

  .f-submit { margin-top: 28px; }
  .f-submit .btn { width: 100%; height: 48px; padding: 0 20px; }
}
