/* =========================================================
   ㈜진영물류산업 — Global Stylesheet
   ========================================================= */

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

:root {
  /* Brand colors */
  --navy-900: #0a1f3c;
  --navy-800: #0e2a52;
  --navy-700: #143766;
  --blue-600: #1b5fae;
  --blue-500: #2d7dd2;
  --blue-400: #5b9de0;
  --blue-100: #e8f1fa;
  --accent:   #d71920; /* JY 로고 레드 */
  --ink:      #1c2430;
  --gray-700: #4a5568;
  --gray-500: #7b8794;
  --gray-300: #cbd2d9;
  --gray-100: #f4f6f8;
  --white:    #ffffff;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;

  --header-h: 80px;
  --container: 1200px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 60, .07);
  --shadow-md: 0 10px 30px rgba(10, 31, 60, .12);
  --tr: .35s cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; font-size: 17px; }
/* 고정 헤더에 가리지 않도록 앵커 여백 */
[id] { scroll-margin-top: 100px; }
@media (max-width: 480px) { html { font-size: 16.5px; } }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(10,31,60,.06);
  transition: box-shadow var(--tr);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .logo img { height: 38px; } }

/* GNB */
.gnb { display: flex; height: 100%; }
.gnb > li { position: relative; height: 100%; }
.gnb > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 26px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  position: relative;
  transition: color var(--tr);
}
.gnb > li > a::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: 18px;
  height: 3px;
  background: var(--blue-500);
  transform: scaleX(0);
  transition: transform .25s;
}
.gnb > li:hover > a::after { transform: scaleX(1); }
.gnb > li > a:hover { color: var(--blue-500); }

/* dropdown */
.gnb .sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
}
.gnb > li:hover .sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.gnb .sub a {
  display: block;
  padding: 9px 22px;
  font-size: .93rem;
  color: var(--gray-700);
  transition: all .2s;
}
.gnb .sub a:hover { background: var(--blue-100); color: var(--blue-600); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: all var(--tr);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,31,60,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  padding: 28px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--tr);
}
.mobile-menu.open .panel { transform: translateX(0); }
.mobile-menu .close-btn {
  font-size: 1.6rem;
  color: var(--gray-500);
  margin-left: auto;
  display: block;
}
.mobile-menu .m-group { margin-top: 18px; border-bottom: 1px solid var(--gray-100); padding-bottom: 14px; }
.mobile-menu .m-group > strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.mobile-menu .m-group a {
  display: block;
  padding: 7px 4px 7px 12px;
  color: var(--gray-700);
  font-size: .95rem;
}
.mobile-menu .m-group a:hover { color: var(--blue-500); }

/* ---------- Hero (main) ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy-900);
}
.hero-slides {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%;
  display: flex;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,16,33,.78) 0%, rgba(10,31,60,.5) 55%, rgba(10,31,60,.25) 100%);
}
.hero-slide { background-size: cover; background-position: center; }
.hero-slide.s1 { background-image: url("../images/hero-truck.jpg"); background-position: center 55%; }
.hero-slide.s2 { background-image: url("../images/hero-warehouse.jpg"); background-position: center 58%; }
.hero-slide.s3 { background-image: url("../images/photo-center-road.jpg"); background-position: center 65%; }
.hero-slide .inner-img {
  position: absolute; inset: 0;
  background: inherit;
  background-size: cover;
  background-position: inherit;
  transform: scale(1);
  transition: transform 4.5s ease-out;
}
.hero-slide.active .inner-img { transform: scale(1.07); }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-weight: 700;
  letter-spacing: .22em;
  font-size: .8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 30px; height: 1px;
  background: rgba(255,255,255,.45);
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(4,12,26,.45);
}
.hero-title em {
  font-style: normal;
  color: #fff;
}
.hero-desc {
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 38px;
  text-shadow: 0 1px 12px rgba(4,12,26,.5);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--tr);
}
.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* 드래그로 넘기는 히어로 */
.hero {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.hero.dragging { cursor: grabbing; }
.hero-slides { transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.hero.dragging .hero-slides { transition: none; }

/* 진행 바 (하단, 클릭 불가 — 상태 표시용) */
.hero-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  height: 3px;
  background: rgba(255,255,255,.14);
}
.hero-progress span {
  flex: 1;
  background: transparent;
  transition: background .4s;
}
.hero-progress span.on { background: rgba(255,255,255,.85); }

/* 좌우 화살표 (태웅 스타일 — 작고 은은하게) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px; height: 62px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  transition: background var(--tr), color var(--tr);
}
.hero-arrow:hover { background: rgba(255,255,255,.24); color: #fff; }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }
.hero-arrow svg { width: 15px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; }
@media (max-width: 640px) {
  .hero-arrow { width: 34px; height: 52px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
}

.scroll-hint {
  position: absolute;
  right: 40px; bottom: 40px;
  z-index: 3;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections common ---------- */
section { padding: 110px 0; }
.section-head { margin-bottom: 56px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-500);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.3;
}
.section-desc { margin-top: 16px; color: var(--gray-500); font-size: 1.05rem; max-width: 640px; }
.center { text-align: center; }
.center .section-eyebrow { justify-content: center; }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- About preview ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  box-shadow: var(--shadow-md);
}
.about-visual .ph-label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  letter-spacing: .05em;
}
.about-copy p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.04rem; }
.about-copy .sign { margin-top: 26px; font-weight: 700; color: var(--navy-900); }
.about-copy .sign small { display: block; font-weight: 500; color: var(--gray-500); margin-bottom: 4px; }

