/* =====================================================================
   Insight:tech — 재구축 디자인 시스템
   - 모바일 우선 / 반응형 / 접근성(대비·포커스) / 일관된 컴포넌트
   ===================================================================== */

/* ---- Design Tokens ---- */
:root {
  /* Brand */
  --navy-900: #0a0f1c;
  --navy-800: #0e1628;
  --navy-700: #16203a;
  --blue-700: #0b4f8a;
  --blue-600: #1565c0;
  --blue-500: #1f7ae0;
  --cyan-500: #00b4d8;
  --cyan-400: #29c5ec;
  --accent:   #00b4d8;
  --accent-strong: #0a93b5;

  /* Neutral */
  --ink-900: #11161f;
  --ink-700: #2b3442;
  --ink-600: #475264;
  --ink-500: #6b7585;
  --ink-400: #97a0b0;
  --line:    #e4e8ef;
  --bg:      #ffffff;
  --bg-soft: #f5f7fb;
  --bg-mute: #eef2f8;

  /* Type */
  --font-sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radius / shadow */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.06);
  --shadow-md: 0 6px 18px rgba(16,24,40,.10);
  --shadow-lg: 0 16px 40px rgba(16,24,40,.16);

  --header-h: 108px;
  --container: 1200px;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; border-radius: 4px; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
.section { padding-block: var(--s-8); }
.section--soft { background: var(--bg-soft); }
.section--mute { background: var(--bg-mute); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--s-7); }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-strong); margin-bottom: var(--s-3);
}
.section-head h2 { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.2rem); line-height: 1.25; color: var(--ink-900); position: relative; padding-bottom: 18px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head p { margin-top: var(--s-4); color: var(--ink-600); font-size: 1.02rem; }

/* ---- Buttons (consistent) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 13px 26px; border-radius: var(--r-md); font-weight: 700; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .12s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #04222b; }
.btn--accent:hover { background: var(--cyan-400); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { background: #fff; color: var(--blue-700); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---- 라인형 아이콘(인라인 SVG) ---- */
.icon { display: inline-block; vertical-align: -.125em; flex: 0 0 auto; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: var(--s-3); font-weight: 800; flex: 0 0 auto; }
.brand img { height: 48px; width: auto; display: block; }
@media (max-width: 480px) { .brand img { height: 36px; } }

/* 우측 유틸(CTA) */
.header-util { display: none; flex: 0 0 auto; }
@media (min-width: 1024px) { .header-util { display: flex; } }
.header-cta { padding: 10px 22px; font-size: .95rem; }

