/* =========================================================
   LIVZEN — Medical Device Regulatory & Quality Consulting
   ========================================================= */

:root {
  --c-navy: #0c2352;
  --c-navy-deep: #081a3f;
  --c-blue: #3a74b8;
  --c-teal: #4cbfbe;
  --c-text: #1d2a43;
  --c-text-sub: #5b6780;
  --c-line: #e3e8ef;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f6f9;

  --grad-accent: linear-gradient(135deg, var(--c-blue) 0%, var(--c-teal) 100%);
  --bg-navy-glow:
    radial-gradient(circle at 85% 10%, rgba(76,191,190,.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(58,116,184,.22), transparent 45%),
    var(--c-navy);

  --f-kr: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-en: "Montserrat", var(--f-kr);

  --container: 1320px;
  --gutter: 40px;
  --header-h: 88px;
  --section-y: 160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-kr);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.mo-only { display: none; }
.nowrap { white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-en); font-size: 13px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--grad-accent); }
.eyebrow--light { color: var(--c-teal); }

.section-title {
  font-family: var(--f-en); font-weight: 600;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--c-navy);
}
.section-desc { color: var(--c-text-sub); font-size: 17px; max-width: 460px; }

.section-head { margin-bottom: 80px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::after,
.brand__content .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--grad-accent); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 34px;
  font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: 0.12em;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--c-navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; font-family: var(--f-kr); letter-spacing: 0.02em; }
.btn--accent::before { content: ""; position: absolute; inset: 0; background: var(--grad-accent); opacity: 0; transition: opacity .35s var(--ease); z-index: -1; }
.btn--accent:hover::before { opacity: 1; }
.btn--light { background: #fff; color: var(--c-navy); }
.btn--light:hover { background: var(--c-teal); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--c-navy); border-color: #fff; }
.btn--outline { border-color: var(--c-navy); color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: #fff; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 13px; font-family: var(--f-kr); letter-spacing: 0.02em; }
.btn--lg { height: 64px; padding: 0 48px; font-size: 17px; }
.btn--block { width: 100%; height: 60px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--c-navy);
}
.link-arrow::after {
  content: ""; width: 26px; height: 1px; background: currentColor;
  transition: width .35s var(--ease);
}
.link-arrow:hover::after { width: 42px; }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--f-en); font-weight: 600; font-size: 26px;
  letter-spacing: 0.2em; color: var(--c-navy); line-height: 1;
  display: inline-flex; align-items: center;
  transition: color .35s var(--ease);
}
.logo__v {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo--light { color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header__inner {
  height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.header .logo { color: #fff; }
.gnb { display: flex; align-items: center; gap: 56px; }
.gnb ul { display: flex; gap: 44px; }
.gnb ul a {
  position: relative; font-family: var(--f-en); font-size: 14px; font-weight: 500;
  letter-spacing: 0.14em; color: rgba(255,255,255,.88); padding: 6px 0;
  transition: color .3s var(--ease);
}
.gnb ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.gnb ul a:hover::after, .gnb ul a.is-current::after { transform: scaleX(1); transform-origin: left; }
.gnb ul a:hover, .gnb ul a.is-current { color: #fff; }
.gnb__cta { height: 46px; padding: 0 26px; font-size: 14px; }

.header.is-scrolled {
  height: 72px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line);
}
.header.is-scrolled .logo { color: var(--c-navy); }
.header.is-scrolled .gnb ul a { color: var(--c-text-sub); }
.header.is-scrolled .gnb ul a:hover, .header.is-scrolled .gnb ul a.is-current { color: var(--c-navy); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-toggle span {
  position: absolute; left: 10px; width: 24px; height: 1.5px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s, background-color .3s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.header.is-scrolled .menu-toggle span { background: var(--c-navy); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--c-navy-deep);
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8,26,63,.88) 0%, rgba(8,26,63,.6) 35%, rgba(8,26,63,.1) 65%, rgba(8,26,63,.25) 100%),
    linear-gradient(90deg, rgba(8,26,63,.45) 0%, rgba(8,26,63,0) 60%);
}
.hero__content { position: relative; z-index: 2; max-width: 1600px; padding-top: var(--header-h); padding-bottom: 72px; }
.hero__eyebrow {
  font-family: var(--f-en); font-size: 14px; font-weight: 500; letter-spacing: 0.26em;
  text-transform: uppercase; color: #8be3df; margin-bottom: 24px;
  text-shadow: 0 1px 12px rgba(8,26,63,.6);
  display: flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: #8be3df; }
.hero__title, .hero__en, .hero__desc { text-shadow: 0 2px 18px rgba(8,26,63,.35); }
.hero__title {
  font-size: clamp(40px, 5vw, 72px); font-weight: 700;
  line-height: 1.18; letter-spacing: -0.035em; margin-bottom: 20px;
}
.hero__en {
  font-family: var(--f-en); font-weight: 300; font-size: clamp(19px, 1.9vw, 26px);
  letter-spacing: 0.02em; color: rgba(255,255,255,.9); margin-bottom: 28px;
}
.hero__desc { max-width: 820px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.75; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-en); font-size: 11px; letter-spacing: 0.3em; color: rgba(255,255,255,.7);
}
.hero__scroll i { width: 1px; height: 56px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: #fff; animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.about__lead {
  font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.45;
  letter-spacing: -0.03em; color: var(--c-navy); margin-bottom: 36px;
}
.about__body p { color: var(--c-text-sub); font-size: 18px; line-height: 1.9; }
.about__body p + p { margin-top: 18px; }
.about__body strong { color: var(--c-navy); font-weight: 600; }

.about__visual {
  margin-top: 100px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 2px;
}
.about__visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transform: scale(1.06); transition: transform 1.6s var(--ease);
}
.about__visual.is-visible img { transform: scale(1); }

.keywords {
  margin-top: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.keywords__item {
  font-family: var(--f-en); font-weight: 600;
  font-size: clamp(44px, 7vw, 112px); line-height: 1; letter-spacing: -0.02em;
  color: var(--c-navy);
  background: var(--grad-accent) no-repeat 0 0 / 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .7s var(--ease), color .5s var(--ease);
}
.keywords__item:hover { color: transparent; background-size: 100% 100%; }
.keywords__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-accent); flex: none; }

/* =========================================================
   WHY LIVZEN
   ========================================================= */
.why { background: var(--c-bg-soft); }
.why__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.why__item {
  text-align: center; padding: 20px 48px;
  border-left: 1px solid var(--c-line);
}
.why__item:first-child { border-left: 0; }
.why__icon {
  width: 96px; height: 96px; margin: 0 auto 36px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--c-navy);
  box-shadow: 0 10px 30px rgba(12,35,82,.06);
  transition: transform .5s var(--ease), color .5s var(--ease);
}
.why__icon svg { width: 44px; height: 44px; }
.why__item:hover .why__icon { transform: translateY(-6px); color: var(--c-blue); }
.why__title {
  font-family: var(--f-en); font-weight: 600; font-size: 28px; letter-spacing: 0.16em;
  color: var(--c-navy); margin-bottom: 16px;
}
.why__text { color: var(--c-text-sub); font-size: 17px; line-height: 1.8; }

