@charset "utf-8";
/* =========================================================
   BTMS Redesign — sub.css (서브페이지 공용 컴포넌트)
   theme.css → header.css → footer.css → sub.css 순서로 로드
   ========================================================= */

/* =========================================================
   Sub hero (페이지 상단 배너)
   ========================================================= */
.sub-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  background: var(--brand-deep);
  overflow: hidden;
  text-align: center;
}
.sub-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(8, 24, 42, 0.86) 0%,
    rgba(15, 23, 42, 0.66) 55%,
    rgba(30, 64, 175, 0.5) 100%
  );
}
.sub-hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 66%);
  top: -220px;
  right: -120px;
  filter: blur(30px);
  z-index: 1;
}
.sub-hero .container {
  position: relative;
  z-index: 2;
}
.sub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dbeafe;
  margin-bottom: 22px;
}
.sub-hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #fff;
}
.sub-hero-title strong {
  color: #93c5fd;
  font-weight: 800;
}
.sub-hero-desc {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* =========================================================
   Sub nav (탭 메뉴)
   ========================================================= */
.sub-nav {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.sub-nav .container {
  display: flex;
  justify-content: center;
}
.sub-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
}
.sub-nav a {
  display: block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.sub-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.sub-nav li.on a {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.28);
}

/* =========================================================
   Sub main wrapper
   ========================================================= */
.sub-main {
  padding: 110px 0;
}
.sub-main .sec {
  padding: 0;
}
.sub-main .sec + .sec {
  padding-top: 110px;
}
.sub-section + .sub-section {
  margin-top: 100px;
}
.intro-lead {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}
.intro-lead .intro-strong {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.intro-lead .intro-strong .grad {
  color: var(--brand);
}
.intro-lead .intro-sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.85;
  color: var(--gray-600);
}
.intro-lead .intro-sub strong {
  color: var(--brand-ink);
  font-weight: 700;
}

/* 사업 영역 카테고리 탭 */
.biz-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.biz-tab {
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.biz-tab:hover {
  border-color: var(--primary-300);
  color: var(--brand);
}
.biz-tab.selected {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.28);
}
.biz-panel {
  display: none;
}
.biz-panel.active {
  display: block;
}
.biz-desc {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.85;
  color: var(--gray-600);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 30px 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(6px);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.contact-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.contact-btn .cb-ico {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
}
.contact-btn .cb-ico svg {
  width: 24px;
  height: 24px;
}
.contact-btn .cb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.contact-btn .cb-text b {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}
.contact-btn .cb-text em {
  font-style: normal;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
} /* 카카오톡 — 브랜드 옐로 아이콘 */
.contact-btn.kakao .cb-ico {
  background: #fee500;
  color: #3c1e1e;
}
@media (max-width: 640px) {
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-btn {
    justify-content: flex-start;
  }
}

/* shared block heading (sec-head 재사용 가능) */
.block-head {
  margin-bottom: 48px;
}
.block-head.center {
  text-align: center;
}

/* =========================================================
   Prose / 본문 텍스트
   ========================================================= */
.prose {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.prose p + p {
  margin-top: 1.2em;
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}
.lead {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lead .grad {
  color: var(--brand);
}

/* CEO 인사말 레이아웃 */
.ceo-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.ceo-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(13, 40, 64, 0.16);
}
.ceo-figure img {
  width: 100%;
}
.ceo-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 26px 22px;
  background: linear-gradient(transparent, rgba(8, 24, 42, 0.82));
  color: #fff;
}
.ceo-figure figcaption .role {
  font-size: 14px;
  opacity: 0.8;
}
.ceo-figure figcaption .name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sign {
  margin-top: 36px;
  font-size: 17px;
  color: var(--ink-2);
}
.sign b {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-left: 12px;
  letter-spacing: -0.02em;
}

/* =========================================================
   Feature / 카드 그리드 (공용)
   ========================================================= */
.card-grid {
  display: grid;
  gap: 22px;
}
.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.r-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.r-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(13, 40, 64, 0.13);
}
.r-card .r-ico {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}
.r-card:hover .r-ico {
  background: var(--grad);
  color: #fff;
}
.r-card .r-ico svg {
  width: 30px;
  height: 30px;
}
.r-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.r-card p {
  font-size: 15.5px;
  color: var(--gray-600);
  line-height: 1.65;
}
.r-card .r-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-300);
}