/* Desktop nav */
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: block; flex: 1 1 auto; }
  .main-nav > ul { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a {
    display: inline-flex; align-items: center; height: var(--header-h);
    padding: 0 var(--s-4); font-weight: 700; font-size: 1rem; color: var(--ink-700);
    border-bottom: 3px solid transparent;
  }
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li.is-active > a { color: var(--blue-600); border-bottom-color: var(--accent); }

  /* dropdown */
  .submenu {
    position: absolute; top: calc(var(--header-h) - 8px); left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: var(--s-2); opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: .18s ease;
  }
  .main-nav li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
  .submenu li { position: relative; }
  .submenu a {
    display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
    padding: 11px 14px; border-radius: var(--r-sm); font-size: .94rem; font-weight: 600; color: var(--ink-700);
  }
  .submenu a:hover { background: var(--bg-mute); color: var(--blue-600); }
  .submenu .submenu { top: -9px; left: 100%; }
  .has-children > a::after { content: ""; }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-900); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 auto; width: min(86vw, 360px);
  background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
  z-index: 999; padding: var(--s-4) var(--s-4) var(--s-8);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(8,12,22,.45); opacity: 0; visibility: hidden;
  transition: .28s; z-index: 998;
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 14px 8px; font-weight: 700; color: var(--ink-900); }
.mobile-nav .submenu a { padding: 11px 8px 11px 22px; font-weight: 500; font-size: .95rem; color: var(--ink-600); }
.mobile-nav .m-group > button {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 14px 8px; background: none; border: 0; font-weight: 700; color: var(--ink-900); text-align: left;
}
.mobile-nav .m-group > button .chev { transition: transform .2s; color: var(--ink-400); }
.mobile-nav .m-group.open > button .chev { transform: rotate(180deg); }
.mobile-nav .m-sub { display: none; padding-bottom: var(--s-2); }
.mobile-nav .m-group.open .m-sub { display: block; }
@media (min-width: 1024px) { .mobile-nav, .mobile-backdrop { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__slides { position: relative; }
.hero__slide {
  position: relative; min-height: clamp(580px, 90vh, 940px); display: grid; align-items: center;
  background-size: cover; background-position: center; opacity: 0; visibility: hidden;
  transition: opacity .8s ease; position: absolute; inset: 0;
}
.hero__slide.active { opacity: 1; visibility: visible; position: relative; }
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,12,22,.86) 0%, rgba(8,12,22,.62) 45%, rgba(8,12,22,.30) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 640px; padding-block: var(--s-8); }
.hero__content h1 { font-size: clamp(2.1rem, 1rem + 4.2vw, 3.7rem); line-height: 1.16; letter-spacing: -.02em; }
.hero__content .accent { color: var(--cyan-400); }
.hero__content p { margin-top: var(--s-4); font-size: clamp(1rem, .9rem + .5vw, 1.18rem); color: #d6deea; }
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: var(--s-5); z-index: 3; display: flex; gap: var(--s-2); justify-content: center; }
.hero__dots button { width: 36px; height: 4px; border: 0; border-radius: 99px; background: rgba(255,255,255,.35); }
.hero__dots button.active { background: var(--cyan-400); }

/* ---- Sub visual (내부 페이지 배너, milre 참조) ---- */
.sub-visual {
  position: relative; color: #fff; display: grid; align-items: center; min-height: 260px;
  background: var(--navy-900) url("../img/main-section1_slide_0.png") center/cover no-repeat;
}
.sub-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,12,22,.55) 0%, rgba(8,12,22,.78) 100%);
}
.sub-visual__inner { position: relative; z-index: 1; padding-block: var(--s-7); }
.sub-visual__eng { font-size: .82rem; font-weight: 800; letter-spacing: .22em; color: var(--cyan-400); margin-bottom: var(--s-3); }
.sub-visual h1 { font-size: clamp(1.7rem, 1rem + 2.8vw, 2.6rem); letter-spacing: -.02em; }
.sub-visual__lead { margin-top: var(--s-3); color: #cdd6e4; max-width: 760px; font-size: 1rem; }
@media (max-width: 768px) { .sub-visual { min-height: 200px; } }

/* ---- Location bar (브레드크럼 + 서브탭) ---- */
.location-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.location-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 54px; flex-wrap: wrap; }
.crumb { display: flex; align-items: center; gap: var(--s-2); font-size: .88rem; color: var(--ink-500); }
.crumb__home { font-size: 1.05rem; color: var(--ink-600); }
.crumb a:hover { color: var(--blue-600); }
.crumb strong { color: var(--ink-900); font-weight: 700; }
.crumb__sep { color: var(--ink-400); }
.sub-tabs { display: flex; gap: var(--s-1); flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
.sub-tabs a {
  padding: 8px 16px; font-size: .92rem; font-weight: 600; color: var(--ink-600);
  border-radius: 999px; white-space: nowrap; transition: background .15s, color .15s;
}
.sub-tabs a:hover { background: var(--bg-mute); color: var(--blue-600); }
.sub-tabs a.is-active { background: var(--blue-600); color: #fff; }
@media (max-width: 768px) {
  .location-bar__inner { min-height: 0; padding-block: 10px; }
  .crumb { display: none; }
  .sub-tabs { width: 100%; }
}

/* ---- Cards / grids ---- */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd6e4; }
.card__num { font-size: .9rem; font-weight: 800; color: var(--accent-strong); letter-spacing: .08em; }
.card h3 { margin-top: var(--s-2); font-size: 1.18rem; color: var(--ink-900); }
.card p { margin-top: var(--s-3); color: var(--ink-600); font-size: .96rem; }

.feature { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature__ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500)); color: #fff; font-weight: 800;
}
.feature h3 { font-size: 1.06rem; }
.feature p { color: var(--ink-600); font-size: .95rem; margin-top: 2px; }