/* stats strip */
.stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-300);
}
.stat {
  padding: 34px 20px 0;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--gray-100); }
.stat .num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: var(--blue-500);
  letter-spacing: -0.02em;
}
.stat .num small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat .label { color: var(--gray-500); font-size: .95rem; margin-top: 6px; }

/* ---------- Business cards ---------- */
.biz { background: var(--gray-100); }
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 34px 38px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.biz-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.biz-card:hover::before { transform: scaleX(1); }
.biz-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--blue-100);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.biz-icon svg { width: 30px; height: 30px; stroke: var(--blue-500); }
.biz-card h3 { font-size: 1.3rem; color: var(--navy-900); margin-bottom: 6px; }
.biz-card .en { font-size: .8rem; color: var(--gray-500); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.biz-card p { color: var(--gray-700); font-size: .97rem; flex: 1; }
.biz-card .more {
  margin-top: 24px;
  font-weight: 700;
  color: var(--blue-500);
  font-size: .93rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-card .more::after { content: "→"; transition: transform .25s; }
.biz-card:hover .more::after { transform: translateX(4px); }

/* ---------- Network / sites ---------- */
.network-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.site-list { display: grid; gap: 14px; }
.site-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 20px 22px;
  transition: all var(--tr);
}
.site-item:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.site-item .pin {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-100);
  display: grid; place-items: center;
  color: var(--blue-500);
  font-weight: 800;
  font-size: .8rem;
}
.site-item h4 { font-size: 1.05rem; color: var(--navy-900); }
.site-item .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue-500);
  background: var(--blue-100);
  border-radius: 30px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}
.site-item p { color: var(--gray-500); font-size: .9rem; margin-top: 3px; }

