/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  /* Brand */
  --brand: #1D4ED8;
  --brand-dark: #15379E;
  --brand-tint: #EEF2FF;
  --brand-tint-2: #E0E7FF;
  --print: #365493;

  /* Neutral / paper */
  --ink: #14171F;
  --ink-soft: #363B47;
  --muted: #5B616E;
  --light: #7C8290;
  --line: #DADDE3;
  --line-strong: #B9BEC8;
  --paper: #FFFFFF;
  --paper-alt: #F5F6F8;

  /* Radius — sharp, document-like */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;

  /* Typography */
  --font-head: 'Noto Sans KR', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;

  --max-w: 1040px;
  --section-py: 104px;

  /* Header heights */
  --nav-h: 72px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: var(--section-py) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: #0b0f19; }

/* The hero already ends with its own padding-bottom + border, so the
   section right after it doesn't need the full section-py gap on top. */
.page-hero + .section { padding-top: calc(var(--section-py) / 2); }

/* Dark section specific typography overrides */
.section--dark .doc-title { color: #ffffff; }
.section--dark .doc-eyebrow { color: #60A5FA; }
.section--dark .doc-rule { border-top-color: rgba(255, 255, 255, 0.1); }

.section + .section,
.section--alt + .section,
.section + .section--alt,
.section--dark + .section,
.section + .section--dark {
  border-top: 1px solid var(--line);
}

.section--dark + .section--dark {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Document-style section heading */
.doc-heading {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.doc-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--r-sm);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.doc-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 6px;
}

.doc-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.doc-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 auto 48px;
}

.doc-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin: -8px 0 40px 60px;
}

.placeholder-note {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px dashed var(--brand-tint-2);
  border-radius: var(--r-sm);
  padding: 3px 10px;
  margin-top: 8px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  min-height: 44px;
}

.btn:focus-visible, a:focus-visible, .footer-link:focus-visible, .privacy-modal-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-tint); }

.btn-lg { font-size: 16px; padding: 15px 34px; }

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }

/* ══════════════════════════════════════════════════════════════
   HEADER — main GNB with hover dropdowns
══════════════════════════════════════════════════════════════ */
.header-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

/* Main GNB
   주의: backdrop-filter/transform 등은 position:fixed 자손의 containing
   block을 바꿔버리므로(스펙상 필터가 걸린 요소 기준으로 좌표가 다시 잡힘)
   .mega-panel이 이 안에 있는 한 절대 여기에 filter 계열 속성을 걸지 않는다. */
