/* DODACO — D안: 코퍼레이트 쇼케이스 (APR 레퍼런스)
   풀스크린 그라데이션 히어로 + 알약 탭 · 영문 라벨 + 큰 비주얼 블록이 번갈아 나오는 사업 영역 · 다크 인허가 섹션 */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --ink: #161c1b;
  --muted: #5d6967;
  --line: #e1e7e5;
  --accent: #1e7f78;          /* 포인트 컬러 (이 값만 바꾸면 전체 반영) */
  --dark: #0d2423;
  --max: 1200px;
  --gutter: 20px;
  --font-sans: "Marcellus", "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
}

html { font-synthesis-weight: none; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.75;
  letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
iframe { max-width: 100%; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header : 히어로 위 투명 → 스크롤 시 흰색 ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: block; line-height: 0; }
.brand img { height: 17px; width: auto; display: block; filter: invert(1); transition: filter .3s; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav a { text-decoration: none; color: rgba(255, 255, 255, 0.85); transition: color .2s; }
.nav a:hover { color: #fff; }
.lang-toggle { font: inherit; font-size: 12px; letter-spacing: 0.08em; cursor: pointer; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55); padding: 5px 12px; border-radius: 999px; transition: all .2s; }
.lang-toggle:hover { background: #fff; color: #000; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header.is-solid .brand img { filter: none; }
.site-header.is-solid .nav a { color: var(--muted); }
.site-header.is-solid .nav a:hover { color: var(--ink); }
.site-header.is-solid .lang-toggle { color: var(--ink); border-color: var(--line); }
.site-header.is-solid .lang-toggle:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: #0f3a38; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -25%; z-index: -2; filter: blur(36px);
  background:
    radial-gradient(38% 46% at 18% 28%, #3fb0a2 0, transparent 70%),
    radial-gradient(34% 42% at 82% 18%, #e7c7b6 0, transparent 70%),
    radial-gradient(46% 54% at 72% 82%, #1a6f74 0, transparent 70%),
    radial-gradient(30% 40% at 28% 88%, #9fd6c6 0, transparent 70%);
  animation: drift 26s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(5, 24, 23, 0.38), transparent 30%), linear-gradient(to top, rgba(5, 24, 23, 0.72), transparent 62%); }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.hero-inner { padding-top: 120px; padding-bottom: clamp(28px, 5vw, 56px); }
.eyebrow { font-size: 14px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7fd1c4; }
.hero-title { margin: 0; }
.hero-brand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* 시각적으로 숨김(헤더 로고와 중복), SEO/스크린리더용 alt 유지 */
.hero-brand img { width: 1px; height: 1px; }
.hero-tag { display: block; font-weight: 300; font-size: clamp(38px, 8.4vw, 108px); line-height: 1.12; letter-spacing: -0.03em; }
.hero-lead { margin-top: 26px; max-width: 520px; color: rgba(255, 255, 255, 0.82); font-size: clamp(15px, 1.7vw, 18px); }
.hero-actions { display: none; }
.hero-pills { margin-top: clamp(36px, 6vw, 72px); display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hero-pills::-webkit-scrollbar { display: none; }
.hero-pills li { flex: 0 0 auto; }
.hero-pills a { display: block; text-decoration: none; font-size: 14.5px; padding: 12px 26px; border-radius: 999px; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px); transition: all .2s; white-space: nowrap; }
.hero-pills a:hover { background: #fff; color: #0d2423; border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.section-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.section-title { font-weight: 300; font-size: clamp(28px, 4.6vw, 56px); line-height: 1.3; letter-spacing: -0.03em; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.about-body { display: grid; gap: 18px; color: var(--muted); max-width: 560px; font-size: 16.5px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 80px; align-items: end; } }

.services { background: var(--bg-soft); }
.services .section-head { margin-bottom: clamp(24px, 4vw, 48px); }
.service-list { display: grid; }
.service { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.service-num { display: none; }
.service::after { content: ""; display: block; aspect-ratio: 16 / 10; border-radius: 22px; background: var(--art); order: -1; }
.service-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.service-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.service-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.service-title { font-weight: 400; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -0.03em; }
.badge { font-size: 12px; color: var(--accent); border: 1px solid var(--accent); padding: 2px 11px; border-radius: 999px; }
.service-desc { color: var(--muted); max-width: 520px; font-size: 15.5px; line-height: 1.85; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; }
  .service::after { order: 0; }
  .service:nth-child(odd)::after { order: 2; }
}
/* 사업 영역별 비주얼 (실제 이미지 확보 시 background 대신 <img> 로 교체) */
.service:nth-child(1) { --art: radial-gradient(circle at 22% 28%, #bfe6dc, transparent 55%), radial-gradient(circle at 78% 74%, #7cc2b8, transparent 55%), linear-gradient(135deg, #e9f6f2, #a9d8cf); }
.service:nth-child(2) { --art: radial-gradient(circle at 75% 25%, #3d8f9a, transparent 55%), radial-gradient(circle at 20% 80%, #1c4e5c, transparent 60%), linear-gradient(135deg, #173f4a, #2c7480); }
.service:nth-child(3) { --art: radial-gradient(circle at 30% 30%, #f6dccb, transparent 55%), radial-gradient(circle at 80% 78%, #e8b9a2, transparent 55%), linear-gradient(135deg, #fbefe6, #efcdb9); }
.service:nth-child(4) { --art: radial-gradient(circle at 70% 30%, #cfe3f2, transparent 55%), radial-gradient(circle at 25% 78%, #8db8d8, transparent 55%), linear-gradient(135deg, #e8f2f9, #a3c6df); }
.service:nth-child(5) { --art: radial-gradient(circle at 25% 70%, #d9ead2, transparent 55%), radial-gradient(circle at 78% 25%, #9ccb94, transparent 55%), linear-gradient(135deg, #eef6ea, #b4d6ab); }
.service:nth-child(6) { --art: radial-gradient(circle at 70% 70%, #2f6f6b, transparent 55%), radial-gradient(circle at 25% 25%, #0f3a38, transparent 60%), linear-gradient(135deg, #0f3a38, #3a8a82); }
.service:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Licenses (다크) ---------- */
.licenses { background: var(--dark); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.licenses .section-label { color: #7fd1c4; margin-bottom: 36px; }
.licenses .section-label::before { background: #7fd1c4; }
.license-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.license-list li { display: flex; gap: 22px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(18px, 2.4vw, 28px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.4; }
.license-no { font-size: 13px; letter-spacing: 0.1em; color: #7fd1c4; font-weight: 500; flex: 0 0 28px; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.contact-lead { margin: 22px 0 34px; color: var(--muted); }
.contact-list { display: grid; gap: 22px; }
.contact-list dt { font-size: 13px; color: var(--accent); margin-bottom: 4px; font-weight: 500; }
.contact-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.contact-list a:hover { text-decoration-color: var(--accent); }
.contact-map iframe { width: 100%; height: 340px; border: 0; border-radius: 22px; display: block; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 80px; } .contact-map iframe { height: 420px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 44px; font-size: 13px; color: var(--muted); }
.footer-brand { margin-bottom: 26px; line-height: 0; }
.logo-en { display: none; }
html[lang="en"] .logo-ko { display: none; }
html[lang="en"] .logo-en { display: inline-block; }
.footer-brand img { height: 20px; width: auto; }
.footer-info { display: grid; grid-template-columns: 1fr; gap: 6px 40px; }
.footer-info > div { display: flex; gap: 14px; }
.footer-info dt { flex: 0 0 112px; color: var(--ink); }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-lic ul { display: grid; gap: 2px; }
.copyright { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
@media (min-width: 900px) { .footer-info { grid-template-columns: 1fr 1fr; } }

@media (max-width: 520px) {
  .nav { gap: 16px; font-size: 13px; }
  .brand img { height: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero::before { animation: none; } * { transition: none !important; } }

/* ---------- 사업 영역 화면 캡처 ---------- */
.service.has-shot::after { display: none; }
.service-shot { height: auto; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 22px; order: -1;
  box-shadow: 0 18px 50px rgba(13, 36, 35, 0.18); background: var(--dark); }
.service:nth-child(2) .service-shot { object-position: 66% center; }
.service:nth-child(1) .service-shot { object-position: center; }
@media (min-width: 900px) { .service-shot { order: 0; } .service:nth-child(odd) .service-shot { order: 2; } }
