/* ============================================================
   DOWON TECH — Design tokens
   Palette:  --navy (brand/header/footer), --blue (accent/links),
             --ink (body text), --mute (secondary text),
             --line (hairline borders), --paper (section bg), --white
   Type:     Noto Sans KR (Korean body/headings)
             Jost (English display labels — VISION / R&D / etc.)
   Signature: "caliper tick" divider under section titles, referencing
             precision-measurement tools used in metal-cutting machining.
   ============================================================ */
:root{
  --navy: #1c3a5e;
  --navy-deep: #132a45;
  --blue: #3f7cc4;
  --blue-light: #eaf2fb;
  --ink: #202830;
  --mute: #6c7684;
  --line: #e3e7ee;
  --paper: #f4f6f9;
  --white: #ffffff;
  --accent: #d3572e;
  --radius: 4px;
  --shadow: 0 10px 30px -14px rgba(20,40,70,0.25);
  --maxw: 1200px;
  --font-kr: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-en: 'Jost', var(--font-kr);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-kr);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ margin:0; font-weight:700; }

.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ---------------- Header / Nav ---------------- */
.site-header{
  position: sticky; top:0; z-index:100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{ display:flex; align-items:center; gap:10px; }
.logo__mark-img{ display:block; width:36px; height:36px; object-fit:contain; flex-shrink:0; }
.logo__full-img{ display:block; height:38px; width:auto; object-fit:contain; }
.logo__text{ font-family: var(--font-en); font-size:20px; letter-spacing:.5px; color:var(--navy); font-weight:600; }
.logo__text b{ font-weight:700; color: var(--blue); }

.main-nav > ul{ display:flex; gap:44px; height:76px; }
.main-nav > ul > li{ position:relative; display:flex; align-items:center; }
.main-nav > ul > li > a{
  font-size:16.5px; font-weight:700; color: var(--ink);
  padding: 8px 2px; position:relative;
}
.main-nav > ul > li > a::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:3px;
  background: var(--blue); transform: scaleX(0); transform-origin:left;
  transition: transform .2s ease;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after{ transform: scaleX(1); }
.main-nav > ul > li.active > a{ color: var(--blue); }

.sub-nav{
  position:absolute; top:100%; left:50%; transform: translateX(-50%);
  min-width:170px; background:#fff; border:1px solid var(--line); border-top:3px solid var(--blue);
  box-shadow: var(--shadow); border-radius: var(--radius);
  padding:8px 0; opacity:0; visibility:hidden; translate: 0 6px;
  transition: opacity .18s ease, translate .18s ease, visibility .18s;
}
.main-nav > ul > li:hover .sub-nav{ opacity:1; visibility:visible; translate:0 0; }
.sub-nav li a{ display:block; padding:9px 18px; font-size:14px; color:var(--mute); white-space:nowrap; }
.sub-nav li a:hover{ background: var(--blue-light); color: var(--blue); }

.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:none; border:none; padding:0;
}
.hamburger span{ width:24px; height:2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-backdrop{
  display:none; position:fixed; inset:0; background:rgba(15,25,40,.45); z-index:98;
}
.mobile-nav-backdrop.show{ display:block; }

/* ---------------- Hero ---------------- */
.hero{
  position:relative; overflow:hidden;
  min-height: 420px;
  background: linear-gradient(160deg, #24466f 0%, #16283f 100%);
  display:flex; align-items:center;
}
.hero__img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5;
}
.hero__overlay{ position:absolute; inset:0; background: linear-gradient(90deg, rgba(20,40,66,.72) 0%, rgba(20,40,66,.15) 75%); }
.hero__content{ position:relative; z-index:2; padding: 60px 24px; }
.hero__box{
  background: rgba(28,58,94,0.82);
  backdrop-filter: blur(2px);
  padding: 34px 40px;
  max-width: 620px;
  border-left: 4px solid var(--blue);
}
.hero__title{
  color:#fff; font-size: clamp(30px, 4.4vw, 46px); line-height:1.25; letter-spacing:-.5px;
}
.hero__subtitle{ color:#cfe0f5; font-size: clamp(15px, 1.9vw, 19px); margin-top:14px; font-weight:500; }

/* ---------------- Quick links (4 boxes) ---------------- */
.quick-links{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:0;
  border-top:1px solid var(--line);
}
.quick-links__item{
  padding: 34px 30px; border-right:1px solid var(--line); background:#fff;
  transition: background .2s ease;
}
.quick-links__item:last-child{ border-right:none; }
.quick-links__item:hover{ background: var(--paper); }
.quick-links__eyebrow{ font-size:14px; color:var(--mute); font-weight:700; margin-bottom:2px; }
.quick-links__title{
  font-family: var(--font-en); font-size:25px; color:var(--navy); font-weight:700; letter-spacing:.5px;
}
.quick-links__desc{ color:var(--mute); font-size:13.5px; margin:14px 0 16px; min-height:60px; }
.quick-links__go{ font-size:13px; font-weight:700; color:var(--blue); }
.quick-links__go::after{ content:" ›"; }

/* ---------------- Sections (generic) ---------------- */
.section{ padding: 72px 0; }
.section--alt{ background: var(--paper); }
.section__head{ margin-bottom: 38px; }
.section__eyebrow{
  font-family: var(--font-en); font-size:14px; letter-spacing:3px; color: var(--blue);
  font-weight:600; text-transform:uppercase;
}
.section__title{ font-size: clamp(24px,3vw,32px); margin-top:8px; color:var(--navy); }

/* Signature "caliper tick" divider — evokes a measurement scale */
.tick-divider{
  display:flex; align-items:center; gap:4px; margin-top:16px; height:14px;
}
.tick-divider span{ display:block; width:1px; height:8px; background: var(--line); }
.tick-divider span:nth-child(4n){ height:14px; background: var(--blue); }
.tick-divider::after{ content:""; flex:1; height:1px; background: var(--line); margin-left:6px; }

/* ---------------- Cards / grids ---------------- */
.grid{ display:grid; gap:24px; }
.grid--2{ grid-template-columns: repeat(2,1fr); }
.grid--3{ grid-template-columns: repeat(3,1fr); }
.grid--4{ grid-template-columns: repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img{ aspect-ratio: 4/3; background: linear-gradient(135deg,#dbe6f2,#c3d5e8); position:relative; overflow:hidden;}
.card__img img{ width:100%; height:100%; object-fit:cover; }
.card__body{ padding:18px 20px 22px; }
.card__tag{ font-size:12px; color:var(--blue); font-weight:700; letter-spacing:.5px; }
.card__title{ font-size:17px; margin-top:6px; color:var(--ink); }
.card__desc{ font-size:13.5px; color:var(--mute); margin-top:8px; }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:12px 26px;
  border-radius: var(--radius); font-weight:700; font-size:14.5px; border:1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--primary{ background: var(--navy); color:#fff; }
.btn--primary:hover{ background: var(--blue); }
.btn--outline{ border-color: var(--line); color: var(--ink); }
.btn--outline:hover{ border-color: var(--navy); }
.btn--sm{ padding:8px 16px; font-size:13px; }

/* ---------------- Tables ---------------- */
.table{ width:100%; border-collapse:collapse; font-size:14.5px; }
.table th, .table td{ padding:13px 14px; border-bottom:1px solid var(--line); text-align:left; }
.table th{ background: var(--paper); color:var(--navy); font-weight:700; }
.table tr:hover td{ background: #fafbfd; }
.table--striped tbody tr:nth-child(even) td{ background: var(--paper); }
.table--striped tbody tr:hover td{ background: #eef2f7; }
.table td.num-col{ text-align:center; color:var(--mute); width:56px; }
.table td.date-col{ white-space:nowrap; color:var(--mute); }

/* ---------------- Greeting (대표인사말) ---------------- */
.greeting{ display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.greeting__text{ flex:1; min-width:280px; color:var(--ink); font-size:16px; line-height:1.9; }
.greeting__text p{ margin:0 0 18px; }
.greeting__text p:last-child{ margin-bottom:0; }
.greeting__highlight{ color: var(--accent); font-size:1.15em; }
.greeting__photo{ flex-shrink:0; width:340px; max-width:100%; }
.greeting__photo img{ width:100%; height:auto; display:block; }

/* ---------------- Equipment spec groups (설비 용도 및 사양) ---------------- */
.spec-group{ margin-bottom:40px; }
.spec-group:last-of-type{ margin-bottom:24px; }
.spec-group__head{ display:flex; align-items:baseline; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.spec-group__category{ font-size:17px; font-weight:700; color:var(--navy); }
.spec-group__purpose{ font-size:14px; color:var(--mute); }

/* ---------------- Facility (시설현황) ---------------- */
.facility-block__img{
  width:100%; height:auto; display:block; border-radius: var(--radius);
  border:1px solid var(--line);
}
.facility-block__caption{ padding:20px 4px 0; }
.facility-block__title{ font-size:18px; color:var(--navy); font-weight:700; }
.facility-block__size{ font-size:15px; color:var(--ink); margin-top:4px; font-weight:600; }
.facility-block__rule{ width:36px; height:3px; background: var(--blue); margin:14px 0; }
.facility-block__address{ font-size:14px; color:var(--mute); }
.facility-block__specs{ list-style:none; margin:0; padding:0; }
.facility-block__specs li{
  padding:9px 0; border-bottom:1px solid var(--line); font-size:14.5px; color:var(--ink); line-height:1.6;
}
.facility-block__specs li:last-child{ border-bottom:none; }
.facility-block__specs strong{ color: var(--navy); }

/* ---------------- Company overview cards (회사개요) ---------------- */
.overview-cards{ display:flex; flex-direction:column; gap:2px; max-width:640px; }
.overview-card{ padding:28px 32px; }
.overview-card--light{ background: var(--paper); border:1px solid var(--line); }
.overview-card--dark{ background: var(--navy); color:#fff; }
.overview-card__list{ list-style:none; margin:0; padding:0; }
.overview-card__list li{ display:flex; gap:14px; padding:6px 0; font-size:16px; }
.overview-card__label{ flex-shrink:0; width:70px; font-weight:700; color:var(--navy); }
.overview-card__value{ color:var(--ink); }
.overview-card__title{ font-size:18px; font-weight:700; margin:0 0 16px; color:#fff; }
.overview-card__products{ list-style:none; margin:0; padding:0; }
.overview-card__products li{
  position:relative; padding:6px 0 6px 18px; font-size:15px; color:#dfe7f2; line-height:1.6;
}
.overview-card__products li::before{
  content:""; position:absolute; left:2px; top:15px; width:6px; height:6px; background:#fff;
}

/* ---------------- Partner cards (주요거래처) ---------------- */
.partner-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding:28px 26px; transition: box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-card__logo{
  height:64px; display:flex; align-items:center; justify-content:flex-start; margin-bottom:18px;
}
.partner-card__logo img{ max-height:100%; max-width:100%; object-fit:contain; }
.partner-card__name{ font-size:16.5px; color:var(--ink); font-weight:700; }
.partner-card__rule{ width:36px; height:3px; background: var(--navy); margin:10px 0 16px; }
.partner-card__items{ list-style:none; padding:0; margin:0; }
.partner-card__items li{
  position:relative; padding-left:14px; color:var(--mute); font-size:13.5px; line-height:1.8;
}
.partner-card__items li::before{
  content:""; position:absolute; left:0; top:10px; width:5px; height:5px; background: var(--blue);
}

/* ---------------- Org chart (조직도) ---------------- */
.orgchart{ display:flex; flex-direction:column; align-items:center; gap:0; padding: 20px 0; }
.orgchart__node{
  background:#fff; border:1px solid var(--line); border-left:3px solid var(--blue);
  border-radius: var(--radius); padding:14px 26px; font-weight:700; color:var(--navy);
  font-size:14.5px; text-align:center; box-shadow: var(--shadow);
}
.orgchart__node--top{ margin-bottom:28px; }
.orgchart__branch{
  display:flex; flex-wrap:wrap; justify-content:center; gap:20px; position:relative; padding-top:28px;
}
.orgchart__branch::before{
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:1px; height:28px; background: var(--line);
}
.orgchart__branch .orgchart__node{ border-left-color: var(--mute); font-weight:500; }

/* ---------------- Kakao Map ---------------- */
.kakao-map{
  position:relative; width:100%; min-height:320px; height:320px;
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden;
}
.kakao-map__loading, .kakao-map__error{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  text-align:center; color:var(--mute); font-size:13.5px; padding:20px; line-height:1.6;
}

/* ---------------- Company history (연혁) ---------------- */
.history-list{ max-width: 820px; border-top: 2px solid var(--navy); }
.history-row{
  display:flex; gap:22px; padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.history-row__year{
  flex-shrink:0; width: 84px; font-family: var(--font-en); font-weight:700; font-size:19px;
  color: var(--blue); padding-top:1px;
}
.history-row__items{ flex:1; }
.history-row__items li{
  position:relative; padding-left:16px; color: var(--ink); font-size:14.5px; line-height:1.9;
}
.history-row__items li::before{
  content:""; position:absolute; left:2px; top:12px; width:5px; height:5px; border-radius:50%;
  background: var(--mute);
}

/* ---------------- Board list ---------------- */
.board-list{ border-top:2px solid var(--navy); }
.board-list li{ border-bottom:1px solid var(--line); }
.board-list a{ display:flex; justify-content:space-between; gap:16px; padding:16px 6px; }
.board-list__title{ flex:1; }
.board-list__badge{ display:inline-block; font-size:11px; background:var(--blue-light); color:var(--blue); padding:2px 8px; border-radius:10px; margin-right:8px; font-weight:700; }
.board-list__meta{ color:var(--mute); font-size:13px; white-space:nowrap; }
.board-list a:hover .board-list__title{ color: var(--blue); }

/* ---------------- Forms ---------------- */
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:14px; font-weight:700; margin-bottom:7px; color:var(--navy); }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel],
.form-row input[type=password], .form-row textarea, .form-row select{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size:14.5px; background:#fff;
}
.form-row textarea{ min-height:150px; resize:vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{
  outline:2px solid var(--blue); outline-offset:1px; border-color: var(--blue);
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-note{ font-size:13px; color:var(--mute); }
.alert{ padding:14px 18px; border-radius: var(--radius); font-size:14px; margin-bottom:20px; }
.alert--success{ background:#e9f6ee; color:#1c7a3f; border:1px solid #bfe6cd; }
.alert--error{ background:#fbeaea; color:#b3261e; border:1px solid #f2c6c4; }

/* ---------------- Breadcrumb / page banner ---------------- */
.page-banner{
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff; padding: 46px 0;
}
.page-banner__title{ font-size: clamp(24px,3vw,32px); }
.breadcrumb{ margin-top:10px; font-size:13px; color:#b9c9dd; }
.breadcrumb a{ color:#b9c9dd; }
.breadcrumb a:hover{ color:#fff; }

/* ---------------- Footer ---------------- */
.site-footer{ background: var(--navy-deep); color:#a9b8cb; padding: 44px 0 30px; }
.footer__inner{ display:grid; grid-template-columns: 1fr 2fr 1fr; gap:30px; align-items:start; }
.footer__logo-img{ display:block; height:32px; width:auto; object-fit:contain; }
.footer__brand p{ margin:4px 0 0; font-size:13px; color:#8ea1ba; }
.footer__info p{ margin:4px 0; font-size:13px; }
.footer__info .copyright{ margin-top:14px; color:#7488a3; }
.footer__links{ display:flex; flex-direction:column; gap:8px; text-align:right; font-size:13px; }
.footer__links a:hover{ color:#fff; }

.to-top{
  position:fixed; right:24px; bottom:24px; width:44px; height:44px; border-radius:50%;
  background: var(--navy); color:#fff; border:none; box-shadow: var(--shadow);
  opacity:0; pointer-events:none; transition: opacity .25s, transform .25s; z-index:60;
}
.to-top.show{ opacity:1; pointer-events:auto; }
.to-top:hover{ background: var(--blue); }

/* ---------------- Utility ---------------- */
.mt-0{margin-top:0;} .text-center{text-align:center;}
.section__foot{ margin-top:32px; text-align:center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .grid--4{ grid-template-columns: repeat(2,1fr); }
  .grid--3{ grid-template-columns: repeat(2,1fr); }
  .footer__inner{ grid-template-columns:1fr; text-align:left; }
  .footer__links{ text-align:left; flex-direction:row; flex-wrap:wrap; gap:16px; }
}

@media (max-width: 860px){
  .main-nav{
    position:fixed; top:0; right:0; height:100%; width:min(320px,84vw);
    background:#fff; z-index:99; padding: 90px 0 30px;
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y:auto; box-shadow: -10px 0 30px rgba(0,0,0,.15);
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav > ul{ flex-direction:column; height:auto; gap:0; }
  .main-nav > ul > li{ flex-direction:column; align-items:stretch; height:auto; border-bottom:1px solid var(--line); }
  .main-nav > ul > li > a{ padding:16px 28px; display:block; }
  .main-nav > ul > li > a::after{ display:none; }
  .sub-nav{
    position:static; transform:none; opacity:1; visibility:visible; box-shadow:none;
    border:none; border-top:none; background:var(--paper); display:none; padding:4px 0 10px;
  }
  .main-nav > ul > li.open .sub-nav{ display:block; }
  .hamburger{ display:flex; }
}

@media (max-width: 760px){
  .grid--2, .grid--3, .grid--4{ grid-template-columns: 1fr; }
  .quick-links{ grid-template-columns: 1fr 1fr; }
  .quick-links__item{ border-right:1px solid var(--line); }
  .quick-links__item:nth-child(2n){ border-right:none; }
  .quick-links__item:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .hero__box{ padding:24px 22px; max-width:100%; }
  .form-grid{ grid-template-columns:1fr; }
  .site-header__inner{ height:64px; }
  .history-row{ flex-direction:column; gap:6px; }
  .history-row__year{ width:auto; }
  .greeting{ flex-direction:column-reverse; }
  .greeting__photo{ width:100%; max-width:340px; margin:0 auto; }
  .overview-card{ padding:22px 20px; }
  .overview-card__list li{ flex-direction:column; gap:2px; }
  .overview-card__label{ width:auto; }
}

@media (max-width: 480px){
  .quick-links{ grid-template-columns: 1fr; }
  .quick-links__item{ border-right:none !important; border-bottom:1px solid var(--line); }
  .hero{ min-height:320px; }
  .section{ padding:48px 0; }
}

/* Z.ADDED */

/* ===== 오시는길: 지도 + 약도 이미지 + 회사정보 ===== */
#kakaoMap {
  height: 420px !important;   /* 이미지와 동일 높이 (조절 가능) */
}
.location-photo {
  height: 420px;              /* 지도와 동일 높이 */
  overflow: hidden;
  border-radius: 8px;
}
.location-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-table {
  width: 100%;                /* 전체 폭 */
  margin-top: 40px;
}
.location-table th { width: 110px; }
.location-table td { width: calc(50% - 110px); } /* 두 값 칸을 균등하게 */

/* 모바일: 지도·이미지 동일 높이, 표는 세로로 쌓임 */
@media (max-width: 768px) {
  #kakaoMap { height: 300px !important; }
  .location-photo { height: 300px; }
  .location-table th,
  .location-table td { display: block; width: 100% !important; }
}


  /* ===== 모바일 반응형 (공통) ===== */
  @media (max-width: 768px) {
    .grid, .grid--2, .grid--3, .facility-grid, .cert-grid, .overview-cards {
      grid-template-columns: 1fr !important;
      gap: 30px !important;
    }
    .section { padding: 50px 0 !important; }
    .section__head { margin-bottom: 30px !important; }
    .section__title { font-size: 1.5rem !important; }
    .greeting { flex-direction: column-reverse !important; text-align: center !important; }
    .greeting__photo { margin: 0 auto 30px !important; max-width: 280px !important; width: 100% !important; }
    .facility-img-wrap { height: 220px !important; }
    .facility-block__caption { text-align: center !important; }
    .facility-block__specs { text-align: left !important; display: inline-block !important; width: 100%; }
    .cert-card .card__img { height: 280px !important; }
    .table th, .table td { font-size: 14px !important; padding: 12px !important; }
  }

  /* ===== 연혁 타임라인 (브로슈어 스타일) ===== */
  .history-timeline {
    --dot-size: 26px;   /* 노드 지름 */
    --dot-top: 5px;     /* 노드 상단 오프셋 (연도 텍스트와 수직 정렬) */
    --line-w: 6px;      /* 연결선 두께 */
    --row-gap: 44px;    /* 연도 간 세로 간격 */
    --indent: 70px;     /* 노드 영역 여백 */

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
    max-width: 1150px;
    margin: 0 auto;
  }
  .timeline-col { min-width: 0; }

  .timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 var(--row-gap) var(--indent);
  }
  .timeline-item:last-child { padding-bottom: 0; }

  /* 세로 연결선 (마지막 노드 제외) */
  .timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc((var(--dot-size) - var(--line-w)) / 2);
    top: calc(var(--dot-top) + var(--dot-size));
    bottom: 0;
    width: var(--line-w);
    background: var(--blue, #00448a);
  }

  /* 원형 노드 */
  .timeline-dot {
    position: absolute;
    left: 0;
    top: var(--dot-top);
    width: var(--dot-size);
    height: var(--dot-size);
    box-sizing: border-box;
    background: #fff;
    border: 7px solid var(--blue, #00448a);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 1;
  }

  /* 연도 */
  .timeline-year {
    flex: 0 0 100px;
    font-size: 2.1rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #111;
  }

  /* 연혁 항목 */
  .timeline-list {
    flex: 1;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    word-break: keep-all;
  }
  .timeline-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #444;
  }
  .timeline-list li:last-child { margin-bottom: 0; }
  .timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 2px;
    background: var(--blue, #00448a);
  }

  /* 모바일: 1단 타임라인 + 축소 */
  @media (max-width: 768px) {
    .history-timeline {
      grid-template-columns: 1fr;
      row-gap: 40px;
      --dot-size: 22px;
      --dot-top: 4px;
      --line-w: 5px;
      --row-gap: 30px;
      --indent: 46px;
    }
    .timeline-dot { border-width: 6px; }
    .timeline-item { gap: 14px; }
    .timeline-year { flex-basis: 60px; font-size: 1.45rem; letter-spacing: -0.5px; }
    .timeline-list li { font-size: 0.92rem; }
  }

  /* ===== 경영방침 및 목표 이미지 ===== */
  .policy-figure {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  .policy-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
  }

  /* ===== 오시는길: 지도 + 약도 이미지 + 회사정보 ===== */
  #kakaoMap {
    height: 420px !important;
  }
  .location-photo {
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
  }
  .location-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .location-table {
    width: 100%;
    margin-top: 40px;
  }
  .location-table th { width: 110px; }
  .location-table td { width: calc(50% - 110px); }

  @media (max-width: 768px) {
    #kakaoMap { height: 300px !important; }
    .location-photo { height: 300px; }
    .location-table th,
    .location-table td { display: block; width: 100% !important; }
  }

/* ===== 회사소개 PDF 다운로드 버튼 ===== */
.pdf-cta { padding: 50px 0; text-align: center; }
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 40px;
  background: var(--blue, #00448a);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 68, 138, 0.25);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.pdf-btn:hover {
  background: #00336b;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 68, 138, 0.32);
  color: #fff;
}
.pdf-btn svg { width: 30px; height: 30px; flex-shrink: 0; }
.pdf-btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.pdf-btn__text strong { font-size: 1.1rem; }
.pdf-btn__text small { font-size: 0.8rem; opacity: 0.85; }

/* 모바일 */
@media (max-width: 768px) {
  .pdf-cta { padding: 36px 0; }
  .pdf-btn { width: 100%; max-width: 360px; justify-content: center; padding: 15px 24px; }
  .pdf-btn__text { align-items: center; }
}


  /* ===== 보유 설비 목록 테이블 ===== */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .equip-table .col-num   { width: 50px; }
  .equip-table .col-qty   { width: 70px; }
  .equip-table .col-maker { width: 140px; }
  .equip-table .td-qty    { text-align: center; }

  /* ===== 설비 용도 및 사양 ===== */
  .spec-group { margin-bottom: 56px; }
  .spec-group:last-of-type { margin-bottom: 0; }
  .spec-group__head { margin-bottom: 28px; }
  .spec-group__category {
    display: inline-block;
    margin: 0 0 6px;
    padding-bottom: 8px;
    font-size: 1.25rem;
    color: var(--ink, #333);
    border-bottom: 2px solid var(--blue, #00448a);
  }
  .spec-group__purpose {
    margin: 0;
    font-size: 0.95rem;
    color: var(--mute, #666);
  }

  /* 카드: 사진 → 모델명 → 블루바 → 사양 나열 (브로슈어 스타일) */
  .spec-group .grid--2 { align-items: stretch; }
  .spec-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 30px 20px 26px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
  }
  .spec-card__img {
    height: 380px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .spec-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* 설비 전체가 보이도록 — 잘림 없음 */
  }
  .spec-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .5px;
    color: #222;
  }
  .spec-card__maker {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: var(--mute, #888);
  }
  .spec-card__bar {
    width: 46px;
    height: 4px;
    border-radius: 2px;
    background: var(--blue, #00448a);
    margin: 14px auto 20px;
  }
  .spec-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.95;
    color: #333;
    word-break: keep-all;
  }

  .spec-note { margin-top: 24px; }

  /* ===== 모바일 반응형 ===== */
  @media (max-width: 768px) {
    .equip-table th, .equip-table td {
      font-size: 14px;
      padding: 10px;
      white-space: nowrap;
    }
    .spec-group { margin-bottom: 40px; }
    .spec-group .grid--2 {
      grid-template-columns: 1fr !important;
      gap: 30px !important;
    }
    .spec-card { padding: 22px 14px 20px; }
    .spec-card__img { height: 240px; margin-bottom: 18px; }
    .spec-card__title { font-size: 1.15rem; }
    .spec-card__list { font-size: 0.92rem; }
  }