/* ---------- Quick links (시안 E — 다크 초미니멀) ---------- */
.quick {
  padding: 64px 0;
  background: linear-gradient(120deg, #0a1f3c 0%, #123056 100%);
  position: relative;
  overflow: hidden;
}
.quick-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.quick-item {
  display: block;
  padding: 10px 44px;
  color: #fff;
}
.quick-item + .quick-item { border-left: 1px solid rgba(255,255,255,.13); }
.quick-item .q-en {
  font-size: .72rem;
  letter-spacing: .22em;
  color: #6f8db4;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.quick-item h3 {
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}
.quick-item h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -9px;
  width: 26px; height: 2px;
  background: #3f7fc4;
  transition: width .38s cubic-bezier(.22,.61,.36,1);
}
.quick-item:hover h3::after { width: 100%; }
.quick-item p { font-size: .9rem; color: rgba(255,255,255,.52); line-height: 1.65; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1526;
  color: rgba(255,255,255,.65);
  padding: 60px 0 40px;
  font-size: .9rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .f-logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
  display: block;
}
.footer-brand p { line-height: 1.9; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links strong { color: #fff; display: block; margin-bottom: 12px; font-size: .95rem; }
.footer-links a { display: block; padding: 4px 0; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Sub page hero ---------- */
.sub-hero {
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 52px;
  background: linear-gradient(120deg, #0a1f3c 0%, #123056 58%, #1b5fae 135%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 88% 12%, rgba(45,125,210,.28), transparent 42%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 100%, 58px 58px, 58px 58px;
}
.sub-hero .ph-pattern { display: none; }
.sub-hero .container { position: relative; z-index: 1; }
.sub-hero .crumb { font-size: .85rem; opacity: .7; margin-bottom: 10px; }
.sub-hero .crumb a:hover { text-decoration: underline; }
.sub-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }

/* sub nav tabs */
.sub-tabs {
  border-bottom: 1px solid var(--gray-300);
  background: var(--white);
}
.sub-tabs .container { display: flex; gap: 4px; overflow-x: auto; }
.sub-tabs a {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all .25s;
}
.sub-tabs a:hover { color: var(--blue-500); }
.sub-tabs a.active { color: var(--navy-900); border-bottom-color: var(--blue-500); }

/* content section inside sub page */
.sub-content { padding: 80px 0 110px; }

/* ---------- History timeline ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 130px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--gray-300);
}
.tl-year { display: flex; gap: 60px; padding: 28px 0; }
.tl-year .year {
  width: 100px;
  flex-shrink: 0;
  text-align: right;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-500);
  position: relative;
}
.tl-year .year::after {
  content: "";
  position: absolute;
  right: -37px; top: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-500);
}
.tl-year ul { flex: 1; display: grid; gap: 10px; padding-top: 6px; }
.tl-year li { display: flex; gap: 14px; color: var(--gray-700); }
.tl-year li .m {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy-900);
  width: 38px;
}

/* ---------- Tables (affiliates etc.) ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: .97rem;
}
.data-table th, .data-table td {
  border: 1px solid var(--gray-300);
  padding: 16px 18px;
  text-align: center;
}
.data-table thead th {
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
}
.data-table tbody th {
  background: var(--gray-100);
  color: var(--navy-900);
  font-weight: 700;
}
.table-scroll { overflow-x: auto; }

/* ---------- Feature list (forwarding 등) ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.feat-card h3 {
  color: var(--navy-900);
  font-size: 1.15rem;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.feat-card h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.feat-card .en { font-size: .78rem; color: var(--gray-500); letter-spacing: .06em; margin-bottom: 14px; }
.feat-card li {
  position: relative;
  padding-left: 16px;
  color: var(--gray-700);
  font-size: .95rem;
  margin-bottom: 6px;
}
.feat-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
}

/* ---------- Info banner / placeholders ---------- */
.img-placeholder {
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #eef2f6, #eef2f6 14px, #e5ebf1 14px, #e5ebf1 28px);
  border: 1.5px dashed var(--gray-300);
  display: grid;
  place-items: center;
  color: var(--gray-500);
  font-size: .9rem;
  min-height: 220px;
  text-align: center;
  padding: 20px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 54px;
  align-items: start;
}
.contact-info .row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-info .row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  display: grid; place-items: center;
  color: var(--blue-500);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info .row strong { display: block; color: var(--navy-900); }
.contact-info .row span { color: var(--gray-500); font-size: .95rem; }

.contact-form { display: grid; gap: 16px; }
.contact-form label { font-weight: 700; font-size: .92rem; color: var(--navy-900); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: .97rem;
  margin-top: 6px;
  transition: border-color .25s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--blue-500); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .83rem; color: var(--gray-500); }

/* ---------- Intro diagram (태웅 '태웅로직스는' 대응) ---------- */
.intro-diagram {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.intro-diagram .core {
  width: 190px; height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
  box-shadow: 0 16px 40px rgba(14,42,82,.35);
  z-index: 2;
}
.intro-diagram .core small { font-weight: 500; font-size: .72rem; opacity: .8; letter-spacing: .1em; }
.intro-diagram .sat {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy-800);
  line-height: 1.25;
}
.intro-diagram .sat small { font-weight: 500; font-size: .7rem; color: var(--gray-500); }
.intro-diagram .sat.p1 { top: 0;   left: 50%; transform: translateX(-50%); }
.intro-diagram .sat.p2 { bottom: 26px; left: 8%; }
.intro-diagram .sat.p3 { bottom: 26px; right: 8%; }
.intro-diagram .ring {
  position: absolute;
  width: 330px; height: 330px;
  border-radius: 50%;
  border: 1.5px dashed var(--gray-300);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Business carousel (태웅 사업영역 카드 슬라이더 대응) ---------- */
.biz-carousel-wrap { position: relative; }
.biz-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 26px;
  scrollbar-width: none;
}
.biz-carousel::-webkit-scrollbar { display: none; }
.biz-slide {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
}
.biz-slide:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.biz-slide .thumb {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.biz-slide .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,31,60,.45), transparent 55%);
}
.biz-slide .body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.biz-slide h3 { font-size: 1.22rem; color: var(--navy-900); margin-bottom: 4px; }
.biz-slide .en { font-size: .76rem; color: var(--blue-500); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.biz-slide p { font-size: .95rem; color: var(--gray-700); flex: 1; }
.biz-slide .more {
  margin-top: 20px;
  font-weight: 700;
  color: var(--blue-500);
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.biz-slide .more::after { content: "→"; transition: transform .25s; }
.biz-slide:hover .more::after { transform: translateX(4px); }

/* 사업영역 3열 그리드 (캐러셀 대체) */
.biz-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-3col .biz-slide .thumb { height: 190px; }
@media (max-width: 900px) {
  .biz-3col { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}
.carousel-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--navy-800);
  font-size: 1.1rem;
  transition: all .25s;
}
.carousel-nav button:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }

/* ---------- News & 거점 (시안 4 — 대형 타이포 클릭 아코디언) ---------- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.news-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.news-head-row h3 { font-size: 1.5rem; color: var(--navy-900); font-weight: 800; }
.news-head-row a { font-size: .85rem; color: var(--gray-500); font-weight: 600; }
.news-head-row a:hover { color: var(--blue-500); }

.news-acc { display: block; }
.na-item { border-bottom: 1px solid var(--gray-100); }
.na-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 20px 14px;
  border-radius: 8px;
  transition: background .25s;
}
.na-head:hover { background: var(--gray-100); }
.na-row { display: flex; align-items: center; gap: 16px; }
.na-code {
  flex-shrink: 0;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-500);
  min-width: 60px;
}
.na-title {
  flex: 1;
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.na-title .tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue-500);
  background: var(--blue-100);
  border-radius: 30px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: 3px;
}
.na-arr {
  flex-shrink: 0;
  color: var(--gray-300);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .3s, color .3s;
}
.na-item.open .na-arr { transform: rotate(90deg); color: var(--blue-500); }
.na-item.open .na-title { color: var(--blue-600); }
.na-body { overflow: hidden; height: 0; transition: height .32s cubic-bezier(.22,.61,.36,1); }
.na-body .na-inner {
  padding: 2px 14px 20px 90px;
  color: var(--gray-700);
  font-size: .96rem;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .na-title { font-size: 1.08rem; }
  .na-body .na-inner { padding-left: 14px; }
}

/* ---------- Client logos ---------- */
.client-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: center;
}
.client-strip .cl {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 26px 20px;
  display: grid;
  place-items: center;
  min-height: 130px;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.client-strip .cl:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.client-strip img { max-height: 74px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 900px) { .client-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .client-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; } .client-strip .cl { min-height: 104px; padding: 18px 12px; } }
.client-strip .cl-name {
  font-weight: 700;
  color: var(--gray-700);
  font-size: .95rem;
  text-align: center;
}

