/* 모루정밀 (자체 제작 시안)
   레퍼런스 실측(1440 폭) 기준: 헤더 96px, 좌우 여백 60px, 구획 제목 48px/1.4, 본문 16px/1.4 자간 -0.32px.
   화면 상태는 <html data-slide data-playing data-period data-panel data-scrolled>에 두고 CSS가 바꾼다. */

:root {
  color-scheme: light only;
  --ink: #000;
  --text: #111;
  --text-2: #555;      /* 흰 바탕 7.5:1 */
  --text-3: #6b6b6b;   /* 흰·미색 바탕 5.3:1 이상 */
  --line: #d9d9d9;
  --line-2: #e6e6e6;
  --cream: rgba(239, 234, 215, 0.3);
  --card: #fff;
  --blue: #2E78B7;     /* 그래프 선, 증가 표시 */
  --blue-ink: #1F64A3; /* 글자용 파랑 5.9:1 */
  --green: #1D7A45;    /* 글자용 초록 5.4:1 */
  --navy: #1F3A5C;
  --slot: #3A4654;     /* 사진이 없을 때 자리 색: 어두운 회청색 */
  --error: #C0262D;
  --gut: 60px;
  --hd: 96px;
  --r-card: 20px;
  --r-tile: 16px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: -0.32px;
  word-break: keep-all; overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { flex: none; }
:focus-visible { outline: 2px solid #0B5CAD; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: #000; color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1425px; margin-inline: auto; padding-inline: var(--gut); }
.ne { width: 0.4em; height: 0.4em; margin-left: 0.08em; vertical-align: 0.52em; }

/* ───────── 헤더 ───────── */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #ececec; }
.hd-in { display: flex; align-items: center; height: var(--hd); max-width: 1425px; margin-inline: auto; padding-inline: var(--gut); }
html[data-scrolled] { --hd: 83px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; color: #111; }
.gnb { display: flex; gap: 68px; margin-left: 95px; }
.gnb a { font-size: 16px; font-weight: 500; color: #111; padding: 8px 0; white-space: nowrap; }
.gnb a:hover { text-decoration: underline; text-underline-offset: 6px; }
.gnb .ne { width: 8px; height: 8px; vertical-align: 8px; margin-left: 3px; }
.util { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.eng { height: 36px; padding: 0 16px; border: 1px solid #111; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: -0.3px; }
.ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
.ic svg { width: 24px; height: 24px; }

/* 전체 메뉴·검색 판 */
.panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e3e3e3; box-shadow: 0 16px 30px rgb(0 0 0 / 0.06); }
html[data-panel] .panel { display: block; }
.panel-in { position: relative; max-width: 1425px; margin-inline: auto; padding: 40px var(--gut) 48px; }
.panel-search, .panel-menu { display: none; }
html[data-panel="search"] .panel-search { display: block; }
html[data-panel="menu"] .panel-menu { display: grid; }
.panel-search label { display: block; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.q-row { display: flex; gap: 8px; max-width: 640px; border-bottom: 2px solid #111; }
.q-row input { flex: 1; min-width: 0; border: 0; padding: 12px 0; font-size: 20px; background: none; }
.q-row input:focus-visible { outline: none; }
.q-row:focus-within { border-color: #0B5CAD; }
.panel-hint { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.panel-hint a { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; color: #111; }
.panel-menu { grid-template-columns: repeat(6, auto); justify-content: start; gap: 12px 56px; }
.panel-menu a { font-size: 24px; font-weight: 700; padding: 6px 0; }
.panel-close { position: absolute; right: var(--gut); top: 28px; }

/* ───────── 첫 화면 슬라이더 ───────── */
.hero { padding-bottom: 112px; }
.hero-box { position: relative; height: 680px; overflow: hidden; background: var(--slot); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
html[data-slide="1"] .slide[data-n="1"],
html[data-slide="2"] .slide[data-n="2"],
html[data-slide="3"] .slide[data-n="3"] { opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .slide, html[data-slide] .slide { transition: none !important; } }
.slide-ph { position: absolute; inset: 0; background: var(--slot); }
.slide-ph img { width: 100%; height: 100%; object-fit: cover; }
.slide-ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(10 14 20 / 0.58); } /* 밝은 금속 사진 위에서도 흰 제목이 읽히는 농도 */
.slide-txt { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 140px; }
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.slide-txt h1, .slide-h { font-size: 48px; line-height: 1.45; font-weight: 700; letter-spacing: -2px; }
.hero-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 0.9); border-radius: 50%; color: #fff; }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow.prev { left: 23px; }
.hero-arrow.prev svg { transform: scaleX(-1); }
.hero-arrow.next { right: 23px; }
.hero-arrow:hover { background: rgb(255 255 255 / 0.12); }
.hero-ctrl { position: absolute; left: 36px; bottom: 42px; z-index: 3; display: flex; align-items: center; gap: 20px; color: #fff; }
.count { font-size: 18px; font-weight: 500; min-width: 34px; white-space: nowrap; }
.count b { font-weight: 700; }
.bar { position: relative; width: 160px; height: 3px; background: rgb(255 255 255 / 0.4); overflow: hidden; }
.bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
/* 자동 넘김: 막대 애니메이션이 끝나면(animationend) 다음 장으로. 멈추면 막대도 그 자리에 선다 */
.bar i.run { animation: fill 5s linear forwards; }
html[data-playing="false"] .bar i.run { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* 움직임 줄이기: 자동 넘김을 끄고 막대는 몇 번째 장인지만 보여 준다 */
html[data-static] .bar i { animation: none !important; transform: scaleX(calc(var(--n, 1) / 3)); }
html[data-slide="1"] { --n: 1; } html[data-slide="2"] { --n: 2; } html[data-slide="3"] { --n: 3; }
.pause { position: relative; width: 32px; height: 32px; border-radius: 50%; background: rgb(255 255 255 / 0.55); }
.i-pause, .i-play { position: absolute; inset: 0; margin: auto; }
.i-pause { width: 8px; height: 10px; border-inline: 2.5px solid #333; }
.i-play { display: none; width: 0; height: 0; border-left: 9px solid #333; border-block: 6px solid transparent; transform: translateX(1px); }
html[data-playing="false"] .i-pause { display: none; }
html[data-playing="false"] .i-play { display: block; }

/* ───────── 공통 구획 ───────── */
.sec { padding: 104px 0 112px; }
.sec-cream { background: var(--cream); }
.sec-white { background: #fff; }
.sec-title { font-size: 48px; line-height: 1.4; font-weight: 700; color: var(--ink); text-align: center; letter-spacing: -1.2px; }
.sec-title a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.sec-title.left { text-align: left; }
.sec-desc { margin-top: 16px; font-size: 22px; line-height: 1.5; text-align: center; color: #111; letter-spacing: -0.5px; }
.sec-desc.left { text-align: left; }
.sec-note { margin-top: 28px; font-size: 13px; color: var(--text-3); text-align: right; }

.card { background: var(--card); border-radius: var(--r-card); }

/* ───────── 한눈에 보는 모루정밀 (레퍼런스: 투자 정보) ───────── */
.ir { display: grid; grid-template-columns: 580px 1fr; gap: 20px; margin-top: 76px; align-items: stretch; }
.ir-left { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; align-content: start; }
.num-card { padding: 44px 40px 40px; min-height: 237px; }
.num-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.6px; }
.num-card h3 span { font-size: 17px; font-weight: 400; color: var(--text-3); }
.big { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; white-space: nowrap; }
.big b { font-size: 48px; line-height: 1.2; font-weight: 400; letter-spacing: -2px; color: #000; }
.big small { font-size: 22px; font-weight: 500; }
.sub { margin-top: 12px; font-size: 17px; color: var(--text-3); }
.sub em { font-style: normal; margin-left: 10px; color: #333; white-space: nowrap; }
.sub em.pos { color: var(--green); }
.num-card.wide { grid-column: 1 / -1; width: calc(100% - 20px); min-height: 195px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.num-card.wide .cap { margin-top: 4px; font-size: 16px; color: var(--text-3); }
.num-card.wide .sub { margin-top: 20px; font-size: 16px; }
.num-card.wide .big { margin: 0; }

.ir-main { position: relative; display: grid; grid-template-columns: 277px 1fr; gap: 48px; padding: 68px 60px 60px; }
.ir-switch { position: absolute; top: 76px; right: 60px; z-index: 1; display: flex; gap: 8px; }
.ir-switch button { height: 22px; padding: 0 10px; font-size: 13px; font-weight: 500; border: 1px solid #111; background: #fff; color: #111; }
.ir-switch button[aria-pressed="true"] { background: #111; color: #fff; }
.ir-head { display: flex; align-items: center; gap: 10px; }
.ir-head .logo-mark { width: 46px; height: 46px; }
.ir-head p { font-size: 20px; font-weight: 700; letter-spacing: -0.6px; }
.ir-head p span { font-weight: 500; white-space: nowrap; }
.ir-price { margin-top: 22px; }
.ir-price > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.ir-price b { font-size: 24px; font-weight: 700; letter-spacing: -0.8px; }
.ir-price em { font-style: normal; font-size: 19px; color: var(--blue-ink); }
.ir-what { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.ir-rows { margin-top: 18px; border-top: 1px solid #c9c9c9; }
.ir-rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 47px; padding: 10px 0; border-bottom: 1px solid #c9c9c9; font-size: 16px; }
.ir-rows dt { flex: none; }
.ir-rows dd { font-weight: 700; text-align: right; white-space: nowrap; }
.ir-date { margin-top: 6px; font-size: 12px; text-align: right; color: #333; }
.ir-chart { align-self: center; padding-top: 24px; }
.chart { display: block; width: 100%; max-width: 320px; height: auto; margin-left: auto; overflow: visible; }
.c-grid { stroke: #ececec; stroke-width: 1; }
.c-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.c-dot { fill: var(--blue); }
.c-y, .c-x { font-size: 12.5px; fill: #6b6b6b; font-family: var(--font); letter-spacing: -0.3px; }
.c-unit { font-size: 11px; fill: #6b6b6b; font-family: var(--font); }
/* 월간/연간 전환 */
.p-year, .chart-year { display: none !important; }
html[data-period="year"] .p-year { display: flex !important; }
html[data-period="year"] .ir-what .p-year, html[data-period="year"] .ir-date .p-year { display: inline !important; }
html[data-period="year"] .chart-year { display: block !important; }
html[data-period="year"] .p-month, html[data-period="year"] .chart-month { display: none !important; }

/* ───────── 사업 분야 (레퍼런스: 지속가능경영) ───────── */
.biz { padding-top: 120px; padding-bottom: 117px; }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 345px 345px; gap: 16px 24px; }
.biz-head { padding-top: 6px; }
.biz-head .sec-desc { margin-top: 26px; font-size: 22px; line-height: 1.55; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-tile); background: var(--slot); color: #fff; }
.tile-wide { grid-column: 2 / 4; }
.tile figure { position: absolute; inset: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(0 0 0 / 0.18); }
.tile-txt { position: absolute; left: 20px; top: 20px; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.tile-txt svg { width: 56px; height: 56px; }
.tile-txt b { font-size: 22px; font-weight: 700; letter-spacing: -0.6px; text-shadow: 0 1px 2px rgb(0 0 0 / 0.25); }
.tile:hover img { transform: scale(1.03); }
.tile img { transition: transform 0.5s ease; }
.tile:focus-visible { outline-offset: 4px; }

/* ───────── 카드 목록 (레퍼런스: 보도자료, 저널로그) ───────── */
.rail { margin-top: 64px; }
.rail-list { display: grid; }
.news { grid-template-columns: repeat(4, 1fr); gap: 46px; }
.journal { grid-template-columns: repeat(3, 1fr); gap: 41px; }
.news-card, .jr-card { overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 2px 6px rgb(0 0 0 / 0.08); border-radius: 18px; }
.thumb { background: #F1F2F4; border-bottom: 1px solid var(--line-2); }
.news-card .thumb { aspect-ratio: 292 / 220; }
.jr-card .thumb { aspect-ratio: 410 / 300; }
.draw { display: block; width: 100%; height: 100%; padding: 14px; }
.draw .ln { fill: none; stroke: #4F5966; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.draw .cl { fill: none; stroke: #8A939E; stroke-width: 1; stroke-dasharray: 12 3 2 3; }
.draw .hid { fill: none; stroke: #8A939E; stroke-width: 1; stroke-dasharray: 5 4; }
.draw .hatch { fill: none; stroke: #9AA2AC; stroke-width: 0.9; }
.draw .dim path { fill: none; stroke: #7A8490; stroke-width: 1; }
.draw .dim text { font-family: var(--font); font-size: 11px; fill: #5E6772; letter-spacing: 0; }
.news-txt { padding: 24px 20px 46px; }
.date { display: flex; gap: 8px; font-size: 15px; color: var(--text-3); }
.date span { color: #333; font-weight: 500; }
.date span::after { content: "·"; margin-left: 8px; color: var(--text-3); }
.news-txt h3 { margin-top: 10px; font-size: 18px; line-height: 1.4; font-weight: 700; letter-spacing: -0.6px; min-height: 2.8em; }
.news-txt .sum span { white-space: nowrap; }
.news-txt .sum { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.jr-txt { padding: 30px 24px 44px; min-height: 160px; }
.jr-txt h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.6px; }
.jr-txt h3 span { margin-left: 6px; font-size: 15px; font-weight: 500; color: var(--blue-ink); }
.spec { margin-top: 12px; display: grid; gap: 6px; }
.spec li { position: relative; padding-left: 12px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.spec li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 4px; height: 4px; border-radius: 50%; background: #999; }
.dots { display: none; }
.more-row { display: flex; justify-content: flex-end; margin-top: 80px; }
.more { display: inline-flex; align-items: center; gap: 4px; height: 46px; padding: 0 22px 0 25px; border: 1px solid #111; border-radius: 999px; font-size: 14px; font-weight: 700; background: transparent; }
.more svg { width: 14px; height: 14px; }
.more:hover { background: #111; color: #fff; }
#works .sec-note { margin-top: 16px; }
#works { padding-bottom: 80px; }
#facility { padding-bottom: 80px; }

/* ───────── 견적 문의 띠 (레퍼런스: Career) ───────── */
.cta-band {
  position: relative; display: flex; align-items: center; height: 360px; color: #000; overflow: hidden;
  background-color: #E7E6E2;
  /* 밝은 돌 질감: SVG 노이즈(인라인) 두 겹 + 아주 옅은 결 */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='400' preserveAspectRatio='none'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.025' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 -0.12'/%3E%3C/filter%3E%3Crect width='1600' height='400' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='400' preserveAspectRatio='none'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.35  0 0 0 0 0.33  0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='1600' height='400' filter='url(%23g)'/%3E%3C/svg%3E"),
    linear-gradient(100deg, #EEEDEA 0%, #E4E3DF 55%, #DAD9D4 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.cta-band::after { /* 오른쪽에 옅은 도면 격자 */
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 42%;
  background-image: linear-gradient(rgb(31 58 92 / 0.07) 1px, transparent 1px), linear-gradient(90deg, rgb(31 58 92 / 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
          mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.cta-band .wrap { position: relative; z-index: 1; display: block; }
.cta-title { display: block; font-size: 48px; line-height: 1.4; font-weight: 700; letter-spacing: -1.2px; }
.cta-desc { display: block; margin-top: 18px; font-size: 22px; line-height: 1.5; letter-spacing: -0.5px; color: #111; }
.cta-band:hover .cta-title { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.cta-band:focus-visible { outline-offset: -4px; }

/* ───────── 견적 문의 폼 ───────── */
.quote-grid { display: grid; grid-template-columns: 420px 1fr; gap: 20px; margin-top: 64px; align-items: start; }
.quote-info { padding: 44px 40px; }
.quote-info h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.6px; }
.steps { margin-top: 24px; display: grid; gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-left: 44px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #111; color: #fff; font-size: 14px; font-weight: 700; }
.steps b { display: block; font-size: 17px; }
.steps span { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }
.contact { margin-top: 32px; border-top: 1px solid #c9c9c9; }
.contact div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #c9c9c9; }
.contact dd { font-weight: 700; }
.quote-form { padding: 44px 48px 48px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 700; color: #111; padding: 0; }
fieldset.field { border: 0; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #bdbdbd; border-radius: 10px; background: #fff; font-size: 16px;
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.field textarea { resize: vertical; line-height: 1.5; }
::placeholder { color: #7a7a7a; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid #0B5CAD; outline-offset: 1px; border-color: #0B5CAD; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.radios span { padding-inline: 4px !important; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.radios span { display: grid; place-items: center; min-height: 48px; padding: 8px; border: 1px solid #bdbdbd; border-radius: 999px; font-size: 15px; font-weight: 500; text-align: center; cursor: pointer; }
.radios input:checked + span { background: #111; border-color: #111; color: #fff; }
.radios input:focus-visible + span { outline: 2px solid #0B5CAD; outline-offset: 3px; }
.drawing[aria-invalid="true"] .radios span { border-color: var(--error); }
.hint { font-size: 14px; color: var(--text-2); }
.error { font-size: 14px; font-weight: 700; color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; min-width: 200px; padding: 0 28px; border-radius: 999px; background: #111; color: #fff; font-size: 16px; font-weight: 700; }
.btn:hover { background: #333; }
.btn-line { background: #fff; color: #111; border: 1px solid #111; }
.btn-line:hover { background: #f3f3f3; }
.done h3 { font-size: 24px; font-weight: 700; }
.done > p { margin-top: 12px; color: var(--text-2); max-width: 46em; line-height: 1.6; }
.done dl { display: grid; grid-template-columns: max-content 1fr; margin: 24px 0 28px; border-top: 1px solid #c9c9c9; }
.done dt, .done dd { padding: 12px 0; border-bottom: 1px solid #c9c9c9; }
.done dt { padding-right: 32px; color: var(--text-2); }
.done dd { font-weight: 700; white-space: pre-line; }
.done:focus { outline: none; }

/* ───────── 사진 자리 (파일이 없으면 단색 회청색) ───────── */
[data-slot] { background: var(--slot); }
img.is-broken { display: none !important; }
[data-missing]::after {
  content: "사진 자리: " attr(data-missing);
  position: absolute; right: 16px; bottom: 14px; z-index: 1;
  font-size: 12px; color: rgb(255 255 255 / 0.75); letter-spacing: 0;
}
.tile [data-missing]::after { background: none; inset: auto 16px 14px auto; }
.slide-ph[data-missing]::after { right: 24px; bottom: 20px; z-index: 2; }

/* ───────── 푸터 ───────── */
.ft { background: #fff; padding: 30px 0 64px; }
.ft-in { max-width: 1425px; margin-inline: auto; padding-inline: 40px; }
.ft-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #d6d6d6; }
.ft-h { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ft-links { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; font-size: 14px; }
.ft-links li { display: flex; align-items: center; }
.ft-links li + li::before { content: ""; width: 1px; height: 12px; margin: 0 11px; background: #c4c4c4; }
.ft-links a { padding: 3px 0; }
.ft-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-links.strong { margin-top: 4px; font-weight: 700; }
.ft-links .ne { width: 9px; height: 9px; vertical-align: 1px; margin-left: 6px; }
.sns { display: flex; gap: 10px; }
.sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #EDEDED; color: #333; }
.sns svg { width: 22px; height: 22px; }
.sns a:hover { background: #ddd; }
.ft-bottom { padding-top: 20px; }
.ft address { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; font-style: normal; font-size: 12.5px; color: var(--text-3); }
.ft address b { font-weight: 700; color: #555; margin-right: 4px; }
.disclaimer { margin-top: 14px; font-size: 13px; color: #444; max-width: 60em; line-height: 1.5; }
.copy { margin-top: 18px; font-size: 12.5px; color: var(--text-3); }

.to-top { visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s 0.2s; }
html[data-scrolled] .to-top { visibility: visible; opacity: 1; transition: opacity 0.2s; }
.to-top { position: fixed; right: 40px; bottom: 40px; z-index: 40; width: 64px; height: 64px; border-radius: 50%; background: #222; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.to-top svg { width: 16px; height: 16px; margin-bottom: -2px; }
.to-top span { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; }
.to-top:hover { background: #000; }

/* ───────── 반응형 ───────── */
@media (max-width: 1360px) {
  .gnb { gap: 48px; margin-left: 72px; }
  .ir { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); }
  .num-card { padding: 40px 32px 36px; }
  .big b { font-size: 42px; }
  .num-card h3 span { display: block; margin-top: 2px; font-size: 15px; }
  .ir-head p { font-size: 18px; }
  .sub { font-size: 15px; }
  .sub em { margin-left: 6px; }
  .ir-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 68px 44px 52px; }
  .ir-switch { right: 44px; }
  .news { gap: 28px; }
  .journal { gap: 28px; }
}
@media (max-width: 1180px) {
  .gnb { gap: 32px; margin-left: 48px; }
  .ir { grid-template-columns: 1fr; }
  .num-card.wide { width: 100%; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .gnb { display: none; }
  .panel-menu { grid-template-columns: 1fr 1fr; }
}

/* 모바일 (레퍼런스 390 폭 캡처 기준) */
@media (max-width: 767px) {
  :root { --gut: 24px; --hd: 82px; --r-card: 24px; }
  html[data-scrolled] { --hd: 82px; }
  .hd-in { padding-inline: 20px; }
  .logo { gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-word { font-size: 15.5px; letter-spacing: 0.02em; }
  .util { gap: 6px; }
  .eng { height: 36px; padding: 0 14px; font-size: 14px; }
  .ic { width: 36px; height: 36px; }
  .panel-in { padding: 28px 20px 32px; }
  .panel-menu { grid-template-columns: 1fr; gap: 4px; }
  .panel-menu a { font-size: 20px; }
  .panel-close { top: 16px; right: 12px; }
  .panel-search label { padding-right: 44px; }

  .hero { padding-bottom: 0; }
  .hero .wrap { padding-inline: 0; }
  .hero-box { height: 505px; }
  .slide-txt { padding: 0 24px 40px; }
  .eyebrow { font-size: 14px; margin-bottom: 4px; }
  .slide-txt h1, .slide-h { font-size: 25px; line-height: 1.5; letter-spacing: -1px; }
  .slide-txt br { display: none; }
  .hero-arrow { display: none; }
  .hero-ctrl { left: 50%; transform: translateX(-50%); bottom: 34px; gap: 20px; }
  .bar { width: 160px; }

  .sec { padding: 40px 0 60px; }
  .sec-title { font-size: 22px; letter-spacing: -0.6px; }
  .sec-desc { margin-top: 12px; font-size: 15px; }
  .sec-note { text-align: center; margin-top: 20px; }

  .ir { margin-top: 20px; gap: 16px; }
  .ir-left { grid-template-columns: 1fr; gap: 16px; }
  .num-card, .num-card.wide { min-height: 0; padding: 26px 24px 28px; text-align: center; display: block; width: 100%; }
  .num-card h3 { font-size: 16px; }
  .num-card h3 span { display: inline; margin: 0; font-size: 13px; }
  .big { justify-content: center; margin-top: 12px; gap: 6px; }
  .big b { font-size: 26px; letter-spacing: -1px; }
  .big small { font-size: 15px; }
  .sub, .num-card.wide .sub { margin-top: 14px; font-size: 13px; }
  .num-card.wide .cap { font-size: 13px; }
  .num-card.wide { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .num-card.wide > div { display: contents; }
  .num-card.wide .big { margin-top: 12px; order: 1; }
  .num-card.wide .sub { order: 2; }
  .ir-switch button { height: 30px; padding: 0 14px; font-size: 14px; }
  .ir-main { display: flex; flex-direction: column; gap: 24px; padding: 28px 20px 32px; }
  .ir-switch { position: static; order: 2; justify-content: flex-end; }
  .ir-table { order: 1; }
  .ir-chart { order: 3; padding-top: 0; }
  .chart { max-width: none; }
  .ir-head .logo-mark { width: 48px; height: 48px; }
  .ir-price b { font-size: 24px; }
  .ir-rows div { font-size: 15px; min-height: 48px; }
  .ir-date { font-size: 11.5px; }

  .biz-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .biz-head { text-align: center; padding: 0 0 22px; }
  .biz-head .sec-title.left, .biz-head .sec-desc.left { text-align: center; }
  .biz-head .sec-title { font-size: 30px; }
  .biz-head .sec-desc { margin-top: 10px; font-size: 15px; }
  .biz-head br { display: none; }
  .tile-wide { grid-column: auto; height: 188px; }
  .tile { height: 125px; }
  .tile-wide { height: 188px; }
  .tile-txt { left: 24px; top: 16px; gap: 10px; }
  .tile-txt svg { width: 44px; height: 44px; }
  .tile-txt b { font-size: 16px; }

  /* 카드 목록은 가로로 넘기고 점으로 위치를 보여 준다 */
  .rail { margin-top: 30px; margin-inline: calc(var(--gut) * -1); }
  .rail-list { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 10px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .rail-list::-webkit-scrollbar { display: none; }
  .rail-list > li { flex: 0 0 270px; scroll-snap-align: start; }
  .journal > li { flex-basis: 326px; }
  .dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
  .dots button { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
  .dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c4c4c4; }
  .dots button[aria-current="true"]::before { background: #1B3A7A; }
  .news-txt { padding: 18px 16px 26px; }
  .date { font-size: 13px; }
  .news-txt h3 { font-size: 15.5px; }
  .news-txt .sum { margin-top: 10px; font-size: 14px; }
  .jr-txt { padding: 20px 16px 24px; min-height: 0; }
  .jr-txt h3 { font-size: 16px; }
  .spec li { font-size: 14px; }
  .more-row { justify-content: center; margin-top: 22px; }
  .more { height: 46px; padding: 0 22px 0 26px; }
  #works, #facility { padding-bottom: 50px; }

  .cta-band { height: 180px; }
  .cta-band::after { width: 50%; }
  .cta-title { font-size: 22px; }
  .cta-desc { margin-top: 14px; font-size: 15px; }

  .quote-grid { margin-top: 24px; gap: 16px; }
  .quote-info { padding: 28px 22px; }
  .quote-info h3 { font-size: 18px; }
  .quote-form { padding: 28px 20px 30px; }
  .fields { grid-template-columns: 1fr; gap: 18px; }
  .radios { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .done dl { grid-template-columns: 1fr; }
  .done dt { padding-bottom: 0; border-bottom: 0; }

  .ft { padding: 22px 0 96px; }
  .ft-in { padding-inline: 18px; }
  .ft-top { flex-direction: column; gap: 22px; padding-bottom: 20px; }
  .ft-h { font-size: 18px; margin-bottom: 14px; }
  .ft-links { font-size: 14px; }
  .ft-links.strong { margin-top: 14px; }
  .ft address { flex-direction: column; gap: 4px; }

  .to-top { right: 18px; bottom: 18px; width: 40px; height: 40px; }
  .to-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .to-top svg { width: 18px; height: 18px; margin: 0; }
}
