/* ===== 브랜드 컬러 (회사소개서 기준) ===== */
:root {
  --navy: #0f2747;
  --navy-deep: #0b1d36;
  --blue: #2681c1;
  --sky: #2eaddf;
  --teal: #26a98f;
  --text: #13213a;
  --text-sub: #4a5568;
  --muted: #6b7789;
  --line: #e3e8ef;
  --bg-soft: #f3f7fc;
  --bg-tint: #e6eef8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 39, 71, 0.08);
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1f6fae; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== 헤더 ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 20px rgba(15,39,71,.08); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; color: var(--white); letter-spacing: -0.5px; }
.logo-mark { width: 26px; height: auto; }
.header.scrolled .logo { color: var(--navy); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 15px; color: rgba(255,255,255,.85); transition: color .2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--white); }
.header.scrolled .nav a { color: var(--text-sub); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--blue); }
.header-cta { font-family: "Montserrat", sans-serif; }

.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; margin-left: auto; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; transition: transform .3s, opacity .3s; }
.header.scrolled .menu-toggle span, .header.open .menu-toggle span { background: var(--navy); }
.header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 히어로 ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(46,173,223,.25), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(38,169,143,.18), transparent 40%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #163a66 100%);
  color: var(--white);
}
.hero-symbol {
  position: absolute; right: -4%; bottom: -6%;
  width: min(46vw, 560px); opacity: .9;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.25));
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { font-family: "Montserrat", sans-serif; font-weight: 700; letter-spacing: 4px; font-size: 14px; color: var(--sky); margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.25; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 24px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--sky), #5fd3c0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.8); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: 14px; color: rgba(255,255,255,.85); }

/* ===== 섹션 공통 ===== */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head.left { text-align: left; }
.section-eyebrow { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 3px; color: var(--blue); margin-bottom: 14px; }
.section-eyebrow.light { color: var(--sky); }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.35; letter-spacing: -1px; color: var(--navy); margin-bottom: 18px; }
.section-dark .section-title { color: var(--white); }
.section-sub { color: var(--text-sub); font-size: 17px; max-width: 720px; margin: 0 auto; }
.section-head.left .section-sub { margin: 0; }
.section-dark .section-sub { color: rgba(255,255,255,.7); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--navy); font-weight: 500; }