/* 어두운 강조 카드 */
.r-card.dark {
  background: var(--grad-deep);
  border: none;
  color: #fff;
}
.r-card.dark h3 {
  color: #fff;
}
.r-card.dark p {
  color: rgba(255, 255, 255, 0.82);
}
.r-card.dark .r-ico {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* =========================================================
   Image + text 교차 블록
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(13, 40, 64, 0.15);
}
.split-media img {
  width: 100%;
}

/* =========================================================
   Timeline (연혁)
   ========================================================= */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 36px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--primary-300), var(--line));
}
.tl-item {
  position: relative;
  padding-bottom: 46px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.tl-year {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  margin-bottom: 16px;
}
.tl-list {
  display: grid;
  gap: 12px;
}
.tl-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.tl-month {
  flex: 0 0 56px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--ink-2);
  border-radius: 999px;
  padding: 3px 0;
  text-align: center;
}
.tl-desc {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   Org chart (조직도)
   ========================================================= */
.org {
  text-align: center;
}
.org-node {
  display: inline-block;
  min-width: 200px;
  padding: 18px 28px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 34px rgba(30, 64, 175, 0.28);
}
.org-node.lv2 {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(13, 40, 64, 0.08);
}
.org-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  position: relative;
}
.org-row::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 22px;
  background: var(--line);
}
.org-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  min-width: 180px;
}
.org-col h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 12px;
}
.org-col li {
  font-size: 14.5px;
  color: var(--gray-600);
  padding: 4px 0;
}

/* =========================================================
   Stats / 숫자 (재사용)
   ========================================================= */
.fig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fig {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 24px;
  text-align: center;
}
.fig .num {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.fig .num span {
  background: linear-gradient(135deg, #1e40af 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fig .num em {
  font-style: normal;
  font-size: 0.5em;
  font-weight: 700;
  color: var(--primary-400);
  margin-left: 2px;
}
.fig .label {
  margin-top: 12px;
  font-size: 15px;
  color: var(--gray-600);
}

/* =========================================================
   Map / 찾아오시는 길
   ========================================================= */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(13, 40, 64, 0.12);
}
.map-frame iframe,
.map-frame .root_daum_roughmap {
  width: 100% !important;
}
.directions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.dir-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.dir-card .dir-ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.dir-card .dir-ico svg {
  width: 26px;
  height: 26px;
}
.dir-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dir-card p {
  font-size: 15.5px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =========================================================
   Logo / 고객사 그리드
   ========================================================= */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.logo-cell {
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 22px;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.logo-cell:hover {
  border-color: var(--primary-300);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.12);
}
.logo-cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition:
    filter 0.35s var(--ease),
    opacity 0.35s var(--ease);
}
.logo-cell:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* =========================================================
   Portfolio / 실적 그리드 (썸네일 카드)
   ========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(13, 40, 64, 0.13);
}
.pf-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pf-card:hover .pf-thumb img {
  transform: scale(1.07);
}
.pf-body {
  padding: 22px 24px 26px;
}
.pf-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pf-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 5px 11px;
  border-radius: 999px;
}

/* =========================================================
   Cert / 인증서 갤러리
   ========================================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(13, 40, 64, 0.13);
}
.cert-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.cert-card .cert-name {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
}

/* =========================================================
   Modal (인증서/실적 상세)
   ========================================================= */
