/* ===== 기본 색상 ===== */
:root {
  --blue: #1677ff;
  --blue-dark: #0a5ad6;
  --blue-soft: #e9f2ff;
  --sky: #7cc0ff;
  --navy: #0c1a2c;
  --ink: #171f2b;
  --gray-50: #f4f7fb;
  --gray-100: #e9eef5;
  --gray-300: #c9d2de;
  --gray-500: #6c7787;
  --gray-700: #3b4554;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(12, 26, 44, 0.10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.eyebrow { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow.light { color: rgba(255,255,255,.85); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head h2, .about-text h2 {
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.35; font-weight: 800; letter-spacing: -0.035em; color: var(--ink);
}
.sec-head h2 em, .about-text h2 em { font-style: normal; color: var(--blue); }
.section { padding: 140px 0; }

/* 스크롤 등장 효과 */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== 헤더 (떠있는 둥근 바) ===== */
.header { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; padding: 0 24px; }
.header-bar {
  max-width: 1400px; margin: 0 auto; height: 84px; padding: 0 16px 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: 0 10px 40px rgba(12,26,44,.12);
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.12; }
.logo-text strong { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.logo-text small { font-size: 10.5px; font-weight: 700; color: var(--blue); letter-spacing: .16em; }
.logo-light .logo-text strong { color: var(--white); }
.logo-light .logo-text small { color: var(--sky); }

.nav { display: flex; gap: 56px; }
.nav a { font-size: 17px; font-weight: 700; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 2px; background: var(--blue); transition: .3s var(--ease); transform: translateX(-50%); }
.nav a:hover { color: var(--blue); }
.nav a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 10px; }
.header-tel { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--gray-50); font-weight: 700; font-size: 15.5px; color: var(--navy); transition: .2s; }
.header-tel:hover { background: var(--blue-soft); color: var(--blue); }
.header-tel svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blue); cursor: pointer; }
.menu-btn span { position: absolute; left: 16px; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: .25s; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn span:nth-child(3) { top: 31px; }
.menu-open .menu-btn span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 25px; transform: rotate(-45deg); }

.mobile-menu {
  display: none; max-width: 1400px; margin: 10px auto 0; padding: 12px 24px 22px;
  background: var(--white); border-radius: 28px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s var(--ease);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: block; padding: 15px 4px; font-size: 17px; font-weight: 700; border-bottom: 1px solid var(--gray-100); }
.mobile-menu .mobile-tel { margin-top: 14px; border: 0; text-align: center; border-radius: 999px; background: var(--blue); color: var(--white); }

/* ===== 오른쪽 점 네비게이션 ===== */
.side-dots { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 16px; }
.side-dots a { position: relative; width: 10px; height: 10px; border-radius: 50%; background: rgba(140,155,175,.55); transition: .3s; }
.side-dots a.on { background: var(--blue); box-shadow: 0 0 0 5px rgba(22,119,255,.2); }
.side-dots a::before { content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--white); padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; }
.side-dots a:hover::before { opacity: 1; }
.side-dots.on-dark a:not(.on) { background: rgba(255,255,255,.6); }

