/* ==========================================================================
   NAMU COMPANY — Doobo-inspired Light Green Corporate UI
   Clean white + soft nature green. Full-width hero, card sections.
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

:root {
  --green: #5BAE6A;           /* light corporate green (doobo-like) */
  --green-dark: #3D8F4E;
  --green-deep: #2A6B3A;
  --green-soft: #EAF6EC;
  --green-mint: #F3FAF4;
  --ink: #222;
  --text: #444;
  --mute: #888;
  --line: #E6EAE7;
  --bg: #FFFFFF;
  --footer: #2C3330;

  /* legacy aliases (inline style / 구 마크업 호환) */
  --color-primary: var(--green);
  --color-primary-dark: var(--green-dark);
  --color-primary-light: var(--green-soft);
  --color-ink: var(--ink);
  --color-text: var(--text);
  --color-text-mute: var(--mute);
  --color-line: var(--line);
  --color-bg: var(--bg);
  --color-bg-soft: var(--green-mint);
  --color-dark: var(--footer);
  --color-white: #fff;

  --font: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 3.5vw, 32px);
  --header: 78px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(40, 70, 50, .08);
}

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

.wrap, .container {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- Buttons (contrast-safe variants) ---------- */
/* 기본 = 밝은 배경용: 흰 면 + 진한 그린 글자 */
.btn, .btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  font-size: 14.5px;
  font-weight: 700;
  transition: .2s ease;
  background: #fff;
  color: var(--green-deep);
  text-shadow: none;
}
.btn:hover, .btn-pill:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
/* 채워진 그린 CTA */
a.btn.solid, a.btn-pill.solid,
button.btn.solid, button.btn-pill.solid,
.btn.solid, .btn-pill.solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
a.btn.solid:hover, a.btn-pill.solid:hover,
.btn.solid:hover, .btn-pill.solid:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
/* 밝은 배경용 아웃라인 (명시) */
a.btn.on-light, a.btn-pill.on-light,
.btn.on-light, .btn-pill.on-light {
  background: #fff;
  border-color: var(--green);
  color: var(--green-deep);
}
a.btn.on-light:hover, a.btn-pill.on-light:hover,
.btn.on-light:hover, .btn-pill.on-light:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
/* 히어로/다크 배경용 — 흰 글자 시 흰 면 금지 */
a.btn.ghost-light, a.btn-pill.on-dark,
.btn.ghost-light, .btn-pill.on-dark {
  background: rgba(0, 0, 0, .32);
  border-color: rgba(255, 255, 255, .95);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
}
a.btn.ghost-light:hover, a.btn-pill.on-dark:hover,
.btn.ghost-light:hover, .btn-pill.on-dark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--green-deep);
  text-shadow: none;
}
.btn .arr, .btn-pill .arrow,
.btn .arrow, .btn-pill .arr { transition: transform .2s; }
.btn:hover .arr, .btn-pill:hover .arrow,
.btn:hover .arrow, .btn-pill:hover .arr { transform: translateX(3px); }

/* 히어로 슬라이드 컨트롤 가시성 */
.stage-nav button,
.hero-prev, .hero-next {
  background: rgba(0, 0, 0, .35) !important;
  border: 1.5px solid rgba(255, 255, 255, .9) !important;
  color: #fff !important;
}
.stage-nav button:hover,
.hero-prev:hover, .hero-next:hover {
  background: #fff !important;
  color: var(--green-deep) !important;
}
.stage-dots button {
  background: rgba(255, 255, 255, .45);
}
.stage-dots button.is-active {
  background: #fff;
}

/* 필터 탭 대비 고정 */
.filter-tabs button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}
.filter-tabs button:hover {
  border-color: var(--green);
  color: var(--green-deep);
  background: #fff;
}
.filter-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ==========================================================================
   Header — white, logo left, nav center-right (doobo corporate)
   ========================================================================== */
.masthead, .site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.masthead .wrap,
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img, .brand-logo img { height: 32px; }

.nav, .main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}
.nav, .main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav > li, .main-nav > ul > li { position: relative; }
.nav > li > a,
.main-nav > ul > li > a {
  display: block;
  padding: 12px 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 6px;
  transition: color .15s;
}
.nav > li > a:hover,
.nav > li.is-on > a,
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a,
.main-nav > ul > li.is-on > a {
  color: var(--green);
}

