@charset "UTF-8";

/* =========================================================
   about.css — 회사소개 (밝은 + 컬러 그라데이션 블록, company01 전용)
   home.css 변수 사용.
   ========================================================= */

#wrap { background: #ffffff; }

/* company01은 밝은 히어로 → 헤더를 흰 톤으로 고정 */
header,
header.scroll {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(10, 16, 30, 0.06);
}
header .logo a,
header.scroll .logo a {
  background: url('../img/klcns_logo.png') center center / contain no-repeat;
}
header .gnb_list a,
header.scroll .gnb_list a { color: #3a3939; }
header .gnb_list > li:hover > a,
header.scroll .gnb_list > li:hover > a { color: #0070c0; }
/* 밝은 페이지는 헤더가 흰색 → 도입문의 버튼은 블루 채움 (글래스 아님) */
header .intro_btn,
header.scroll .intro_btn {
  background: linear-gradient(135deg, #0070c0, #1f8fe6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 112, 192, 0.34);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* 흰 헤더이므로 햄버거(트리거) 막대도 어둡게 — 기본 흰색이라 태블릿/모바일에서 안 보이는 문제 수정 */
.trigger span,
header.scroll .trigger span { background: #3a3939 !important; }

/* =====================  HERO (밝은 + 그라데이션 블록)  ===================== */
.ab-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 16vw, 220px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(48% 60% at 100% 0%, rgba(139, 123, 255, 0.16) 0%, transparent 60%),
    radial-gradient(52% 70% at 0% 100%, rgba(0, 112, 192, 0.12) 0%, transparent 55%),
    #f4f8fd;
}
.ab-hero::after {
  content: '';
  position: absolute;
  top: 14%;
  right: -70px;
  width: 360px;
  height: 360px;
  border-radius: 42% 58% 55% 45% / 52% 45% 55% 48%;
  background: linear-gradient(135deg, #4db8ff, #8b7bff);
  opacity: 0.18;
  filter: blur(6px);
}
.ab-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 50px;
}
.ab-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.ab-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.ab-title .accent {
  background: linear-gradient(90deg, #0070c0, #8b7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-lead {
  margin: 26px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--ink-2);
}
.ab-stats {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: clamp(28px, 5vw, 72px);
}
.ab-stat b {
  display: block;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.ab-stat b small { font-size: 0.46em; font-weight: 700; color: var(--brand); margin-left: 2px; }
.ab-stat span {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* =====================  SUB NAV (sticky pill)  ===================== */
.ab-nav-wrap {
  position: sticky;
  top: 70px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.ab-nav {
  display: inline-flex;
  gap: 6px;
  padding: 7px;
  border-radius: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.ab-nav a {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-3);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.ab-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.ab-nav a.active {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
}

/* =====================  SECTION 공통  ===================== */
.ab-section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 50px;
}
.ab-section + .ab-section { padding-top: 0; }
.ab-head { margin-bottom: clamp(34px, 4vw, 52px); }
.ab-sec-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.ab-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* =====================  CEO MESSAGE  ===================== */
.ab-quote {
  margin: 0;
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #efeaff 100%);
  border: 1px solid var(--line);
}
.ab-quote::before {
  content: '\201C';
  position: absolute;
  top: 2px;
  left: 28px;
  font-size: 130px;
  line-height: 1;
  color: rgba(0, 112, 192, 0.16);
  font-family: Georgia, serif;
}
.ab-quote p {
  position: relative;
  margin: 0 0 20px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--ink-2);
}
.ab-quote footer {
  margin-top: 30px;
  text-align: right;
  font-size: 15px;
  color: var(--ink-3);
  background: transparent; /* 전역 footer 배경(#0c1623) 상속 방지 */
}
.ab-quote footer b { color: var(--ink); font-size: 18px; font-weight: 800; margin-left: 6px; }

/* =====================  COMPANY INFO  ===================== */
.ab-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ab-info-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.ab-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 112, 192, 0.2);
  transform: translateY(-4px);
}
.ab-info-wide { grid-column: span 3; }
.ab-info-k { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.02em; }
.ab-info-v { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }

/* =====================  PARTNERS  ===================== */
.ab-partners-sec { max-width: none; }
.ab-partners-sec .ab-head,
.ab-partners-sec .ab-pt-marquee { max-width: 1180px; margin-left: auto; margin-right: auto; }
.ab-pt-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ab-pt-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: abPtScroll 42s linear infinite;
}
.ab-pt-marquee:hover .ab-pt-track { animation-play-state: paused; }
@keyframes abPtScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ab-pt {
  flex: 0 0 auto;
  width: 200px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ab-pt:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ab-pt img { max-width: 100%; max-height: 48px; object-fit: contain; }

/* =====================  연혁 타임라인  ===================== */
.ab-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 44px;
}
.ab-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(0, 112, 192, 0.15));
}
.ab-tl { position: relative; padding-bottom: 46px; }
.ab-tl:last-child { padding-bottom: 0; }
.ab-tl::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 112, 192, 0.12);
}
.ab-tl-year {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin-bottom: 14px;
  line-height: 1;
}
.ab-tl-list { list-style: none; margin: 0; padding: 0; }
.ab-tl-list li {
  position: relative;
  padding: 7px 0 7px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.ab-tl-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
}
.ab-tl-list li.key { font-weight: 700; color: var(--ink); }