/* ===== 메인 슬라이드 ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--navy); color: var(--white); }
.slide { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.slide::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; transform: scale(1.12); transition: transform 7s linear; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,44,.35) 0%, rgba(8,22,44,.25) 45%, rgba(8,22,44,.6) 100%); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide.is-active::before { transform: scale(1); }
.slide-text { position: relative; z-index: 1; padding: 0 24px; }
.slide-eyebrow { font-size: clamp(17px, 1.8vw, 24px); font-weight: 600; opacity: .95; margin-bottom: 14px; }
.slide h1, .slide h2 { font-size: clamp(42px, 6.5vw, 92px); line-height: 1.18; font-weight: 800; letter-spacing: -0.04em; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.slide-sub { margin-top: 22px; font-size: clamp(16px, 1.5vw, 20px); opacity: .85; }
.slide .slide-text > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.slide.is-active .slide-text > *:nth-child(2) { transition-delay: .2s; }
.slide.is-active .slide-text > *:nth-child(3) { transition-delay: .4s; }

.hero-controls { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 16px; }
.hc-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.hc-arrow:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.hc-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-num { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.hc-num b { color: var(--white); }
.hc-bar { width: 140px; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.hc-bar i { display: block; height: 100%; width: 0; background: var(--white); }
.hc-bar i.run { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }

.scroll-down { position: absolute; left: 40px; bottom: 50px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.scroll-down span { writing-mode: vertical-rl; }
.scroll-down i { width: 1px; height: 56px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-down i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--white); animation: drop 2s infinite; }
@keyframes drop { to { top: 100%; } }

/* ===== 제품소개 ===== */
.products { background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); }
.product-list { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 18px; height: 520px; transition: grid-template-columns .6s var(--ease); }
.product-list:has(.product:nth-child(1):hover) { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.product-list:has(.product:nth-child(2):hover) { grid-template-columns: 1fr 1.6fr 1fr 1fr; }
.product-list:has(.product:nth-child(3):hover) { grid-template-columns: 1fr 1fr 1.6fr 1fr; }
.product-list:has(.product:nth-child(4):hover) { grid-template-columns: 1fr 1fr 1fr 1.6fr; }
.product { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); isolation: isolate; }
.product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.product::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,44,0) 45%, rgba(8,22,44,.75) 100%); }
.product:hover img { transform: scale(1.06); }
.product::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--blue); border-radius: var(--radius); opacity: 0; transition: .3s; z-index: 2; pointer-events: none; }
.p-arrow { position: absolute; top: 26px; left: 26px; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .35s var(--ease); }
.p-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.p-info { position: absolute; left: 28px; right: 28px; bottom: 26px; color: var(--white); }
.p-info h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.p-info p { font-size: 15px; opacity: .85; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
/* 활성 카드: 첫 카드 기본, 마우스 올린 카드 우선 */
.product-list:not(:hover) .product.is-on::before, .product:hover::before { opacity: 1; }
.product-list:not(:hover) .product.is-on .p-arrow, .product:hover .p-arrow { opacity: 1; transform: none; }
.product-list:not(:hover) .product.is-on .p-info p, .product:hover .p-info p { max-height: 60px; }

.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.steps li { padding: 28px 26px; font-size: 17px; font-weight: 700; color: var(--navy); position: relative; }
.steps li + li { border-left: 1px solid var(--gray-100); }
.steps span { display: block; font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .08em; margin-bottom: 4px; }

/* ===== 회사소개 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-text h2 { margin-bottom: 32px; }
.about-text p { font-size: 17px; color: var(--gray-700); margin-bottom: 14px; }
.about-text .sign { margin-top: 28px; color: var(--gray-500); }
.about-text .sign strong { color: var(--navy); font-size: 19px; margin-left: 6px; }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 30px; }
.about-badge { position: absolute; left: -36px; bottom: -36px; width: 170px; height: 170px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-content: center; text-align: center; box-shadow: 0 20px 40px rgba(22,119,255,.35); }
.about-badge strong { font-size: 24px; line-height: 1.1; font-weight: 800; }
.about-badge span { font-size: 12.5px; margin-top: 8px; opacity: .9; }

.values { margin-top: 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values li { padding: 40px 36px; border-radius: var(--radius); background: var(--gray-50); transition: .3s var(--ease); }
.values li:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-6px); }
.v-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--white); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 4px 14px rgba(12,26,44,.06); }
.v-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.values strong { font-size: 22px; color: var(--navy); }
.values p { margin-top: 6px; color: var(--gray-500); font-size: 15.5px; }

.history { margin-top: 100px; }
.history h3 { font-size: 22px; color: var(--navy); margin-bottom: 30px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--gray-100); }
.timeline li { position: relative; padding: 36px 20px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 1px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue); }
.timeline .year { font-size: 26px; font-weight: 800; color: var(--navy); }
.timeline p { color: var(--gray-700); margin-top: 2px; }

/* ===== 물방울 배너 ===== */
.water {
  position: relative; overflow: hidden; padding: 170px 0; text-align: center; color: var(--white);
  background:
    linear-gradient(180deg, rgba(10,70,160,.55), rgba(22,119,255,.35)),
    url('https://images.unsplash.com/photo-1541256942802-7b29531f0df8?auto=format&fit=crop&w=2000&q=80') center/cover;
}
.water h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.3; font-weight: 800; letter-spacing: -0.035em; text-shadow: 0 4px 30px rgba(0,30,80,.3); }
.water-inner { position: relative; z-index: 1; }
.bubbles i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,.35) 14%, rgba(160,210,255,.18) 45%, rgba(255,255,255,.35) 72%, rgba(255,255,255,.7) 100%);
  box-shadow: inset -10px -14px 30px rgba(0,60,140,.25), 0 20px 40px rgba(0,40,100,.2);
  animation: float 9s ease-in-out infinite;
}
.bubbles i:nth-child(1) { width: 190px; height: 190px; left: 6%; top: 52%; }
.bubbles i:nth-child(2) { width: 90px; height: 90px; left: 20%; top: 14%; animation-delay: -2s; animation-duration: 7s; }
.bubbles i:nth-child(3) { width: 240px; height: 240px; right: -50px; top: 8%; animation-delay: -4s; animation-duration: 11s; }
.bubbles i:nth-child(4) { width: 70px; height: 70px; right: 22%; bottom: 14%; animation-delay: -1s; }
.bubbles i:nth-child(5) { width: 120px; height: 120px; right: 10%; bottom: -30px; animation-delay: -6s; animation-duration: 10s; }
.bubbles i:nth-child(6) { width: 46px; height: 46px; left: 38%; bottom: 12%; animation-delay: -3s; animation-duration: 6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

/* ===== 고객센터 ===== */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 32px 44px; border-radius: var(--radius); border: 1px solid var(--gray-100); background: var(--white); transition: .35s var(--ease); }
.service-card:hover { border-color: transparent; background: var(--blue); color: var(--white); transform: translateY(-8px); box-shadow: 0 24px 50px rgba(22,119,255,.3); }
.s-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 26px; transition: .35s; }
.s-icon svg { width: 38px; height: 38px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: .35s; }
.service-card:hover .s-icon { background: rgba(255,255,255,.18); }
.service-card:hover .s-icon svg { stroke: var(--white); }
.service-card strong { font-size: 23px; letter-spacing: -0.02em; }
.service-card p { margin-top: 8px; color: var(--gray-500); transition: .35s; }
.service-card:hover p { color: rgba(255,255,255,.85); }
.service-card .more { margin-top: 26px; font-size: 14.5px; font-weight: 700; color: var(--blue); transition: .35s; }
.service-card:hover .more { color: var(--white); }