/* =========================================================
   SERVICES
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.svc-card {
  background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(12,35,82,.12); border-color: transparent; }
.svc-card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.svc-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,35,82,0) 50%, rgba(12,35,82,.35) 100%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.svc-card:hover .svc-card__img::after { opacity: 1; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.08); }
.svc-card__body { padding: 44px 40px 40px; display: flex; flex-direction: column; flex: 1; position: relative; }
.svc-card__num {
  position: absolute; top: -34px; right: 32px;
  font-family: var(--f-en); font-weight: 600; font-size: 64px; line-height: 1; color: #fff;
  text-shadow: 0 4px 24px rgba(8,26,63,.35);
}
.svc-card__cat {
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--c-blue); margin-bottom: 12px;
}
.svc-card__title { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--c-navy); line-height: 1.4; margin-bottom: 16px; }
.svc-card__text { color: var(--c-text-sub); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.svc-card__tags li { font-size: 13px; color: var(--c-navy); background: var(--c-bg-soft); padding: 5px 12px; border-radius: 40px; }
.svc-card__actions {
  margin-top: auto; padding-top: 28px; border-top: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

/* =========================================================
   BRAND MESSAGE
   ========================================================= */
.brand {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  text-align: center; color: #fff; overflow: hidden; background: var(--c-navy-deep);
}
.brand__bg {
  position: absolute; inset: -40px; background-size: cover; background-position: center;
  filter: blur(3px) saturate(.8); transform: scale(1.05);
  will-change: transform;
}
.brand__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12,35,82,.72) 0%, rgba(8,26,63,.94) 75%),
    linear-gradient(180deg, rgba(8,26,63,.4), rgba(8,26,63,.4));
}
.brand__content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 140px; }
.brand__content .eyebrow { justify-content: center; }
.brand__title {
  font-family: var(--f-en); font-weight: 500;
  font-size: clamp(38px, 6vw, 92px); line-height: 1.12; letter-spacing: -0.025em;
}
.brand__line { display: block; width: 64px; height: 2px; background: var(--grad-accent); margin: 48px auto; }
.brand__desc { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.9; color: rgba(255,255,255,.8); }

