
:root {
  --primary: #00c88c;
  --primary-bright: #00dc9a;
  --ink: #222222;
  --ink-pure: #000000;
  --active: #171717;
  --teal: #133b55;
  --nav-muted: #777777;
  --body: #303030;
  --muted: #5e5e5e;
  --faint: #b4b4b4;
  --hairline: #dddddd;
  --surface: #f6f6f6;
  --canvas: #ffffff;
  --shadow-card: 0 4px 8px rgba(0,0,0,.08);
  --ease-enter: cubic-bezier(.2,.6,.25,1);
  --ease-std: cubic-bezier(.25,.1,.25,1);
  --t-fast: 120ms; --t-std: 200ms; --t-slow: 320ms;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink-pure); font-family: Pretendard, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.nav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: Outfit, Pretendard, sans-serif; font-size: 28px; font-weight: 700; line-height: 1.5; color: #000; letter-spacing: -.03em; }
.wordmark img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-family: Outfit, Pretendard, sans-serif; font-size: 18px; font-weight: 600; color: var(--nav-muted); transition: color var(--t-fast) var(--ease-std); }
.nav-link:hover, .nav-link.is-active { color: var(--active); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 7px 0; }

.hero-home { position: relative; min-height: 620px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-home img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-home .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 70%); }
.hero-home .wrap { position: relative; z-index: 1; padding: 80px 0 56px; }
.hero-en { font-family: Outfit, sans-serif; font-size: clamp(40px, 7vw, 64px); font-weight: 500; line-height: 1.5; color: #fff; }
.hero-home .sub { margin-top: 8px; max-width: 520px; color: #fff; font-size: 18px; }
.hero-home .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.page-hero { padding: 56px 0 28px; }
.page-hero .kicker { color: var(--primary); font-weight: 700; font-size: 14px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1.3; color: var(--ink); margin-top: 8px; }
.page-hero p { margin-top: 12px; color: var(--body); max-width: 640px; }

.band { background: var(--primary); color: #000; }
.band.bright { background: var(--primary-bright); }
.band-inner { padding: 72px 0; }
.band h2, .section h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
.band h2 { color: #000; }
.section h2 { color: var(--ink); }
.band p { margin-top: 14px; max-width: 680px; }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 14px 20px; border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; border: 1px solid transparent; transition: opacity var(--t-fast) var(--ease-std), transform var(--t-fast) var(--ease-std); white-space: nowrap; }
.btn:active { transform: scale(.98); opacity: .92; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-invert { background: transparent; color: #fff; border-color: #fff; }
.btn[disabled] { color: var(--faint); background: #eee; border-color: transparent; cursor: not-allowed; transform: none; }

.section { padding: 80px 0; }
.section.tint { background: var(--surface); }
.lead { margin-top: 8px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.card-media { height: 180px; border-radius: 8px; overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 8px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.card p { color: var(--body); }
.card .more { margin-top: auto; color: var(--primary); font-weight: 700; }

.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 700; width: fit-content; }
.badge-green { background: #e8fff6; color: var(--primary); }
.badge-ink { background: #fff; color: var(--ink); border: 1px solid var(--hairline); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.timeline { margin-top: 32px; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.tl b { color: var(--primary); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hairline); }
.tab { appearance: none; background: none; border: 0; padding: 12px 16px; font-family: Outfit, Pretendard, sans-serif; font-size: 18px; font-weight: 600; color: var(--nav-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-on { color: var(--active); border-bottom-color: var(--ink); }
.tab-panel { display: none; padding: 20px 0 0; color: var(--body); }
.tab-panel.is-on { display: block; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { min-height: 52px; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; color: #000; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.field.is-error input { border-color: #000; }
.field.is-error .hint { color: #000; }

.table-wrap { overflow: auto; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--hairline); }
th { background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #fafafa; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.stack { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.stat { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; }
.stat b { display: block; font-size: 32px; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 14px; }

.news-list { display: grid; gap: 12px; margin-top: 32px; }
.news-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-card); }
.news-item .date { color: var(--muted); font-size: 14px; }
.article { max-width: 720px; }
.article p { margin: 16px 0; color: var(--body); }
.article h2 { margin: 32px 0 12px; }

.job { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-card); }
.job + .job { margin-top: 12px; }

.zone-result { margin-top: 20px; display: none; }
.zone-result.show { display: block; }

.dialog-back { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; place-items: center; z-index: 50; padding: 20px; }
.dialog-back.is-open { display: grid; }
.dialog { width: min(480px, 100%); background: #fff; border-radius: 16px; padding: 28px; box-shadow: var(--shadow-card); }
.dialog h3 { font-size: 24px; font-weight: 700; color: var(--ink); }
.dialog p { margin: 10px 0 24px; color: var(--body); }
.dialog .actions { display: flex; gap: 10px; justify-content: flex-end; }

.footer { padding: 56px 0 32px; background: var(--surface); border-top: 1px solid var(--hairline); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.footer a { display: block; padding: 4px 0; }
.footer a.accent { color: var(--primary); font-weight: 700; display: inline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

@media (max-width: 900px) {
  .cards, .cards-2, .grid-2, .split, .split.reverse, .footer-grid, .stats { grid-template-columns: 1fr; }
  .news-item, .job, .tl { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--hairline); flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; gap: 14px; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .hero-home { min-height: 520px; }
  .section, .band-inner { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* spec / notice / cs — square, dense */
table.spec { width: 100%; border-collapse: collapse; background: #fff; }
table.spec th, table.spec td { border: 1px solid #ddd; padding: 10px 12px; text-align: left; vertical-align: top; }
table.spec th { width: 28%; background: #f6f6f6; font-weight: 700; color: var(--ink); }
table.spec thead th { width: auto; }
table.spec a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
table.spec a:hover { color: var(--primary); }

.notice-list { list-style: none; border: 1px solid #ddd; background: #fff; border-radius: 0; margin-top: 12px; }
.notice-list li { border-bottom: 1px solid #ddd; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a, .notice-list .row { display: flex; gap: 16px; align-items: baseline; padding: 12px 14px; }
.notice-list .date { flex: 0 0 96px; color: var(--muted); font-size: 14px; }
.notice-list .ttl { color: var(--ink); }
.notice-list a:hover .ttl { text-decoration: underline; }

.cs-box { border: 1px solid #ddd; background: #fff; border-radius: 0; padding: 20px 24px; }
.cs-box .lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.cs-box .tel { display: block; margin: 6px 0 10px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.cs-box p { color: var(--body); }
.cs-box + .cs-box { margin-top: 12px; }

.btn-sq { border-radius: 0; }
.img-sq, .split img.img-sq { border-radius: 0; }
.card-sq { border-radius: 0; }
.card-sq .card-media { border-radius: 0; }

.section h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 0 0 14px; }
.section .lead + table.spec, .section h3 + table.spec, .section h2 + table.spec { margin-top: 16px; }
.section table.spec + h3, .cs-box + h3 { margin-top: 36px; }
.section table.spec + .stack { margin-top: 20px; }
.prose p { color: var(--body); max-width: 760px; }
.prose p + p { margin-top: 10px; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.rel-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.rel-links a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
  .notice-list a, .notice-list .row { flex-direction: column; gap: 4px; }
  .notice-list .date { flex: none; }
}


/* home widgets — square, 한빛형 3칸 */
.hero-kicker { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: #fff; margin-bottom: 8px; }
.home-widgets { padding: 28px 0 8px; background: #f6f6f6; border-bottom: 1px solid #ddd; }
.home-widgets-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 12px; }
.home-widgets .box { background: #fff; border: 1px solid #ddd; border-radius: 0; padding: 16px 18px 18px; }
.home-widgets .box h3 { font-size: 16px; font-weight: 700; color: #222; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
.home-widgets .box h3 a { font-size: 13px; font-weight: 700; color: #00c88c; }
.home-widgets .notice-list { margin-top: 0; }
.home-widgets .tel-lg { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: #111; margin: 4px 0 10px; }
.home-widgets .box p { font-size: 14px; color: #303030; line-height: 1.55; }
.home-widgets table.spec.mini th { width: 36%; font-size: 13px; padding: 8px 10px; }
.home-widgets table.spec.mini td { font-size: 13px; padding: 8px 10px; }
.home-widgets .box-note { margin-top: 10px; font-size: 12px; color: #777; }
.hero-home h1.hero-en { font-family: Pretendard, sans-serif; font-size: clamp(28px, 5vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
@media (max-width: 900px) {
  .home-widgets-grid { grid-template-columns: 1fr; }
}