.nav {
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Home hero variant: opaque black bar + white text while the video hero
   is still on screen. JS (main.js) removes this class once the hero
   scrolls past, so the header falls back to the default white style
   shared with every other page. */
.header-fixed.header--on-hero .nav {
  background: rgba(0, 0, 0, 0.4);
  border-bottom-color: transparent;
}

.header-fixed.header--on-hero .mega-panel {
  background: rgba(0, 0, 0, 0.4);
  border-bottom-color: transparent;
}

.header-fixed.header--on-hero .mega-col a {
  color: rgba(255, 255, 255, 0.75);
}
.header-fixed.header--on-hero .mega-col a:hover,
.header-fixed.header--on-hero .mega-col a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.header-fixed.header--on-hero .nav-logo-word,
.header-fixed.header--on-hero .nav-link {
  color: #fff;
}
.header-fixed.header--on-hero .nav-link:hover,
.header-fixed.header--on-hero .nav-link:focus-visible {
  color: #A9C0FF;
}
.header-fixed.header--on-hero .nav-burger svg { stroke: #fff; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark { height: 24px; width: auto; }

.nav-logo-word {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: -0.03em;
}

.gnb {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 12px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a.nav-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s;
  position: relative;
}

.nav-item > a.nav-link::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.nav-item:hover > a.nav-link,
.nav-item:focus-within > a.nav-link {
  color: var(--brand);
}

.nav-item:hover > a.nav-link::after,
.nav-item:focus-within > a.nav-link::after {
  transform: scaleX(1);
}

.nav-link.is-current { color: var(--brand); }
.nav-link.is-current::after { transform: scaleX(1); }

/* Mega menu — hovering any GNB item reveals the full menu at once
   (참고: 김앤장/서울아산병원류 기관 사이트의 풀너비 메가메뉴 패턴) */
.gnb-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.mega-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(20, 23, 31, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 90;
}

.gnb-wrap:hover .mega-panel,
.gnb-wrap:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* While the panel is open, drop the nav's own bottom rule so the header
   and the panel read as one continuous surface instead of two stacked
   blocks with a seam between them. */
.nav:has(.gnb-wrap:hover),
.nav:has(.gnb-wrap:focus-within) {
  border-bottom-color: transparent;
}

/* mega-panel-inner: equal-width column grid on the same 8px spacing scale
   as the rest of the site (M3 menu spec: 8dp top/bottom padding, 48dp min
   touch target; NN/g mega-menu guidance: generous, uniform column gutters
   rather than gutters tied to each label's variable text width, which reads
   as uneven). Its left edge/width are set inline by assets/main.js to match
   the GNB row's own bounding box exactly, so the open panel starts and ends
   flush with the visible menu row above it — no repeated category title
   inside it. */
.mega-panel-inner {
  position: absolute;
  top: 0;
  display: block;
  padding: 28px 0 40px;
}

.mega-col {
  position: absolute;
  top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers each link under the GNB item (main.js centers the column itself) */
  gap: 4px;
}

.mega-col a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}

.mega-col a:hover,
.mega-col a:focus-visible {
  background: var(--paper-alt);
  color: var(--brand);
}

.mega-col a.current { color: var(--brand); font-weight: 700; }

.nav-cta { flex-shrink: 0; margin-left: 12px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-burger svg { width: 22px; height: 22px; stroke: var(--ink); }

.nav-mobile-panel { display: none; }

@media (max-width: 900px) {
  .gnb-wrap, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .nav-mobile-panel {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    padding: 8px 24px 32px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-mobile-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-group { border-bottom: 1px solid var(--line); }

  .mobile-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
  }

  .mobile-group-toggle svg {
    width: 16px; height: 16px; stroke: var(--light);
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }

  .mobile-group.open .mobile-group-toggle svg { transform: rotate(180deg); }

  .mobile-sublist {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .mobile-group.open .mobile-sublist { max-height: 320px; }

  .mobile-sublist a {
    display: block;
    padding: 12px 0 12px 14px;
    font-size: 14.5px;
    color: var(--muted);
  }

  .mobile-quicklinks {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-quicklinks a {
    padding: 10px 0;
    font-size: 14px;
    color: var(--light);
  }

  .nav-mobile-panel .btn { width: 100%; margin-top: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   COVER — home page title page
══════════════════════════════════════════════════════════════ */
.cover {
  padding: calc(var(--nav-h) + 104px) 24px 96px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}

/* Full-height video hero: fills the entire viewport and sits behind the
   fixed header (header--on-hero makes the header translucent black here,
   so the video shows through it rather than the header covering it). */
.cover--video {
  position: relative;
  height: 100vh;
  min-height: 560px; /* keeps title + sub + CTAs from cramping on short/landscape viewports */
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-dark) 100%);
}

@supports (height: 100svh) {
  .cover--video { height: 100svh; }
}

.cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Darkens the video so white hero text keeps WCAG AA contrast regardless
   of the footage's own brightness. */
.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 31, 0.55) 0%, rgba(20, 23, 31, 0.7) 100%);
  z-index: 1;
}

.cover--video .cover-inner { position: relative; z-index: 2; }

.cover--video .cover-meta { color: rgba(255, 255, 255, 0.75); }
.cover--video .cover-meta span:not(:last-child)::after { color: rgba(255, 255, 255, 0.4); }
.cover--video .cover-title { color: #fff; }
.cover--video .cover-title em { color: #A9C0FF; }
.cover--video .cover-sub { color: rgba(255, 255, 255, 0.88); }

.cover--video .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.cover--video .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.cover-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cover-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 28px;
}

.cover-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 10px;
  color: var(--line-strong);
}

.cover-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}

.cover-title em { font-style: normal; color: var(--brand); }

.cover-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 40px;
}

.cover-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Page hero (sub pages) ──────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 24px 56px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 800;
  color: var(--ink);
}

.page-hero-desc {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 580px;
  margin: 16px auto 0;
  line-height: 1.8;
}

/* Section index nav — quick jump within a sub page */
.page-jump {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-jump a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 16px;
  transition: border-color 0.15s, color 0.15s;
}

.page-jump a:hover { border-color: var(--brand); color: var(--brand); }

/* ══════════════════════════════════════════════════════════════
   HOME — teaser cards linking to sub pages
══════════════════════════════════════════════════════════════ */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.teaser-card {
  padding: 32px 24px;
  background: var(--paper);
  transition: background 0.18s;
}
.teaser-card:not(:last-child) { border-right: 1px solid var(--line); }
.teaser-card:hover { background: var(--paper-alt); }

.teaser-index {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}

.teaser-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.teaser-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.teaser-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT — sub-tabs (sticky + scrollspy) / Mission / CEO / History / Location
══════════════════════════════════════════════════════════════ */
/* Sticks to top: var(--nav-h) once scrolled to it, and un-sticks again once
   its container (the .container it's the first child of, which wraps every
   .about-block) scrolls past — so it never overlaps the footer. */
.subtabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: -28px;
  margin-bottom: 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.subtab-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 16px 2px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.subtab-link:hover { color: var(--brand); }

.subtab-link.is-active {
  color: var(--brand);
  font-weight: 700;
  border-bottom-color: var(--brand);
}

/* scroll-margin-top clears the fixed header (--nav-h) plus the sticky
   subtabs bar right below it, so a clicked tab's section doesn't land
   hidden underneath either. */
.about-block {
  margin-bottom: 72px;
  scroll-margin-top: calc(var(--nav-h) + 64px);
}
.about-block:last-child { margin-bottom: 0; }

.about-block-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* CEO greeting */
.ceo-quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  padding: 32px 36px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
}

.ceo-sign {
  margin-top: 20px;
  text-align: right;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.ceo-sign span {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--light);
  margin-top: 2px;
}

/* History timeline table */
.history-table { width: 100%; border-collapse: collapse; }
.history-table tr { border-bottom: 1px solid var(--line); }
.history-table tr:first-child { border-top: 1px solid var(--line); }

.history-table td {
  padding: 16px 8px;
  font-size: 14.5px;
  vertical-align: top;
}

.history-table td:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand);
  width: 100px;
  white-space: nowrap;
}

.history-table td:last-child { color: var(--ink-soft); }

/* Location */
.location-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.location-map {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 260px;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.location-info strong { color: var(--ink); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   HOME — overview full-width pane with vertical transparent tiles
══════════════════════════════════════════════════════════════ */
.overview-section {
  padding-top: 100px;
  padding-bottom: 0;
}

.overview-pane {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 480px;
  overflow: hidden;
  margin-top: 56px;
}

.overview-pane-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease; /* Ultra slow zoom */
}

.overview-pane:hover .overview-pane-bg {
  transform: scale(1.05);
}

.overview-pane-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 15, 30, 0.9) 0%,
    rgba(15, 23, 42, 0.8) 100%);
  z-index: 1;
}

.overview-pane-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 480px;
  box-sizing: border-box;
}

.overview-tile {
  position: relative;
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.3s;
}

/* Vertical separating lines between tiles */
.overview-tile:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-tile:hover {
  background: rgba(255, 255, 255, 0.03);
}

.overview-tile-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 24px;
  transition: color 0.3s;
}

.overview-tile:hover .overview-tile-num {
  color: #60A5FA;
}

.overview-tile-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.overview-tile-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 280px;
}

.overview-tile-more {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 6px 18px;
  width: fit-content;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.overview-tile:hover .overview-tile-more {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateX(4px);
}

/* Responsive mobile tiles */
@media (max-width: 900px) {
  .overview-pane-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 24px;
  }

  .overview-tile {
    padding: 48px 16px;
  }

  .overview-tile:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ══════════════════════════════════════════════════════════════
   BUSINESS AREAS
══════════════════════════════════════════════════════════════ */
.biz-grid {
  margin-left: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* Same bordered-grid recipe as .biz-grid, just 3 columns — used by the
   about page's 미션·비전·핵심가치 block, which reuses .biz-card for its
   three cards. */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.biz-card { padding: 32px 28px; background: var(--paper); }
.biz-card:not(:last-child) { border-right: 1px solid var(--line); }

.biz-index {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}

.biz-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.biz-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.biz-steps { display: flex; flex-direction: column; gap: 6px; }

.biz-steps li {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.biz-steps li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  transform: translateY(-3px);
}

.biz-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.biz-card-more svg { transition: transform 0.15s; }
.biz-card-more:hover svg { transform: translateX(3px); }



/* ══════════════════════════════════════════════════════════════
   HOME — customer center (quick link cards + gradient CTA)
══════════════════════════════════════════════════════════════ */
.cs-section {
  padding-bottom: var(--section-py);
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 24px;
}

.cs-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s;
}

.cs-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 78, 216, 0.25);
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.07);
}

.cs-card-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin-bottom: 20px;
  transition: color 0.3s;
}

.cs-card:hover .cs-card-num {
  color: var(--brand-dark);
}

.cs-card-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
}

.cs-card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  flex-grow: 1;
}

.cs-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  width: fit-content;
}

.cs-card:hover .cs-card-link {
  color: var(--brand-dark);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .cs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cs-card {
    padding: 36px 28px;
  }
}

@media (max-width: 900px) {
  .cs-pane-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 24px;
  }

  .cs-tile {
    padding: 36px 16px;
  }

  .cs-tile:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Gradient CTA banner */
.cs-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 40px 48px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #14171F 0%, #1E293B 50%, var(--brand-dark) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative dots pattern */
.cs-cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  pointer-events: none;
}

.cs-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.08);
  pointer-events: none;
}

.cs-cta-content {
  position: relative;
  z-index: 1;
}