/* =========================================================
   PROCESS
   ========================================================= */
.process__list {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.process__list::before, .process__list::after {
  content: ""; position: absolute; top: 11px; left: calc(100% / 12); right: calc(100% / 12); height: 1px;
}
.process__list::before { background: var(--c-line); }
.process__list::after {
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 2.2s var(--ease) .2s;
}
.process__list.is-drawn::after { transform: scaleX(1); }

.step { position: relative; text-align: center; padding: 0 6px; }
.step__dot {
  position: relative; z-index: 1; display: block; width: 23px; height: 23px; margin: 0 auto 36px;
  border-radius: 50%; background: #fff; border: 1px solid var(--c-line);
  transition: border-color .4s var(--ease);
}
.step__dot::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--c-navy);
  transform: scale(.6); transition: transform .4s var(--ease), background .4s var(--ease);
}
.step:hover .step__dot { border-color: var(--c-teal); }
.step:hover .step__dot::after { transform: scale(1); background: var(--c-teal); }
.step__num {
  display: block; font-family: var(--f-en); font-weight: 600; font-size: 44px; line-height: 1;
  color: #c3d1e6; margin-bottom: 18px; transition: color .4s var(--ease);
}
.step:hover .step__num { color: var(--c-blue); }
.step__title { font-family: var(--f-en); font-size: 15px; font-weight: 600; letter-spacing: 0.12em; color: var(--c-navy); margin-bottom: 12px; }
.step__text { font-size: 15px; color: var(--c-text-sub); line-height: 1.7; }

/* =========================================================
   RESOURCE
   ========================================================= */
.resource { background: var(--c-bg-soft); }
.resource .section-head { margin-bottom: 48px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab {
  height: 42px; padding: 0 22px; border: 1px solid var(--c-line); background: #fff; border-radius: 40px;
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--c-text-sub);
  transition: all .3s var(--ease);
}
.tab:hover { border-color: var(--c-navy); color: var(--c-navy); }
.tab.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

.resource__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.res-card a {
  display: flex; flex-direction: column; height: 100%; min-height: 300px;
  padding: 36px 32px 32px; background: #fff; border: 1px solid var(--c-line);
  position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.res-card a::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.res-card a:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(12,35,82,.08); }
