@charset "utf-8";

/* ==========================================================================
   다담마이크로(주) — 공통 스타일
   기존 사이트의 디자인 언어를 그대로 계승
   - 제목 #222222 / 본문 #888888 / 배경 #FFFFFF·#F8F8F8·#FAFBF8
   - 섹션 라벨 48px 700 / 블록 제목 26px 700 / 본문 18px 400
   ========================================================================== */

:root {
  --ink: #222222;
  --muted: #888888;
  --muted-light: #aaaaaa;
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-tint: #fafbf8;
  --line: #e5e5e5;
  --brand: #e51b28;          /* 로고 레드 — 포인트로만 사용 */
  --header-h: 99px;
  --container: 1400px;
  /* 원본 헤더 콘텐츠 영역은 1225px (좌 100 ~ 우 1325). 1225 + 좌우 padding 20px = 1265 */
  --header-container: 1265px;
  /* 원본(imweb)이 쓰던 폰트 스택 그대로 */
  --font: "Roboto", "Noto Sans Korean", "Noto Sans KR", "Apple SD Gothic Neo",
          "Malgun Gothic", "맑은 고딕", "Nanum Gothic", "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 헤더 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 100;
  /* 주의: backdrop-filter / filter / transform 을 헤더에 걸지 말 것.
     내부의 모바일 메뉴(.gnb)가 position:fixed 이므로, 이 속성들이 붙으면
     헤더가 컨테이닝 블록이 되어 메뉴가 화면이 아닌 헤더 크기에 맞춰 잘린다. */
}

.header__inner {
  max-width: var(--header-container);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img { height: 25px; width: auto; }

.gnb { display: flex; align-items: center; }
.gnb > li { position: relative; list-style: none; }
.gnb {
  margin: 0; padding: 0;
  gap: 50px;                    /* 원본 메뉴 간격 */
}
.gnb__link {
  display: flex;
  align-items: center;
  height: var(--header-h);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.04em;       /* 원본 -0.72px @18px */
  color: var(--ink);
  white-space: nowrap;
  transition: color .18s;
}
.gnb__link:hover,
.gnb > li.is-open > .gnb__link { color: var(--brand); }

.gnb__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.gnb > li:hover .gnb__sub,
.gnb > li.is-open .gnb__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.gnb__sub a {
  display: block;
  padding: 9px 22px;
  font-size: 16px;
  color: #555;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.gnb__sub a:hover { color: var(--brand); background: var(--bg-soft); }

.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.lang a.is-active { color: var(--ink); }
.lang a:hover { color: var(--brand); }
.lang span { color: var(--line); }

.nav-toggle { display: none; width: 30px; height: 30px; position: relative; }
.nav-toggle i {
  position: absolute; left: 3px; right: 3px; height: 2px;
  background: var(--ink); transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle i:nth-child(1) { top: 8px; }
.nav-toggle i:nth-child(2) { top: 14px; }
.nav-toggle i:nth-child(3) { top: 20px; }

/* ---------- 히어로 슬라이더 ---------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  height: 780px;
  overflow: hidden;
  background: #1a1d24;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }

/* 사진 위 흰 글씨 가독성 확보용 오버레이 (원본보다 개선) */
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(0, 0, 0, .58) 0%,
              rgba(0, 0, 0, .42) 42%,
              rgba(0, 0, 0, .12) 72%,
              rgba(0, 0, 0, .05) 100%);
}

.hero__body {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero__text { max-width: 760px; }

/* JS가 있을 때만 등장 애니메이션 — 스크립트가 실패해도 글은 항상 보인다 */
.hero.is-js .hero__slide .hero__text > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.hero.is-js .hero__slide.is-active .hero__text > * {
  opacity: 1;
  transform: none;
}
.hero.is-js .hero__slide.is-active .hero__text > *:nth-child(2) { transition-delay: .12s; }
.hero.is-js .hero__slide.is-active .hero__text > *:nth-child(3) { transition-delay: .24s; }

.hero__title {
  margin: 0 0 22px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.hero__desc {
  margin: 0 0 34px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}

.hero__more {
  display: inline-block;
  padding: 14px 40px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
  transition: background .22s, color .22s, border-color .22s;
}
.hero__more:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 11px;
}
.hero__dots button {
  width: 11px; height: 11px; padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: background .2s, transform .2s;
}
.hero__dots button.is-active { background: #fff; transform: scale(1.18); }

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px; height: 52px;
  margin-top: -26px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: background .2s;
}
.hero__arrow:hover { background: rgba(0, 0, 0, .5); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }
.hero__arrow svg { width: 17px; height: 17px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--bg-tint); }
.section--soft { background: var(--bg-soft); }

.section__label {
  margin: 0 0 60px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
  text-align: center;
  color: var(--ink);
}
.section__label--light { color: #fff; }

/* ---------- TECHNOLOGIES ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.tech-card {
  position: relative;
  height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.tech-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .34);
  transition: background .3s;
}
.tech-card:hover::before { background: rgba(0, 0, 0, .5); }

.tech-card__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
  transition: transform .3s;
}
.tech-card:hover .tech-card__title { transform: translateY(-4px); }

/* ---------- WHAT WE OFFER ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px 30px;
}

.offer-item { text-align: center; }
.offer-item__icon {
  height: 63px;
  margin: 0 auto 24px;
  width: auto;
}
.offer-item__title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
}
.offer-item__desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- ABOUT US ---------- */
.about {
  position: relative;
  padding: 120px 0;
  background: #0f1620 center/cover no-repeat;
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.about::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 16, 26, .55);
}
.about__text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .92);
}
.about__text p { margin: 0 0 14px; }
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { font-weight: 700; color: #fff; }

/* ---------- LOCATION ---------- */
.map {
  width: 100%;
  height: 460px;
  border: 1px solid var(--line);
  filter: grayscale(.15);
}

.location-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-top: 36px;
}
.location-info__row { display: flex; gap: 16px; align-items: baseline; }
.location-info__row dt {
  flex: none;
  min-width: 82px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.location-info__row dd {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}
.location-info__row dd a:hover { color: var(--brand); }

/* ==========================================================================
   서브페이지 공통
   ========================================================================== */

/* ---------- 페이지 배너 (대메뉴명, 320px) ---------- */
.page-banner {
  margin-top: var(--header-h);
  height: 320px;
  display: grid;
  place-items: center;
  background: #223 center/cover no-repeat;
  isolation: isolate;
}
/* 원본과 동일한 아주 옅은 오버레이 — 사진 밝기를 그대로 살린다 */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .05);
}
.page-banner { position: relative; }
.page-banner__title {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -.02em;
  /* 오버레이가 옅으므로 밝은 사진에서도 읽히도록 그림자로 보완 */
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 0, 0, .3);
}