/* ===== 오시는 길 ===== */
.contact { background: var(--gray-50); }
.contact-box { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.contact-info { background: var(--white); border-radius: var(--radius); padding: 48px 44px; box-shadow: var(--shadow); }
.contact-info h3 { font-size: 24px; color: var(--navy); padding-bottom: 20px; margin-bottom: 8px; border-bottom: 2px solid var(--navy); }
.contact-info dl > div { display: grid; grid-template-columns: 84px 1fr; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.contact-info dt { font-weight: 700; color: var(--blue); }
.contact-info dd { color: var(--gray-700); }
.contact-info dd small { color: var(--gray-500); }
.contact-info dd a:hover { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--white); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.map-placeholder { height: 100%; min-height: 460px; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; color: var(--gray-500);
  background-image: linear-gradient(var(--gray-100) 1px, transparent 1px), linear-gradient(90deg, var(--gray-100) 1px, transparent 1px); background-size: 44px 44px; }
.map-placeholder svg { width: 46px; height: 46px; fill: none; stroke: var(--blue); stroke-width: 1.8; margin-bottom: 6px; }
.map-placeholder p { font-weight: 800; color: var(--navy); font-size: 18px; }

/* ===== 푸터 ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.55); font-size: 14.5px; padding: 64px 0 56px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding-top: 32px; }
.footer-info { line-height: 1.9; }
.footer-info i { font-style: normal; margin: 0 10px; opacity: .3; }
.copyright { display: block; margin-top: 18px; opacity: .7; }
.footer-cs { flex: none; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.1); }
.footer-cs strong { display: block; color: var(--sky); font-size: 13px; letter-spacing: .14em; }
.cs-tel { display: block; font-size: 26px; font-weight: 800; color: var(--white); margin: 6px 0 4px; }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover svg { stroke: var(--white); }

/* ===== 제품 카드 위 부품 그림 배지 (첫 페이지) ===== */
.p-part { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(8,22,44,.2); }
.p-part svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.more-row { margin-top: 40px; text-align: center; }
.btn-blue { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 34px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 700; font-size: 16.5px; box-shadow: 0 12px 30px rgba(22,119,255,.3); transition: .25s; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ===== 제품소개 페이지 ===== */
.nav a.active { color: var(--blue); }
.nav a.active::after { width: 100%; }
.sub-hero { position: relative; padding: 210px 0 100px; color: var(--white); text-align: center; background: var(--navy); overflow: hidden; }
.sub-hero::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover; opacity: .55; }
.sub-hero .container { position: relative; }
.sub-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; }
.sub-hero p { font-size: 17px; opacity: .85; margin-top: 8px; }
.crumb { font-size: 13.5px !important; letter-spacing: .06em; margin-bottom: 10px; }
.crumb span { margin: 0 8px; opacity: .6; }

.cat-tabs-wrap { position: sticky; top: 112px; z-index: 50; padding: 18px 0; background: var(--white); box-shadow: 0 10px 20px -16px rgba(12,26,44,.25); }
.cat-tabs { display: flex; gap: 10px; justify-content: center; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--gray-300); background: var(--white); color: var(--gray-700); font-size: 16px; font-weight: 700; cursor: pointer; transition: .2s; }
.cat-tabs button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cat-tabs button b { font-size: 12.5px; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--gray-100); color: var(--gray-500); display: inline-grid; place-items: center; }
.cat-tabs button:hover { border-color: var(--blue); color: var(--blue); }
.cat-tabs button.on { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(22,119,255,.28); }
.cat-tabs button.on b { background: rgba(255,255,255,.22); color: var(--white); }

