:root {
  --ink: #14201a;
  --muted: #4e5a53;
  --accent: #1e5b43;
  --accent-strong: #123b2b;
  --surface: #f3f6f4;
  --line: #dde3df;
  --line-strong: #c9d2cc;
  --bg: #ffffff;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-strong);
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: var(--bg);
  z-index: 10;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-en {
  font-size: 13px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 0;
}

.site-nav a:hover {
  color: var(--accent);
}

.header-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--accent);
}

.lang-switch a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.lang-switch a + a::before {
  content: "";
  width: 1px;
  height: 12px;
  margin-right: 12px;
  margin-left: -4px;
  background: var(--line-strong);
}

/* Hero */
.hero {
  padding-top: 120px;
  padding-bottom: 112px;
}

.eyebrow {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .lead {
  margin-top: 28px;
  max-width: 640px;
  font-size: 19px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Sections */
.section-title {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

/* About */
.about {
  background: var(--surface);
}

.about .container {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
}

.about-text {
  flex: 1 1 320px;
}

.about-text .section-lead {
  margin-top: 20px;
}

.facts {
  flex: 1 1 440px;
  min-width: 0;
  border-top: 1px solid var(--line-strong);
}

.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  flex: 0 0 120px;
  font-size: 15px;
  color: var(--muted);
}

.facts dd {
  font-size: 16px;
  font-weight: 500;
}

/* Services */
.services .container {
  padding-top: 112px;
  padding-bottom: 112px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
}

.service {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}

.service-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.service h3 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 700;
}

.service .desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

.chips {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
}

.service-link {
  margin-top: auto;
  padding-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* Contact */
.contact {
  border-top: 1px solid var(--line);
}

.contact .container {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.contact-text {
  flex: 1 1 360px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
  font-size: 18px;
  font-weight: 600;
}

.contact-links a {
  padding: 10px 0;
  text-decoration: none;
}

.contact-links a.tel {
  color: var(--ink);
}

/* Footer (www.pool-i.net 푸터와 동일 문구) */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer .container {
  padding-top: 40px;
  padding-bottom: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px;
  font-size: 13px;
}

.footer-nav a,
.footer-biz a {
  color: var(--muted);
  padding: 6px 0;
  display: inline-block;
}

.footer-nav a:hover,
.footer-biz a:hover {
  color: var(--accent);
}

.footer-contact {
  font-size: 13px;
  color: var(--muted);
}

.footer-biz {
  max-width: 640px;
  margin: 4px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-biz a {
  padding: 0;
}

.copyright {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* 404 */
.not-found {
  padding-top: 160px;
  padding-bottom: 160px;
}

.not-found .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
}

.not-found .not-found-en {
  margin-top: 40px;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .about .container,
  .services .container,
  .contact .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service {
    flex-basis: 100%;
    padding: 28px 24px;
  }

  .facts {
    flex-basis: 100%;
  }
}