.cs-cta-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cs-cta-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.cs-cta-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: #fff;
  color: var(--brand-dark) !important;
  font-weight: 700;
  border: none;
}

.cs-cta-btn:hover {
  background: #E0E7FF !important;
}

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-cta-banner { padding: 32px; }
}

@media (max-width: 640px) {
  .cs-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .cs-cta-btn { width: 100%; text-align: center; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   HOME — service showcase diagonal split layout (full-width)
══════════════════════════════════════════════════════════════ */
.svc-section {
  padding-top: 100px;
  padding-bottom: 0;
}

/* ── Full-width diagonal split container ── */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 540px;
  overflow: hidden;
  margin-top: 56px;
  background: #0f172a;
}

.svc-half {
  position: relative;
  width: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Background image layer */
.svc-half-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-half:hover .svc-half-bg {
  transform: scale(1.06);
}

/* Overlay layers */
.svc-half-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.svc-half-overlay--dark {
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.75) 100%);
}

.svc-half-overlay--brand {
  background: linear-gradient(135deg,
    rgba(29, 78, 216, 0.88) 0%,
    rgba(99, 102, 241, 0.78) 100%);
}

/* Stable Diagonal split clip paths — Left slants out, overlaps right completely with no gap */
.svc-half--left {
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  z-index: 2;
  margin-right: -10%; /* Pull left card over to overlap the right card completely */
  width: 110%; /* Compensate width for the overlap pull */
}

.svc-half--right {
  /* No clip-path needed since the left card overlays with clip-path, creating a seamless join */
  z-index: 1;
}

/* ── Content overlay ── */
.svc-half-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.svc-half--left .svc-half-content {
  margin-left: auto;
  padding-right: 10%;
}

.svc-half--right .svc-half-content {
  margin-right: auto;
  margin-left: 13%; /* Keep clear of the diagonal slant */
  padding-left: 0;
}

.svc-split-num {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 24px;
}

.svc-split-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  min-height: 2.6em; /* height of 2 text lines */
}

.svc-split-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.85;
  margin-bottom: 24px;
  min-height: 5.5em; /* height of 3 text lines */
}

/* Process step flow — horizontal */
.svc-split-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.svc-split-step {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 5px 14px;
}

.svc-split-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.svc-split-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-sm);
  padding: 11px 22px;
  transition: background 0.2s, gap 0.2s;
}

.svc-split-cta:hover {
  background: rgba(255, 255, 255, 0.28);
  gap: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-split {
    grid-template-columns: 1fr;
    min-height: auto;
    width: auto;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .svc-half {
    width: 100% !important;
    flex: 0 0 100% !important;
    min-height: 440px;
  }

  .svc-half--left {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    padding-right: 0;
    margin-right: 0;
  }

  .svc-half--right {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    margin-left: 0;
    margin-top: -6%;
  }

  .svc-half-content {
    padding: 60px 32px;
    max-width: none;
  }

  .svc-half--left .svc-half-content { padding-right: 32px; }
  .svc-half--right .svc-half-content { padding-left: 32px; margin-left: 0; }
}

@media (max-width: 640px) {
  .svc-half-content { padding: 48px 20px; }
  .svc-split-title { font-size: 26px; }
  .svc-split-steps { gap: 4px; }
  .svc-split-step { font-size: 11px; padding: 4px 10px; }
}

/* ══════════════════════════════════════════════════════════════
   HOME — product carousel (legacy, kept for backward compatibility)
══════════════════════════════════════════════════════════════ */
.carousel { position: relative; }

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.carousel-card h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.35;
}

.carousel-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 46ch; /* keeps the line measure readable even at full slide width */
}

.carousel-card .teaser-link { display: inline-block; font-size: 14px; }

.carousel-card-steps {
  padding: 24px 28px;
  background: var(--paper-alt);
  border-radius: var(--r-md);
}

/* Arrows float over the slide edges rather than taking up track width,
   so the slide itself can occupy the full carousel window. */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; /* WCAG touch target minimum */
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink-soft);
  background: var(--paper);
  box-shadow: 0 6px 16px rgba(20, 23, 31, 0.1);
  transition: border-color 0.15s, color 0.15s;
}
.carousel-btn:hover { border-color: var(--brand); color: var(--brand); }
.carousel-btn:disabled { opacity: 0.35; pointer-events: none; }
.carousel-btn--prev { left: -8px; }
.carousel-btn--next { right: -8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.15s, transform 0.15s;
}
.carousel-dot.is-active { background: var(--brand); transform: scale(1.25); }