.drop, .dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 180px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: .18s ease;
}
@media (min-width: 761px) {
  .nav > li:hover .drop,
  .main-nav > ul > li:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.drop a, .dropdown-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
}
.drop a:hover, .dropdown-panel a:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

.mast-tools, .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-btn, .btn-en {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  min-width: 48px;
}
.lang-btn:hover, .btn-en:hover {
  border-color: var(--green);
  color: var(--green);
}
.lang-btn.is-en, .btn-en.is-en {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Google Translate — 위젯/배너 숨김, 페이지 내 번역만 사용 */
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}
body { top: 0 !important; }
.skiptranslate iframe { display: none !important; }
body > .skiptranslate { display: none !important; }
.burger, .nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  position: relative;
}
.burger span, .burger span::before, .burger span::after,
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.burger span, .nav-toggle span { top: 20px; }
.burger span::before, .nav-toggle span::before { top: -7px; }
.burger span::after, .nav-toggle span::after { top: 7px; }
.burger.is-open span, .nav-toggle.is-open span { background: transparent; }
.burger.is-open span::before, .nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after, .nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Full-width hero (doobo main visual)
   ========================================================================== */
.stage-hero,
.hero-carousel {
  position: relative;
  height: min(72vh, 640px);
  min-height: 460px;
  overflow: hidden;
  background: #1a2e22;
}
.stage-hero {
  display: block;
}
.stage-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* .wrap 과 동일 좌측 정렬 (left/right+width 충돌 제거) */
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px max(var(--gutter), calc((100% - var(--max)) / 2)) 96px;
  color: #fff;
  pointer-events: none;
}
.stage-copy > * { pointer-events: auto; max-width: 560px; }
.stage-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  opacity: .9;
  margin-bottom: 14px;
}
.stage-copy h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 16px;
  text-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.stage-copy .lede {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.7;
  opacity: .92;
  margin-bottom: 28px;
}
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 0; }
.stage-meta { display: none; }

.stage-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stage-slide, .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.stage-slide.is-active, .hero-slide.is-active { opacity: 1; }
/* 오버레이 1회만 — stage-visual 에만 적용 (이중 어둡게 방지) */
.stage-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20,40,28,.58) 0%, rgba(20,40,28,.28) 48%, rgba(20,40,28,.12) 100%);
  pointer-events: none;
}
.stage-hero::after,
.hero-carousel::after { content: none; display: none; }