.catalog { padding-top: 60px; }
#catalog { display: flex; flex-direction: column; gap: 110px; }
.cat[hidden] { display: none; }
.cat-head { display: flex; gap: 28px; align-items: flex-start; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 2px solid var(--navy); }
.cat-icon { flex: none; width: 96px; height: 96px; border-radius: 28px; background: var(--blue-soft); display: grid; place-items: center; }
.cat-icon svg { width: 60px; height: 60px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cat-head .eyebrow { margin-bottom: 4px; }
.cat-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.cat-desc { margin-top: 10px; color: var(--gray-500); font-size: 16.5px; max-width: 760px; }

.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.item { border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); overflow: hidden; transition: .3s var(--ease); display: flex; flex-direction: column; }
.item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.item-img { aspect-ratio: 4 / 3; background: var(--gray-50); display: grid; place-items: center; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.item:hover .item-img img { transform: scale(1.05); }
.item-ph { width: 46%; height: 60%; fill: none; stroke: var(--gray-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.item:hover .item-ph { stroke: var(--blue); }
.item-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.item-cat { font-size: 13px; font-weight: 700; color: var(--blue); }
.item-body h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; color: var(--ink); }
.item-spec { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-100); color: var(--gray-500); font-size: 15px; }
.item-spec li + li { margin-top: 3px; }
.item-btn { margin-top: auto; padding-top: 22px; font-weight: 700; color: var(--navy); font-size: 15px; }
.item-btn span { display: inline-block; transition: transform .2s; }
.item:hover .item-btn { color: var(--blue); }
.item:hover .item-btn span { transform: translateX(4px); }

.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: var(--white); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { opacity: .85; margin-top: 4px; }
.btn-white { display: inline-flex; align-items: center; height: 58px; padding: 0 34px; border-radius: 999px; background: var(--white); color: var(--blue); font-weight: 800; font-size: 16.5px; transition: .2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,30,90,.25); }

/* ===== 제품 카드: 상세 페이지 링크 / 3D 배지 ===== */
a.item { color: inherit; }
.item-img { position: relative; }
.item-3d { position: absolute; top: 14px; left: 14px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; display: inline-flex; align-items: center; }
.item-img img.contain { object-fit: contain; padding: 8%; }

/* ===== 제품 상세 페이지 ===== */
.pd { padding: 150px 0 120px; }
.pd-crumb { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; }
.pd-crumb a:hover { color: var(--blue); }
.pd-crumb span { margin: 0 10px; opacity: .5; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.stage { position: relative; height: 600px; border-radius: var(--radius); background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, var(--gray-50) 70%); border: 1px solid var(--gray-100); overflow: hidden; touch-action: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage.drag canvas { cursor: move; }
.stage-badge { position: absolute; top: 18px; right: 18px; z-index: 1; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .06em; display: inline-flex; align-items: center; pointer-events: none; }
.legend { position: absolute; left: 20px; top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--gray-700); pointer-events: none; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.15); }
.stage-hint, .stage-tip, .stage-fallback { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 13px; white-space: nowrap; pointer-events: none; }
.stage-hint { color: var(--gray-500); }
.stage-tip { background: var(--navy); color: var(--white); padding: 5px 14px; border-radius: 999px; }
.stage-fallback { bottom: 50%; color: var(--gray-500); }
.stage-hint[hidden], .stage-tip[hidden], .stage-fallback[hidden] { display: none; }