/* ══════════════════════════════════════════════════════════════
   HOME — customer center CTA banner
══════════════════════════════════════════════════════════════ */
.cta-banner {
  margin-left: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   TRACK RECORD & NETWORK
══════════════════════════════════════════════════════════════ */
.partner-bar {
  margin-left: 60px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.partner-badge .partner-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: var(--r-sm);
  padding: 2px 8px;
}

.track-record-empty {
  margin-left: 60px;
  padding: 48px 32px;
  text-align: center;
  background: var(--paper-alt);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   CUSTOMER SUPPORT
══════════════════════════════════════════════════════════════ */
.support-list { margin-left: 60px; border-top: 1px solid var(--line); }

.support-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.support-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  flex-shrink: 0;
}

.support-row-title { color: var(--ink-soft); flex: 1; }
.support-row-date { color: var(--light); font-size: 13px; flex-shrink: 0; }

.resource-list {
  margin-left: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.resource-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.resource-icon svg { width: 17px; height: 17px; stroke: var(--brand); }

.resource-name { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.resource-sub { font-size: 12.5px; color: var(--light); margin-top: 2px; }

.resource-download {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--light);
  flex-shrink: 0;
}
.resource-download.active { color: var(--brand); cursor: pointer; }
.resource-download.active:hover { text-decoration: underline; }

/* Inquiry form */
.apply-form {
  margin-left: 60px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--muted); }

.form-group input, .form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.form-group input::placeholder, .form-group textarea::placeholder { color: #a1a1aa; }

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.apply-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  margin-top: 4px;
}

.btn-loading { pointer-events: none; opacity: 0.85; }

.spinner-dots { display: inline-flex; gap: 4px; align-items: center; }
.spinner-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; animation: dotPulse 1.2s ease-in-out infinite;
}
.spinner-dots span:nth-child(2) { animation-delay: 0.15s; }
.spinner-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.btn-success {
  background: var(--brand-tint) !important;
  color: var(--brand-dark) !important;
  pointer-events: none;
}
.btn-success svg { width: 16px; height: 16px; stroke: var(--brand-dark); flex-shrink: 0; }

.apply-msg { font-size: 14px; text-align: center; min-height: 20px; margin-top: 4px; line-height: 1.6; }
.apply-msg--error { color: #dc2626; }
.apply-msg--success { color: var(--brand-dark); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { padding: 40px 0; background: var(--ink); }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left { display: flex; flex-direction: column; gap: 16px; }

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark { height: 22px; width: auto; }
.footer-logo-word { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; }

.footer-info { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }
.footer-info span { display: inline; }
.footer-info span::before { content: '\00B7'; margin: 0 6px; color: rgba(255, 255, 255, 0.4); }
.footer-info span:first-child::before { display: none; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-links { display: flex; gap: 16px; }

.footer-link, .footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}
.footer-link:hover, .footer-links a:hover { color: rgba(255, 255, 255, 0.85); }

.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.4); }

/* ── Privacy Modal ─────────────────────────────────────────── */
.privacy-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 23, 31, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.privacy-modal-overlay.open { opacity: 1; visibility: visible; }

.privacy-modal-box {
  background: #fefefe;
  border-radius: var(--r-lg);
  width: 90%; max-width: 560px; max-height: 80vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.privacy-modal-overlay.open .privacy-modal-box { transform: translateY(0) scale(1); }

.privacy-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.privacy-modal-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); }

.privacy-modal-close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--light); transition: background 0.15s, color 0.15s;
}
.privacy-modal-close:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }

.privacy-modal-body { padding: 24px 28px 28px; overflow-y: auto; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.privacy-modal-body h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.privacy-modal-body h4:first-child { margin-top: 0; }
.privacy-modal-body p { margin-bottom: 8px; }
.privacy-modal-body ul { list-style: disc; padding-left: 20px; margin-bottom: 8px; }

/* ── Image lightbox (AI 교육의 결과 실습 예시 클릭 확대) ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(8, 9, 13, 0.98);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 60px 24px;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 100%; max-height: 78vh;
  border-radius: var(--r-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s;
}
.lightbox-overlay.open .lightbox-img { transform: scale(1); }
.lightbox-caption { margin-top: 18px; color: rgba(255, 255, 255, 0.85); font-size: 14px; text-align: center; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.proposal-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  background: var(--paper-alt);
  border-radius: var(--r-md);
}
.proposal-highlight-item { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; }
.proposal-highlight-label { flex-shrink: 0; width: 36px; font-weight: 700; color: var(--brand); }
.proposal-highlight-value { color: var(--ink-soft); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .cover-image {
    object-position: 20% center;
  }

  .biz-grid, .teaser-grid, .mission-grid { grid-template-columns: 1fr; }
  .biz-card:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
  .teaser-card:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }

  .location-row { grid-template-columns: 1fr; }
  .resource-list { grid-template-columns: 1fr; }

  .cover--video { min-height: 480px; }
  .carousel-card { grid-template-columns: 1fr; padding: 40px; }
  .carousel-btn--prev { left: 8px; }
  .carousel-btn--next { right: 8px; }
}

@media (max-width: 640px) {
  :root { --section-py: 56px; }

  .about-block, .biz-grid, .partner-bar, .track-record-empty,
  .support-list, .resource-list, .apply-form,
  .cta-banner {
    margin-left: 0;
  }

  .carousel-card { padding: 28px 24px; }

  .cta-banner { flex-direction: column; align-items: flex-start; }

  .doc-desc { margin-left: 0; }
  .doc-heading { gap: 14px; }
  .doc-num { width: 34px; height: 34px; font-size: 13px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .footer-left { align-items: center; }
  .footer-info span { display: block; }
  .footer-info span::before { display: none; }
  .footer-right { align-items: center; }

  .cover { padding: calc(var(--nav-h) + 64px) 24px 72px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 24px 48px; }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT US — history timeline
   (Inspired by reference image layout, vertical stack, descending)
 ══════════════════════════════════════════════════════════════ */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 0;
}