.stage-controls {
  position: absolute;
  z-index: 4;
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}
.stage-dots { display: flex; gap: 8px; align-items: center; }
.stage-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.4);
  padding: 0;
}
.stage-dots button.is-active { background: #fff; width: 28px; border-radius: 999px; }
.stage-nav { display: flex; gap: 8px; }
.stage-nav button,
.hero-prev, .hero-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(0,0,0,.15);
  color: #fff;
  font-size: 18px;
}
.hero-controls {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.hero-counter { font-weight: 700; letter-spacing: .04em; }
.hero-counter .total { opacity: .6; font-weight: 500; }

/* ==========================================================================
   Sections
   ========================================================================== */
.band, .section {
  padding: 90px 0;
}
.band.tone-cream, .band.tone-paper, .section { background: #fff; }
.band.tone-warm, .band.tone-mint, .section.soft { background: var(--green-mint); }
.band.tone-deep {
  background: linear-gradient(180deg, var(--green-deep) 0%, #245532 100%);
  color: #fff;
}
.band.tone-soft { background: var(--green-soft); }

.band-head, .section-head {
  margin-bottom: 42px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.band-head {
  display: block;
  border: 0;
  padding: 0;
}
.band-index, .section-head .kicker {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.band.tone-deep .band-index { color: #B8E6C0; }
.band-head h2, .section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}
.band.tone-deep .band-head h2 { color: #fff; }
.band-head p, .section-head p {
  margin-top: 12px;
  color: var(--mute);
  font-size: 15.5px;
  max-width: none;
}
.band.tone-deep .band-head p { color: rgba(255,255,255,.78); }
.band-head .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.band.tone-deep .band-head .more { color: #C8F0D0; }
.section-foot {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* About split — doobo style image + text */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.split-feature .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-feature .frame::before { display: none; }
.split-feature .frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-feature .copy h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 16px;
}
.split-feature .copy p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 24px;
}
.stat-row .stat {
  background: var(--green-mint);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
}
.stat-row .stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}
.stat-row .stat span { font-size: 12.5px; color: var(--mute); }

.about-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-summary .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.about-summary .stat b {
  display: block;
  font-size: 26px;
  color: var(--green);
  font-weight: 800;
}
.about-summary .stat span { font-size: 12.5px; color: var(--mute); }

/* Business cards — 4 equal (doobo brand/about cards) */
.rail-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rail-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  color: var(--ink);
  transition: transform .2s, box-shadow .2s;
  padding: 0;
  gap: 0;
}
.band.tone-deep .rail-item { background: #fff; }
.rail-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
}
.rail-item .n {
  display: none;
}
.rail-item .thumb {
  order: -1;
  height: 160px;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--green-mint);
}
.rail-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform .35s ease;
}
.rail-item:hover .thumb img { transform: scale(1.04); }
.rail-item > div:nth-child(2) {
  padding: 20px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rail-item h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.rail-item p {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.55;
}
.rail-item .go {
  display: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.info-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--green-mint); }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.info-card:hover .thumb img { transform: scale(1.04); }
.info-card .body { padding: 18px; }
.info-card .num { color: var(--green); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.info-card h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.info-card p { font-size: 13.5px; color: var(--mute); line-height: 1.55; }

/* Products — fixed image slot so mixed PNG ratios do not break the grid */
.product-row, .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
/* button reset + equal-height cards */
button.product-card,
.product-tile, .product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0; /* grid overflow 방지 */
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-tile:hover, .product-card:hover,
button.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(91, 174, 106, .35);
}
.product-tile:focus-visible, .product-card:focus-visible,
button.product-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* 고정 정사각 이미지 영역 — 원본 비율과 무관하게 슬롯 크기 고정 */
.product-tile .thumb, .product-card .thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background:
    linear-gradient(180deg, #f7fbf7 0%, var(--green-mint) 100%);
  overflow: hidden;
  display: block;
}
.product-tile .thumb img, .product-card .thumb img {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 14px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  /* 극단적 세로형(가루통 등)도 슬롯 안에서만 표시 */
  display: block;
}

.product-tile .brand, .product-card .brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-tile h3, .product-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
  margin: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.product-tile p, .product-card .weight {
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
}
.product-tile > .brand,
.product-tile > h3,
.product-tile > p {
  padding-left: 16px;
  padding-right: 16px;
}
.product-tile > .brand { padding-top: 14px; display: block; }
.product-tile > h3 { margin-top: 2px; margin-bottom: 6px; }
.product-tile > p { padding-bottom: 18px; margin-top: 0; }

/* 텍스트 영역: 하단 정렬로 카드 높이 통일 */
.product-card .body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
  min-height: 0;
  box-sizing: border-box;
}
.product-card .badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 0;
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .weight {
  margin-top: auto;
  padding-top: 8px;
}
.product-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 16px;
  color: var(--mute);
  background: var(--green-mint);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

/* 제품 상세 모달 — 이미지 비율 달라도 박스 안 깨짐 */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 35, 25, .5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 740px;
  width: 100%;
  max-height: min(90vh, 720px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
.modal-box .modal-img {
  background: linear-gradient(180deg, #f7fbf7 0%, var(--green-mint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  min-height: 280px;
  max-height: min(90vh, 720px);
  overflow: hidden;
}
.modal-box .modal-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
}
.modal-box .modal-content {
  padding: 32px 28px;
  position: relative;
  overflow-y: auto;
  max-height: min(90vh, 720px);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  z-index: 2;
}
.modal-content .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.modal-content .brand { font-size: 13px; color: var(--mute); }
.modal-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0;
  word-break: keep-all;
}
.modal-content .weight { font-size: 14px; color: var(--mute); margin-bottom: 14px; }
.modal-content p { font-size: 15px; line-height: 1.75; color: var(--text); }

@media (max-width: 640px) {
  .modal-box {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .modal-box .modal-img {
    min-height: 200px;
    max-height: 42vh;
    padding: 20px;
  }
  .modal-box .modal-img img {
    max-height: 36vh;
  }
  .modal-box .modal-content {
    max-height: none;
  }
}

.filter-group { margin-bottom: 14px; }
.filter-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  justify-content: center;
}
.filter-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.filter-tabs button:hover {
  border-color: var(--green);
  color: var(--green-deep);
  background: #fff;
}
.filter-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.filter-tabs button.active:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

/* News — 3 cards */
.news-strip, .news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  padding: 0;
  gap: 0;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.news-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--green-mint);
  margin: 0;
  border-radius: 0;
}
.news-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card > div:not(.thumb),
.news-card .tag,
.news-card h3,
.news-card p,
.news-card time {
  /* structure from JS may wrap content */
}
.news-card .tag {
  display: block;
  padding: 14px 18px 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green);
  margin: 0;
}
.news-card h3 {
  padding: 8px 18px 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.news-card p {
  padding: 8px 18px 0;
  font-size: 13.5px;
  color: var(--mute);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card time {
  padding: 12px 18px 18px;
  font-size: 12.5px;
  color: #aaa;
  margin-top: auto;
  white-space: normal;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--mute);
  background: var(--green-mint);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

/* ==========================================================================
   Sub pages
   ========================================================================== */
.page-hero, .sub-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 36px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero::before, .sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* 밝은 사진에서도 흰 제목이 읽히도록 오버레이 강화 */
  background: linear-gradient(180deg, rgba(20, 36, 28, .35) 0%, rgba(20, 36, 28, .72) 100%);
}
.page-hero .wrap, .sub-hero .container, .sub-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero .crumb {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.page-hero h1, .sub-hero h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.page-hero p, .sub-hero p {
  margin-top: 8px;
  opacity: .95;
  font-size: 14.5px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.page-tabs, .sub-tabs {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header);
  z-index: 50;
}
.page-tabs ul, .sub-tabs ul {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}
.page-tabs a, .sub-tabs a {
  display: block;
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mute);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.page-tabs li.is-on a,
.page-tabs a:hover,
.sub-tabs li.active a,
.sub-tabs li.is-on a,
.sub-tabs a:hover {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 15.5px; line-height: 1.9; margin-bottom: 16px; color: var(--text); }
.prose .lead {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 24px;
}

.greeting-grid, .greeting-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.greeting-body p {
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
}
.greeting-body .lead {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}
.value-grid, .value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 30px;
}
.value-card {
  background: var(--green-mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.value-card b {
  display: block;
  color: var(--green-deep);
  font-size: 16px;
  margin-bottom: 8px;
}
.value-card span { font-size: 13.5px; color: var(--mute); line-height: 1.55; }
.signature { margin-top: 24px; }
.signature img { height: 56px; }
.signature .who { margin-top: 10px; font-size: 14px; color: var(--mute); }

.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.timeline-item .year {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}
.timeline-item .events { display: flex; flex-direction: column; gap: 10px; }
.timeline-item .event { display: flex; gap: 14px; font-size: 15px; }
.timeline-item .event .m { color: var(--mute); min-width: 48px; font-weight: 700; }

.org-chart { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.org-node {
  padding: 14px 26px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-soft);
}
.org-node.top { background: var(--green); color: #fff; border-color: var(--green); font-size: 17px; }
.org-connector { width: 2px; height: 22px; background: var(--line); }
.org-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.org-branch { display: flex; flex-direction: column; align-items: center; }
.org-dept { border-color: var(--line); background: #fff; color: var(--ink); text-align: center; font-size: 14px; }
.org-dept small { display: block; font-weight: 500; color: var(--mute); font-size: 12px; margin-top: 6px; }

.ci-logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ci-logo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 40px;
  display: grid;
  place-items: center;
}
.ci-logo-card.dark { background: var(--footer); }
.ci-logo-card img { max-height: 56px; }
.color-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatch { border-radius: var(--radius); padding: 24px; color: #fff; min-height: 120px; }
.swatch b { display: block; font-size: 15px; margin-bottom: 8px; }
.swatch span { display: block; font-size: 12.5px; opacity: .9; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:first-child { border-top: none; }
.info-table th, .info-table td { text-align: left; padding: 14px 0; font-size: 14.5px; }
.info-table th { width: 120px; color: var(--mute); font-weight: 600; }
.location-block { margin-bottom: 52px; }
.location-block h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  background: var(--green-mint);
}
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ==========================================================================
   Facilities page
   ========================================================================== */
#jindo, #seoul { scroll-margin-top: calc(var(--header) + 16px); }

.fac-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.fac-intro-copy .kicker,
.fac-cta .kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fac-intro-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 16px;
}
.fac-intro-copy > p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
}
.fac-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fac-stat {
  background: var(--green-mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}
.fac-stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}
.fac-stat span { font-size: 12.5px; color: var(--mute); }
.fac-intro-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.fac-intro-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.fac-intro-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--mute);
  background: #fff;
  border-top: 1px solid var(--line);
}

.fac-site-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fac-site-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.fac-site-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(91, 174, 106, .4);
}
.fac-site-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.fac-site-card.is-office .fac-site-badge {
  color: #3a4a6b;
  background: #eef2f8;
}
.fac-site-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.fac-site-card > p {
  font-size: 14.5px;
  color: var(--mute);
  margin-bottom: 16px;
  line-height: 1.55;
}
.fac-site-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.fac-site-tags li {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-mint);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
}
.fac-site-card.is-office .fac-site-tags li {
  color: #3a4a6b;
  background: #f4f6fa;
}
.fac-site-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
}

