/* ===== 지투오 홈페이지 공통 스타일 ===== */
/* 디자인 원칙: 네이비/블루 신뢰감 유지, 꾸밈 요소는 줄이고
   MILES의 '레이저 빔' 선 하나를 구조 장치로 반복 사용 (히어로 · 연혁 · 검사 공정) */
:root {
  --navy: #0f1f36;      /* 기본 남색: 헤더, 문의, 강조 면 */
  --navy-2: #172c4a;    /* 남색 위 2단 면 */
  --blue: #1f6fb5;      /* 버튼 · 흰 배경 위 강조 글자 (흰색 대비 5.3:1) */
  --beam: #5ab4f5;      /* 레이저 선 · 남색 위 강조 */
  --blue-soft: #e8f2fb;
  --text: #1c2533;
  --text-2: #3a4453;    /* 본문 글자 */
  --muted: #535e6e;     /* 보조 글자 (흰색 대비 6.4:1) */
  --line: #dfe4ea;
  --bg-soft: #f4f6f9;
  --white: #fff;
  --radius: 10px;
  --max: 1180px;
  --header-h: 72px;
  --font-head: "IBM Plex Sans KR", "Pretendard", sans-serif;
  --font-body: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a, button, summary { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; }
h1, h2 { letter-spacing: -.02em; }
b, strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--beam); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 112px 0; }
.bg-soft { background: var(--bg-soft); }

