@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

button {
  background: inherit;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
}

*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #000;
}

.hidden {
  overflow: hidden;
  display: inline-block;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.max-w-100 {
  max-width: 100%;
}

/* 우측 하단 floating 버튼 그룹 */
.floating-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.floating-kakao,
.floating-cta {
  display: block;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.floating-kakao:hover,
.floating-cta:hover {
  transform: scale(1.06);
}

.floating-kakao:active,
.floating-cta:active {
  transform: scale(0.96);
}

.floating-kakao img,
.floating-cta img {
  display: block;
  width: clamp(56px, 11vw, 90px);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* ── low image + form overlay ── */
.low-section {
  position: relative;
  width: 100%;
  line-height: 0;
  /* container queries: 자식들이 .low-section 너비에 비례하도록 */
  container-type: inline-size;
}

.low-bg {
  display: block;
  margin: 0 auto;
}

/* form 자체가 이미지 위에 풀로 덮여서 자식이 absolute 기준이 됨 */
.form-on-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.form-overlay {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  display: flex;
  flex-direction: column;
  /* gap은 컨테이너 너비 비례 (모바일 작게, PC 크게) */
  gap: clamp(14px, 7cqi, 66px);
  line-height: 1.4;
  /* 컨테이너 너비에 비례, 모바일~PC 범위 제한 */
  font-size: clamp(13px, 3cqi, 22px);
}

.form-group {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.form-group label {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  white-space: nowrap;
  width: 3.6em;
  flex-shrink: 0;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: #252525;
  border: 1px solid #444;
  border-radius: 0.45em;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1em;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
  border-color: #ff6b00;
}

.form-group input::placeholder {
  color: #777;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
  padding: 0.15em 0;
}

.form-check input[type="checkbox"] {
  width: 1em;
  height: 1em;
  accent-color: #ff6b00;
  cursor: pointer;
  flex-shrink: 0;
}

.form-check label {
  color: #999;
  font-size: 0.85em;
  cursor: pointer;
}

.form-check .detail {
  color: #777;
}

/* 이미지 안에 그려진 "무료 상담 신청" 버튼 위치에 정확히 오버레이
   클릭 영역만 동작 (시각적으로는 이미지 버튼이 보임) */
.submit-btn {
  position: absolute;
  top: 59.8%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  height: 4.3%;
  background: transparent;
  color: transparent;
  border: none;
  cursor: pointer;
  font-size: 0;
  border-radius: 50px;
}

/* ── 하단 SNS 링크 (이미지 안 아이콘 위치) ── */
.sns {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 7%;
  height: 4%;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.sns-1 {
  top: 89.1%;
  left: 15%;
}
.sns-2 {
  top: 89.1%;
  left: 25.3%;
}
.sns-3 {
  top: 89.1%;
  left: 36%;
}
