:root {
  --navy: #161a2e;
  --navy-2: #1f2440;
  --ink: #1d2233;
  --ink-soft: #5b6478;
  --mint: #3ec28f;
  --teal: #22b3b5;
  --grad: linear-gradient(90deg, #3ec28f, #22b3b5);
  --bg-alt: #f7f9fb;
  --line: #e4e8ee;
  --radius: 14px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.7; word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--navy); color: #e8ecf5; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; margin: .4rem 0 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.dark .lead { color: #aab3c8; }

/* header */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  transition: background .25s, box-shadow .25s;
}
header.solid, body.sub header { background: rgba(22, 26, 46, .96); box-shadow: 0 2px 16px rgba(0,0,0,.18); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav .logo img { height: 46px; width: auto; }
.menu { display: flex; gap: 34px; align-items: center; font-weight: 600; color: #fff; }
.menu a { opacity: .85; }
.menu a:hover, .menu a.on { opacity: 1; color: var(--mint); }
.menu .cta { opacity: 1; background: var(--grad); padding: 9px 20px; border-radius: 999px; color: #fff; }
.menu .cta:hover { color: #fff; filter: brightness(1.08); }

/* main hero */
.hero {
  min-height: clamp(640px, 100vh, 940px); display: flex; align-items: center; position: relative; color: #fff; padding: 110px 0 90px;
  background: linear-gradient(90deg, rgba(14,18,36,.88) 0%, rgba(14,18,36,.55) 55%, rgba(14,18,36,.25) 100%), url(../img/hero.jpg) center/cover no-repeat;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.1; margin: .3rem 0 1.2rem; letter-spacing: -.01em; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 640px; color: #d5dbea; margin: 0 0 .6rem; }
.hero .sub-en { font-size: 1rem; color: #9aa6c2; margin-bottom: 2.2rem; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 999px; font-weight: 700; background: var(--grad); color: #fff; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; }
.badges img { height: 64px; width: auto; }
.mouse { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 26px; opacity: .8; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* sub page title */
.page-title { padding: 190px 0 110px; color: #fff; background-size: cover; background-position: center; }
.page-title h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .4rem 0 .8rem; }
.page-title p { color: #c3cbe0; max-width: 680px; margin: 0; }

/* service cards (main) */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 18px 44px rgba(22,26,46,.10); transform: translateY(-4px); }
.card .ic { width: 84px; height: 84px; margin-bottom: 20px; }
.card h3 { margin: 0 0 .6rem; font-size: 1.35rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* about strip (main) */
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.about-grid .big { font-size: 1.5rem; font-weight: 800; line-height: 1.45; margin: 0 0 1rem; }
.blocks { display: grid; gap: 18px; }
.block {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 30px; background: #fff; border: 1px solid var(--line);
}
.block .bgimg { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); height: 120%; width: auto; opacity: .9; pointer-events: none; }
.block h3 { margin: 0 0 .5rem; position: relative; color: var(--teal); }
.block ul { margin: 0; padding-left: 1.05rem; position: relative; color: var(--ink-soft); }
.block li { margin: .15rem 0; }

/* partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.partners div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: grid; place-items: center; }
.partners img { max-height: 52px; width: auto; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.partners div:hover img { filter: none; opacity: 1; }

/* about page */
.about-intro { background: url(../img/about-bg1.png) center/cover no-repeat, var(--navy); }
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.svc3 .item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 36px 30px; }
.svc3 .item img { width: 110px; height: auto; margin-bottom: 18px; }
.svc3 h3 { margin: 0 0 .7rem; color: #fff; }
.svc3 h3 small { display: block; font-size: .85rem; color: #8fa0c4; font-weight: 500; }
.svc3 ul { margin: 0; padding-left: 1.05rem; color: #b9c2d8; }
.svc3 li { margin: .2rem 0; }
.svc3 .mail { margin-top: 12px; color: var(--mint); font-weight: 600; }
.team-sec { background: url(../img/about-bg2.png) top center/100% auto no-repeat, #f8f9fb; padding-top: 220px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.team .person { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 24px; }
.team .role { font-size: .85rem; font-weight: 700; color: var(--teal); }
.team .name { font-size: 1.2rem; font-weight: 800; margin: .3rem 0 .4rem; }
.team .mail { color: var(--ink-soft); font-size: .95rem; }
.info-box { margin-top: 48px; display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.info-box dt { font-weight: 800; color: var(--navy); }
.info-box dd { margin: 0; color: var(--ink-soft); }

/* business page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px rgba(22,26,46,.18); }
.biz4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.biz4 .item { border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; background: #fff; border-top: 4px solid var(--mint); }
.biz4 .item:nth-child(2) { border-top-color: #3d4668; }
.biz4 .item:nth-child(3) { border-top-color: var(--teal); }
.biz4 .item:nth-child(4) { border-top-color: #2a7fc4; }
.biz4 h3 { margin: 0 0 .6rem; }
.biz4 ul, .consult ul { margin: 0; padding-left: 1.05rem; color: var(--ink-soft); }
.consult { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.sol-table { width: 100%; border-collapse: collapse; margin-top: 40px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.sol-table th, .sol-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sol-table th { width: 160px; background: var(--navy); color: #fff; }
.sol-table td.k { width: 220px; font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* support page */
.support4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.support4 .item { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 22px; }
.support4 img { width: 104px; margin: 0 auto 16px; }
.support4 h3 { margin: 0 0 .5rem; }
.support4 p { margin: 0; color: var(--ink-soft); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 46px; counter-reset: s; }
.steps .step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px 22px; }
.steps .step::before { counter-increment: s; content: "0" counter(s); font-weight: 800; font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: .3rem 0 .5rem; color: #fff; font-size: 1.05rem; letter-spacing: .06em; }
.steps p { margin: 0; color: #b5bfd6; font-size: .95rem; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
input, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.full { grid-column: 1 / -1; }
textarea { min-height: 130px; resize: vertical; }
.agree { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.agree input { width: 18px; height: 18px; }
button { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 14px; cursor: pointer; background: var(--grad); color: #fff; }
.notice { display: none; padding: 14px; border-radius: 10px; background: #e6fcf5; color: #087f5b; font-weight: 600; }
.contact dl { margin: 1.6rem 0 0; display: grid; grid-template-columns: 70px 1fr; gap: 10px 14px; color: var(--ink-soft); }
.contact dt { font-weight: 800; color: var(--ink); }

/* footer */
footer { background: #10131f; color: #8e98b0; padding: 54px 0; font-size: .9rem; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
footer .flogo { height: 44px; width: auto; margin-bottom: 14px; }
footer p { margin: .2rem 0; }
footer .links a { margin-left: 18px; }
.served { margin-top: 20px; font-size: .72rem; opacity: .5; }

@media (max-width: 960px) {
  .menu a:not(.cta) { display: none; }
  .grid3, .about-grid, .svc3, .split, .consult, .contact { grid-template-columns: 1fr; }
  .team, .support4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .biz4 { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .team-sec { padding-top: 130px; }
}
@media (max-width: 560px) {
  form, .team, .support4, .steps { grid-template-columns: 1fr; }
  .info-box { grid-template-columns: 1fr; }
  .badges img { height: 52px; }
}

/* contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice.err { background: #fff0f0; color: #c92a2a; }
button:disabled { opacity: .6; cursor: wait; }