.timeline-year-group {
  display: flex;
  gap: 60px;
}

.timeline-year {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--brand);
  min-width: 110px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
}

/* Accent underline under the big year font */
.timeline-year::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand);
}

.timeline-items {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding-left: 32px;
  margin-top: 10px;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.timeline-dot {
  position: absolute;
  left: calc(-32px - 6px); /* exact align center of border-left line */
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  z-index: 2;
  box-sizing: border-box;
}

/* Hollow dot for the active current year items */
.timeline-dot--hollow {
  background: #ffffff !important;
  border: 2px solid var(--brand);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.timeline-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(29, 78, 216, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .timeline-year-group {
    flex-direction: column;
    gap: 20px;
  }
  
  .timeline-year {
    font-size: 32px;
    min-width: auto;
  }
  
  .timeline-items {
    padding-left: 24px;
    margin-top: 0;
  }
  
  .timeline-dot {
    left: calc(-24px - 6px);
  }
}

/* ════════════════════════════════════════════
   ABOUT, SUPPORT, & EDUCATION PAGE CUSTOM HERO
   ════════════════════════════════════════════ */
.page-hero--about,
.page-hero--support,
.page-hero--edu,
.page-hero--vectie {
  position: relative;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: calc(var(--nav-h) + 140px) 24px 130px;
  text-align: center;
  overflow: hidden;
}

.page-hero--about::before,
.page-hero--support::before,
.page-hero--edu::before,
.page-hero--vectie::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 18, 36, 0.72) 0%, rgba(15, 23, 42, 0.78) 100%);
  z-index: 1;
}

.page-hero--vectie::before {
  background: linear-gradient(rgba(10, 18, 36, 0.76) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}


.page-hero--about .page-hero-eyebrow,
.page-hero--support .page-hero-eyebrow,
.page-hero--edu .page-hero-eyebrow,
.page-hero--vectie .page-hero-eyebrow {
  color: #60a5fa; /* Brighter, high-contrast light blue */
  font-weight: 700;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.page-hero--about .page-hero-title,
.page-hero--support .page-hero-title,
.page-hero--edu .page-hero-title,
.page-hero--vectie .page-hero-title {
  color: #ffffff;
  font-size: clamp(34px, 4.8vw, 48px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin-top: 10px;
}

.page-hero--about .page-hero-desc,
.page-hero--support .page-hero-desc,
.page-hero--edu .page-hero-desc,
.page-hero--vectie .page-hero-desc {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  max-width: 620px;
  margin: 20px auto 0;
  line-height: 1.8;
  font-size: 16.5px;
}

/* Custom background position for support page to shift the image upward */
.page-hero--support {
  background-position: center 58%;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-hero--about,
  .page-hero--support,
  .page-hero--edu,
  .page-hero--vectie {
    padding: calc(var(--nav-h) + 80px) 20px 80px;
  }
}

/* Inquiry wrapper to support 2-column layout */
.inquiry-wrapper {
  display: flex;
  gap: 48px;
  align-items: stretch;
  margin-top: 24px;
}

.inquiry-wrapper .apply-form {
  flex: 1.2;
  max-width: 560px;
  margin-left: 0;
}

.inquiry-info-card {
  flex: 0.8;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  min-height: 440px;
  box-shadow: 0 12px 30px -10px rgba(20, 23, 31, 0.12);
  border: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(20, 23, 31, 0.24);
}

.inquiry-info-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.inquiry-info-card:hover .inquiry-info-bg {
  transform: scale(1.04);
}

.inquiry-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, 
    rgba(20, 23, 31, 0.96) 0%, 
    rgba(20, 23, 31, 0.85) 45%, 
    rgba(20, 23, 31, 0.40) 100%
  );
  z-index: 2;
}

.inquiry-info-content {
  position: relative;
  z-index: 3;
}

.inquiry-info-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.inquiry-info-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.6;
}