.fac-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.fac-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.fac-block-head h2 {
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.fac-block-head p {
  font-size: 15px;
  color: var(--mute);
  max-width: 52ch;
  line-height: 1.7;
}

.fac-map-row {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 36px;
}
.fac-map-row.reverse { direction: rtl; }
.fac-map-row.reverse > * { direction: ltr; }
.fac-map {
  margin-bottom: 0;
  height: 100%;
  min-height: 320px;
}
.fac-map iframe { height: 100%; min-height: 320px; }
.fac-info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.fac-info-panel h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.fac-info-panel .info-table { margin-bottom: 8px; }
.fac-info-panel .info-table th { width: 88px; }
.fac-note {
  margin-top: 16px;
  padding: 14px 14px;
  background: var(--green-mint);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
}
.fac-note a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fac-gallery-head {
  margin-bottom: 16px;
}
.fac-gallery-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.fac-gallery-head p {
  font-size: 14px;
  color: var(--mute);
}
.fac-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(140px, 1fr);
  gap: 12px;
}
.fac-shot {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green-mint);
  min-height: 160px;
}
.fac-shot.is-wide {
  grid-row: span 2;
  min-height: 340px;
}
.fac-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.fac-shot:hover img { transform: scale(1.04); }
.fac-shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 36, 28, .72));
}