.res-card a:hover::before { transform: scaleX(1); }
.res-card__cat { font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--c-blue); margin-bottom: 18px; }
.res-card__title { font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; color: var(--c-navy); margin-bottom: 14px; }
.res-card__text {
  font-size: 15px; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 28px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.res-card__date { margin-top: auto; font-family: var(--f-en); font-size: 13px; color: #98a2b5; display: flex; justify-content: space-between; align-items: center; }
.res-card__date::after { content: "→"; font-size: 16px; color: var(--c-navy); transition: transform .35s var(--ease); }
.res-card a:hover .res-card__date::after { transform: translateX(6px); }
.resource__empty { text-align: center; padding: 60px 0; color: var(--c-text-sub); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative; padding: var(--section-y) 0; color: #fff; background: var(--bg-navy-glow);
}
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 100px; align-items: start; }
.contact__intro { position: sticky; top: 120px; }
.contact__title { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; line-height: 1.4; letter-spacing: -0.035em; margin-bottom: 28px; }
.contact__desc { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.85; margin-bottom: 48px; }
.contact__intro .btn--accent { background: #fff; color: var(--c-navy); }
.contact__intro .btn--accent:hover { color: #fff; }
.contact__info { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 12px; }
.contact__info div { display: flex; gap: 24px; }
.contact__info dt { width: 60px; font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--c-teal); padding-top: 2px; }
.contact__info dd { font-size: 17px; color: rgba(255,255,255,.9); }

.form { background: #fff; color: var(--c-text); padding: 56px 52px; border-radius: 2px; box-shadow: 0 40px 80px rgba(0,0,0,.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; margin-bottom: 28px; border: 0; min-width: 0; }
.field__label { display: block; font-size: 14px; font-weight: 600; color: var(--c-navy); margin-bottom: 10px; }
.field__label em { font-style: normal; color: var(--c-blue); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #cfd6e1; background: transparent;
  padding: 10px 0 12px; font-size: 16px; border-radius: 0; outline: none;
  transition: border-color .3s var(--ease);
}
.field textarea { border: 1px solid #cfd6e1; padding: 14px 16px; resize: vertical; min-height: 140px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a9b2c2; }
.field input:focus, .field textarea:focus { border-color: var(--c-navy); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d0463b; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid #cfd6e1;
  border-radius: 40px; font-size: 15px; color: var(--c-text-sub); transition: all .3s var(--ease);
}
.chip:hover span { border-color: var(--c-navy); color: var(--c-navy); }
.chip input:checked + span { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--c-teal); outline-offset: 2px; }
.field--chips.is-invalid .chip span { border-color: #d0463b; }

.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--c-text-sub); margin-bottom: 20px; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-navy); flex: none; }
.agree__link { color: var(--c-navy); font-size: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.agree.is-invalid { color: #d0463b; }
.form__msg { min-height: 24px; font-size: 14px; margin-bottom: 12px; color: #d0463b; }
.form__msg.is-success { color: var(--c-blue); font-weight: 600; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); margin: auto;
  border: 0; border-radius: 4px; padding: 0; color: var(--c-text);
  box-shadow: 0 40px 80px rgba(8,26,63,.3);
}
.modal::backdrop { background: rgba(8,26,63,.6); }
.modal__inner { padding: 44px 40px 36px; }
.modal__title { font-size: 22px; font-weight: 700; color: var(--c-navy); letter-spacing: -0.02em; margin-bottom: 24px; }
.modal__table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-navy); font-size: 15px; margin-bottom: 20px; }
.modal__table th, .modal__table td { padding: 14px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; line-height: 1.6; }
.modal__table th { width: 96px; background: var(--c-bg-soft); color: var(--c-navy); font-weight: 600; white-space: nowrap; }
.modal__note { font-size: 14px; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 28px; }
@media (max-width: 767px) { .modal__inner { padding: 32px 22px 24px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--c-navy-deep); color: rgba(255,255,255,.6); padding: 80px 0 40px; font-size: 14px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tagline { font-family: var(--f-en); font-size: 13px; letter-spacing: 0.08em; margin-top: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 32px; }
.footer__nav a { font-family: var(--f-en); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__info { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 36px 0; }
.footer__info span { color: rgba(255,255,255,.38); margin-right: 8px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.footer__privacy { color: #fff; font-weight: 600; }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-navy); color: #fff;
  box-shadow: 0 10px 30px rgba(12,35,82,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .4s var(--ease);
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-blue); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .process__list::after { transform: scaleX(1); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  :root { --gutter: 32px; --section-y: 130px; }
  .gnb { gap: 36px; }
  .gnb ul { gap: 28px; }
  .resource__list { grid-template-columns: repeat(2, 1fr); }
  .svc-card__body { padding: 40px 30px 32px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; --section-y: 110px; }
  .pc-only { display: none; }

  /* Mobile nav */
  .menu-toggle { display: block; }
  .gnb {
    position: fixed; inset: 0; z-index: 110; background: var(--c-navy);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 48px;
    padding: 100px var(--gutter) 60px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .gnb ul { flex-direction: column; gap: 8px; }
  .gnb ul a, .header.is-scrolled .gnb ul a { font-size: 34px; font-weight: 600; letter-spacing: 0.06em; color: rgba(255,255,255,.85); }
  .gnb ul a:hover, .header.is-scrolled .gnb ul a:hover { color: #fff; }
  .gnb__cta { height: 56px; padding: 0 34px; font-size: 16px; background: #fff; color: var(--c-navy); }
  body.menu-open { overflow: hidden; }
  body.menu-open .gnb { opacity: 1; visibility: visible; }
  body.menu-open .header .logo { color: #fff; position: relative; z-index: 120; }
  body.menu-open .menu-toggle span { background: #fff; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open .header.is-scrolled { background: transparent; box-shadow: none; backdrop-filter: none; }

  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__visual { margin-top: 72px; aspect-ratio: 16 / 9; }
  .keywords { margin-top: 72px; }

  .services__grid { grid-template-columns: 1fr; gap: 28px; max-width: 640px; margin: 0 auto; }

  .process__list { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .process__list::before, .process__list::after { top: 12px; bottom: 12px; left: 11px; right: auto; width: 1px; height: auto; }
  .process__list::after { transform: scaleY(0); transform-origin: top; }
  .process__list.is-drawn::after { transform: scaleY(1); }
  .step {
    display: grid; grid-template-columns: 23px 72px 1fr; column-gap: 24px; align-items: start;
    text-align: left; padding: 0 0 44px;
  }
  .step:last-child { padding-bottom: 0; }
  .step__dot { margin: 0; grid-row: span 2; }
  .step__num { grid-row: span 2; font-size: 38px; margin: -6px 0 0; }
  .step__title { margin-bottom: 4px; }
  .step__text br { display: none; }

  .contact__grid { grid-template-columns: 1fr; gap: 64px; }
  .contact__intro { position: static; }

  .section-head { margin-bottom: 56px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 88px; }
  body { font-size: 16px; }
  .mo-only { display: inline; }
  .logo { font-size: 22px; }

  .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }

  .hero__content { padding-bottom: 110px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(8,26,63,.55) 0%, rgba(8,26,63,.75) 55%, rgba(8,26,63,.92) 100%); }
  .hero__video { object-position: 38% center; }
  .hero__desc { font-size: 16px; margin-bottom: 40px; }
  .hero__cta .btn { flex: 1; padding: 0 16px; }

  .about__body p { font-size: 16px; }
  .keywords { flex-direction: column; gap: 18px; }
  .keywords__dot { width: 8px; height: 8px; }
  .keywords__item { font-size: clamp(56px, 18vw, 96px); }

  .why__list { grid-template-columns: 1fr; }
  .why__item { border-left: 0; border-top: 1px solid var(--c-line); padding: 48px 0; }
  .why__item:first-child { border-top: 0; padding-top: 0; }
  .why__item:last-child { padding-bottom: 0; }

  .svc-card__body { padding: 36px 24px 28px; }
  .svc-card__title { font-size: 21px; }
  .svc-card__num { font-size: 52px; top: -28px; right: 20px; }

  .brand { min-height: 70vh; }
  .brand__content { padding-top: 100px; padding-bottom: 100px; }
  .brand__line { margin: 36px auto; }

  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 32px; padding: 0 var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .resource__list { grid-template-columns: 1fr; gap: 16px; }
  .res-card a { min-height: 0; padding: 28px 24px 24px; }

  .btn--lg { width: 100%; }
  .form { padding: 36px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .chip span { padding: 0 18px; height: 42px; font-size: 14px; }

  .footer { padding-top: 60px; }
  .footer__top { flex-direction: column; }
  .footer__nav { gap: 16px 24px; }
  .footer__info { flex-direction: column; gap: 6px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* =========================================================
   SUB PAGE — RESOURCE (resource.html)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--c-navy-deep);
  padding: calc(var(--header-h) + 110px) 0 110px;
}
.page-hero__bg {
  position: absolute; inset: -20px; background-size: cover; background-position: center;
  filter: blur(3px) saturate(.8); opacity: .35;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,63,.55), rgba(8,26,63,.85));
}
.page-hero__content { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 10px; font-family: var(--f-en); font-size: 12px; font-weight: 500; letter-spacing: .18em; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.35); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #8be3df; }
.page-hero__title { font-family: var(--f-en); font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.page-hero__desc { font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.78); }

.board-section { padding: 100px 0 140px; }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.board-toolbar .tabs { margin-bottom: 0; }
.board-search { display: flex; align-items: center; width: 320px; max-width: 100%; border-bottom: 1px solid var(--c-navy); }
.board-search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 46px; font-size: 15px; outline: none; }
.board-search input::placeholder { color: #a9b2c2; }
.board-search button { width: 42px; height: 46px; display: grid; place-items: center; color: var(--c-navy); }
.board-search svg { width: 20px; height: 20px; }

.board-count { font-size: 15px; color: var(--c-text-sub); margin-bottom: 14px; }
.board-count strong { color: var(--c-navy); }

.board { border-top: 2px solid var(--c-navy); }
.board__head, .board__row {
  display: grid; grid-template-columns: 64px 190px 1fr 150px 56px; align-items: center; gap: 16px;
}
.board__head {
  padding: 18px 20px; border-bottom: 1px solid var(--c-line); background: var(--c-bg-soft);
  font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--c-text-sub);
}
.board__head span:first-child, .board__head span:nth-child(4), .board__head span:nth-child(5) { text-align: center; }
.board__item { border-bottom: 1px solid var(--c-line); }
.board__row { padding: 22px 20px; transition: background-color .3s var(--ease); }
.board__row:hover { background: var(--c-bg-soft); }
.board__no { text-align: center; font-family: var(--f-en); font-size: 14px; color: #98a2b5; }
.board__cat { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c-blue); }
.board__product { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 30px; white-space: nowrap; }
.board__product--device { background: #e6eef8; color: var(--c-navy); }
.board__product--ivd { background: #e3f4f3; color: #1f7a78; }
.board__product--digital { background: #ece9f7; color: #4b3f8f; }
.board__link { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.board__title { font-size: 17px; font-weight: 500; color: var(--c-navy); letter-spacing: -0.02em; line-height: 1.5; transition: color .3s; }
.board__sub { font-size: 13px; color: #8a94a8; }
a.board__link:hover .board__title { color: var(--c-blue); text-decoration: underline; text-underline-offset: 4px; }
.board__date { text-align: center; font-family: var(--f-en); font-size: 14px; color: #8a94a8; }
.board__date i { font-style: normal; font-family: var(--f-kr); font-size: 12px; margin-right: 6px; color: #a9b2c2; }
.board__dl {
  justify-self: center; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--c-line); border-radius: 50%; color: var(--c-navy); transition: all .3s var(--ease);
}
.board__dl svg { width: 18px; height: 18px; }
.board__dl:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

.product-tabs { display: flex; border-bottom: 1px solid var(--c-line); margin-bottom: 32px; }
.product-tab {
  position: relative; padding: 0 28px 18px; font-size: 18px; font-weight: 600; color: #98a2b5;
  letter-spacing: -0.02em; transition: color .3s var(--ease);
}
.product-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--grad-accent); transform: scaleX(0); transition: transform .4s var(--ease);
}
.product-tab:hover { color: var(--c-navy); }
.product-tab.is-active { color: var(--c-navy); }
.product-tab.is-active::after { transform: scaleX(1); }
.product-tab:first-child { padding-left: 4px; }
.board__empty { text-align: center; padding: 80px 0; color: var(--c-text-sub); border-bottom: 1px solid var(--c-line); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.page-btn { min-width: 42px; height: 42px; padding: 0 8px; border: 1px solid transparent; font-family: var(--f-en); font-size: 14px; color: var(--c-text-sub); transition: all .3s; }
.page-btn:hover:not(:disabled) { border-color: var(--c-line); color: var(--c-navy); }
.page-btn.is-active { background: var(--c-navy); color: #fff; }
.page-btn:disabled { opacity: .3; cursor: default; }

.sub-cta { color: #fff; padding: 100px 0; background: var(--bg-navy-glow); }
.sub-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.sub-cta__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.4; margin-bottom: 14px; }
.sub-cta__desc { color: rgba(255,255,255,.72); }
.sub-cta .btn--light:hover { background: var(--c-teal); }

@media (max-width: 1024px) {
  .board__head { display: none; }
  .board__row { grid-template-columns: 1fr 40px; grid-template-areas: "cat dl" "title dl" "date dl"; gap: 8px 16px; padding: 22px 8px; }
  .board__no { display: none; }
  .board__cat { grid-area: cat; }
  .board__link { grid-area: title; }
  .board__date { grid-area: date; text-align: left; font-size: 13px; }
  .board__dl { grid-area: dl; }
  .sub-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .page-hero { padding: calc(var(--header-h) + 64px) 0 72px; }
  .board-section { padding: 64px 0 100px; }
  .board-toolbar { flex-direction: column; align-items: stretch; }
  .board-search { width: 100%; }
  .board__title { font-size: 16px; }
  .product-tabs { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter); }
  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tab { flex: none; font-size: 16px; padding: 0 16px 14px; }
  .sub-cta { padding: 80px 0; }
}