/* ===== 회사개요 ===== */
.overview { margin-bottom: 80px; }
.overview-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 32px; box-shadow: var(--shadow); }
.overview-table div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.overview-table div:last-child { border-bottom: 0; }
.overview-table dt { color: var(--muted); font-size: 15px; }
.overview-table dd { font-weight: 500; }
.overview-biz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.overview-biz li {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy), #1b4475); color: var(--white);
  transition: transform .2s;
}
.overview-biz li:hover { transform: translateY(-4px); }
.overview-biz strong { display: block; font-size: 18px; font-weight: 700; }
.overview-biz p { font-size: 14px; color: rgba(255,255,255,.75); }
.overview-biz li:nth-child(2) { background: linear-gradient(160deg, var(--blue), #1f6fae); }
.overview-biz li:nth-child(3) { background: linear-gradient(160deg, var(--sky), #2394c4); }
.overview-biz li:nth-child(4) { background: linear-gradient(160deg, var(--teal), #1e8c76); }
.biz-no {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.15);
  font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 700;
}

.mission { text-align: center; }
.mission-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: var(--navy); margin-bottom: 40px; letter-spacing: -0.5px; }
.mission-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; counter-reset: m; }
.mission-steps > li { position: relative; padding: 32px; border-radius: var(--radius); background: var(--bg-soft); }
.mission-steps > li:not(:last-child)::after {
  content: "→"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--blue); font-weight: 700; z-index: 1;
}
.mission-no { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; color: var(--blue); letter-spacing: 1px; }
.mission-steps strong { display: block; font-size: 21px; margin: 8px 0 10px; color: var(--navy); }
.mission-steps p { color: var(--text-sub); font-size: 15px; margin-bottom: 18px; }
.mission-steps .chips span { background: var(--white); }

/* ===== 실적 ===== */
.stats-band { padding: 90px 0; background: linear-gradient(120deg, var(--blue), #1b5f97 60%, var(--navy)); color: var(--white); text-align: center; }
.stats-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin-bottom: 48px; letter-spacing: -0.5px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { padding: 32px 16px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.stat p { color: rgba(255,255,255,.8); margin-bottom: 8px; }
.stat-num { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(44px, 5.5vw, 68px); line-height: 1; }
.stat-unit { font-size: 20px; font-weight: 700; margin-left: 4px; }
.stats-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ===== 연혁 ===== */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline > li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 14px 0; }
.timeline > li::before {
  content: ""; position: absolute; left: 104px; top: 24px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue);
}
.timeline > li:first-child::before { background: var(--blue); box-shadow: 0 0 0 6px rgba(38,129,193,.18); }
.year { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 24px; color: var(--navy); line-height: 1.4; }
.timeline ul { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.timeline ul li { color: var(--text-sub); }

/* ===== 사업소개 탭 ===== */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tab {
  font-family: inherit; font-size: 17px; font-weight: 700; padding: 12px 32px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--text-sub); cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.panel { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; animation: fade .4s ease; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-intro { padding: 40px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), #1b4475); color: var(--white); position: sticky; top: calc(var(--header-h) + 24px); }
.panel-label { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 600; color: var(--sky); letter-spacing: 1px; margin-bottom: 10px; }
.panel-intro h3 { font-size: 34px; font-weight: 900; margin-bottom: 14px; }
.panel-intro > p { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.panel-extra strong { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.9); }
.panel-extra .chips span { background: rgba(255,255,255,.12); color: var(--white); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefits li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.benefits li:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.benefits strong { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.benefits strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.benefits p { color: var(--text-sub); font-size: 15px; }

/* ===== 운영분야 ===== */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform .3s; }
.ind:hover { transform: translateY(-6px); }
.ind img { width: 100%; aspect-ratio: 626 / 520; object-fit: cover; object-position: center 30%; }
.ind figcaption { padding: 20px; }
.ind figcaption span { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--blue); font-size: 13px; }
.ind figcaption strong { display: block; font-size: 18px; color: var(--navy); margin: 2px 0 4px; }
.ind figcaption em { font-style: normal; color: var(--muted); font-size: 14px; }

/* ===== 관리 시스템 ===== */
.mgmt { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mgmt-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.mgmt-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mgmt-card img { width: 100%; aspect-ratio: 626 / 480; object-fit: cover; }
.mgmt-card h3 { font-size: 17px; color: var(--navy); padding: 20px 20px 6px; }
.mgmt-card p { font-size: 14px; color: var(--text-sub); padding: 0 20px 22px; }

/* ===== 프로세스 ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background .3s; }
.step:hover { background: rgba(255,255,255,.1); }
.step:not(:last-child)::after { content: "›"; position: absolute; right: -14px; top: 30px; font-size: 26px; color: var(--sky); z-index: 1; }
.step-no { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; color: var(--sky); letter-spacing: 1px; }
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { font-size: 14px; color: rgba(255,255,255,.7); }

/* ===== 맞춤 솔루션 ===== */
.solutions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.solutions .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.solutions .section-sub strong { display: inline-block; margin-top: 14px; color: var(--navy); }
.solution-list { display: flex; flex-direction: column; gap: 14px; }
.solution-list li { display: flex; gap: 22px; padding: 26px 28px; border-radius: var(--radius); background: var(--bg-soft); transition: background .3s, transform .3s; }
.solution-list li:hover { background: var(--bg-tint); transform: translateX(6px); }
.solution-list span { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 28px; color: var(--blue); line-height: 1.2; }
.solution-list strong { display: block; font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.solution-list p { color: var(--text-sub); font-size: 15px; }

/* ===== 문의 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info .section-sub { margin: 0 0 36px; }
.info-list li { display: grid; grid-template-columns: 90px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list span { color: var(--muted); font-size: 15px; }
.info-list a { color: var(--blue); font-weight: 500; }
.contact-form { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.contact-form h3 { font-size: 22px; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-sub); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38,129,193,.15); }
.contact-form .invalid { border-color: #e05353; }
.contact-form label.agree { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-msg { font-size: 14px; min-height: 1.4em; }
.form-msg.error { color: #e05353; }
.form-msg.ok { color: var(--teal); }

/* ===== 푸터 ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 56px 0 40px; font-size: 14px; }
.footer-inner { display: grid; gap: 24px; }
.footer-slogan { margin-top: 10px; color: rgba(255,255,255,.75); }
.logo-light { color: var(--white); }
.copyright { font-family: "Montserrat", sans-serif; font-size: 12px; color: rgba(255,255,255,.4); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

/* ===== 맨 위로 ===== */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 20px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ===== 스크롤 등장 애니메이션 ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-symbol { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== 반응형 ===== */
@media (max-width: 1080px) {
  .industries, .mgmt { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .header-cta { display: none; }
  .overview-biz { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); padding: 8px 24px 20px; box-shadow: 0 10px 20px rgba(15,39,71,.1);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all .3s;
  }
  .nav a { color: var(--text) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header.open { background: var(--white); }
  .header.open .logo { color: var(--navy); }
  .header.open .nav { transform: none; opacity: 1; pointer-events: auto; }

  .section { padding: 88px 0; }
  .overview, .panel, .solutions, .contact-grid { grid-template-columns: 1fr; }
  .mission-steps { grid-template-columns: 1fr; }
  .mission-steps > li:not(:last-child)::after { right: 50%; top: auto; bottom: -22px; transform: translateX(50%) rotate(90deg); }
  .panel-intro, .solutions .section-head { position: static; }
  .hero-symbol { width: 70vw; opacity: .25; right: -20%; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .stats { grid-template-columns: 1fr; }
  .industries, .mgmt { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefits, .form-row { grid-template-columns: 1fr; }
  .overview-biz { grid-template-columns: 1fr; }
  .overview-biz li { padding: 18px 20px; gap: 16px; }
  .overview-table { padding: 8px 20px; }
  .overview-table div { grid-template-columns: 1fr; gap: 2px; }
  .timeline::before { left: 70px; }
  .timeline > li { grid-template-columns: 70px 1fr; gap: 28px; }
  .timeline > li::before { left: 64px; }
  .year { font-size: 19px; }
  .contact-form, .panel-intro { padding: 28px 20px; }
  .solution-list li { padding: 22px 20px; gap: 16px; }
  .info-list li { grid-template-columns: 70px 1fr; }
}