.r-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(8, 16, 28, 0.7);
  backdrop-filter: blur(4px);
  padding: 24px;
}
.r-modal.open {
  display: grid;
}
.r-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  padding: 40px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
}
.r-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-2);
  display: grid;
  place-items: center;
}
.r-modal-close:hover {
  background: var(--line);
}
.r-modal-box img {
  width: 100%;
  border-radius: var(--radius-sm);
}
.r-modal-box h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* =========================================================
   Board / 게시판 목록
   ========================================================= */
.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.board-count {
  font-size: 15px;
  color: var(--gray-600);
}
.board-count b {
  color: var(--brand);
  font-weight: 700;
}
.search-bar {
  display: flex;
  gap: 8px;
}
.search-bar select,
.search-bar input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.search-bar input {
  min-width: 220px;
}
.search-bar button {
  height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}
.board-table th {
  padding: 16px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.board-table td {
  padding: 18px 14px;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.board-table td.subject {
  text-align: left;
}
.board-table td.subject a {
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}
.board-table td.subject a:hover {
  color: var(--brand);
}
.board-table tr:hover td {
  background: var(--brand-soft);
}
.board-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 3px 12px;
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
}
.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all 0.2s var(--ease);
}
.pagination a:hover {
  border-color: var(--primary-300);
  color: var(--brand);
}
.pagination .active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.pagination .disabled {
  opacity: 0.35;
  cursor: default;
}

/* result 카테고리 탭 (PM 실적 / BTMS Service) */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.cat-tabs li {
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: #fff;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.cat-tabs li:hover {
  border-color: var(--primary-300);
  color: var(--brand);
}
.cat-tabs li.selected {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.28);
}
.result-empty {
  text-align: center;
  color: var(--ink-2);
  padding: 60px 0;
  font-size: 16px;
}

/* =========================================================
   Form / 폼
   ========================================================= */
.form-table {
  width: 100%;
  border-top: 2px solid var(--ink);
}
.form-table th,
.form-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.form-table th {
  width: 180px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--bg-soft);
}
.form-table .req {
  color: #e11d48;
  margin-left: 4px;
}
.field {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}
textarea.field {
  min-height: 200px;
  resize: vertical;
  line-height: 1.7;
}
.form-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.agree-box {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  background: var(--bg-soft);
}
.agree-box .agree-text {
  max-height: 180px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.agree-check {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

/* =========================================================
   Buttons (공용)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.26);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(30, 64, 175, 0.34);
}
.btn-line {
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.btn-line:hover {
  border-color: var(--primary-300);
  color: var(--brand);
}
.btn-ghost {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.btn-ghost:hover {
  background: var(--primary-100);
}

.more-row {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* =========================================================
   Contact CTA band (재사용)
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--brand-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 64px 40px;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.28),
    transparent 66%
  );
  top: -200px;
  right: -100px;
  filter: blur(20px);
}
.cta-band > * {
  position: relative;
  z-index: 2;
}
.cta-band h3 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
}
.cta-band .btn {
  margin-top: 28px;
  background: #fff;
  color: var(--brand-deep);
}

/* =========================================================
   Sitemap
   ========================================================= */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sitemap-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.sitemap-col h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-ink);
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sitemap-col li {
  padding: 7px 0;
}
.sitemap-col a {
  font-size: 15.5px;
  color: var(--ink-2);
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.sitemap-col a:hover {
  color: var(--brand);
  padding-left: 5px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .ceo-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .fig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .sub-hero {
    min-height: 320px;
    padding: 110px 0 50px;
  }
  .sub-nav {
    top: 64px;
  }
  .sub-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
  }
  .sub-main {
    padding: 64px 0;
  }
  .sub-main .sec + .sec,
  .sub-section + .sub-section {
    margin-top: 64px;
  }
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .fig-grid,
  .logo-grid,
  .portfolio-grid,
  .cert-grid,
  .directions,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .form-table th {
    width: 110px;
    padding: 14px;
  }
  .r-modal-box {
    padding: 26px;
  }
  .board-table th:nth-child(1),
  .board-table td:nth-child(1) {
    display: none;
  }
}