.fac-process-band .fac-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fac-step {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
}
.fac-step span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #B8E6C0;
  margin-bottom: 10px;
}
.fac-step h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.fac-step p {
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

.fac-office-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 8px;
}
.fac-office-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.fac-office-copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.fac-office-copy h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.fac-office-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.fac-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 36px 32px;
  background: var(--green-mint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fac-cta h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.fac-cta p {
  font-size: 14.5px;
  color: var(--mute);
  max-width: 48ch;
}
.fac-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .fac-intro,
  .fac-map-row,
  .fac-map-row.reverse,
  .fac-office-visual,
  .fac-site-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .fac-process-band .fac-process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .fac-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .fac-shot.is-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }
  .fac-stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .fac-process-band .fac-process-steps,
  .fac-gallery {
    grid-template-columns: 1fr;
  }
  .fac-block-head { align-items: flex-start; }
  .fac-cta { padding: 24px 18px; }
}
.transit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.transit-card {
  background: var(--green-mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.transit-card h4 { font-size: 14px; font-weight: 800; color: var(--green-deep); margin-bottom: 10px; }
.transit-card p { font-size: 14px; line-height: 1.7; color: var(--text); }

.biz-detail-list { display: flex; flex-direction: column; gap: 24px; }
.biz-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(40,70,50,.04);
  /* sticky 헤더 + 탭 높이 고려한 앵커 스크롤 */
  scroll-margin-top: calc(var(--header) + 64px);
}
.biz-detail-card:target {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.biz-detail-card:nth-child(even) { direction: rtl; }
.biz-detail-card:nth-child(even) > * { direction: ltr; }
.biz-detail-card .thumb { min-height: 280px; background: var(--green-mint); }
.biz-detail-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.biz-detail-card .body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.biz-detail-card .num {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.biz-detail-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.biz-detail-card p { font-size: 15px; line-height: 1.8; color: var(--text); }
.keyword-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.keyword-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12.5px;
  font-weight: 700;
  border: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
}
.process-step .step-no {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--mute); line-height: 1.65; }

.news-detail-head { max-width: 760px; margin: 0 auto 28px; }
.news-detail-head .tag { color: var(--green); font-weight: 800; font-size: 13px; margin-bottom: 10px; display: block; }
.news-detail-head h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 12px;
}
.news-detail-head time { color: var(--mute); font-size: 14px; }
.news-detail-body { max-width: 760px; margin: 0 auto; }
.news-detail-body .cover {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.news-detail-body p { font-size: 16px; line-height: 1.9; margin-bottom: 16px; color: var(--text); }
.news-back { margin-top: 36px; }

.policy-doc h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 28px 0 12px;
}
.policy-doc h2:first-child { margin-top: 0; }
.policy-doc p, .policy-doc li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
}
.policy-doc li { margin-left: 18px; }
.policy-note {
  background: var(--green-mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--mute);
  margin-bottom: 28px;
}

