* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgb(219 234 254);
  backdrop-filter: blur(14px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 80px;
  color: rgb(51 65 85);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-link:hover {
  color: rgb(29 78 216);
}

.call-button,
.mobile-call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgb(37 99 235);
  color: white;
  font-weight: 800;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.call-button {
  min-height: 44px;
  padding: 0 1rem;
  white-space: nowrap;
}

.mobile-call-button {
  min-height: 48px;
  padding: 0.75rem;
}

.call-button:hover,
.mobile-call-button:hover {
  background: rgb(29 78 216);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  min-width: 190px;
  transform: translate(-50%, 8px);
  display: grid;
  gap: 0.25rem;
  padding: 0.6rem;
  border: 1px solid rgb(219 234 254);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.group:hover .dropdown-menu,
.group:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  color: rgb(51 65 85);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgb(239 246 255);
  color: rgb(29 78 216);
}

.hamburger-lines,
.hamburger-lines::before,
.hamburger-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgb(30 64 175);
}

.hamburger-lines {
  position: relative;
}

.hamburger-lines::before,
.hamburger-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.hamburger-lines::before {
  top: -7px;
}

.hamburger-lines::after {
  top: 7px;
}

.mobile-link,
.mobile-sub-link {
  border-radius: 6px;
  padding: 0.75rem;
}

.mobile-link:hover,
.mobile-sub-link:hover {
  background: rgb(239 246 255);
  color: rgb(29 78 216);
}

.hero {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.74), rgba(29, 78, 216, 0.58), rgba(14, 165, 233, 0.22)),
    url("https://images.unsplash.com/photo-1562259949-e8e7689d7828?auto=format&fit=crop&w=1900&q=80") center / cover;
}

.service-card {
  overflow: hidden;
  border: 1px solid rgb(219 234 254);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field span {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(51 65 85);
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgb(203 213 225);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  color: rgb(15 23 42);
  outline: none;
}

.field input:focus,
.field select:focus,
#signatureCanvas:focus {
  border-color: rgb(37 99 235);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

#signatureCanvas {
  touch-action: none;
}
