:root {
  --color-1: #0B3C5D;
  --color-2: #1D7A8C;
  --color-3: #F2C14E;
  --color-4: #F5F7F8;
  --color-5: #16202A;
  --font-display: 'Black Han Sans', system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --font-body: 'Noto Sans KR', system-ui, -apple-system, "Malgun Gothic", sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-4);
  color: var(--color-5);
}

h1, h2, h3, .logo, .summary-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-1);
}

header.site-header {
  background: #fff;
  border-bottom: 3px solid var(--color-1);
}
.logo { font-size: 1.3rem; }
header.site-header nav a {
  text-decoration: none;
  color: var(--color-5);
  font-weight: 700;
}
.nav-toggle {
  border: 2px solid var(--color-1);
  background: #fff;
  color: var(--color-1);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  cursor: pointer;
}

section.hero {
  background: var(--color-1);
  color: #fff;
}
section.hero h1 { color: #fff; font-size: 2.2rem; margin: 0 0 0.75rem; }
section.hero p { max-width: 42em; }

.tel-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 1.8rem;
  background: var(--color-3);
  color: var(--color-5);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}
.tel-button--ghost {
  background: transparent;
  border: 2px solid var(--color-2);
  color: var(--color-2);
  width: 100%;
  text-align: center;
}

/* signature layout: left sticky summary + right scrolling content */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-block: 2rem;
}
.summary-card {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--color-2);
  border-radius: 8px;
  padding: 1.5rem;
}
.summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.summary-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #cdd6da;
}
.content-col h2 { border-left: 6px solid var(--color-2); padding-left: 0.75rem; }

@media (max-width: 780px) {
  .layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

/* responsive cost table, no horizontal scroll */
.table-wrap { width: 100%; }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.cost-table th, .cost-table td {
  border: 1px solid #d7dee1;
  padding: 0.75rem;
  text-align: left;
}
.cost-table thead th {
  background: var(--color-2);
  color: #fff;
}

@media (max-width: 640px) {
  .cost-table thead { display: none; }
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table td { display: block; width: 100%; }
  .cost-table tr {
    border: 1px solid var(--color-2);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
  }
  .cost-table td {
    border: none;
    padding: 0.4rem 0.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .cost-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-1);
  }
}

section.reviews, section.related { background: #fff; }
blockquote.review {
  background: var(--color-4);
  border-left: 4px solid var(--color-3);
  border-radius: 0 8px 8px 0;
}
.related-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.related-list a { color: var(--color-2); font-weight: 700; text-decoration: none; }

section.cta {
  background: var(--color-1);
  color: #fff;
}
section.cta .cta-heading { color: #fff; }

footer.site-footer {
  background: var(--color-5);
  color: #e7ecee;
}
footer.site-footer a { color: #e7ecee; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.summary-card { animation: fadeUp 0.5s ease-out; }

.hero-figure { max-width: 240px; margin: 1.5rem 0 0; }
.hero-figure figcaption { color: inherit; opacity: 0.85; }
