* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  min-height: 100vh;
}

/* SEO용 헤더: 검색엔진·스크린리더용, 화면에는 미노출 */
.seo-header {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-header h1 {
  font-size: 1rem;
  font-weight: 600;
}

.content {
  width: 100%;
}

/* PC: 이미지 800x800 순서대로 나열 */
@media (min-width: 768px) {
  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
  }
  .content .section {
    width: 800px;
    height: 800px;
    flex-shrink: 0;
    overflow: hidden;
  }
  .content .full-img {
    width: 800px;
    height: 800px;
    object-fit: cover;
  }
}

.section {
  width: 100%;
  line-height: 0;
}

.full-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* ========== PC: 오른쪽 하단 플로팅 버튼 ========== */
.float-btns {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.float-btn-top {
  background: #333;
  color: #fff;
}

.float-btn-phone {
  background: #2d7d46;
  color: #fff;
}

.float-btn-kakao {
  padding: 0;
  overflow: hidden;
}

.float-btn-kakao img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* 모바일: 고정 하단 띠 높이만큼 콘텐츠 하단 여백 (h-3 가리지 않도록) */
@media (max-width: 767px) {
  .float-btns {
    display: none;
  }
  .content {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* ========== 모바일: 고정 하단 바 (5:5) ========== */
.fixed-bottom {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 10px 6px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: transparent;
  box-shadow: none;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
}

.fixed-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fixed-btn:hover,
.fixed-btn:active {
  transform: scale(0.98);
}

/* 왼쪽 50%: 카카오톡 이미지 꽉 채움 */
.fixed-btn-kakao {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

.fixed-btn-kakao img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

/* 오른쪽 50%: 전화 버튼 임팩트 (블루 + 화이트 텍스트) */
.fixed-btn-phone {
  flex: 1;
  min-width: 0;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #1e88e5 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.45);
}

.fixed-btn-phone::before {
  content: "📞 ";
  font-size: 18px;
  margin-right: 4px;
}

.fixed-btn-phone:hover,
.fixed-btn-phone:active {
  box-shadow: 0 6px 18px rgba(21, 101, 192, 0.5);
}

/* 모바일에서만 고정 하단 바 표시 */
@media (max-width: 767px) {
  .fixed-bottom {
    display: flex;
  }
}

@media (min-width: 768px) {
  .fixed-bottom {
    display: none;
  }
}