.section-title { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.32; }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 40em; }
/* 제품 소개문: 한글은 한 줄, 영문은 두 줄로 */
#products .section-lead { max-width: none; }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }
/* 첫 화면 문장: 넓은 화면에서 첫 줄에 ISO·생산·검사까지 */
.br-hero { display: none; }
@media (min-width: 1100px) { .br-hero { display: inline; } .hero .hero-copy p { max-width: none; } html[lang="en"] .hero h1 { max-width: none; } }
.section-head { margin-bottom: 56px; }
.sub-title { font-size: 24px; margin-bottom: 32px; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.brand-text span { font-size: 10px; letter-spacing: .12em; opacity: .75; font-weight: 600; }
.header.scrolled .brand { color: var(--navy); }
.header.scrolled .logo-light { display: none; }
.header.scrolled .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: #fff; font-weight: 600; font-size: 15px; opacity: .9; transition: opacity .2s, color .2s; padding: 10px 0; }
.nav a:hover { opacity: 1; }
.header.scrolled .nav a { color: var(--text); }
.header.scrolled .nav a:hover { color: var(--blue); }
.lang { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 4px; }
.lang a { font-size: 13px !important; padding: 6px 12px !important; border-radius: 999px; line-height: 1.4; }
.lang a.on { background: #fff; color: var(--navy) !important; }
.header.scrolled .lang { border-color: var(--line); }
.header.scrolled .lang a.on { background: var(--navy); color: #fff !important; }

.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; transition: transform .25s, background-color .25s;
}
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.header.scrolled .menu-btn span, .header.scrolled .menu-btn span::before, .header.scrolled .menu-btn span::after,
.header.open .menu-btn span::before, .header.open .menu-btn span::after { background: var(--navy); }
.header.open .menu-btn span { background: transparent; }
.header.open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.header.open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; padding: calc(var(--header-h) + 64px) 0 0;
  background: var(--navy) url("../img/building.jpg") 65% center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  /* 글이 놓이는 왼쪽은 충분히 어둡게, 건물이 보이는 오른쪽만 밝게 */
  background:
    linear-gradient(0deg, rgba(15,31,54,.55) 0%, rgba(15,31,54,0) 45%),
    linear-gradient(100deg, rgba(15,31,54,.96) 0%, rgba(15,31,54,.9) 36%, rgba(15,31,54,.6) 60%, rgba(15,31,54,.28) 100%);
}
.hero .container { position: relative; }
.hero-copy { padding-bottom: clamp(72px, 12vh, 128px); }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; max-width: 14em; }
.hero p { margin-top: 24px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.88); max-width: 27em; }
.hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; height: 52px; padding: 0 28px;
  border-radius: 8px; font-weight: 600; font-size: 15px; transition: background-color .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #185d99; }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* 페이지 로드 시 한 번만 재생되는 장면 */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero p, .hero-actions { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero p { animation-delay: .12s; }
  .hero-actions { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===== About ===== */
/* 상단 제목: 다른 섹션과 같은 제목줄, 오른쪽에 한 줄 설명 */
.ethos .section-lead { color: var(--muted); }

/* 모든 블록: 왼쪽 제목 + 오른쪽 내용, 블록 사이 가는 선 하나 */
.about-rows { margin-top: 0; }
.about-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.about-row:last-child { padding-bottom: 0; }
.about-label { font-size: 16px; font-weight: 600; color: var(--muted); line-height: 1.6; }

/* 회사 개요 */
.ethos-body { max-width: 44em; }
.ethos-body p { font-size: 16px; color: var(--text-2); line-height: 1.8; }
.ethos-body p + p { margin-top: 16px; }

/* 일하는 방식 */
.ethos-ways li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.ethos-ways li + li { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.ethos-no { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.6; }
.ethos-ways h4 { font-size: 20px; line-height: 1.4; color: var(--navy); }
.ethos-ways p { margin-top: 8px; font-size: 16px; color: var(--text-2); line-height: 1.8; max-width: 44em; }

/* 미션 · 비전 */
.mv { display: grid; grid-template-columns: max-content 1fr; gap: 64px; }
/* 영문: 미션·비전 두 칸을 같은 너비로 */
html[lang="en"] .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mv-item h4 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.mv-item p { font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.mv-item p small { display: block; font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* 회사 정보 */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 14px 0; font-size: 16px; vertical-align: top; }
.info-table tr:first-child th, .info-table tr:first-child td { padding-top: 0; }
.info-table tr:last-child th, .info-table tr:last-child td { padding-bottom: 0; }
.info-table tr + tr th, .info-table tr + tr td { border-top: 1px solid var(--line); }
.info-table th { width: 112px; color: var(--muted); font-weight: 600; }
.info-table td { color: var(--text); }
.nw { white-space: nowrap; }

/* 연혁: 연도 노드가 놓인 선 */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
html[lang="ko"] .year li { white-space: nowrap; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--blue); }
.year { position: relative; padding: 0 24px 0 0; }
.year h4 { font-size: 24px; color: var(--navy); line-height: 1; padding-top: 36px; position: relative; }
.year h4::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.year ul { margin-top: 16px; display: grid; gap: 12px; }
.year li { display: grid; grid-template-columns: 32px 1fr; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.year li b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }

/* 인증 및 등록 */
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert-img { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; }
.cert-img img { max-height: 100%; object-fit: contain; box-shadow: 0 2px 10px rgba(15,31,54,.08); }
.cert h4 { margin-top: 12px; font-size: 15px; color: var(--text); line-height: 1.4; }
.cert p { margin-top: 2px; font-size: 14px; color: var(--muted); }

/* ===== Business ===== */
/* 왼쪽 탭 + 오른쪽 카드 (이미지 | 설명 · 항목표) */
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section-head.split .section-lead { margin-top: 0; font-size: 16px; }
.biz-tabs { display: grid; grid-template-columns: 296px 1fr; gap: 56px; align-items: start; }
.biz-tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 32px); }
.biz-tablist button {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 20px 20px 20px 20px; border: 0; border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent; background: none; font: inherit; color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.biz-tablist button strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.biz-tablist button span { font-size: 14px; color: var(--muted); }
.biz-tablist button:hover { background: rgba(255,255,255,.6); }
.biz-tablist button[aria-selected="true"] { background: #fff; border-left-color: var(--blue); }
.biz-tablist button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.biz-panel { background: #fff; border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; scroll-margin-top: calc(var(--header-h) + 20px); }
.biz-panel[hidden] { display: none; }
.biz-panel:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.biz-media { position: relative; background: var(--bg-soft); border-radius: 8px; padding: 24px 24px 48px; display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.biz-media img { width: 100%; height: auto; border-radius: 4px; }
.biz-cap { position: absolute; left: 24px; bottom: 16px; font-size: 13px; color: var(--muted); }
.biz-label { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--blue); }
.biz-info h3, .biz-head h3 { margin-top: 8px; font-size: 28px; color: var(--navy); line-height: 1.3; }
.biz-desc { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.spec { margin-top: 24px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 15px; color: var(--muted); }
.spec dd { font-size: 15px; font-weight: 600; color: var(--text); }
.biz-foot { margin-top: 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.biz-foot span { font-size: 14px; color: var(--muted); }
.biz-foot a { font-weight: 600; color: var(--navy); padding-bottom: 2px; border-bottom: 2px solid var(--blue); }
.biz-foot a:hover { color: var(--blue); }
/* 사업 카드(유지보수 제외): 제목줄 → 큰 이미지 → 항목표 */
.biz-panel.stack { grid-template-columns: 1fr; gap: 28px; }
.biz-head .biz-desc { max-width: 44em; }
.biz-panel.stack .biz-media { min-height: 0; padding: 32px 32px 52px; }
.biz-panel.stack .biz-media img { max-height: 520px; object-fit: contain; }
.biz-panel.stack .spec { margin-top: 0; }

/* 유지보수: 제목줄 → 서비스 체계 → A/S 절차 → 장기 지원, 블록 사이 가는 선 */
.biz-panel.mro { gap: 40px; }
.mro-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 28px; }
.mro-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: underline 2px var(--blue); text-underline-offset: 6px; }
.mro-links a:hover { color: var(--blue); }
.mro-block { padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.mro-block > h4 { font-size: 22px; color: var(--navy); line-height: 1.4; }
.mro-lead { margin-top: 8px; font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 44em; }
.mro-services { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mro-services > li { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mro-services h5 { font-size: 18px; color: var(--navy); line-height: 1.4; }
.mro-services p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.mro-services ul { margin-top: 16px; display: grid; gap: 8px; }
.mro-services ul li, .mro-list li { position: relative; padding-left: 14px; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.mro-services ul li::before, .mro-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; background: #aab5c2; border-radius: 1px; }
.mro-steps { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: mro; }
.mro-steps li { counter-increment: mro; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.6; }
.mro-steps li::before { content: counter(mro, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.mro-steps b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.mro-note { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.mro-list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.mro-list li { padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mro-list li::before { top: calc(14px + .7em); }

/* ===== Products: 구분별 행, 대표 장비 사진 몇 장 + 전체 장비명 ===== */
.lines { border-top: 2px solid var(--navy); }
.line { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid #cfd6df; scroll-margin-top: calc(var(--header-h) + 20px); }
.line h3 { margin-top: 4px; font-size: 24px; color: var(--navy); }
.line-desc { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { aspect-ratio: 4/3; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shots figcaption { margin-top: 8px; font-size: 14px; color: var(--text); }
.line-names { margin-top: 20px; }
.line-names summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.line-names summary::-webkit-details-marker { display: none; }
.line-names summary::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.line-names[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.line-names summary:hover { color: var(--blue); }
.line-names summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.line-names ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.line-names li { font-size: 14px; color: var(--text-2); }
.line-names li::before { content: ""; display: inline-block; width: 4px; height: 4px; background: #aab5c2; border-radius: 1px; margin-right: 8px; vertical-align: 3px; }

/* ===== Contact ===== */
.contact { background: var(--navy); color: #fff; }
.contact .section-lead { color: rgba(255,255,255,.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
.contact-list { display: grid; gap: 16px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 24px; background: var(--navy-2); border-radius: var(--radius); transition: background .2s; }
a.contact-item:hover { background: #1f3a5f; }
.contact-item .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.contact-item .ic svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.8); }
.contact-item small { display: block; font-size: 13px; color: rgba(255,255,255,.65); }
.contact-item strong { font-size: 18px; font-weight: 600; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.map-links a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: rgba(255,255,255,.9); }
.map-links a:hover { background: rgba(255,255,255,.08); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--navy-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: #0a1628; color: rgba(255,255,255,.62); padding: 40px 0; font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer address { font-style: normal; line-height: 1.8; }
.footer address span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: rgba(255,255,255,.25); margin: 0 12px; vertical-align: -1px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .biz-tabs { grid-template-columns: 240px 1fr; gap: 32px; }
  .biz-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .biz-media { min-height: 0; }
  .mro-steps { grid-template-columns: 1fr; }
  .mro-steps li { display: grid; grid-template-columns: 40px 140px 1fr; align-items: baseline; padding: 16px 20px; }
  .mro-steps li::before { margin-bottom: 0; }
  .mro-steps b { margin-bottom: 0; }
  .line { grid-template-columns: 1fr; gap: 20px; }
  .about-row { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  /* 연혁: 세로 선으로 전환 */
  .timeline { grid-template-columns: 1fr; gap: 36px; padding-left: 32px; justify-content: stretch; }
  html[lang="ko"] .year li { white-space: normal; }
  .timeline::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: var(--blue); }
  .timeline::before { top: 4px; }
  .year h4 { padding-top: 0; }
  .year h4::before { left: -32px; top: 4px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  section { padding: 80px 0; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,.06); display: none;
  }
  .header.open { background: #fff; }
  .header.open .brand { color: var(--navy); }
  .header.open .logo-light { display: none; }
  .header.open .logo-dark { display: block; }
  .header.open .nav { display: flex; }
  .nav a { color: var(--text) !important; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .lang { border-color: var(--line) !important; align-self: flex-start; margin-top: 16px; }
  .lang a { border-bottom: 0; padding: 8px 16px !important; }
  .lang a.on { background: var(--navy) !important; color: #fff !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .biz-tabs { grid-template-columns: 1fr; gap: 20px; }
  .biz-tablist { position: static; flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .biz-tablist button { flex: 1 1 0; min-width: 0; border-left: 0; border-bottom: 3px solid transparent; padding: 12px 8px; margin-bottom: -1px; word-break: keep-all; }
  .biz-tablist button[aria-selected="true"] { background: none; border-bottom-color: var(--blue); }
  .biz-tablist button strong { font-size: 15px; line-height: 1.35; }
  .hero-copy { padding-bottom: 56px; }
  /* 좁은 화면은 글이 사진 아래쪽에 놓이므로 아래로 갈수록 어둡게 */
  .hero::before { background: linear-gradient(180deg, rgba(15,31,54,.5) 0%, rgba(15,31,54,.62) 35%, rgba(15,31,54,.94) 70%); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero-copy { padding-bottom: 48px; } /* 위 container 패딩 축약형이 아래 여백을 0으로 덮어써서 다시 지정 */
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-panel { padding: 24px 20px; }
  .biz-media { padding: 16px 16px 44px; }
  .biz-cap { left: 16px; bottom: 14px; }
  .biz-info h3, .biz-head h3 { font-size: 24px; }
  .biz-panel.stack .biz-media { padding: 16px 16px 44px; }
  .spec div { grid-template-columns: 84px 1fr; gap: 12px; }
  .mro-services { grid-template-columns: 1fr; }
  .mro-services > li { padding: 24px 20px; }
  .mro-steps li { grid-template-columns: 32px 1fr; padding: 16px; }
  .mro-steps li > span { grid-column: 2; }
  .mro-steps li { row-gap: 4px; }
  .mro-list { grid-template-columns: 1fr; }
  .mro-block { padding-top: 32px; }
  .mro-block > h4 { font-size: 20px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
        .ethos-ways li { grid-template-columns: 40px 1fr; gap: 8px; }
  .mv, html[lang="en"] .mv { grid-template-columns: 1fr; gap: 28px; }
  .info-table th { width: 84px; padding-right: 12px; }
  html[lang="ko"] .info-table th { width: 104px; }
  html[lang="ko"] .info-table td { word-break: keep-all; }
  .ethos-ways h4 { font-size: 18px; }
  .brand-text span { display: none; }
}