/* ==========================================================================
   Footer — doobo-like contact + columns
   ========================================================================== */
.colophon, .site-footer {
  background: var(--footer);
  color: rgba(255,255,255,.72);
  padding: 56px 0 28px;
}
.colophon-top, .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.colophon .logo img, .footer-brand .brand-logo img { height: 28px; margin-bottom: 18px; }
.colophon .hotline {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.colophon .hot-sub { font-size: 13.5px; line-height: 1.7; }
.footer-contact h2 { font-size: 15px; color: #fff; margin-bottom: 10px; }
.footer-contact .rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  opacity: .75;
}
.colophon-cols, .footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.colophon-cols h4, .footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}
.colophon-cols a, .footer-col a {
  display: block;
  font-size: 13.5px;
  padding: 5px 0;
  color: rgba(255,255,255,.68);
}
.colophon-cols a:hover, .footer-col a:hover { color: #fff; }
.colophon-legal, .footer-legal {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
.colophon-legal a, .footer-legal a {
  color: rgba(255,255,255,.7);
  margin-right: 14px;
}
.colophon-copy, .footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.to-top, .back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  z-index: 80;
  box-shadow: 0 8px 20px rgba(60,140,80,.3);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
}
.to-top.is-visible, .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .rail-list, .product-row, .product-grid, .card-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-strip, .news-list { grid-template-columns: repeat(2, 1fr); }
  .color-swatches { grid-template-columns: 1fr 1fr; }
  /* 중간 폭: 메뉴 글자 겹침/넘침 완화 */
  .nav > li > a,
  .main-nav > ul > li > a {
    padding: 10px 10px;
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .split-feature, .about-summary, .greeting-grid, .greeting-layout {
    grid-template-columns: 1fr;
  }
  .value-grid, .value-row, .transit-grid, .stat-row { grid-template-columns: 1fr; }
  .biz-detail-card,
  .biz-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .colophon-top, .footer-top { flex-direction: column; }
  .modal-box { grid-template-columns: 1fr; }
  .ci-logo-grid { grid-template-columns: 1fr; }
  .stage-hero, .hero-carousel { height: 480px; min-height: 420px; }
}

@media (max-width: 760px) {
  .burger, .nav-toggle { display: block; }
  .nav, .main-nav {
    position: fixed;
    top: var(--header); left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 12px 18px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 190;
  }
  .main-nav > ul { flex-direction: column; width: 100%; }
  .nav.is-open, .main-nav.is-open { transform: translateX(0); }
  .nav > li > a, .main-nav > ul > li > a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }
  .drop, .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .nav > li.mobile-expanded .drop,
  .main-nav > ul > li.mobile-expanded .dropdown-panel { display: block; }
  /* 모바일에서도 한/영 전환 유지 */
  .rail-list, .product-row, .product-grid, .card-grid,
  .process-grid, .news-strip, .news-list {
    grid-template-columns: 1fr;
  }
  .timeline-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .colophon-cols, .footer-cols { gap: 28px; flex-direction: column; }
  .band, .section { padding: 64px 0; }
  .page-tabs ul, .sub-tabs ul { justify-content: flex-start; }
}