/* =====================  Certification 그리드  ===================== */
.ab-cert {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ab-cert a {
  display: block;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.ab-cert a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 112, 192, 0.2);
}
.ab-cert img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 8px; }
.ab-cert p { margin: 14px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* =====================  조직도 (HTML/CSS 차트)  ===================== */
.org {
  text-align: center;
  padding: clamp(28px, 4.5vw, 56px) clamp(12px, 3vw, 40px);
  background: radial-gradient(115% 80% at 50% 0%, rgba(0, 112, 192, 0.06), transparent 62%);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}
.org-r {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 16px;
}
.org-down {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(to bottom, var(--brand), rgba(0, 112, 192, 0.25));
  border-radius: 2px;
}
.org-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 158px;
  padding: 20px 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px -16px rgba(12, 27, 42, 0.28);
  transition: transform var(--ease, 0.3s), box-shadow var(--ease, 0.3s), border-color var(--ease, 0.3s);
}
.org-box::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  opacity: 0;
  transition: opacity var(--ease, 0.3s);
}
.org-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px -18px rgba(0, 112, 192, 0.4);
  border-color: rgba(0, 112, 192, 0.32);
}
.org-box:hover::after { opacity: 1; }
.org-box .ob-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 16px;
  color: var(--brand);
  background: var(--brand-soft);
}
.org-box .ob-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.org-box .ob-d {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3, #8a99a8);
}
/* 대표이사 */
.org-box.ceo {
  min-width: 220px;
  padding: 22px 40px;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--brand-bright));
  box-shadow: 0 20px 42px -16px rgba(0, 112, 192, 0.6);
}
.org-box.ceo > i {
  font-size: 22px;
  margin-bottom: 2px;
  opacity: 0.95;
}
.org-box.ceo .ob-t { font-size: 19px; color: #fff; }
.org-box.ceo .ob-d {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
}
/* 기술본부 강조 */
.org-box.hq { border-color: rgba(0, 112, 192, 0.32); }
.org-box.hq::after { opacity: 1; }
.org-box.hq .ob-ic { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-bright)); }
/* 산하 팀 */
.org-box.team { min-width: 142px; padding: 16px 18px 15px; }
.org-box.team .ob-ic { width: 34px; height: 34px; font-size: 14px; }
.org-box.team .ob-t { font-size: 14px; color: var(--ink-2); }
.org-box.team .ob-d { font-size: 11px; }
/* 분기 커넥터: 상단 가로선 + 각 박스 위 수직선 */
.org-branch {
  position: relative;
  padding-top: 34px;
}
.org-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(0, 112, 192, 0.22);
  border-radius: 2px;
}
.org-branch .org-box::before {
  content: '';
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 34px;
  background: rgba(0, 112, 192, 0.22);
}
.org-sub {
  position: relative;
  margin: 34px auto 0;
  width: max-content;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  background: rgba(0, 112, 192, 0.1);
  border: 1px solid rgba(0, 112, 192, 0.18);
  border-radius: 999px;
}
.org-sub::before {
  content: '';
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 34px;
  background: rgba(0, 112, 192, 0.22);
}
/* 태블릿·모바일 공통: 기술본부를 본부 행 맨 끝(홀로)에 두어
   바로 아래 '기술본부 산하' 팀들과 연결성이 보이도록 */
