:root {
  --navy: #09243f;
  --navy-dark: #06192b;
  --teal: #087c76;
  --orange: #e9742d;
  --ink: #142638;
  --muted: #5e6d79;
  --line: #dce4e8;
  --surface: #f4f7f8;
  --white: #fff;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif; font-size: 16px; line-height: 1.65; word-break: keep-all; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f2a36e; outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 3000; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-150%); color: var(--white); background: var(--teal); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(6, 25, 43, 0.09); }
.utility-bar { color: #d1dce4; background: var(--navy-dark); font-size: 0.76rem; }
.utility-inner { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner div { display: flex; gap: 18px; }
.utility-inner a { color: var(--white); font-weight: 800; }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: var(--white); background: var(--teal); border-radius: 7px 7px 14px 7px; font-size: 1.3rem; font-weight: 900; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { color: var(--navy); font-size: 1.38rem; letter-spacing: 0.05em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.primary-nav a { color: #2b4052; font-size: 0.9rem; font-weight: 800; }
.primary-nav a:hover { color: var(--teal); }
.header-call { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; color: var(--white); background: var(--orange); border-radius: 5px; font-size: 0.85rem; font-weight: 900; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle i { width: 100%; height: 2px; display: block; margin: 5px 0; background: var(--navy); transition: 0.2s; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.hero::after { content: ""; position: absolute; right: -180px; bottom: -220px; width: 430px; height: 430px; border: 75px solid rgba(8, 124, 118, 0.24); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding-block: 80px; }
.eyebrow, .section-heading p { margin: 0 0 16px; color: #68d0cb; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.16em; }
.hero h1 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 1.12; letter-spacing: -0.045em; }
.hero h1 em { color: #67d1cc; font-style: normal; }
.hero-summary { max-width: 620px; margin: 25px 0 0; color: #cedae3; font-size: 1.02rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 5px; font-size: 0.9rem; font-weight: 900; }
.button-primary { color: var(--white); background: var(--orange); }
.button-light { color: var(--navy); background: var(--white); }
.hero-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 17px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18); }
.hero-photos article { min-width: 0; overflow: hidden; background: var(--white); }
.hero-photos .photo-frame { aspect-ratio: 3 / 4; }
.hero-photos article strong { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 5px 2px; color: var(--white); font-size: 0.65rem; text-align: center; }

.photo-frame { position: relative; display: grid; place-items: center; overflow: hidden; background: #eef2f4; }
.photo-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #f8fafb; }
.photo-frame.is-missing img { display: none; }
.photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 12px; color: #758996; font-size: 0.64rem; text-align: center; word-break: break-all; }
.photo-frame:not(.is-missing) .photo-placeholder { display: none; }
.bag-shape { position: relative; width: 70%; max-width: 95px; aspect-ratio: 3 / 4; display: block; border: 3px solid #a9bac3; border-radius: 4px 4px 10px 10px; background: rgba(255, 255, 255, 0.75); }
.bag-shape::before { content: ""; position: absolute; top: 12px; right: 8px; left: 8px; height: 2px; background: #829aa6; box-shadow: 0 6px 0 #829aa6, 0 12px 0 #829aa6; }
/* 지정폐기물 성상 색상: 산 노랑 · 알칼리 파랑 · 유기 분홍 (봉투 색상과 동일) */
.label-acid { color: #3b2f00 !important; background: #f2c400; }
.label-alkali { background: #1f56b8; }
.label-organic { background: #c93a78; }
.label-default { background: var(--navy); }

.section { padding-block: 94px; }
.section-muted { background: var(--surface); }
.section-heading { margin-bottom: 36px; }
.section-heading p { color: var(--teal); }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.2; letter-spacing: -0.04em; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(9, 36, 63, 0.07); }
.product-photo { aspect-ratio: 3 / 4; padding: 14px; background: #f3f6f7; }
.product-photo img { object-fit: contain; }
.product-body { min-height: 315px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; }
.type-label { min-height: 27px; display: inline-flex; align-items: center; padding: 2px 10px; color: var(--white); border-radius: 999px; font-size: 0.67rem; font-weight: 900; letter-spacing: 0.08em; }
.product-body h3 { margin: 15px 0 0; color: var(--navy); font-size: 1.48rem; }
.product-body p { margin: 4px 0 17px; color: var(--teal); font-size: 0.9rem; font-weight: 800; }
.product-body small { color: var(--muted); font-size: 0.82rem; line-height: 1.8; }
.product-link { margin-top: auto; padding-top: 22px; color: var(--navy); font-size: 0.82rem; font-weight: 900; }
.product-link:hover { color: var(--teal); }

.spec-wrap { display: grid; grid-template-columns: 0.38fr 1fr; gap: 70px; }
.spec-content { display: grid; gap: 28px; }
.size-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.size-list > div { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border-left: 1px solid var(--line); }
.size-list > div:last-child { border-right: 1px solid var(--line); }
.size-list span { color: var(--teal); font-size: 0.78rem; font-weight: 900; }
.size-list strong { margin-top: 7px; color: var(--navy); font-size: 1.05rem; }
.size-list small { margin-top: 5px; color: var(--muted); font-size: 0.72rem; }
.common-spec { margin: 0; border-top: 1px solid var(--line); }
.common-spec > div { min-height: 56px; display: grid; grid-template-columns: 105px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.common-spec dt { color: var(--muted); font-size: 0.8rem; }
.common-spec dd { margin: 0; color: var(--ink); font-size: 0.9rem; font-weight: 800; }
.caution { grid-column: 2; margin: -36px 0 0; padding: 15px 17px; color: #586a77; background: var(--surface); border-left: 3px solid #9aadb8; font-size: 0.78rem; }

.contact-section { padding-block: 90px; color: var(--white); background: var(--navy-dark); }
.contact-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 80px; align-items: start; }
.contact-grid h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.45rem); line-height: 1.23; letter-spacing: -0.04em; }
.contact-grid > div:first-child > p:last-child { margin: 20px 0 0; color: #aebfcb; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.contact-list a, .contact-list > div { min-height: 104px; display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); }
.contact-list span { color: #8fa5b4; font-size: 0.73rem; }
.contact-list strong { margin-top: 4px; color: var(--white); font-size: 1.08rem; line-height: 1.45; }
.contact-list a:hover { border-color: #68d0cb; background: rgba(8, 124, 118, 0.22); }

.site-footer { color: #8497a5; background: #04131f; }
.site-footer .container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.75rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: #dce5eb; }
.mobile-actions { display: none; }

.detail-main { background: var(--white); }
.breadcrumbs { padding-block: 18px; color: var(--muted); font-size: 0.75rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #a3b0b8; }
.breadcrumbs a:hover { color: var(--teal); }
.product-detail-hero { padding-block: 38px 92px; }
.detail-grid { display: grid; grid-template-columns: minmax(300px, 0.82fr) 1.18fr; gap: 74px; align-items: center; }
.detail-photo { min-height: 590px; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.detail-photo img { object-fit: contain; }
.detail-copy h1 { margin: 16px 0 0; color: var(--navy); font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.12; letter-spacing: -0.045em; }
.detail-lead { margin: 24px 0 0; color: #425a6b; font-size: 1.05rem; line-height: 1.9; }
.detail-summary { display: grid; gap: 0; margin: 30px 0 0; border-top: 2px solid var(--navy); }
.detail-summary > div { min-height: 57px; display: grid; grid-template-columns: 90px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.detail-summary dt { color: var(--muted); font-size: 0.78rem; }
.detail-summary dd { margin: 0; font-size: 0.9rem; font-weight: 800; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button-outline { color: var(--navy); border-color: var(--navy); background: var(--white); }
.application-section { color: var(--white); background: var(--navy); }
.application-section .section-heading h2 { color: var(--white); }
.chemical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chemical-item { min-height: 76px; display: flex; align-items: center; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.07); }
.chemical-item strong { font-size: 0.95rem; }
.application-note { margin: 22px 0 0; color: #bed0db; font-size: 0.84rem; }
.detail-spec-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; }
.detail-spec-grid .section-heading { margin: 0; }
.related-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-products a { min-height: 90px; display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; border: 1px solid var(--line); background: var(--white); }
.related-products span { color: var(--muted); font-size: 0.7rem; }
.related-products strong { margin-top: 3px; color: var(--navy); }
.related-products a[aria-current="page"] { border-color: var(--teal); background: #edf8f7; }
.related-products a:hover { border-color: var(--teal); }

.subpage-hero { padding-block: 62px; color: var(--white); background: var(--navy); }
.subpage-hero h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.subpage-hero p { color: #cbd8e1; }
.content-page { padding-block: 70px 100px; }
.content-page article { max-width: 820px; margin: 0 auto; }
.content-page h1, .content-page h2 { color: var(--navy); }
.content-page p, .content-page li { color: var(--muted); }
.not-found { min-height: 72vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.not-found strong { display: block; color: var(--teal); font-size: 5rem; line-height: 1; }
.not-found h1 { color: var(--navy); }

/* 제품 카드·목록 */
.card-link { height: 100%; display: flex; flex-direction: column; }
.card-link:hover h3 { color: var(--teal); }
.card-link .product-body { flex: 1; }
.card-price { margin-top: 14px; color: var(--navy); font-size: 0.95rem; }
.product-grid-compact { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid-compact .product-photo { aspect-ratio: 1 / 1; }
.product-grid-compact .product-body { min-height: 0; padding: 20px; }
.product-grid-compact .product-body h3 { font-size: 1.12rem; }
.product-grid-compact .product-body p { color: var(--muted); font-weight: 600; font-size: 0.82rem; line-height: 1.6; }
.section-lead { max-width: 820px; margin: -14px 0 34px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.text-link { color: var(--teal); font-size: 0.88rem; font-weight: 900; }
.hero-photos a { display: block; }
.primary-nav a[aria-current] { color: var(--teal); }
.site-footer a { text-decoration: underline; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason-grid > div { padding: 28px; border-top: 3px solid var(--teal); background: var(--surface); }
.reason-grid strong { color: var(--navy); font-size: 1.12rem; }
.reason-grid p { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }

/* 제품 상세 */
.gallery { min-width: 0; display: grid; gap: 10px; }
.gallery .detail-photo { min-height: 0; aspect-ratio: 1 / 1; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 76px; padding: 4px; border: 2px solid var(--line); background: var(--white); cursor: pointer; }
.gallery-thumbs button[aria-current] { border-color: var(--teal); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-product-name { margin: 12px 0 0; color: var(--teal); font-weight: 900; }
.detail-summary dd.price { color: var(--orange); font-size: 1.05rem; }
.detail-summary dd small { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.imarket { margin: 16px 0 0; color: var(--muted); font-size: 0.85rem; }
.imarket strong { color: var(--navy); }
.prose-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; }
.prose-grid .section-heading { margin: 0; }
.prose p { margin: 0 0 18px; color: #3c5263; font-size: 1.02rem; line-height: 1.95; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .price-table { min-width: 560px; }
.price-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 0.92rem; }
.price-table th, .price-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.price-table tbody th { color: var(--teal); font-weight: 900; }
.price-table td:last-child { color: var(--navy); font-weight: 900; text-align: right; }
.price-table thead th:last-child { text-align: right; }
.spec-note { margin: 0; padding: 14px 16px; color: #586a77; background: var(--surface); border-left: 3px solid #9aadb8; font-size: 0.82rem; }
.spec-caution { border-left-color: var(--orange); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); background: var(--white); }
.faq summary { padding: 18px 20px; color: var(--navy); font-weight: 800; cursor: pointer; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.related-products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.subpage-hero .eyebrow { margin-bottom: 10px; }
.subpage-hero p:last-child { max-width: 760px; line-height: 1.85; }

@media (max-width: 1024px) {
  .product-grid-compact { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .prose-grid { grid-template-columns: 1fr; gap: 24px; }
  .reason-grid { grid-template-columns: 1fr; }
  .product-grid-compact { grid-template-columns: 1fr 1fr; }
  .product-grid-compact .product-card:last-child { grid-column: auto; width: auto; }
  .utility-bar { display: none; }
  .nav-wrap { min-height: 67px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-call { display: none; }
  .primary-nav { position: fixed; z-index: 1001; top: 67px; right: 0; left: 0; display: grid; gap: 0; padding: 8px 20px 22px; transform: translateY(-130%); visibility: hidden; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(6, 25, 43, 0.12); transition: 0.22s; }
  .primary-nav.is-open { transform: translateY(0); visibility: visible; }
  .primary-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; padding-block: 70px; }
  .hero-photos { max-width: 580px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; width: calc(50% - 11px); }
  .spec-wrap, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .detail-grid, .detail-spec-grid { grid-template-columns: 1fr; gap: 38px; }
  .detail-photo { min-height: 500px; }
  .caution { grid-column: 1; margin-top: 0; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  body { padding-bottom: 68px; font-size: 15px; }
  .hero-grid { padding-block: 57px 64px; }
  .hero h1 { font-size: 2.48rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-photos { gap: 5px; padding: 9px; }
  .hero-photos article strong { min-height: 39px; font-size: 0.54rem; }
  .photo-placeholder { padding: 5px; font-size: 0.5rem; }
  .section { padding-block: 70px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; width: auto; }
  .product-body { min-height: 0; }
  .product-link { margin-top: 18px; padding-top: 0; }
  .size-list { grid-template-columns: 1fr; }
  .size-list > div { min-height: 106px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list a, .contact-list > div { min-height: 90px; }
  .product-detail-hero { padding-block: 18px 66px; }
  .detail-photo { min-height: 430px; }
  .chemical-grid, .related-products { grid-template-columns: 1fr; }
  .detail-summary > div { grid-template-columns: 78px 1fr; }
  .detail-actions { display: grid; grid-template-columns: 1fr; }
  .site-footer .container { min-height: 110px; display: grid; gap: 4px; padding-block: 22px; }
  .mobile-actions { position: fixed; z-index: 1200; right: 0; bottom: 0; left: 0; height: 68px; display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; box-shadow: 0 -7px 22px rgba(6, 25, 43, 0.18); }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); background: var(--navy); border-right: 1px solid rgba(255, 255, 255, 0.13); }
  .mobile-actions a:nth-child(2) { background: var(--teal); }
  .mobile-actions a:last-child { background: var(--orange); border: 0; }
  .mobile-actions span { color: rgba(255, 255, 255, 0.72); font-size: 0.59rem; }
  .mobile-actions strong { font-size: 0.69rem; }
}

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