/* product card */
.product-card { text-align: center; }
.product-card .thumb { background: var(--bg-soft); border-radius: var(--r-md); padding: var(--s-5); margin-bottom: var(--s-4); }
.product-card .thumb img { margin-inline: auto; max-height: 200px; width: auto; object-fit: contain; }

/* ===== Shop-style product grid ===== */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 960px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.shop-card__thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.shop-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .3s ease; }
.shop-card:hover .shop-card__thumb img { transform: scale(1.06); }
.shop-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.8rem; color: var(--ink-400); opacity: .85; }
.shop-card__badge {
  position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 11px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; color: #fff;
}
.shop-card__badge--BEST { background: var(--blue-600); }
.shop-card__badge--NEW { background: var(--accent); color: #04222b; }
.shop-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.shop-card__cat { font-size: .76rem; font-weight: 700; color: var(--accent-strong); letter-spacing: .04em; }
.shop-card__name { margin-top: 6px; font-size: 1.08rem; color: var(--ink-900); line-height: 1.35; }
.shop-card__name a:hover { color: var(--blue-600); }
.shop-card__desc { margin-top: 10px; color: var(--ink-600); font-size: .9rem; line-height: 1.6; flex: 1; }
.shop-card__foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.shop-card__price { font-weight: 800; color: var(--ink-900); font-size: 1rem; }
.shop-card__btn { padding: 9px 16px; border-radius: var(--r-sm); background: var(--blue-600); color: #fff; font-size: .85rem; font-weight: 700; white-space: nowrap; transition: background .15s ease; }
.shop-card__btn:hover { background: var(--blue-700); }

/* ---- Prose (content text) ---- */
.prose { max-width: 880px; }
.prose.center { margin-inline: auto; }
.prose p { color: var(--ink-700); margin-block: var(--s-4); font-size: 1.04rem; line-height: 1.85; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s-7); color: var(--ink-900); }
.prose h3 { font-size: 1.2rem; margin-top: var(--s-5); color: var(--ink-900); }
.prose ul.bullets { margin-block: var(--s-4); display: grid; gap: var(--s-3); }
.prose ul.bullets li { position: relative; padding-left: 26px; color: var(--ink-700); line-height: 1.7; }
.prose ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 9px; height: 9px; border-radius: 3px;
  background: var(--accent);
}
.figure { margin-block: var(--s-6); text-align: center; }
.figure img { margin-inline: auto; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.figure figcaption { margin-top: var(--s-3); color: var(--ink-500); font-size: .9rem; }

/* ---- Contact form ---- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: var(--s-2); color: var(--ink-700); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink-900); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(31,122,224,.15); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .86rem; color: var(--ink-500); }

/* ---- Stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); color: var(--blue-600); font-weight: 800; }
.stat span { color: var(--ink-600); font-size: .95rem; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: #aeb9c9; padding-block: var(--s-8) var(--s-6); margin-top: var(--s-8); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: var(--s-6); } }
.footer-brand b { color: #fff; font-size: 1.2rem; }
.footer-brand p { margin-top: var(--s-3); font-size: .92rem; line-height: 1.8; }
.footer-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-5); color: #dbe3ee; font-size: 1rem; }
.footer-tel::before { content: "\260E"; font-size: 1.15rem; color: var(--cyan-400); }
.footer-tel strong { font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.footer-tel:hover strong { color: var(--cyan-400); }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: var(--s-4); letter-spacing: .02em; }
.footer ul li { margin-bottom: var(--s-2); }
.footer ul a { font-size: .92rem; color: #aeb9c9; }
.footer ul a:hover { color: var(--cyan-400); }
.footer-contact li { font-size: .92rem; margin-bottom: var(--s-2); }
.footer-contact b { color: #dbe3ee; font-weight: 600; }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: .85rem; color: #7c8aa0;
}

/* ---- Spec table ---- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; background: var(--bg-soft); color: var(--ink-700); font-weight: 700; }
.spec-table td { color: var(--ink-700); }
@media (max-width: 560px) { .spec-table th { width: 40%; } }

/* ---- Board (게시판) ---- */
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy-800); }
.board th, .board td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: .94rem; text-align: center; }
.board th { background: var(--bg-soft); color: var(--ink-700); font-weight: 700; }
.board td.title { text-align: left; font-weight: 600; color: var(--ink-900); }
.board td.title a:hover { color: var(--blue-600); }
.board tr:hover td { background: var(--bg-soft); }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.board-search { display: flex; gap: var(--s-2); }
.board-search input { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; }
@media (max-width: 600px) { .board .hide-sm { display: none; } }
.notice-banner {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5);
  background: #eef6fb; border: 1px solid #cfe6f3; border-radius: var(--r-md); color: var(--ink-700); font-size: .92rem; margin-top: var(--s-5);
}
.notice-banner__ico { color: #e0860a; font-size: 1.25rem; line-height: 1; margin-top: 1px; }

/* ---- Price table (이용안내) ---- */
.price-table { width: 100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.price-table th, .price-table td { padding: 14px 16px; border: 1px solid var(--line); text-align: center; font-size: .95rem; }
.price-table thead th { background: var(--navy-800); color: #fff; border-color: var(--navy-700); }
.price-table td.amount { font-weight: 700; color: var(--blue-600); }

/* ---- Alerts ---- */
.alert { padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; font-size: .95rem; margin-bottom: var(--s-5); border: 1px solid transparent; }
.alert--ok { background: #e9f7ef; border-color: #b7e4c7; color: #1b6b3a; }
.alert--error { background: #fdecea; border-color: #f5c2c0; color: #a4282b; }

/* ---- Reservation slots ---- */
.reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
@media (max-width: 860px) { .reserve-grid { grid-template-columns: 1fr; } }
.slot-group { margin-bottom: var(--s-5); }
.slot-group h4 { font-size: 1rem; margin-bottom: var(--s-3); color: var(--ink-800); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: var(--s-2); }
.slot {
  appearance: none; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm);
  padding: 12px 6px; font-weight: 700; font-size: .95rem; color: var(--ink-700); text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--blue-500); color: var(--blue-600); }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot.is-selected { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.slot:disabled, .slot.is-taken { background: var(--bg-mute); color: var(--ink-400); cursor: not-allowed; text-decoration: line-through; }

/* ===== Home: 사업분야 카드 ===== */
.biz-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6);
  box-shadow: var(--shadow-sm); overflow: hidden; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.biz-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-card__no {
  position: absolute; right: 16px; top: 8px; font-size: 2.6rem; font-weight: 800;
  color: var(--bg-mute); line-height: 1; letter-spacing: -.04em; pointer-events: none;
}
.biz-card__ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500)); color: #fff;
  font-size: 1.65rem; margin-bottom: var(--s-4); box-shadow: 0 8px 18px rgba(21,101,192,.28);
}
.biz-card h3 { font-size: 1.18rem; color: var(--ink-900); position: relative; z-index: 1; }
.biz-card p { margin-top: var(--s-3); color: var(--ink-600); font-size: .95rem; flex: 1 0 auto; }
.biz-card__more { margin-top: var(--s-5); font-weight: 700; font-size: .9rem; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.biz-card__more i { font-style: normal; transition: transform .2s ease; }
.biz-card:hover .biz-card__more i { transform: translateX(4px); }

/* ===== Home: 인사이트테크 소개 (split) ===== */
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; gap: var(--s-6); } }
.about-split__text .eyebrow { margin-bottom: var(--s-3); }
.about-split__text h2 {
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.3rem); color: var(--ink-900);
  padding-bottom: 16px; position: relative; line-height: 1.25;
}
.about-split__text h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--accent); border-radius: 2px; }
.about-split__text p { margin: var(--s-5) 0 var(--s-6); color: var(--ink-700); font-size: 1.05rem; line-height: 1.9; }
.about-split__visual { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-split__visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.about-split__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,79,138,.20), transparent 60%); }