@media (max-width: 1023px) {
  .org-branch::before { left: 6%; right: 6%; }
  .org-box { min-width: 0; flex: 1 1 42%; padding: 14px 10px; }
  .org-box .ob-t { font-size: 13px; }
  .org-box.ceo { flex: 0 0 auto; }
  /* 홀로 있는 줄에서 전체 폭으로 늘어나지 않도록 grow 차단 */
  .org-branch .org-box.hq { order: 1; flex-grow: 0; }
}
/* 태블릿: 본부 4개를 한 줄(4열)에 두고 기술본부만 다음 줄 홀로 가운데 */
@media (min-width: 768px) and (max-width: 1023px) {
  .org-branch .org-box { flex: 1 1 22%; }
  .org-branch .org-box.hq { flex-basis: 24%; }
}

/* =====================  찾아오시는길  ===================== */
.ab-map iframe {
  width: 100%;
  height: clamp(340px, 42vw, 520px);
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
}
.ab-loc {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
.ab-loc-card {
  padding: 28px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.ab-loc-card h3 { margin: 0 0 16px; font-size: clamp(18px, 2vw, 24px); font-weight: 800; color: var(--ink); }
.ab-loc-card .ab-loc-row { font-size: 15px; color: var(--ink-2); line-height: 1.7; padding-bottom: 6px; }
.ab-loc-card .ab-loc-row b { color: var(--brand); font-weight: 700; margin-right: 8px; }
.ab-loc-traffic h4 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--ink); }
.ab-loc-traffic .ab-loc-row { font-size: 14.5px; }

/* =====================  구축사례 (Reference)  ===================== */
.ref-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.ref_tab {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 32px -20px rgba(12, 27, 42, 0.3);
}
.ref_tab li {
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: color var(--ease, 0.3s), background var(--ease, 0.3s);
}
.ref_tab li:hover { color: var(--brand); }
.ref_tab li.select {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  box-shadow: 0 8px 20px -8px rgba(0, 112, 192, 0.5);
}
.ref_tab_content ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ref_tab_content li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px -12px rgba(12, 27, 42, 0.16);
  transition: transform var(--ease, 0.3s), box-shadow var(--ease, 0.3s), border-color var(--ease, 0.3s);
}
.ref_tab_content li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -16px rgba(0, 112, 192, 0.3);
  border-color: rgba(0, 112, 192, 0.25);
}
.ref_tab_content li img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .ref_tab li { padding: 9px 16px; font-size: 13.5px; }
  .ref_tab_content ul { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
  .ref_tab_content li { padding: 14px; }
}
/* 구축사례 탭: 한 줄이 안 되는 좁은 화면에서만 2열 2행 */
@media (max-width: 400px) {
  .ref_tab { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 320px; }
  .ref_tab li { text-align: center; }
}

/* =====================  문의하기 · 고객센터  ===================== */
.cs-main {
  text-align: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #004a87, #0070c0 55%, #1f8fe6);
  color: #fff;
  box-shadow: 0 24px 50px -24px rgba(0, 112, 192, 0.5);
}
.cs-label {
  display: inline-block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.cs-tel {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff;
  text-decoration: none; letter-spacing: -0.01em;
}
.cs-tel i { font-size: 0.66em; opacity: 0.9; }
.cs-hours { margin: 16px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
/* 400px대 좁은 화면: 점심시간을 다음 줄로 (단어 중간 줄바꿈 방지) */
@media (max-width: 459px) {
  .cs-hours .cs-sep { display: none; }
  .cs-hours .cs-lunch { display: block; margin-top: 2px; }
}
.cs-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cs-card {
  text-align: center; padding: 36px 24px;
  border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 28px -18px rgba(12, 27, 42, 0.22);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px -18px rgba(0, 112, 192, 0.32);
  border-color: rgba(0, 112, 192, 0.25);
}
.cs-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin-bottom: 18px;
  border-radius: 17px; font-size: 24px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  box-shadow: 0 12px 26px -10px rgba(0, 112, 192, 0.5);
}
.cs-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--ink); }
.cs-num { font-size: 19px; font-weight: 800; color: var(--brand); text-decoration: none; letter-spacing: -0.01em; }
.cs-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--brand); text-decoration: none; }
.cs-link i { font-size: 12px; }