.v-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.v-bar button { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--gray-300); background: var(--white); color: var(--gray-700); font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.v-bar button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.v-bar button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.v-bar button:disabled { opacity: .4; cursor: default; }
.v-bar button:focus-visible { outline: 3px solid rgba(22,119,255,.35); outline-offset: 2px; }
.v-sep { flex: 1; }
.v-spin { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 20px; border-radius: 999px; background: var(--gray-50); font-size: 15px; font-weight: 600; color: var(--gray-700); }
.v-spin input { flex: 1; accent-color: var(--blue); height: 32px; }
.v-spin output { min-width: 42px; text-align: right; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }

.pd-info { position: sticky; top: 130px; }
.pd-cat { font-size: 14px; font-weight: 800; color: var(--blue); }
.pd-info h1 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; margin-top: 4px; }
.pd-desc { margin-top: 16px; font-size: 17px; color: var(--gray-700); }
.pd-points { margin-top: 26px; display: grid; gap: 10px; }
.pd-points li { padding: 14px 18px; border-radius: 14px; background: var(--gray-50); font-size: 15px; color: var(--gray-700); }
.pd-points b { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 2px; }
.pd-spec { width: 100%; margin-top: 30px; border-collapse: collapse; font-size: 15.5px; }
.pd-spec caption { text-align: left; font-size: 18px; font-weight: 800; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.pd-spec th, .pd-spec td { padding: 13px 4px; border-bottom: 1px solid var(--gray-100); text-align: left; }
.pd-spec th { font-weight: 600; color: var(--gray-500); width: 44%; }
.pd-spec td { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-actions { display: flex; gap: 10px; margin-top: 30px; }
.pd-actions a { flex: 1; justify-content: center; }
.btn-line { display: inline-flex; align-items: center; height: 58px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--gray-300); color: var(--navy); font-weight: 700; font-size: 16.5px; transition: .2s; }
.btn-line:hover { border-color: var(--navy); }
.pd-back { display: inline-block; margin-top: 22px; font-size: 15px; color: var(--gray-500); font-weight: 600; }
.pd-back:hover { color: var(--blue); }

/* ===== 반응형 ===== */
@media (max-width: 1200px) {
  .nav { gap: 32px; }
  .side-dots { display: none; }
}

@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .nav, .header-tel span { display: none; }
  .header-tel { width: 52px; padding: 0; justify-content: center; }
  .menu-btn { display: block; }
  .mobile-menu { display: block; }
  .section { padding: 100px 0; }
  .product-list, .product-list:has(.product:hover) { grid-template-columns: 1fr 1fr; height: auto; }
  .product { aspect-ratio: 4 / 3.4; }
  .product::before, .p-arrow { display: none; }
  .p-info p, .product-list:not(:hover) .product.is-on .p-info p, .product:hover .p-info p { max-height: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(4) { border-left: 0; }
  .steps li:nth-child(n+4) { border-top: 1px solid var(--gray-100); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-badge { left: auto; right: 24px; bottom: -40px; width: 140px; height: 140px; }
  .about-badge strong { font-size: 20px; }
  .values { margin-top: 90px; }
  .contact-box { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-cs { padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .items { grid-template-columns: repeat(2, 1fr); }
  .cat-tabs { justify-content: flex-start; }
  .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-info { position: static; }
  .stage { height: 520px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 90px; }
  .container { padding: 0 16px; }
  .header { top: 12px; padding: 0 12px; }
  .header-bar { height: 66px; padding: 0 9px 0 20px; }
  .logo img { width: 34px; height: 34px; }
  .logo-text strong { font-size: 18px; }
  .logo-text small { font-size: 9.5px; }
  .header-tel, .menu-btn { width: 46px; height: 46px; }
  .menu-btn span { left: 13px; }
  .menu-btn span:nth-child(1) { top: 16px; }
  .menu-btn span:nth-child(2), .menu-open .menu-btn span:nth-child(1), .menu-open .menu-btn span:nth-child(3) { top: 22px; }
  .menu-btn span:nth-child(3) { top: 28px; }

  .hero { min-height: 560px; }
  .hero-controls { bottom: 40px; gap: 12px; }
  .hc-bar { width: 80px; }
  .scroll-down { display: none; }

  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 36px; }
  .eyebrow { font-size: 14px; }
  .product-list, .product-list:has(.product:hover) { grid-template-columns: 1fr; gap: 14px; }
  .product { aspect-ratio: 16 / 11; }
  .p-info { left: 22px; bottom: 20px; }
  .p-info h3 { font-size: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding: 20px; font-size: 15.5px; }
  .steps li:nth-child(n) { border-left: 0; border-top: 1px solid var(--gray-100); }
  .steps li:nth-child(even) { border-left: 1px solid var(--gray-100); }
  .steps li:nth-child(-n+2) { border-top: 0; }
  .steps li:last-child { grid-column: 1 / -1; }

  .about-text p { font-size: 16px; }
  .about-img img { border-radius: 22px; }
  .about-badge { width: 116px; height: 116px; right: 16px; bottom: -32px; }
  .about-badge strong { font-size: 17px; }
  .about-badge span { font-size: 11px; }
  .values { grid-template-columns: 1fr; margin-top: 76px; gap: 14px; }
  .values li { padding: 28px 24px; }
  .history { margin-top: 64px; }
  .timeline { grid-template-columns: 1fr; padding-left: 2px; }
  .timeline::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .timeline li { padding: 0 0 26px 42px; }
  .timeline li::before { top: 6px; }
  .timeline .year { font-size: 22px; }

  .water { padding: 110px 0; }
  .bubbles i:nth-child(1) { width: 110px; height: 110px; left: -30px; }
  .bubbles i:nth-child(3) { width: 140px; height: 140px; }

  .service-list { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 36px 24px 32px; }
  .s-icon { width: 70px; height: 70px; margin-bottom: 18px; }

  .contact-info { padding: 32px 24px; }
  .contact-info dl > div { grid-template-columns: 72px 1fr; }
  .map, .map iframe, .map-placeholder { min-height: 300px; }

  .footer { padding: 48px 0 90px; }
  .footer-nav { gap: 20px; flex-wrap: wrap; }
  .footer-info i { display: block; height: 0; overflow: hidden; margin: 0; }
  .footer-info { font-size: 13.5px; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }

  .p-part { width: 54px; height: 54px; top: 16px; right: 16px; }
  .p-part svg { width: 34px; height: 34px; }
  .btn-blue, .btn-white { width: 100%; justify-content: center; }

  .sub-hero { padding: 150px 0 64px; }
  .sub-hero p:not(.crumb) { font-size: 15.5px; }
  .cat-tabs-wrap { top: 84px; padding: 12px 0; }
  .cat-tabs-wrap .container { padding: 0; }
  .cat-tabs { padding: 4px 16px; gap: 8px; }
  .cat-tabs button { height: 44px; padding: 0 16px; font-size: 15px; }
  .cat-tabs button svg { width: 20px; height: 20px; }
  .catalog { padding-top: 36px; }
  #catalog { gap: 72px; }
  .cat-head { gap: 16px; flex-direction: column; padding-bottom: 24px; margin-bottom: 24px; }
  .cat-icon { width: 72px; height: 72px; border-radius: 22px; }
  .cat-icon svg { width: 46px; height: 46px; }
  .cat-desc { font-size: 15.5px; }
  .items { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item-body { padding: 16px 16px 18px; }
  .item-cat { font-size: 12px; }
  .item-body h3 { font-size: 16px; }
  .item-spec { font-size: 13px; margin-top: 10px; padding-top: 10px; }
  .item-btn { font-size: 14px; padding-top: 14px; }
  .cta-band { padding: 56px 0; }

  .item-3d { top: 10px; left: 10px; height: 24px; padding: 0 10px; font-size: 11px; }
  .pd { padding: 104px 0 80px; }
  .pd-crumb { font-size: 13px; margin-bottom: 18px; }
  .stage { height: 380px; border-radius: 18px; }
  .legend { left: 14px; top: 14px; gap: 4px 12px; font-size: 12px; max-width: calc(100% - 70px); }
  .stage-badge { top: 12px; right: 12px; }
  .v-bar button { height: 40px; padding: 0 14px; font-size: 14px; }
  .v-sep { flex-basis: 100%; height: 0; }
  .v-spin { padding: 10px 16px; font-size: 14px; }
  .pd-desc { font-size: 16px; }
  .pd-actions a { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