/* ---------- 서브탭 ---------- */
.subtab {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 76px);
  margin: 0;
  padding: 42px 20px 0;
  list-style: none;
}
.subtab a {
  display: block;
  padding-bottom: 12px;
  font-size: 18px;
  font-weight: 400;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.subtab a:hover { color: var(--ink); }
.subtab a.is-active {
  font-weight: 700;
  color: var(--ink);
  border-bottom-color: var(--brand);
}

/* ---------- 페이지 본문 ---------- */
.page-title {
  margin: 0 0 46px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  color: var(--ink);
}
.page-title--sub { font-size: 34px; margin-bottom: 32px; }

.prose { font-size: 18px; line-height: 1.65; color: #666; }
.prose p { margin: 0 0 26px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose--center { text-align: center; }

.lead {
  margin: 0 0 44px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}
.lead--left { text-align: left; }

/* 점 목록 — 원본과 동일하게 회색 · 표기 */
.dot-list { margin: 0; padding: 0; list-style: none; }
.dot-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.dot-list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--muted);
}
.dot-list li:last-child { margin-bottom: 0; }

/* 탭 (사업영역) */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.tab-btn {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 500;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .18s, border-color .18s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active {
  font-weight: 700;
  color: var(--ink);
  border-bottom-color: var(--brand);
}
/* JS가 동작할 때만 패널을 감춘다 — 스크립트가 없으면 전부 펼쳐서 보여준다 */
.tabs.is-js .tab-panel[hidden] { display: none; }
.tabs:not(.is-js) .tab-nav { display: none; }
.tabs:not(.is-js) .tab-panel[hidden] { display: block; }
.tab-panel { animation: tabIn .3s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 회사개요 정보 목록 — 원본과 동일하게 선 없는 2열 */
.info-list {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px 60px;
  margin: 0;
  font-size: 18px;
}
.info-list dt { font-weight: 700; color: var(--ink); }
.info-list dd { margin: 0; color: #666; }

/* 20px 부제 (원본의 섹션 부제) */
.blk__lead {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

/* 2차 서브탭 — 원본의 사업소개 / 제품소개 */
.subtab2 {
  display: flex;
  justify-content: center;
  gap: clamp(60px, 14vw, 200px);
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}
.subtab2 a {
  display: block;
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 400;
  color: #666;
  border-bottom: 2px solid transparent;
}
.subtab2 a:hover { color: var(--ink); }
.subtab2 a.is-active { font-weight: 700; color: var(--ink); border-bottom-color: var(--brand); }

/* 이미지 그리드 — 3열 / 4열 */
.grid3, .grid4 { display: grid; gap: 20px; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.grid3 figure, .grid4 figure { margin: 0; }
.grid3 img, .grid4 img { width: 100%; height: auto; display: block; }

/* 기능 아이콘 (이미지 + 캡션) */
.fn-item { margin: 0; text-align: center; }
.fn-item img { width: 100%; height: auto; display: block; }
.fn-item figcaption {
  margin-top: 14px;
  font-size: 18px;
  color: #666;
}

/* 카드 그리드 (제품·인증서 공용) */
.card-grid {
  display: grid;
  gap: 40px 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { display: flex; flex-direction: column; gap: 18px; }
.card__figure {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 24px;
  min-height: 220px;
}
.card__figure img { width: 100%; height: auto; }
.card__figure--tall { min-height: 400px; }
.card__figure--tall img { max-height: 420px; width: auto; }
.card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.card__body { font-size: 16px; line-height: 1.65; color: #666; }

/* 스펙 목록 */
.spec-list { margin: 0; padding: 0; list-style: none; }
.spec-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 9px;
  font-size: 16px;
  line-height: 1.55;
  color: #666;
}
.spec-list li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--muted);
}

/* 기능 아이콘 그리드 (IoT 8종) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.feature-item {
  padding: 34px 16px;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* 두 단 비교 (필터 vs 분해, UV vs Blue Light) */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.compare__col {
  padding: 34px 30px;
  border: 1px solid var(--line);
  background: #fff;
}
.compare__col--accent { border-color: var(--brand); }
.compare__head {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.compare__col--accent .compare__head { color: var(--brand); }

.note {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ==========================================================================
   원본 서브페이지 본문 패턴
   대제목 30px/700 · 중제목 26px/700 (둘 다 좌측정렬)
   문단 18px #666 · 점목록 18px #888
   ========================================================================== */

/* 큰 단락 제목 (예: 비접촉 생체활력징후감시기술 응용사업) */
.blk {
  margin-top: 100px;
}
.blk:first-child { margin-top: 0; }
.blk__title {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
/* 중간 제목 (예: Smart Bio Mirror) */
.blk__sub {
  margin: 60px 0 22px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.blk__sub:first-child { margin-top: 0; }
.blk__text {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
}
.blk__text:last-child { margin-bottom: 0; }

/* 제품 소개 — 좌측 이미지 + 우측 텍스트 */
.intro-split {
  display: grid;
  grid-template-columns: 276px 1fr;
  gap: 60px;
  align-items: center;
}
.intro-split__img { margin: 0; }
.intro-split__img img { width: 100%; height: auto; display: block; }
.intro-split__title {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
}

/* 본문 이미지 — 원본과 같이 컨테이너보다 약간 좁게 중앙 배치 */
.img-full {
  margin: 0 auto;
  max-width: 1225px;
}
.img-full img { width: 100%; height: auto; display: block; }

/* 이미지 2장 나란히 */
.img-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin: 0 auto;
  max-width: 1305px;
}
.img-row figure { margin: 0; }
.img-row img { width: 100%; height: auto; display: block; }

/* 좌우 2단 텍스트 (요양원 / 사회복지기관) */
.col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

/* 제품 라인업 (퓨리팟) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.product__img { margin: 0; background: var(--bg-soft); }
.product__img img { width: 100%; height: auto; display: block; }
.product__price {
  margin: 0;
  padding: 20px 20px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product__price > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.product__price dt { font-size: 17px; font-weight: 700; color: var(--ink); }
.product__price dd {
  margin: 0;
  font-size: 16px;
  color: #666;
  font-variant-numeric: tabular-nums;
}
.product__cta {
  margin: 0;
  padding: 14px 20px 20px;
  display: flex;
  gap: 8px;
}
.product__cta a {
  flex: 1;
  padding: 9px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: #555;
  transition: border-color .18s, color .18s;
}
.product__cta a:hover { border-color: var(--brand); color: var(--brand); }

/* 유튜브 영상 (16:9 반응형) */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 본문 이미지 */
.figure { margin: 0 0 56px; }
.figure:last-child { margin-bottom: 0; }
.figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}
.figure--plain img { border: 0; }
.figure__cap {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

/* 이미지 + 설명 나란히 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.split--wide-img { grid-template-columns: 1.25fr 1fr; }
.split img { width: 100%; height: auto; display: block; }
.split__title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* 기술 항목 카드 (사진 위 제목) */
.tech-item { }
.tech-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.tech-item__title {
  margin: 20px 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.tech-item__body { margin: 0; font-size: 16px; line-height: 1.7; color: #666; }

/* ---------- 푸터 (원본과 동일: 중앙정렬 + 로고) ---------- */
.footer {
  padding: 54px 0 60px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer__lang {
  display: flex; gap: 14px; align-items: center;
  font-size: 20px; font-weight: 700; color: var(--ink);
}
.footer__lang a { color: var(--muted); }
.footer__lang a.is-active { color: var(--ink); }
.footer__lang a:hover { color: var(--brand); }
.footer__lang span { color: var(--line); font-weight: 400; }
.footer__logo img { height: 26px; width: auto; margin: 0 auto; }
.footer__info { display: flex; flex-direction: column; gap: 4px; }
.footer__info p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer__info a:hover { color: var(--brand); }
.footer__copy { margin: 6px 0 0; font-size: 14px; color: var(--muted-light); }

/* ==========================================================================
   반응형
   ========================================================================== */

@media (max-width: 1200px) {
  .hero__title { font-size: 48px; }
  .section__label { font-size: 40px; margin-bottom: 48px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: block; }

  .gnb {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 40px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
  }
  .gnb.is-open { transform: none; }
  .gnb__link {
    height: auto;
    padding: 17px 24px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .gnb__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    padding: 6px 0 12px;
    border: 0;
    box-shadow: none;
    background: var(--bg-soft);
  }
  .gnb > li.is-open .gnb__sub { display: block; transform: none; }
  .gnb__sub a { padding: 11px 40px; }

  .hero { height: 560px; }
  .hero__title { font-size: 38px; }
  .hero__desc { font-size: 17px; }
  .hero__arrow { display: none; }

  .section { padding: 76px 0; }
  .tech-grid { grid-template-columns: 1fr; gap: 20px; }
  .tech-card { height: 260px; }
  .about { padding: 84px 0; }
  .map { height: 360px; }
  .location-info { grid-template-columns: 1fr; }

  .page-banner { height: 240px; }
  .page-banner__title { font-size: 40px; }
  .page-title { font-size: 34px; margin-bottom: 34px; }
  .subtab { padding-top: 30px; gap: 28px; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; gap: 18px; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .split, .split--wide-img { grid-template-columns: 1fr; gap: 26px; }
  .figure { margin-bottom: 40px; }
  .tech-item img { height: 200px; }

  .intro-split { grid-template-columns: 1fr; gap: 30px; }
  .intro-split__img { max-width: 260px; }
  .intro-split__title { font-size: 24px; margin-bottom: 22px; }
  .img-row, .col2 { grid-template-columns: 1fr; gap: 34px; }
  .info-list { grid-template-columns: 1fr; gap: 4px 0; font-size: 16px; }
  .info-list dd { margin-bottom: 16px; }
  .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .subtab2 { gap: 40px; margin-bottom: 34px; }
  .subtab2 a { font-size: 17px; }
  .blk__lead { font-size: 17px; }
  .fn-item figcaption { font-size: 15px; }
  .blk { margin-top: 64px; }
  .blk__title { font-size: 24px; margin-bottom: 22px; }
  .blk__sub { font-size: 21px; margin: 44px 0 18px; }
  .blk__text { font-size: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .hero { height: 480px; }
  .hero__title { font-size: 29px; margin-bottom: 16px; }
  .hero__desc { font-size: 15.5px; margin-bottom: 26px; }
  .hero__more { padding: 12px 30px; font-size: 15px; }

  .section { padding: 58px 0; }
  .section__label { font-size: 30px; margin-bottom: 36px; }

  .offer-grid { grid-template-columns: 1fr; gap: 40px; }
  .offer-item__title { font-size: 22px; }
  .offer-item__desc { font-size: 16px; }

  .page-banner { height: 190px; }
  .page-banner__title { font-size: 30px; }

  /* 탭 3개가 좁은 화면에서 가로로 넘치지 않도록 균등 분할 */
  .tab-nav { margin-bottom: 34px; }
  .tab-btn { flex: 1 1 0; min-width: 0; padding: 13px 6px; font-size: 15px; }
  .subtab { gap: 18px; }
  .subtab a { font-size: 16px; }
  .page-title { font-size: 30px; margin-bottom: 30px; }
  .page-title--sub { font-size: 24px; }
  .lead { font-size: 20px; margin-bottom: 30px; }
  .prose, .dot-list li { font-size: 16px; }
  .info-table th, .info-table td { padding: 14px 12px; font-size: 15px; }
  .info-table th { width: 104px; }

  .tech-card__title { font-size: 21px; }
  .about__text { font-size: 16px; }
  .location-info__row dt,
  .location-info__row dd { font-size: 16px; }
  .map { height: 300px; }
}

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