* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: #17243a;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(92, 183, 217, .16), transparent 30rem),
    linear-gradient(180deg, #f4fbfe 0%, #ffffff 24%, #fff8f3 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 93px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(76, 169, 217, .14);
  box-shadow: 0 8px 26px rgba(23, 36, 58, .08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1122px);
  height: 93px;
  margin: 0 auto;
  padding: 0 28px;
}

.header-logo { display: inline-flex; align-items: center; text-decoration: none; }
.header-logo img { display: block; width: 190px; height: 47px; object-fit: contain; }

.header-kakao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 300px;
  height: 50px;
  padding: 0 20px;
  color: #2b2100;
  text-decoration: none;
  border-radius: 999px;
  background: #fee500;
  box-shadow: 0 8px 20px rgba(118, 91, 0, .2);
}

.header-kakao strong { font-size: 17px; letter-spacing: -.04em; }

.mini-chat,
.chat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 950;
  background: #fff;
}

.mini-chat {
  position: relative;
  width: 34px;
  height: 28px;
  padding-top: 1px;
  color: #fee500;
  font-size: 8px;
  letter-spacing: 0;
  border-radius: 12px;
  background: #3c1e1e;
}

.mini-chat::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 7px;
  width: 8px;
  height: 8px;
  background: #3c1e1e;
  transform: skewY(-35deg);
}

.landing {
  width: min(100%, 1122px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 36, 58, .09);
}

.image-section { margin: 0; padding: 0; line-height: 0; background: #fff; }
.image-section img { display: block; width: 100%; height: auto; }

.contact-band {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 413px;
  padding: 38px 68px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(92, 183, 217, .22), transparent 11rem),
    radial-gradient(circle at 88% 80%, rgba(255, 107, 69, .18), transparent 10rem),
    linear-gradient(135deg, #f0faff 0%, #fff 50%, #fff4ed 100%);
  border-block: 1px solid rgba(76, 169, 217, .12);
}

.contact-band::before,
.contact-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-band::before { width: 84px; height: 84px; top: 20px; right: 7%; background: rgba(92, 183, 217, .14); }
.contact-band::after { width: 38px; height: 38px; bottom: 24px; left: 8%; background: rgba(255, 107, 69, .16); }

.contact-card {
  position: relative;
  z-index: 1;
  width: 860px;
  padding: 34px 38px 38px;
  text-align: center;
  border: 1px solid rgba(76, 169, 217, .15);
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 46px rgba(23, 36, 58, .11);
}

.eyebrow { margin: 0 0 8px; color: #ff6237; font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.contact-card h2 { margin: 0 0 27px; color: #17243a; font-size: 38px; line-height: 1.18; letter-spacing: -.06em; }

.contact-actions { display: grid; grid-template-columns: repeat(2, 380px); gap: 22px; }

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 380px;
  height: 120px;
  padding: 18px 24px;
  color: #17243a;
  text-decoration: none;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(23, 36, 58, .13);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-button:hover,
.contact-button:focus-visible,
.header-kakao:hover,
.header-kakao:focus-visible,
.floating-chat:hover,
.floating-chat:focus-visible { transform: translateY(-3px); }

.contact-button:focus-visible,
.header-kakao:focus-visible,
.floating-chat:focus-visible { outline: 4px solid #ff8a62; outline-offset: 3px; }

.contact-button.line { color: #fff; background: linear-gradient(135deg, #27d46c, #08b857); }
.contact-button.kakao { color: #2b2100; background: linear-gradient(135deg, #ffe54b, #ffd21d); }

.chat-icon { width: 70px; height: 70px; font-size: 13px; border-radius: 50%; }
.line-icon { color: #08a94f; }
.kakao-icon { color: #302300; background: rgba(255, 255, 255, .52); }

.contact-button strong,
.contact-button em { display: block; font-style: normal; text-align: left; }
.contact-button strong { font-size: 28px; font-weight: 950; letter-spacing: -.055em; }
.contact-button em { margin-top: 5px; font-size: 15px; font-weight: 750; opacity: .72; }

.contact-band.final { height: 485px; padding-bottom: 110px; }

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-chat {
  display: flex;
  align-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 999px;
  transition: width .22s ease, transform .18s ease;
}

.floating-line { color: #fff; background: #19c864; box-shadow: 0 14px 32px rgba(8, 120, 58, .25); }
.floating-kakao { color: #2b2100; background: #fee500; box-shadow: 0 14px 32px rgba(118, 91, 0, .24); }
.floating-chat:hover,
.floating-chat:focus-visible { width: 150px; }
.floating-chat span { display: grid; place-items: center; flex: 0 0 62px; font-size: 10px; font-weight: 950; }
.floating-chat strong { width: 76px; white-space: nowrap; font-size: 14px; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 680px) {
  .site-header { position: relative; height: 70px; }
  .header-inner { height: 70px; padding: 0 14px; }
  .header-logo img { width: 142px; height: auto; }
  .header-kakao { width: auto; height: 42px; padding: 0 13px; gap: 8px; }
  .header-kakao strong { font-size: 13px; }
  .mini-chat { width: 28px; height: 24px; font-size: 7px; }
  .landing { box-shadow: none; }
  .contact-band,
  .contact-band.final { height: auto; min-height: 360px; padding: 42px 18px 78px; }
  .contact-card { width: 100%; padding: 26px 20px; border-radius: 24px; }
  .contact-card h2 { margin-bottom: 20px; font-size: 28px; }
  .contact-actions { grid-template-columns: 1fr; gap: 12px; }
  .contact-button { width: 100%; height: 92px; justify-content: flex-start; }
  .chat-icon { width: 56px; height: 56px; }
  .contact-button strong { font-size: 22px; }
  .floating-contact { right: 12px; bottom: 12px; gap: 8px; }
  .floating-chat { width: 54px; height: 54px; }
  .floating-chat:hover,
  .floating-chat:focus-visible { width: 136px; }
  .floating-chat span { flex-basis: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