/* ===== Home: 문의 (split) ===== */
.contact-split { display: grid; grid-template-columns: .82fr 1.18fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
@media (max-width: 880px) { .contact-split { grid-template-columns: 1fr; } }
.contact-split__info { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.contact-split__info::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(0,180,216,.30), transparent 65%); pointer-events: none; }
.contact-split__info h3 { font-size: 1.4rem; position: relative; z-index: 1; }
.contact-split__info > p { margin-top: var(--s-3); color: #c6d0df; position: relative; z-index: 1; font-size: .96rem; line-height: 1.7; }
.contact-info-list { margin-top: var(--s-7); display: grid; gap: var(--s-5); position: relative; z-index: 1; }
.contact-info-list li { display: flex; gap: var(--s-3); align-items: center; }
.contact-info-list .ci-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.10); display: grid; place-items: center; flex: 0 0 auto; font-size: 1.15rem; color: var(--cyan-400); }
.contact-info-list b { display: block; font-size: .74rem; color: var(--cyan-400); font-weight: 700; letter-spacing: .06em; margin-bottom: 2px; }
.contact-info-list span span, .contact-info-list li > span { color: #e7edf4; font-size: .95rem; }
.contact-info-list a { color: #e7edf4; }
.contact-info-list a:hover { color: var(--cyan-400); }
.contact-info-quick { margin-top: var(--s-7); display: flex; gap: var(--s-3); flex-wrap: wrap; position: relative; z-index: 1; }
.contact-info-quick a { padding: 9px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .85rem; font-weight: 600; color: #e7edf4; }
.contact-info-quick a:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.contact-split__form { padding: clamp(24px, 3.5vw, 44px); }

/* ===== 연혁 타임라인 (좌우 교차) ===== */
.timeline { position: relative; max-width: 980px; margin: 0 auto; list-style: none; padding: 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--blue-500), var(--cyan-500)); transform: translateX(-50%);
}
.timeline__item { position: relative; box-sizing: border-box; width: 50%; padding-bottom: var(--s-7); }
.timeline__item--left  { left: 0; padding-right: 46px; text-align: right; }
.timeline__item--right { left: 50%; padding-left: 46px; text-align: left; }
.timeline__marker {
  position: absolute; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-600); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--blue-600); z-index: 2;
}
.timeline__item--left  .timeline__marker { right: -9px; }
.timeline__item--right .timeline__marker { left: -9px; }
.timeline__card {
  display: inline-block; text-align: left; max-width: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.timeline__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.timeline__period { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue-600); letter-spacing: -.02em; margin-bottom: var(--s-3); }
