/* dalgom.net hub — 달곰 브랜드 · AdSense 콘텐츠 사이트 */
:root {
  --bg: #eef2f7;
  --bg-2: #f7f9fc;
  --surface: #ffffff;
  --text: #121826;
  --muted: #5b6575;
  --line: #dfe5ee;
  --blue: #3182f6;
  --blue-deep: #1b64da;
  --blue-soft: #e8f1ff;
  --orange: #f97316;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 24, 38, 0.08);
  --max: 1120px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9e8ff 0%, transparent 55%),
    radial-gradient(900px 420px at 90% 0%, #ffe8d6 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 252, 0.86);
  border-bottom: 1px solid rgba(223, 229, 238, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(49, 130, 246, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue-deep);
  background: var(--blue-soft);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  box-shadow: 0 10px 24px rgba(49, 130, 246, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #cfe0ff, #eaf1ff 45%, #fff5eb);
  box-shadow: var(--shadow);
  animation: rise 0.8s var(--ease) both;
}

.hero-visual img {
  width: 78%;
  margin: 12% auto 0;
  filter: drop-shadow(0 18px 30px rgba(18, 24, 38, 0.18));
}

.hero-visual::after {
  content: "dalgom.net";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(18, 24, 38, 0.45);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-link {
  font-weight: 700;
  white-space: nowrap;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}

.list-item:hover {
  text-decoration: none;
  border-color: #b7d0ff;
  transform: translateY(-2px);
}

.list-item img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.list-item h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.list-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.meta {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.badge-muted {
  background: #eef1f5;
  color: var(--muted);
}

.badge-ok {
  background: #e7f8ef;
  color: #0f7a45;
}

.prose {
  max-width: 720px;
}

.prose h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.05em;
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose .hero-actions {
  margin: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prose .service-icon-row {
  margin: 0 0 8px;
}

.prose .service-icon-row img {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.prose .contact-card {
  margin: 12px 0 20px;
}

.prose details {
  margin: 8px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.prose details summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--text);
}

.prose details p {
  margin: 10px 0 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  line-height: 1.5;
}

.prose th {
  background: var(--blue-soft);
  color: var(--text);
  font-weight: 650;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  padding: 36px 0 8px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.05em;
}

.page-hero p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.panel h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  margin: 20px 0 28px;
}

.service-hero img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.faq details {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.tel-link {
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
}

.tel-link:hover {
  text-decoration: underline;
}

.footer-org {
  margin: 0 0 8px !important;
  color: var(--blue-deep) !important;
  font-weight: 700;
  font-size: 0.95rem !important;
}

.contact-card {
  max-width: 420px;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
  box-shadow: var(--shadow);
}

.contact-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-org {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact-tel {
  width: 100%;
  margin-bottom: 12px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 32px 0;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 0 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2,
  .footer-inner,
  .service-hero {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    padding-bottom: 12px;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .list-item {
    grid-template-columns: 56px 1fr;
  }

  .list-item .meta {
    grid-column: 2;
  }
}