/* =====================  문의하기 · 견적문의 폼  ===================== */
.ab-section-narrow { max-width: 760px; }
.est-form fieldset { border: 0; margin: 0; padding: 0; }
.est-form legend { display: none; }
.est-form .e_form { list-style: none; margin: 0 0 4px; padding: 0; }
.est-field { margin-bottom: 20px; }
.est-field > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.est-field .req { color: #e5484d; margin-left: 3px; }
.est-input, .est-select, .est-textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.est-input::placeholder, .est-textarea::placeholder { color: #9aa7b4; }
.est-input:focus, .est-select:focus, .est-textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.12);
}
.est-textarea { resize: vertical; min-height: 120px; }
.est-sub-label { display: block; margin: 10px 0 7px; font-size: 13px; color: var(--ink-3); }
.est-hint { margin: 10px 0; padding: 14px 16px; background: var(--bg-soft); border-radius: 11px; }
.est-hint p { margin: 0 0 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.est-hint p:last-child { margin: 0; }
.est-privacy { margin: 24px 0; padding: 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; }
.est-privacy h4 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--ink); }
.est-pv-desc { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.est-privacy table { width: 100%; border-collapse: collapse; font-size: 12.5px; background: #fff; border-radius: 8px; overflow: hidden; }
.est-privacy th, .est-privacy td { border: 1px solid var(--line); padding: 11px; text-align: center; }
.est-privacy th { background: var(--brand-soft); font-weight: 700; color: var(--ink); }
.est-keep { font-weight: 700; color: var(--brand); }
.est-pv-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.est-pv-note a { color: var(--brand); font-weight: 600; }
.est-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; cursor: pointer; }
.est-agree input { margin: 2px 0 0; width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.est-agree span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.est-actions { display: flex; gap: 12px; margin-top: 8px; }
.est-btn { border: 0; border-radius: 13px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s, background .2s; }
.est-btn-primary { flex: 1; padding: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-bright)); box-shadow: 0 14px 30px -12px rgba(0, 112, 192, 0.6); }
.est-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(0, 112, 192, 0.7); }
.est-btn-ghost { flex: 0 0 auto; padding: 16px 30px; background: #eef2f6; color: var(--ink-2); }
.est-btn-ghost:hover { background: #e3e9ef; }
@media (max-width: 768px) {
  .cs-grid { grid-template-columns: 1fr; }
}

/* =====================  새소식 (게시판)  ===================== */
.notice_table { width: 100%; }
.notice_table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.notice_table thead td {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
  background: var(--bg-soft);
  border-bottom: 2px solid rgba(0, 112, 192, 0.18);
}
.notice_table thead td:nth-child(2) { text-align: left; }
.notice_table tbody td {
  padding: 18px;
  font-size: 14.5px;
  text-align: center;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice_table tbody td:nth-child(2) { text-align: left; white-space: normal; }
/* 제목이 잘려 가려지지 않게 최대 2줄까지 표시(넘치면 말줄임) */
.notice_table tbody td:nth-child(2) a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notice_table tbody tr { transition: background 0.2s ease; cursor: pointer; }
.notice_table tbody tr:hover { background: var(--brand-soft); }
.notice_table tbody td a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.notice_table tbody tr:hover td a { color: var(--brand); }
/* 컬럼 너비 (No. / 제목 / 등록일 / 조회수) */
.notice_table td:first-child { width: 78px; color: var(--ink-3); font-weight: 500; }
.notice_table td:nth-child(3) { width: 128px; }
.notice_table td:nth-child(4) { width: 90px; }

/* 페이지네이션 */
.page_num {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page_num .page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.page_num .page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page_num .page-btn.current {
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  border-color: transparent;
  color: #fff;
}

/* 작성/펌웨어 관리 버튼 (Ctrl+Shift+X로 노출 — 기본 숨김) */
.admin_actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.noti_btn, .fw_btn { margin: 0; text-align: right; }
.noti_btn.hidden, .fw_btn.hidden { display: none; }
.noti_btn a, .fw_btn a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.fw_btn a { background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(0, 112, 192, 0.25); }

/* 펌웨어 고정 공지 행 */
.pinned_row td { background: var(--brand-soft); border-color: rgba(0, 112, 192, 0.18); }
.pinned_row td a { color: var(--brand); font-weight: 600; }
.pin_badge { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }

@media (max-width: 768px) {
  .notice_table tbody td, .notice_table thead td { padding: 13px 10px; font-size: 13px; }
  .notice_table td:first-child, .notice_table td:nth-child(4) { width: 48px; }
  .notice_table td:nth-child(3) { width: 92px; }
}

/* 새소식 목록: 태블릿 이하에서 카드형 — 제목 아래에 등록일·조회수 표시 */
@media (max-width: 1023px) {
  /* 카드형에선 table 자동폭이 긴 문자열(URL·버전명 등)에 늘어나 화면 밖으로 삐져나감
     → table을 블록으로 바꿔 폭 100%에 고정 */
  .notice_table table { display: block; width: 100%; }
  .notice_table thead { display: none; }
  .notice_table tbody { display: block; }
  .notice_table tbody tr {
    display: block;
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
  }
  .notice_table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  /* No. 열 숨김 (일반 행) */
  .notice_table tbody tr td:first-child { display: none; }
  /* 공지/펌웨어 고정 행은 배지를 제목 위에 노출 */
  .notice_table .pinned_row td:first-child { display: block; margin-bottom: 10px; }
  /* 제목 */
  .notice_table tbody td:nth-child(2) {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 9px;
  }
  /* 카드에선 제목 전체 표시(세로 여유 있음), 긴 URL·버전명도 줄바꿈 */
  .notice_table tbody td:nth-child(2) a { font-weight: 600; -webkit-line-clamp: unset; display: block; overflow-wrap: anywhere; word-break: break-word; }
  /* 메타: 등록일 · 조회수 (제목 아래 한 줄, 각 항목이 어색하게 쪼개지지 않게 nowrap) */
  .notice_table tbody td:nth-child(3),
  .notice_table tbody td:nth-child(4) {
    display: inline;
    font-size: 12.5px;
    color: var(--ink-3);
    white-space: nowrap;
  }
  .notice_table tbody td:nth-child(4)::before { content: '·'; margin: 0 8px; color: #c2c8d0; }
  .notice_table tbody td:nth-child(4)::after { content: '\00A0조회'; }
  /* 고정(공지) 행: 배경을 카드 전체에 깔끔히 깔고, 조회수('-')는 숨김 */
  .notice_table .pinned_row {
    background: var(--brand-soft);
    border: 1px solid rgba(0, 112, 192, 0.18);
    border-radius: 10px;
    padding: 16px 14px;
    margin-bottom: 8px;
  }
  .notice_table .pinned_row td { background: transparent; border: 0; }
  .notice_table .pinned_row td:nth-child(4) { display: none; }
}

/* =====================  새소식 상세  ===================== */
.total_notice .n_box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.total_notice .n_title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.total_notice .n_info { margin-top: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.total_notice .n_info ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.total_notice .n_info li { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.total_notice .n_info li i { color: var(--brand); font-size: 15px; }
.total_notice .n_info li span:nth-of-type(1) { font-weight: 600; color: var(--ink-2); }
.total_notice .n_content {
  margin: 28px 0;
  min-height: 120px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  word-break: break-word;
}
.total_notice .n_content img { max-width: 100%; height: auto; border-radius: 10px; }
.total_notice .n_pager { margin-top: 8px; border-top: 1px solid var(--line); }
.total_notice .n_pager > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}
.total_notice .n_pager p { margin: 0; font-size: 14px; color: var(--ink-3); }
.total_notice .n_pager > div > p:first-child {
  flex-shrink: 0;
  width: 78px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.total_notice .n_pager a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.total_notice .n_pager a:hover { color: var(--brand); }
.total_notice form > div:last-child { margin-top: 26px; }
.total_notice button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  overflow: hidden;
}
.total_notice .n_list_btn { background: linear-gradient(135deg, var(--brand), var(--brand-bright)); }
.total_notice .n_list_btn a { display: inline-block; padding: 12px 28px; color: #fff; text-decoration: none; }
.total_notice .n_modify_btn { background: var(--bg-soft); border: 1px solid var(--line); }
.total_notice .n_modify_btn a { display: inline-block; padding: 11px 22px; color: var(--ink-2); text-decoration: none; }
.total_notice .n_delete_btn { padding: 12px 22px; background: #fdecec; color: #e5484d; }
.total_notice .hidden { display: none; }

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 1023px) {
  .ab-info { grid-template-columns: repeat(2, 1fr); }
  .ab-info-wide { grid-column: span 2; }
  .ab-partners { grid-template-columns: repeat(3, 1fr); }
  .ab-cert { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .ab-hero::after { width: 220px; height: 220px; right: -60px; }
  /* 모바일에서는 서브 탭 네비게이션 숨김 (페이지 이동은 햄버거 메뉴 이용) */
  .ab-nav-wrap { display: none; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .ab-info { grid-template-columns: 1fr; }
  .ab-info-wide { grid-column: auto; }
  .ab-partners { grid-template-columns: repeat(2, 1fr); }
  .ab-cert { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* 찾아오시는길: 위치/대중교통 카드 1열 */
  .ab-loc { grid-template-columns: 1fr; margin-top: 20px; }
  .ab-loc-card { padding: 22px 20px; }
  .ab-section { padding-left: 24px; padding-right: 24px; }
  .ab-hero-inner { padding-left: 24px; padding-right: 24px; }
}