.timeline__events { display: grid; gap: 9px; }
.timeline__events li { position: relative; padding-left: 18px; color: var(--ink-700); font-size: .96rem; line-height: 1.6; }
.timeline__events li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
@media (max-width: 720px) {
  .timeline::before { left: 9px; }
  .timeline__item { width: 100%; left: 0; text-align: left; padding: 0 0 var(--s-6) 34px; }
  .timeline__item--left .timeline__marker,
  .timeline__item--right .timeline__marker { left: 1px; right: auto; }
  .timeline__card { display: block; }
}

/* ===== 인증/특허 카드 (이미지 + 캡션) ===== */
.cert-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cert-card__img { display: block; position: relative; aspect-ratio: 5 / 7; background: var(--bg-soft); overflow: hidden; }
.cert-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cert-card:hover .cert-card__img img { transform: scale(1.04); }
.cert-card__zoom {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(10,15,28,.55); color: #fff; font-size: .9rem; font-weight: 700;
  opacity: 0; transition: opacity .2s ease;
}
.cert-card__zoom .icon { width: 26px; height: 26px; }
a.cert-card__img:hover .cert-card__zoom { opacity: 1; }
.cert-card__img--ph { display: grid; place-items: center; font-size: 2.8rem; color: var(--ink-400); }
.cert-card__cap {
  padding: 14px 16px; text-align: center; font-weight: 700; font-size: .94rem;
  color: var(--ink-800); border-top: 1px solid var(--line); margin-top: auto;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
