/* TM MEDIA Korea */
:root {
  --tm: #ef7a37; --tm-dark: #c75b1b; --teal: #12889c; --teal-dark: #0b6576; --teal-pale: #eaf5f7; --navy: #1d2a3f;
  --ink: #222831; --ink-2: #545c66; --ink-3: #8b939c; --line: #e2e6ea; --soft: #f3f5f7; --white: #fff; --err: #c0392b;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Malgun Gothic', sans-serif; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--tm); outline-offset: 2px; }
[hidden] { display: none !important; }
.in { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- 머리 ---------- */
.util { background: var(--navy); color: #c9d1db; font-size: 13px; }
.util .in { display: flex; justify-content: flex-end; gap: 20px; align-items: center; height: 34px; }
.util a { text-decoration: none; }
.util a:hover { color: #fff; }
.head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.head .in { display: flex; align-items: center; gap: 36px; height: 76px; }
.logo img { height: 34px; width: auto; }
.menu { display: flex; gap: 4px; height: 100%; }
.menu > div { position: relative; display: flex; align-items: center; }
.menu > div > a { text-decoration: none; font-weight: 700; font-size: 16px; padding: 0 14px; height: 100%; display: flex; align-items: center; border-bottom: 3px solid transparent; }
.menu > div:hover > a, .menu > div:focus-within > a, .menu > div > a[aria-current] { border-bottom-color: var(--tm); color: var(--tm-dark); }
.mega { position: absolute; top: 100%; left: -20px; background: #fff; border: 1px solid var(--line); border-top: 0; box-shadow: 0 24px 40px -24px rgba(20, 30, 50, .35); padding: 24px 28px; display: none; grid-template-columns: repeat(3, 210px); gap: 28px; }
.menu > div:hover .mega, .menu > div:focus-within .mega { display: grid; }
.mega h4 { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.mega h4 + a { margin-top: 0; }
.mega a { display: flex; justify-content: space-between; text-decoration: none; padding: 5px 0; font-size: 15px; }
.mega a:hover { color: var(--tm-dark); }
.mega a span { color: var(--ink-3); font-size: 13px; }
.mega .gap { margin-top: 16px; }
.hd-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ico { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.ico:hover { border-color: var(--ink); }
.quote { display: inline-flex; align-items: center; border: 0; background: var(--tm); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; }
.quote:hover { background: var(--tm-dark); }
.quote b { background: #fff; color: var(--tm-dark); border-radius: 999px; padding: 0 7px; margin-left: 6px; font-size: 13px; min-width: 22px; text-align: center; }
.burger { display: none; }
.mnav { border-top: 1px solid var(--line); background: #fff; padding: 8px 18px 18px; }
.mnav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--soft); text-decoration: none; font-weight: 700; }
.mnav a.s { font-weight: 500; padding-left: 14px; font-size: 15px; }

/* 검색 덮개 */
.sov { position: fixed; inset: 0; z-index: 60; background: rgba(29, 42, 63, .55); padding: 90px 16px; }
.sov-in { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; }
.sov-f { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.sov-f input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 20px; padding: 18px 0; }
.sov-f button { border: 0; background: none; font-size: 28px; color: var(--ink-3); cursor: pointer; }
.sov-r { max-height: 60vh; overflow-y: auto; }
.sov-r a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 11px 20px; text-decoration: none; border-bottom: 1px solid var(--soft); }
.sov-r a:hover, .sov-r a.on { background: var(--soft); }
.sov-r .c { font-weight: 700; color: var(--teal-dark); font-size: 14px; }
.sov-r small { display: block; color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sov-r .all { display: block; text-align: center; font-weight: 700; color: var(--teal-dark); }
.sov-hint { padding: 16px 20px; color: var(--ink-2); font-size: 14px; }

/* ---------- 공통 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 15.5px; line-height: 1.2; }
.btn-tm { background: var(--tm); color: #fff; }
.btn-tm:hover { background: var(--tm-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-soft { background: var(--soft); }
.btn-soft:hover { background: var(--line); }
.btn-line { border: 2px solid #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-line:hover { background: #fff; color: var(--teal-dark); }
.btn-outline { border: 2px solid var(--ink); background: #fff; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.sec { padding: 80px 0 0; }
.sh { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.sh h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.sh p { color: var(--ink-2); margin-top: 6px; max-width: 40em; }
.more { font-weight: 700; color: var(--teal-dark); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumb { font-size: 13.5px; color: var(--ink-2); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 6px; color: var(--ink-3); }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; height: min(560px, 62vh); min-height: 420px; overflow: hidden; background: var(--teal); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-txt { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-txt .in { width: 100%; }
.hero-box { max-width: 520px; color: #fff; }
.hero-box h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.hero-box p { margin-top: 16px; font-size: 18px; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dots { position: absolute; left: 0; right: 0; bottom: 22px; }
.dots .in { display: flex; gap: 8px; }
.dots button { width: 34px; height: 4px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; border-radius: 2px; }
.dots button.on { background: #fff; }

.cats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; }
.cat { position: relative; overflow: hidden; border-radius: 4px; text-decoration: none; color: #fff; background: var(--navy); display: block; }
.cat:first-child { grid-row: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 45, 0) 35%, rgba(20, 30, 45, .78)); }
.cat-t { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.cat-t b { display: block; font-size: 22px; font-weight: 800; line-height: 1.25; }
.cat:first-child .cat-t b { font-size: 30px; }
.cat-t span { font-size: 14.5px; opacity: .92; }
.cat-t em { font-style: normal; font-weight: 700; color: #ffd2b5; margin-left: 6px; }
.cat-more { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.cat-more a { font-weight: 700; color: var(--teal-dark); margin-left: 10px; }

.inds { display: grid; gap: 18px; }
.ind { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 300px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.ind:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.ind:nth-child(even) .ind-img { order: 2; }
.ind-img { position: relative; min-height: 220px; }
.ind-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-tx { padding: 34px 38px; display: flex; flex-direction: column; }
.ind-tx h3 { font-size: 25px; font-weight: 800; letter-spacing: -0.01em; }
.ind-tx h3 small { font-size: 15px; font-weight: 700; color: var(--tm-dark); margin-left: 8px; }
.ind-tx p { color: var(--ink-2); margin-top: 6px; }
.ind-list { list-style: none; padding: 0; margin-top: 16px; border-top: 1px solid var(--line); }
.ind-list a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14.5px; }
.ind-list a:hover b { color: var(--tm-dark); }
.ind-list span { color: var(--teal-dark); font-weight: 700; font-size: 13.5px; }
.ind-list b { font-weight: 600; }
.ind-tx .more { margin-top: auto; padding-top: 16px; }

.orgs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.org { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 18px 16px 16px; min-height: 112px; display: flex; flex-direction: column; text-decoration: none; }
.org:nth-child(6n) { border-right: 0; }
.org i { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.org span { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.org em { font-style: normal; margin-top: auto; padding-top: 10px; font-weight: 800; font-size: 20px; color: var(--teal-dark); }
.org em small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.org:hover { background: var(--soft); }
.org:hover em { color: var(--tm-dark); }

.docs { margin-top: 80px; background: var(--teal-dark); color: #fff; }
.docs .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; padding-top: 52px; padding-bottom: 52px; align-items: start; }
.docs h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.docs p { margin-top: 8px; color: #cfe7ec; }
.dfind { background: #fff; border-radius: 10px; color: var(--ink); overflow: hidden; }
.dfind input { width: 100%; border: 0; outline: none; font-size: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--soft); align-items: center; }
.drow > a { text-decoration: none; font-size: 14.5px; font-weight: 600; }
.drow > a small { color: var(--teal-dark); font-weight: 700; margin-right: 8px; }
.drow > a:hover { color: var(--tm-dark); }
.dl { display: flex; gap: 6px; }
.dl a { border: 1.5px solid var(--ink); border-radius: 6px; padding: 3px 10px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dl a:hover { background: var(--ink); color: #fff; }
.dempty { padding: 14px 20px; color: var(--ink-2); font-size: 14px; }

.sup { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.sup > div { padding: 30px 30px 34px 0; }
.sup > div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.sup h3 { font-size: 20px; font-weight: 800; }
.sup p { color: var(--ink-2); margin: 6px 0 14px; font-size: 15px; }
.notes { list-style: none; padding: 0; font-size: 14.5px; }
.notes li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.notes li span { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.notes li a { text-decoration: none; }
.notes li a:hover { text-decoration: underline; }

/* ---------- 쪽 머리 (목록·안내) ---------- */
.pbanner { position: relative; height: 220px; background: var(--navy); overflow: hidden; color: #fff; }
.pbanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.pbanner .in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.pbanner .crumb { color: #dfe6ee; }
.pbanner h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; line-height: 1.2; }
.pbanner p { opacity: .92; max-width: 44em; margin-top: 4px; }

/* ---------- 제품 목록 ---------- */
.lwrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; padding-top: 30px; padding-bottom: 20px; }
.filt { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.filt h3 { font-size: 14px; color: var(--ink-2); font-weight: 700; padding: 10px 0 6px; border-bottom: 2px solid var(--ink); }
.filt a { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 8px 2px; text-decoration: none; font-size: 14.5px; }
.filt a span { color: var(--ink-3); font-size: 13px; }
.filt a[aria-current] { color: var(--tm-dark); font-weight: 700; }
.filt a[aria-current] span { color: var(--tm-dark); }
.filt a:hover { color: var(--tm-dark); }
.filt .box + .box { margin-top: 20px; }
.ltop { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 12px; }
.ltop .cnt { font-weight: 700; }
.ltop .cnt b { color: var(--tm-dark); }
.ltop input { margin-left: auto; width: min(320px, 100%); border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 14px; font-size: 15px; outline: none; }
.ltop input:focus { border-color: var(--ink); }
.ltop select { border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14.5px; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 13px; color: var(--ink-3); font-weight: 600; padding: 10px 12px; background: var(--soft); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover td { background: #fbf7f3; }
.tbl .c { font-weight: 700; color: var(--teal-dark); white-space: nowrap; }
.tbl .n a { text-decoration: none; }
.tbl .n b { font-weight: 600; display: block; }
.tbl .n a:hover b { color: var(--tm-dark); text-decoration: underline; text-underline-offset: 3px; }
.tbl .n small { color: var(--ink-2); font-size: 13px; display: block; max-width: 56ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl .pk { color: var(--ink-2); font-size: 13.5px; }
.tbl .d a { font-weight: 700; font-size: 13px; margin-right: 8px; }
.add { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.add:hover { border-color: var(--tm); color: var(--tm-dark); }
.add[aria-pressed="true"] { background: var(--tm); border-color: var(--tm); color: #fff; }
.lmore { display: block; margin: 22px auto 0; border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 10px 26px; font-weight: 700; cursor: pointer; }
.lnone { padding: 34px 12px; color: var(--ink-2); }

/* ---------- 제품 상세 ---------- */
.pg { padding-top: 24px; padding-bottom: 20px; }
.pimg { margin-top: 16px; background: #f4f4f4; border-radius: 4px; overflow: hidden; aspect-ratio: 1600 / 548; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.ptop { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 28px; align-items: start; }
.pcode { font-weight: 800; color: var(--teal-dark); font-size: 18px; letter-spacing: .01em; }
.ptop h1 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-top: 4px; }
.puse { color: var(--ink-2); margin-top: 10px; font-size: 17px; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ptags a { text-decoration: none; background: var(--soft); border-radius: 4px; padding: 3px 10px; font-size: 13.5px; font-weight: 600; }
.ptags a.std { background: var(--teal-pale); color: var(--teal-dark); }
.ptags a:hover { outline: 1.5px solid currentColor; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.facts div { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.pbuy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pside .facts + .pbuy { margin-top: 18px; }
.pside > .pbuy:first-child { margin-top: 0; }
.pbuy .btn { border-radius: 8px; }
.pbuy .btn[aria-pressed="true"] { background: var(--ink); }
.pnav { position: sticky; top: 76px; z-index: 10; background: #fff; margin-top: 44px; border-bottom: 1px solid var(--line); display: flex; gap: 2px; overflow-x: auto; }
.pnav a { padding: 13px 16px; font-weight: 700; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.pnav a:hover { color: var(--ink); }
.pnav a.on { color: var(--ink); border-bottom-color: var(--tm); }
.psec { padding: 40px 0 8px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.psec h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.psec h2 small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.psec .body { max-width: 860px; }
.desc { font-size: 16.5px; line-height: 1.85; }
.en { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.en + .en { margin-top: 10px; }
.sub-h { font-size: 14px; font-weight: 700; color: var(--ink-3); margin: 22px 0 6px; }
details.more-en { margin-top: 14px; }
details.more-en summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); font-size: 14.5px; }
details.more-en p { margin-top: 8px; }
.ctbl { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 15px; }
.ctbl th { text-align: left; font-size: 13px; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 2px solid var(--ink); }
.ctbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ctbl td.num, .ctbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctbl tfoot td { font-weight: 700; border-bottom: 0; }
.steps { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); font-weight: 800; font-size: 14px; }
.steps li.warn::before { content: "!"; background: #fdecea; color: var(--err); }
.spec { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 1px solid var(--line); max-width: 760px; }
.spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.spec dt { color: var(--ink-3); }
.qwrap { overflow-x: auto; margin-top: 8px; }
.qtbl { border-collapse: collapse; font-size: 14px; min-width: 640px; width: 100%; }
.qtbl th { text-align: left; font-size: 12.5px; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.qtbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.qtbl td:first-child { font-style: italic; font-weight: 600; }
.qtbl .neg { color: var(--ink-3); }
.docrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.docrow b { display: block; }
.docrow span { color: var(--ink-2); font-size: 14px; }
.rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 24px; }
.rel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rel a span { display: block; color: var(--teal-dark); font-weight: 700; font-size: 13px; }
.rel a b { font-weight: 600; font-size: 14.5px; }
.rel a:hover b { color: var(--tm-dark); }
.note-src { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ---------- 문의·견적 ---------- */
.cwrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; padding-top: 36px; padding-bottom: 20px; align-items: start; }
.form h2 { font-size: 20px; font-weight: 800; margin: 26px 0 12px; }
.form h2:first-child { margin-top: 0; }
.kind { display: flex; flex-wrap: wrap; gap: 8px; }
.kind label { cursor: pointer; }
.kind input { position: absolute; opacity: 0; }
.kind span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; }
.kind input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.kind input:focus-visible + span { outline: 3px solid var(--tm); outline-offset: 2px; }
.bk { border-top: 2px solid var(--ink); }
.bk-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 92px 36px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bk-row .c { font-weight: 700; color: var(--teal-dark); font-size: 14px; }
.bk-row a { text-decoration: none; font-weight: 600; font-size: 14.5px; }
.bk-row input { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; text-align: right; }
.bk-row button { border: 0; background: none; font-size: 22px; color: var(--ink-3); cursor: pointer; }
.bk-row button:hover { color: var(--err); }
.bk-empty { padding: 18px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.bk-add { margin-top: 10px; display: flex; gap: 8px; }
.bk-add input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cell { display: grid; gap: 4px; }
.cell.full { grid-column: 1 / -1; }
.cell label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cell label em { font-style: normal; color: var(--tm-dark); margin-left: 3px; }
.cell input, .cell textarea { width: 100%; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); outline: none; font-size: 15.5px; }
.cell input:focus, .cell textarea:focus { border-color: var(--teal); background: #fff; }
.cell textarea { min-height: 120px; resize: vertical; }
.cell.bad input, .cell.bad textarea { border-color: var(--err); background: #fdf3f2; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--tm); flex: none; }
.fmsg { margin-top: 12px; font-size: 14.5px; }
.fmsg.bad { color: var(--err); }
.fmsg:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.done { padding: 30px; background: var(--teal-pale); border-radius: 10px; }
.done h2 { margin: 0 0 6px; }
.side { background: var(--soft); border-radius: 6px; padding: 26px; display: grid; gap: 18px; position: sticky; top: 100px; }
.side h3 { font-size: 17px; font-weight: 800; }
.side p, .side li { font-size: 14.5px; color: var(--ink-2); }
.side ul { padding-left: 18px; }
.side .big { font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; display: block; }

/* ---------- 대리점·소개·자료실 ---------- */
.agl { border-top: 2px solid var(--ink); }
.ag { display: grid; grid-template-columns: 150px minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 24px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.ag .rg { font-weight: 700; color: var(--teal-dark); }
.ag b { display: block; font-size: 16.5px; }
.ag small { display: block; color: var(--ink-2); font-size: 14px; }
.ag .ct { display: grid; gap: 2px; font-size: 14.5px; }
.ag .ct a { text-decoration: none; }
.ag .ct a:hover { text-decoration: underline; }
.prose { max-width: 820px; }
.prose p { margin-top: 14px; font-size: 16.5px; line-height: 1.85; }
.prose h2 { font-size: 24px; font-weight: 800; margin-top: 44px; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-top: 26px; }
.figs div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.figs div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.figs b { display: block; font-size: 28px; font-weight: 800; color: var(--teal-dark); }
.figs span { color: var(--ink-2); font-size: 14.5px; }
.nlist { border-top: 2px solid var(--ink); }
.nlist article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.nlist time { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.nlist h2 { font-size: 19px; font-weight: 700; margin-top: 2px; }
.nlist p { color: var(--ink-2); margin-top: 6px; white-space: pre-line; }

/* ---------- 바닥 ---------- */
.foot { margin-top: 90px; background: var(--navy); color: #b8c2cf; font-size: 14px; }
.foot .in { padding-top: 40px; padding-bottom: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 56px; align-items: start; }
.foot img { height: 30px; width: auto; background: #fff; border-radius: 4px; padding: 4px 8px; box-sizing: content-box; }
.foot b { color: #fff; }
.foot p + p { margin-top: 4px; }
.foot a { color: #dfe6ee; }
.foot nav { display: grid; gap: 6px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .copy { margin-top: 12px; color: #8592a3; font-size: 13px; }

/* ---------- 휴대폰·태블릿 ---------- */
@media (max-width: 1000px) {
  .in { padding: 0 18px; }
  .menu { display: none; }
  .burger { display: grid; }
  .head .in { height: 64px; gap: 12px; }
  html { scroll-padding-top: 80px; }
  .logo img { height: 28px; }
  .quote { padding: 8px 12px; }
  .hero { height: 520px; }
  .slide img { object-position: 72% center; }
  .hero-txt { align-items: flex-end; padding-bottom: 54px; background: linear-gradient(180deg, transparent 30%, rgba(8, 60, 72, .85)); }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 190px; gap: 10px; }
  .cat:first-child { grid-column: span 2; grid-row: auto; }
  .cat-t { left: 16px; right: 16px; bottom: 14px; }
  .cat-t b { font-size: 18px; }
  .cat-t em { display: block; margin-left: 0; }
  .ind, .ind:nth-child(even) { grid-template-columns: 1fr; }
  .ind:nth-child(even) .ind-img { order: 0; }
  .ind-img { min-height: 190px; }
  .ind-tx { padding: 24px 20px; }
  .orgs { grid-template-columns: repeat(2, 1fr); }
  .org:nth-child(6n) { border-right: 1px solid var(--line); }
  .org:nth-child(2n) { border-right: 0; }
  .docs .in { grid-template-columns: 1fr; gap: 24px; }
  .sup { grid-template-columns: 1fr; }
  .sup > div, .sup > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .lwrap { grid-template-columns: 1fr; gap: 16px; }
  .filt { position: static; max-height: none; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .filt .box { display: contents; }
  .filt h3 { display: none; }
  .filt a { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; gap: 6px; }
  .tbl .pk, .tbl .d, .tbl th.pk, .tbl th.d { display: none; }
  .tbl td, .tbl th { padding-left: 8px; padding-right: 8px; }
  .tbl .n small { max-width: 30ch; }
  .ptop { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pimg { aspect-ratio: 4 / 3; margin-left: -18px; margin-right: -18px; border-radius: 0; }
  .pnav { top: 64px; }
  .psec { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 30px 0; }
  .spec { grid-template-columns: 110px minmax(0, 1fr); }
  .cwrap { grid-template-columns: 1fr; }
  .side { position: static; }
  .cells { grid-template-columns: 1fr; }
  .bk-row { grid-template-columns: 70px minmax(0, 1fr) 70px 30px; }
  .ag { grid-template-columns: 1fr; gap: 4px; }
  .figs { grid-template-columns: 1fr; }
  .figs div + div { padding-left: 0; border-left: 0; }
  .foot .in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .util { display: none; }
  .quote { font-size: 14px; }
  .tbl th.c, .tbl td.c { display: none; }
  .tbl .n small { max-width: 24ch; }
}
@media (prefers-reduced-motion: reduce) { .slide, .cat img { transition: none; } }
@media print { .head, .util, .foot, .pnav, .pbuy, .sov { display: none !important; } }

/* ---------- 식품공전 ---------- */
.ind-links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fcb { display: inline-block; margin: 3px 0 1px; font-size: 12px; font-weight: 700; color: #3d6b16; background: #eef6e3; border-radius: 4px; padding: 1px 7px; }
.fc-no { font-size: 16px; font-weight: 600; }
.fc-no + .fc-no { margin-top: 4px; }
.fc-no span { display: inline-block; background: #eef6e3; color: #3d6b16; font-weight: 800; font-size: 13.5px; border-radius: 4px; padding: 2px 9px; margin-right: 8px; }
.fcm { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.fcm h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.fcm h3 a { text-decoration: none; color: var(--teal-dark); }
.fcm h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.flow { list-style: none; padding: 0; display: grid; gap: 8px; }
.flow li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: start; }
.flow li > b { font-size: 14px; color: var(--ink-2); padding-top: 4px; }
.flow li > div { display: flex; flex-wrap: wrap; gap: 6px; }
.fcr { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 4px 3px 8px; font-size: 13.5px; background: #fff; }
.fcr em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.fcr a { font-weight: 800; color: var(--teal-dark); text-decoration: none; background: var(--teal-pale); border-radius: 4px; padding: 1px 6px; font-size: 12.5px; }
.fcr a:hover { background: var(--teal); color: #fff; }
.fcr a.on { background: var(--tm); color: #fff; }
.fcr i { font-style: normal; font-size: 12px; color: var(--ink-3); padding: 0 4px; }
.fcm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.fcm-card { display: grid; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.fcm-card span { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.fcm-card b { font-size: 17px; }
.fcm-card i { font-size: 13px; color: var(--ink-2); }
.fcm-card em { font-style: normal; font-size: 13px; color: var(--teal-dark); font-weight: 700; margin-top: 4px; }
.fcm-card:hover b { color: var(--tm-dark); }
.fctbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.fctbl th { text-align: left; font-size: 13px; color: var(--ink-3); font-weight: 600; padding: 9px 10px; border-bottom: 2px solid var(--ink); }
.fctbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fctbl .no { width: 70px; font-weight: 800; color: #3d6b16; white-space: nowrap; }
.fctbl .tm a { display: inline-block; margin: 0 6px 2px 0; font-weight: 800; color: var(--teal-dark); text-decoration: none; }
.fctbl .tm a:hover { text-decoration: underline; }
.fctbl .tm span { color: var(--ink-3); }
.fctbl .use { font-size: 13px; color: var(--ink-2); }
.fctbl .use a { color: inherit; }
.fctbl tr:target td { background: #fff6ee; }
.need { display: grid; gap: 0; border-top: 1px solid var(--line); }
.nd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.nd a { text-decoration: none; }
.nd a span { color: var(--teal-dark); font-weight: 800; font-size: 13.5px; margin-right: 8px; }
.nd a b { font-weight: 600; font-size: 14.5px; }
.nd a:hover b { color: var(--tm-dark); }
.fctext h3 { font-size: 18px; font-weight: 800; margin: 26px 0 6px; }
.fctext h3:first-child { margin-top: 0; }
.fctext h4 { font-size: 16px; font-weight: 800; margin: 18px 0 4px; color: var(--teal-dark); }
.fctext p { font-size: 15px; line-height: 1.85; margin-top: 6px; }
.tmref { display: inline-block; margin-left: 3px; font-size: 12px; font-weight: 800; color: #fff; background: var(--teal); border-radius: 4px; padding: 0 5px; text-decoration: none; vertical-align: 1px; }
.tmref:hover { background: var(--tm); }
@media (max-width: 1000px) {
  .flow li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fcm-card { padding-right: 0; }
}

/* ---------- 공정서 허브 ---------- */
.std-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.std-card { display: grid; gap: 6px; padding: 22px 22px 20px; border: 1.5px solid var(--line); border-radius: 8px; text-decoration: none; background: #fff; }
.std-card:hover { border-color: var(--tm); }
.std-card b { font-size: 21px; font-weight: 800; }
.std-card span { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.std-card em { font-style: normal; font-size: 13.5px; color: var(--teal-dark); font-weight: 700; margin-top: 6px; }
.std-full { font-size: 14px; color: var(--ink-2); padding: 10px 14px; background: var(--soft); border-radius: 6px; margin-bottom: 26px; }
.fctbl td small { display: block; font-size: 12.5px; color: var(--ink-3); }
.fc-no small { font-weight: 400; color: var(--ink-3); margin-left: 6px; font-size: 13px; }

/* ---------- 첫 화면: 왼쪽 문구, 오른쪽 사진 (tmmedia.kr 배너) ---------- */
.hero { background: linear-gradient(100deg, var(--teal-dark) 0%, var(--teal) 60%, #1b9fb5 100%); }
.slide img { left: 44%; width: 56%; object-position: center; }
.slide .hero-txt { position: absolute; inset: 0; display: flex; align-items: center; }
.slide .hero-txt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal-dark) 36%, rgba(11, 101, 118, .75) 44%, rgba(11, 101, 118, 0) 54%); }
.slide .hero-txt .in { position: relative; }
.hero-box .h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.hero-box p { max-width: 30em; }
@media (max-width: 1000px) {
  .slide img { left: 0; width: 100%; object-position: 70% center; }
  .slide .hero-txt::before { background: linear-gradient(180deg, rgba(8, 60, 72, 0) 20%, rgba(8, 60, 72, .9) 65%); }
}

/* ---------- Industries We Serve ---------- */
.serve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serve article { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.serve img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.serve div { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.serve h3 { font-size: 18px; font-weight: 800; }
.serve p { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 14px; flex: 1; }
@media (max-width: 1000px) { .serve { grid-template-columns: 1fr; } }

/* ---------- 인증서 ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; margin-top: 18px; }
.cert { display: block; text-decoration: none; }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 4px; background: #fff; transition: transform .2s; }
.cert:hover img { transform: translateY(-3px); box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .4); }
.cert b { display: block; margin-top: 10px; font-size: 15px; }
.cert span { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }

/* ---------- 공정서 메가메뉴 · 요약 ---------- */
.mega.wide { grid-template-columns: repeat(4, 200px); left: -40px; }
.mega h4 a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 800; padding: 0; display: inline; }
.mega a.all { color: var(--teal-dark); font-weight: 700; font-size: 13.5px; }
.std-sum { font-size: 16px; line-height: 1.7; padding: 14px 18px; background: var(--teal-pale); border-radius: 8px; margin-bottom: 8px; }
/* 배너 사진이 작아(≈700px) 너무 확대되지 않도록 첫 화면 높이·사진 폭 조정 */
.hero { height: min(500px, 58vh); min-height: 400px; }
.slide img { left: 50%; width: 50%; object-position: center top; }
.slide .hero-txt::before { background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal-dark) 42%, rgba(11, 101, 118, .8) 50%, rgba(11, 101, 118, 0) 60%); }
.hero-box { max-width: 480px; }
@media (max-width: 1000px) { .slide img { left: 0; width: 100%; } .hero { height: 480px; } }
.slide img { position: absolute; top: 0; }

/* ---------- 첫 화면: 사진 전체에 깔고 글자를 위에 ---------- */
.hero { height: min(560px, 62vh); min-height: 420px; }
.slide img { left: 0; width: 100%; object-position: center; }
.slide .hero-txt::before { background: linear-gradient(90deg, rgba(11, 101, 118, .92) 0%, rgba(11, 101, 118, .82) 34%, rgba(11, 101, 118, .45) 55%, rgba(11, 101, 118, 0) 75%); }
.hero-box { max-width: 560px; }
@media (max-width: 1000px) { .slide .hero-txt::before { background: linear-gradient(180deg, rgba(8, 60, 72, .15) 0%, rgba(8, 60, 72, .92) 60%); } }

/* ---------- 타사 호환 코드 ---------- */
.xtbl .br { white-space: nowrap; font-weight: 700; color: var(--ink-2); font-size: 13.5px; }
.xtbl .xc { font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.xtbl .xd { color: var(--ink-2); font-size: 13.5px; }
.xtbl .tm a { text-decoration: none; }
.xtbl .tm a:hover b { color: var(--tm-dark); }
.xtbl .tm b { color: var(--teal-dark); margin-right: 6px; }
.xtbl tr[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 13px; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip span { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #c9d0cc; }
.xhit { display: inline-block; margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: #3d6b16; background: #eef6e3; border-radius: 4px; padding: 1px 7px; vertical-align: 1px; }
.ctbl tr.sub td { font-weight: 700; color: var(--ink-2); background: var(--bg-2, #f6f7f9); font-size: 13px; }
@media (max-width: 1000px) { .slide:first-child img { object-position: 64% center; } }
/* 식물배양 배지·시약 (홈 제품군 둘째 줄) */
.cats2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.cats2 .cat { height: 190px; }
.cats2 .cat:first-child { grid-row: auto; }
.cats2 .cat:first-child .cat-t b { font-size: 22px; }
.ctbl tr.sub td { font-weight: 700; }
@media (max-width: 1000px) { .cats2 { gap: 10px; margin-top: 10px; } .cats2 .cat { height: 170px; } .cats2 .cat:first-child .cat-t b { font-size: 18px; } }
@media (max-width: 1000px) { .cats2 .cat:first-child { grid-column: auto; } }
.cats2 .cat::after { background: linear-gradient(180deg, rgba(20, 30, 45, .30) 0%, rgba(20, 30, 45, .86) 72%); }
@media (max-width: 1000px) { .cats2 .cat-t span { display: none; } }
/* 로고: 머리글이 좁아져도 가로세로 비율 유지 (휴대폰에서 위아래로 늘어나 보이던 문제) */
.logo { display: block; min-width: 0; flex: 0 1 auto; line-height: 0; }
.logo img { width: 175px; height: auto; max-width: 100%; }
@media (max-width: 1000px) { .logo img { width: 144px; } }
@media (max-width: 420px) { .head .in { gap: 8px; } .quote { padding: 8px 10px; } }