.inquiry-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inquiry-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #60a5fa;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.info-link {
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  display: inline-block;
  width: fit-content;
}

.info-link:hover {
  color: #60a5fa;
  text-decoration-color: #60a5fa;
}

@media (max-width: 900px) {
  .inquiry-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .inquiry-wrapper .apply-form {
    max-width: 100%;
  }

  .inquiry-info-card {
    min-height: 340px;
    padding: 32px;
  }
}

/* ══════════════════════════════════════════════════════════════
   SERVICE-EDUCATION PAGE
══════════════════════════════════════════════════════════════ */

/* ── 01 배경 및 필요성 ── */
.edu-why-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
}
.edu-why-chevron { display: flex; align-items: center; justify-content: center; }
.edu-why-chevron img {
  width: 18px; height: 18px;
  filter: invert(83%) sepia(6%) saturate(501%) hue-rotate(182deg) brightness(96%) contrast(89%);
}
.edu-why-card {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.edu-why-icon { width: 40px; height: 40px; margin-bottom: 18px; }
.edu-why-icon img {
  width: 100%; height: 100%;
  filter: invert(20%) sepia(75%) saturate(2500%) hue-rotate(215deg) brightness(90%) contrast(93%);
}
.edu-why-card h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.edu-why-card p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.edu-callout {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
/* Subtle decorative dots pattern, same recipe as .cs-cta-banner */
.edu-callout::before {
  content: '';
  position: absolute;
  top: -50px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.edu-callout::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 18%;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.edu-callout-title, .edu-callout-desc { position: relative; z-index: 1; }
.edu-callout-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.5; }
.edu-callout-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.75; }

/* ── 02 과정 소개 (티저) ── */
.edu-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.edu-course-card { padding: 30px 26px; background: var(--paper); }
.edu-course-card:not(:last-child) { border-right: 1px solid var(--line); }
.edu-course-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.edu-course-tag.intro { background: #EFF6FF; color: #1D4ED8; }
.edu-course-tag.use   { background: #F0FDF4; color: #16A34A; }
.edu-course-tag.deep  { background: #FAF5FF; color: #7C3AED; }
.edu-course-card h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.edu-course-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.edu-course-examples { display: flex; flex-direction: column; gap: 7px; }
.edu-course-examples li { font-size: 13px; color: var(--ink-soft); display: flex; align-items: baseline; gap: 8px; }
.edu-course-examples li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--line-strong); flex-shrink: 0; transform: translateY(-3px);
}
.edu-course-note { text-align: center; font-size: 13.5px; color: var(--muted); }
.edu-course-note strong { color: var(--brand); font-weight: 700; }

/* ── 03 AI 교육의 결과 ── */
.edu-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.edu-stat-card { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.edu-stat-num { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em; }
.edu-stat-num span { font-size: 16px; font-weight: 600; color: var(--brand); margin-left: 2px; }
.edu-stat-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.edu-stat-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

.edu-sample-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.edu-sample-card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-alt); cursor: pointer; }
.edu-sample-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.edu-sample-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.35s ease; }
.edu-sample-card:hover img, .edu-sample-card:focus-visible img { transform: scale(1.06); }
.edu-sample-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.85));
  padding: 16px 14px 12px;
}
.edu-sample-tag { font-size: 10px; font-weight: 700; color: #93C5FD; margin-bottom: 3px; }
.edu-sample-title { font-size: 12.5px; font-weight: 700; color: #fff; }

/* ── 04 방문 세션 구성 ── */
.edu-visit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.edu-visit-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; }
.edu-visit-card.hl { border-color: var(--brand); }
.edu-visit-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.edu-visit-icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.edu-visit-icon.gray { background: var(--paper-alt); color: var(--light); }
.edu-visit-type { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.edu-visit-type.gray { color: var(--light); }
.edu-visit-name { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); }
.edu-visit-badge { display: inline-block; width: fit-content; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; background: #EFF6FF; color: var(--brand); margin-bottom: 18px; }
.edu-visit-badge.gray { background: var(--paper-alt); color: var(--muted); }
.edu-visit-items { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.edu-visit-item { display: flex; gap: 12px; align-items: flex-start; }
.edu-visit-num { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.edu-visit-num.gray { background: var(--line); color: var(--muted); }
.edu-visit-item-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.edu-visit-item-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.edu-visit-notice { margin-top: 18px; padding: 12px 16px; border-radius: var(--r-md); background: #EFF6FF; color: var(--brand); font-size: 12.5px; font-weight: 500; line-height: 1.6; }
.edu-visit-notice.gray { background: var(--paper-alt); color: var(--muted); }

/* ── 05 플랜 및 가격 (티저) ── */
.edu-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.edu-plan-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; display: flex; flex-direction: column; }
.edu-plan-card.rec { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.edu-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 20px; padding: 4px 16px; white-space: nowrap; }
.edu-plan-name { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 6px; }
.edu-plan-cycle { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.edu-plan-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.edu-plan-features li { font-size: 13px; color: var(--ink-soft); display: flex; align-items: baseline; gap: 8px; }
.edu-plan-features li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); flex-shrink: 0; transform: translateY(-3px); }
.edu-plan-service {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  padding: 9px 12px;
  margin-bottom: 16px;
}
.edu-plan-service-badge {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 20px;
  padding: 3px 9px;
  letter-spacing: 0.01em;
}
.edu-plan-service-text { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.edu-plan-service-text strong { color: var(--brand); font-weight: 700; }
.edu-plan-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--light); text-align: center; }
.edu-plan-note { text-align: center; font-size: 13.5px; color: var(--muted); }
.edu-plan-note strong { color: var(--brand); font-weight: 700; }

/* ── 06 SW 개발 ── */
.edu-sw-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.edu-sw-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; }
.edu-sw-tag { font-size: 11.5px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.edu-sw-card h4 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 10px; }
.edu-sw-card > p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.edu-sw-list { display: flex; flex-direction: column; margin-bottom: 16px; }
.edu-sw-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--paper-alt); gap: 12px; }
.edu-sw-item:first-child { padding-top: 0; }
.edu-sw-item:last-child { border-bottom: none; padding-bottom: 0; }
.edu-sw-item-name { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.edu-sw-item-sub { font-size: 12px; color: var(--light); }
.edu-sw-item-price { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.edu-sw-discount { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #EFF6FF; border-radius: var(--r-md); padding: 14px 18px; }
.edu-sw-discount-title { font-size: 13.5px; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.edu-sw-discount-desc { font-size: 12.5px; color: var(--muted); }
.edu-sw-discount-badge { background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; border-radius: 20px; padding: 7px 18px; white-space: nowrap; }
.edu-sw-examples { display: flex; flex-direction: column; gap: 10px; }
.edu-sw-ex { background: var(--paper-alt); border-radius: var(--r-md); padding: 14px 16px; }
.edu-sw-ex-size { font-size: 12px; font-weight: 700; color: var(--brand); margin-bottom: 5px; }
.edu-sw-ex-list { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ── 08 강사소개 (제안서 원본 레이아웃, 불릿형 이력) ── */
.edu-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.edu-team-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px; display: flex; flex-direction: column; }
.edu-team-role { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 4px; }
.edu-team-name { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.edu-team-spec { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.edu-team-items { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.edu-team-items li { position: relative; padding-left: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }
.edu-team-items li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
}
.edu-team-items .badge {
  display: inline-block; margin-left: 2px;
  background: var(--brand-tint); color: var(--brand);
  font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; letter-spacing: 0.01em;
}
.edu-team-footer { margin-top: 14px; border-radius: var(--r-md); padding: 10px 14px; font-size: 14px; line-height: 1.6; font-style: italic; background: var(--paper-alt); color: var(--ink); }

@media (max-width: 900px) {
  .edu-why-grid, .edu-course-grid, .edu-stat-grid, .edu-visit-grid,
  .edu-plan-grid, .edu-sw-grid, .edu-team-grid {
    grid-template-columns: 1fr;
  }
  .edu-course-card:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
  .edu-sample-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-callout { flex-direction: column; align-items: flex-start; text-align: left; }
  .edu-why-chevron { transform: rotate(90deg); }
}

@media (max-width: 560px) {
  .edu-sample-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   VECTIE SERVICE PAGE CUSTOM STYLES (.vt-)
   ════════════════════════════════════════════ */
.vt-overview-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.vt-overview-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vt-overview-text p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
}
.vt-overview-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}
.vt-overview-media:hover {
  transform: translateY(-4px);
}
.vt-overview-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature grid */
.vt-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.vt-feature-card {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
}
.vt-feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: #1e40af;
}
.vt-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1;
}
.vt-feature-card h4 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.vt-feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* Workflow Flow Section */
.vt-flow-sec {
  margin-top: 80px;
  background: var(--paper-alt);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  border: 1px solid var(--line);
}
.vt-flow-title {
  text-align: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 40px;
}
.vt-flow-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
}
.vt-flow-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.vt-flow-step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.vt-flow-step h5 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.vt-flow-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.vt-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vt-flow-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--light);
}

@media (max-width: 900px) {
  .vt-overview-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vt-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vt-flow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vt-flow-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }
}