/* ---------- License gallery ---------- */
.lic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.lic-grid figure {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lic-grid img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.lic-grid figcaption {
  padding: 12px;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
}

/* ---------- Photo cards ---------- */
.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Org chart (조직도) ---------- */
.orgchart { display: flex; flex-direction: column; align-items: center; }
.oc-tier { display: flex; justify-content: center; gap: 16px; }
.oc-tier.wrap { flex-wrap: wrap; }
.oc-line { width: 2px; height: 26px; background: var(--gray-300); }
.oc-label {
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  margin: 6px 0 14px;
}
.oc-box {
  border-radius: 10px;
  padding: 14px 24px;
  text-align: center;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  line-height: 1.3;
  min-width: 128px;
}
.oc-box small { display: block; font-weight: 500; font-size: .8rem; color: var(--gray-500); margin-top: 3px; }
.oc-box.lead {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  border: none;
  padding: 16px 44px;
  font-size: 1.08rem;
}
.oc-box.exec, .oc-box.hq { border-color: var(--blue-400); color: var(--blue-600); }
.oc-box.exec small, .oc-box.hq small { color: var(--gray-700); }
.oc-box.hq { border-color: var(--blue-500); border-width: 2px; }

.oc-divisions { align-items: flex-start; gap: 20px; }
.oc-div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.oc-div .oc-box.div { position: relative; }
.oc-subs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  position: relative;
  padding-top: 14px;
}
.oc-subs::before {
  content: "";
  position: absolute;
  top: -12px; height: 12px;
  width: 2px;
  background: var(--gray-300);
}
.oc-sub {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 7px 15px;
  white-space: nowrap;
}
.oc-sub small { color: var(--gray-500); font-weight: 500; }
@media (max-width: 760px) {
  .oc-box { min-width: 0; padding: 12px 14px; font-size: .9rem; }
  .oc-box.lead { padding: 14px 28px; }
  .oc-tier { gap: 10px; }
  .oc-divisions { gap: 26px; }
}

/* ---------- Location map (찾아오시는 길) ---------- */
.map-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.map-tab {
  padding: 12px 24px;
  border-radius: 30px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-weight: 700;
  font-size: .95rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all .25s;
}
.map-tab:hover { border-color: var(--blue-400); color: var(--blue-600); }
.map-tab.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  background: var(--gray-100);
}
.map-frame iframe, .map-frame #kakaoMap { display: block; width: 100%; height: 460px; border: 0; }
.map-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-top: 36px;
  align-items: start;
}
.map-detail h3 { font-size: 1.5rem; color: var(--navy-900); margin-bottom: 4px; }
.map-detail .m-eyebrow { font-size: .78rem; letter-spacing: .12em; color: var(--blue-500); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.map-detail .m-rows { margin-top: 18px; }
.map-detail .m-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.map-detail .m-row .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-500); font-size: 1.05rem; }
.map-detail .m-row strong { display: block; color: var(--navy-900); font-size: .95rem; }
.map-detail .m-row span { color: var(--gray-500); font-size: .92rem; }
.map-detail .m-copy {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue-500);
  cursor: pointer;
  background: none;
  border: none;
}
.map-guide h4 { color: var(--navy-900); font-size: 1.1rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.map-guide h4::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.map-guide p { color: var(--gray-700); font-size: .95rem; line-height: 1.65; margin-bottom: 22px; }
@media (max-width: 768px) {
  .map-frame iframe, .map-frame #kakaoMap { height: 320px; }
  .map-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-tab { padding: 10px 16px; font-size: .9rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid, .network-wrap, .contact-grid, .news-grid { grid-template-columns: 1fr; gap: 44px; }
  .biz-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; max-width: 460px; }
  .quick-item { padding: 26px 8px; }
  .quick-item + .quick-item { border-left: none; border-top: 1px solid rgba(255,255,255,.13); }
  .feat-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3) { border-left: none; }
  .intro-diagram { min-height: 340px; }
}
@media (max-width: 860px) {
  .gnb { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 76px 0; }
  .sub-hero { height: 280px; padding-bottom: 40px; }
  .timeline::before { left: 74px; }
  .tl-year { gap: 34px; }
  .tl-year .year { width: 58px; font-size: 1.25rem; }
  .tl-year .year::after { right: -21px; top: 10px; width: 10px; height: 10px; }
  .scroll-hint { display: none; }
}
