/* ===== CJ CHEM Homepage ===== */
/* 디자인 토큰(:root)·버튼(.btn-pill)은 common.css에서 로드 */

html { scroll-behavior: smooth; }
body { font-family: 'Pretendard','Pretendard Variable',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif; color: var(--navy); background: var(--white); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
/* common.css의 SUIT 강제 스택을 덮어써서 Pretendard로 복귀 */
body, body * { font-family: 'Pretendard','Pretendard Variable',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif; }

.inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.header { background: #fff; border-bottom: 1px solid var(--light-gray); position: sticky; top: 0; z-index: 100; transition: box-shadow 0.35s ease, border-color 0.35s ease; will-change: box-shadow; }
.header.scrolled { box-shadow: 0 2px 20px rgba(26,35,64,0.09); border-bottom-color: rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height 0.35s ease; }
.header.scrolled .header-inner { height: 58px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-company { font-size: 14px; font-weight: 600; color: var(--dark-gray); letter-spacing: -0.02em; white-space: nowrap; }
.footer-logo { height: 46px; width: auto; display: block; filter: brightness(1.1) contrast(0.95); padding: 8px 12px; border-radius: 8px; }
.logo-mark { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -0.04em; box-shadow: 0 4px 10px rgba(46,125,50,0.25); position: relative; overflow: hidden; }
.logo-text { line-height: 1.15; }
.logo-text .name { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -0.03em; }
.logo-text .tag { font-size: 11px; color: var(--mid-gray); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.nav { display: flex; gap: 0px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; padding: 0 20px; height: 84px; font-size: 17px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; transition: color 0.15s; }
.nav-item:hover > a,
.nav-item.active > a { color: var(--primary); }
.nav-item > a::after { content: ''; position: absolute; bottom: 0; left: 20px; right: 20px; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform 0.2s; }
.nav-item:hover > a::after,
.nav-item.active > a::after { transform: scaleX(1); }

/* Mega dropdown */
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; min-width: fit-content; padding: 10px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--light-gray); opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; }
.nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a { text-align: center; display: block; padding: 10px 14px; font-size: 14px; color: var(--dark-gray); border-radius: var(--radius-sm); font-weight: 500; transition: background 0.1s, color 0.1s; white-space: nowrap; }
.dropdown a:hover { background: var(--primary-pale); color: var(--primary-dark); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--dark-gray); background: transparent; border: 0; outline: none; box-shadow: none; transition: background 0.15s, color 0.15s; }
.icon-btn:focus, .icon-btn:focus-visible, .icon-btn:active { outline: none; box-shadow: none; }
.icon-btn:hover { background: var(--primary-pale); color: var(--primary-dark); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; height: 620px; background: #0F1A14; }
.hero-swiper { width: 100%; height: 100%; }
.hero-swiper .swiper-slide { height: 100%; }
.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.04); transition: transform 8s ease; z-index: 0; }
.hero-swiper .swiper-slide-active .hero-bg { transform: scale(1.50); }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,26,20,0.78) 0%, rgba(15,26,20,0.55) 45%, rgba(15,26,20,0.25) 80%, rgba(15,26,20,0.1) 100%), linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.35) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 900px; }

.hero-content .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); color: #fff; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 24px; }
.hero-content .hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #8BC34A; box-shadow: 0 0 0 4px rgba(139,195,74,0.3); }
.hero-content .hero-title { font-size: 58px; font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; color: #fff; margin-bottom: 24px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero-content .hero-title .accent { color: #C8E6C9; background: linear-gradient(90deg, #C8E6C9, #8BC34A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content .hero-desc { font-size: 18px; color: rgba(255,255,255,0.88); line-height: 1.7; margin-bottom: 36px; max-width: 620px; text-shadow: 0 1px 6px rgba(0,0,0,0.25); }
.hero-content .hero-actions { display: grid; grid-template-columns: auto auto; gap: 12px; justify-content: start; }


/* 기본 상태 (숨김 + 아래 위치) */
.hero-eyebrow, .hero-title, .hero-desc, .hero-actions {opacity: 0;transform: translateY(30px);}  /* 활성 슬라이드에서 순차 등장 */
.hero-swiper .swiper-slide-active .hero-eyebrow {opacity: 1;transform: translateY(0);transition: all .6s ease .2s;}
.hero-swiper .swiper-slide-active .hero-title {opacity: 1;transform: translateY(0);transition: all .7s ease .4s;}
.hero-swiper .swiper-slide-active .hero-desc {opacity: 1;transform: translateY(0);transition: all .7s ease .6s;}
.hero-swiper .swiper-slide-active .hero-actions {opacity: 1;transform: translateY(0);transition: all .7s ease .8s;}

/* Hero pagination */
.hero-pagination.swiper-pagination { position: absolute; left: 0; right: 0; bottom: 100px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hero-pagination .swiper-pagination-bullet { width: 40px; height: 4px; background: rgba(255,255,255,0.35); opacity: 1; border-radius: 3px; margin: 0 !important; transition: background 0.2s, width 0.2s; }
.hero-pagination .swiper-pagination-bullet-active { background: #fff; width: 60px; }

/* Hero arrows */
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); border-radius: 50%; display: grid; place-items: center; color: #fff; z-index: 5; transition: background 0.15s, transform 0.15s; cursor: pointer; }
.hero-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.05); }
.hero-arrow.prev { left: 32px; }
.hero-arrow.next { right: 32px; }
.hero-arrow.swiper-button-disabled { opacity: 0.45; cursor: default; }

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--teal); flex-shrink: 0; align-self: center; }
.section-title { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 16px; }
.section-title .accent { color: var(--primary); }
.section-desc { font-size: 16.5px; color: var(--dark-gray); line-height: 1.7; }

/* ===== QUICK PRODUCT CARDS ===== */
.quick-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 10; }
.qcard { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-md); border: 1px solid var(--light-gray); position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.qcard::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -50px; top: -50px; background: var(--primary-pale); opacity: 0.6; transition: transform 0.3s; }
.qcard:hover::after { transform: scale(1.2); }
.qcard.teal::after { background: var(--teal-pale); }
.qcard .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 6px 14px rgba(46,125,50,0.25); }
.qcard.teal .ic { background: var(--teal); box-shadow: 0 6px 14px rgba(0,137,123,0.25); }
.qcard.navy .ic { background: var(--navy); box-shadow: 0 6px 14px rgba(26,35,64,0.25); }
.qcard.secondary .ic { background: var(--secondary); box-shadow: 0 6px 14px rgba(139,195,74,0.3); }
.qcard h3 { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; position: relative; z-index: 1; }
.qcard p { font-size: 13.5px; color: var(--mid-gray); line-height: 1.55; position: relative; z-index: 1; flex: 1; }
.qcard .arr { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 4px; position: relative; z-index: 1; transition: gap 0.15s; }
.qcard:hover .arr { gap: 8px; }

/* ===== STRENGTHS ===== */
.strengths-wrap { background: var(--primary-pale); position: relative; }
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.strength { background: #fff; border-radius: var(--radius-lg); padding: 40px 32px; border: 1px solid var(--light-gray); position: relative; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.strength:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.strength .num { position: absolute; top: 28px; right: 32px; font-size: 64px; font-weight: 900; color: var(--primary-pale); letter-spacing: -0.05em; line-height: 0.85; }
.strength .ic { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; display: grid; place-items: center; margin-bottom: 24px; box-shadow: 0 8px 18px rgba(46,125,50,0.25); }
.strength h3 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 12px; }
.strength p { font-size: 15px; color: var(--dark-gray); line-height: 1.65; margin-bottom: 20px; }
.strength ul { list-style: none; display: grid; gap: 8px; }
.strength li { font-size: 13.5px; color: var(--dark-gray); display: flex; align-items: center; gap: 8px; }
.strength li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--primary-pale); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232E7D32'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 111.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-size: 10px; background-repeat: no-repeat; background-position: center; }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-panel { background: #fff; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--light-gray); display: flex; flex-direction: column; }
.product-panel .pp-head { padding: 32px 36px 24px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; position: relative; overflow: hidden; }
.product-panel.teal .pp-head { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%); }
.pp-series { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; }
.pp-name { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.pp-desc { font-size: 14.5px; opacity: 0.9; line-height: 1.6; max-width: 340px; }
.pp-body { padding: 28px 36px 32px; flex: 1; display: flex; flex-direction: column; }
.pp-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 24px; }
.pp-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--light-gray); font-size: 14px; font-weight: 600; color: var(--navy); transition: background 0.15s; cursor: pointer; }
.pp-list li:hover { background: var(--primary-pale); color: var(--primary-dark); }
.product-panel.teal .pp-list li:hover { background: var(--teal-pale); color: var(--teal); }
.pp-list li .chip { font-size: 10.5px; padding: 3px 7px; background: #fff; color: var(--mid-gray); border-radius: 4px; font-weight: 700; letter-spacing: 0.02em; }
.pp-list li:hover .chip { color: var(--primary-dark); }
.pp-foot { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 20px; border-top: 1px solid var(--light-gray); margin-top: auto; }
.pp-foot .meta { font-size: 13px; color: var(--mid-gray); }
.pp-foot .meta strong { color: var(--navy); font-weight: 700; }

/* ===== CERTIFICATIONS ===== */
.certs-wrap { position: relative;overflow: hidden;border-bottom: 1px solid var(--light-gray);}

.certs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-bottom: 40px; }
.cert { background: #fff; border-radius: var(--radius-md); padding: 24px 16px; text-align: center; border: 1px solid var(--light-gray); transition: transform 0.2s, border-color 0.2s; position: relative; }
.cert:hover { transform: translateY(-3px); border-color: var(--primary-light); }
.cert .emblem { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-pale), var(--teal-pale)); display: grid; place-items: center; color: var(--primary-dark); position: relative; }
.cert .emblem::before { content: ''; position: absolute; inset: 4px; border: 2px dashed rgba(46,125,50,0.3); border-radius: 50%; }
.cert .nm { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 4px; }
.cert .yr { font-size: 11px; color: var(--mid-gray); font-weight: 500; }
.cert-banner { background: var(--navy); border-radius: var(--radius-lg); padding: 32px 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; align-items: center; color: #fff; position: relative; overflow: hidden; }
.cert-banner h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; position: relative; z-index: 1; }
.cert-banner h3 .accent { color: var(--secondary); }
.cert-stat { border-left: 1px solid rgba(255,255,255,0.15); padding-left: 28px; position: relative; z-index: 1; }
.cert-stat .v { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.cert-stat .v .u { font-size: 18px; color: var(--secondary); margin-left: 2px; }
.cert-stat .l { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ===== NEWS ===== */
.news-head { display: grid; grid-template-columns: 1fr auto; align-items: flex-end; margin-bottom: 40px; }
.news-tabs { display: flex; gap: 8px; }
.news-tab { padding: 10px 18px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--mid-gray); background: var(--light-gray); border: 0; transition: all 0.15s; }
.news-tab.active { background: var(--primary); color: #fff; }
.news-tab:hover:not(.active) { background: var(--primary-pale); color: var(--primary-dark); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--light-gray); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; cursor: pointer; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card .body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { font-size: 12px; color: var(--mid-gray); font-weight: 500; margin-bottom: 10px; display: flex; gap: 12px; }
.news-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.news-card .more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 4px; }

/* ===== CTA BANNER ===== */
.cta-wrap {padding: 80px 0;background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--teal) 100%);position: relative;overflow: hidden;}
.cta-wrap::before {content: "";position: absolute;inset: 0;background: url("../img/main/cta-bg.jpg") center/cover no-repeat;opacity: 0.2;z-index: 0;}
.cta-wrap > * {position: relative;z-index: 1;}
.cta-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; position: relative; color: #fff; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.15); border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; margin-bottom: 16px; backdrop-filter: blur(6px); }
.cta-title { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 16px; }
.cta-title .accent { color: #C8E6C9; }
.cta-desc { font-size: 16px; opacity: 0.9; line-height: 1.7; max-width: 520px; margin-bottom: 28px; }
.cta-actions { display: grid; grid-template-columns: auto auto; gap: 12px; justify-content: start; }
.cta-card { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px); color: #fff; }
.cta-card h4 { font-size: 14px; font-weight: 600; opacity: 0.85; margin-bottom: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.cta-card .tel { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.cta-card .hrs { font-size: 13px; opacity: 0.85; margin-bottom: 20px; }
.cta-card .chs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cta-card .ch { padding: 10px; background: rgba(255,255,255,0.1); border-radius: 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: #fff; transition: background 0.15s; }
.cta-card .ch:hover { background: rgba(255,255,255,0.22); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-top { padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer-brand .logo-mark { margin: 0 auto 18px; display: inline-flex; justify-content: center; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.7); }
.footer-brand .social { display: flex; gap: 8px; justify-content: center; }
.footer-brand .social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: background 0.15s, color 0.15s; }
.footer-brand .social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.01em; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 24px 0; font-size: 12.5px; text-align: center;}
.footer-bottom .info { line-height: 1.9; margin-top: 14px; color: rgba(255,255,255,0.7); }
.footer-bottom .info span { margin-right: 20px; display: inline-block;}
.footer-bottom .info span:first-child{display: block; margin: 0 0 10px 0}
.footer-bottom .info span strong { color: #fff; font-weight: 600; margin-right: 6px; }
.footer-bottom .policy { display: flex; gap: 20px; justify-content: center;}
.footer-bottom .policy a { color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-bottom .policy a:hover { color: #fff; }
.footer-copy { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-admin-btn { font-size: 11px; color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; padding: 2px 8px; transition: color 0.15s, border-color 0.15s; white-space: nowrap; }
.footer-admin-btn:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.4); }

/* ===== FLOATING CTA ===== */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 50; display: grid; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: var(--primary-dark); transition: transform 0.15s, background 0.15s, color 0.15s; position: relative; }
.fab a:hover { transform: translateY(-3px); background: var(--primary); color: #fff; }
.fab a.primary { background: var(--primary); color: #fff; }
.fab a.primary:hover { background: var(--primary-dark); }
.fab a .tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: var(--navy); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s; }
.fab a:hover .tip { opacity: 1; }

/* ===== TWEAKS PANEL ===== */
.tweaks-panel { position: fixed; bottom: 100px; right: 28px; width: 300px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid var(--light-gray); padding: 20px; z-index: 200; display: none; }
.tweaks-panel.open { display: block; }
.tweaks-panel h5 { font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.tweaks-row { margin-bottom: 16px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label { font-size: 12px; color: var(--mid-gray); font-weight: 600; margin-bottom: 8px; display: block; }
.tweaks-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks-opts button { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--light-gray); border: 0; font-size: 12px; font-weight: 600; color: var(--dark-gray); transition: all 0.15s; }
.tweaks-opts button.active { background: var(--primary); color: #fff; }

/* ===== SUBPAGE ===== */
.sub-hero { position: relative; height: 300px; background-size: cover; background-position: center 30%; background-repeat: no-repeat; display: flex; align-items: center; overflow: hidden; }
.sub-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,26,20,0.72) 0%, rgba(15,26,20,0.48) 55%, rgba(15,26,20,0.2) 100%), linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%); }
.sub-hero-inner { position: relative; z-index: 2; color: #fff; padding: 24px; text-align: center; }
.sub-hero-inner .breadcrumb { margin-left: auto; margin-right: auto; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; font-weight: 600; }
.breadcrumb svg { opacity: 0.55; }
.sub-hero-title { font-size: 46px; font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; color: #fff; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.sub-hero-sub { font-size: 16px; color: rgba(255,255,255,0.88); letter-spacing: -0.01em; }

/* Sub nav */
.sub-nav { background: #fff; border-bottom: 1px solid var(--light-gray); position: sticky; top: 84px; z-index: 40; transition: top 0.35s ease; }
.sub-nav-inner { display: flex; gap: 4px; overflow-x: auto; justify-content: center; }
.sub-nav a { padding: 18px 20px; font-size: 15px; font-weight: 500; color: var(--mid-gray); position: relative; white-space: nowrap; transition: color 0.15s; }
.sub-nav a:hover { color: var(--navy); }
.sub-nav a.active { color: var(--primary-dark); font-weight: 700; }
.sub-nav a.active::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; background: var(--primary); border-radius: 2px 2px 0 0; }

/* Section head utility */
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { margin-left: auto; margin-right: auto; }
.sec-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--primary-pale); color: var(--primary-dark); border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 18px; }
.sec-head .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.sec-head .sec-title,
.greeting-head .sec-title { font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 16px; }
.sec-head .sec-title .accent,
.greeting-head .sec-title .accent { color: var(--primary); }
.sec-head .sec-desc { font-size: 16px; color: var(--dark-gray); line-height: 1.65; max-width: 640px; }
.sec-head.center .sec-desc { margin-left: auto; margin-right: auto; }

/* Greeting */
.greeting { background: #fff; padding: 100px 0; }
.greeting-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.greeting-head { position: sticky; top: 180px; }
.greeting-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--primary-pale); color: var(--primary-dark); border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 20px; }
.greeting-head .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.greeting-head .sec-title { font-size: 34px; line-height: 1.3; }
.greeting-head .sign { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--light-gray); }
.greeting-head .sign-label { font-size: 13px; color: var(--mid-gray); margin-bottom: 6px; }
.greeting-head .sign-name { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.greeting-head .sign-name span { display: inline-block; margin-left: 10px; padding: 3px 9px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; border-radius: 5px; vertical-align: 3px; }
.greeting-body { display: grid; grid-template-columns: 1fr; gap: 32px; }
.greeting-photo { position: relative; height: 320px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.greeting-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-badge { position: absolute; left: 24px; bottom: 24px; padding: 16px 22px; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.photo-badge strong { display: block; font-size: 20px; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.02em; margin-bottom: 2px; }
.photo-badge span { font-size: 12.5px; color: var(--mid-gray); font-weight: 500; }
.greeting-text p { font-size: 16px; line-height: 1.85; color: var(--dark-gray); margin-bottom: 22px; text-wrap: pretty; }
.greeting-text .lead { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 28px; line-height: 1.6; }
.greeting-text mark { background: linear-gradient(180deg, transparent 60%, rgba(139,195,74,0.35) 60%); color: var(--primary-dark); font-weight: 600; padding: 0 2px; }
.greeting-text strong { color: var(--navy); font-weight: 700; }
.greeting-text strong.brand { color: var(--primary-dark); }
.greeting-text .thanks { font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 8px; }

/* Core values */
.values { background: var(--primary-pale); padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { position: relative; padding: 40px 32px 36px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-card .num { position: absolute; top: 24px; right: 28px; font-size: 56px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--primary-light); letter-spacing: -0.04em; }
.value-card .icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--primary-pale); color: var(--primary-dark); display: grid; place-items: center; margin-bottom: 20px; font-size: 12px; padding: 0; font-weight: 400; }
.value-card h3 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--dark-gray); line-height: 1.65; margin-bottom: 20px; }
.value-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding-top: 18px; border-top: 1px dashed var(--light-gray); }
.value-card ul li { font-size: 13.5px; color: var(--dark-gray); padding-left: 22px; position: relative; font-weight: 500; }
.value-card ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }

/* History timeline */
.history { background: #fff; padding: 100px 0; }
.timeline { display: flex; flex-direction: column; gap: 40px; }
.t-row { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--light-gray); }
.t-row:last-child { border-bottom: none; padding-bottom: 0; }
.t-year { font-size: 34px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.t-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.t-list li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: baseline; font-size: 16px; color: var(--dark-gray); line-height: 1.6; }
.t-list li span { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }

/* CTA strip */
.cta-strip { background: linear-gradient(135deg, #1B5E20 0%, #00695C 100%); padding: 72px 0; color: #fff; }
.cta-strip-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-strip h3 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.025em; margin-bottom: 8px; line-height: 1.3; }
.cta-strip p { font-size: 15.5px; color: rgba(255,255,255,0.82); line-height: 1.6; }
.cta-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== PRODUCT DETAIL ===== */
.page-section          { padding: 80px 0; }
.page-section + .page-section { padding-top: 0; }
.page-section .inner{margin-bottom: 40px;}
.page-section h3{font-size:20px; font-weight:700; color:var(--navy); margin-bottom:24px;}

.num-list ul { margin:0; padding:0; list-style:none; counter-reset:num; }
.num-list li { position:relative; padding-left:40px; margin-bottom:14px; line-height:1.7; counter-increment:num; }
.num-list li::before {content: counter(num);position:absolute; left:0; top:2px;display:inline-flex; align-items:center; justify-content:center;width:28px; height:28px;border-radius:50%;background:var(--primary-pale);color:var(--primary);font-size:13px; font-weight:bold;flex-shrink:0;}

.product-layout        { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-img-wrap      { border: 1px solid var(--light-gray); border-radius: var(--radius-lg); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img-wrap img  { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-img-wrap .no-img { font-size: 14px; color: var(--mid-gray); }

.product-info .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--primary-pale); color: var(--primary-dark); border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 12px; }
.product-info .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.product-name          { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.03em; }
.product-tagline       { font-size: 16px; color: var(--primary); font-weight: 600; margin-bottom: 24px; }
.product-desc          { color: var(--dark-gray); line-height: 1.9; margin-bottom: 32px; }
.feature-list          { display: grid; gap: 12px; margin-bottom: 32px; }
.feature-item          { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--primary-pale); border-radius: var(--radius-sm); }
.feature-item .icon    { font-size: 20px; flex-shrink: 0; color: color-mix(in srgb, var(--primary-dark) 50%, white);}
.feature-item .text    { font-size: 14px; color: var(--dark-gray); font-weight: 500; }
.product-actions       { display: flex; gap: 12px; flex-wrap: wrap; }

/* Info cards (오시는길 등) */
.info-cards            { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.info-card             { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-md); padding: 28px; }
.info-card h3          { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.info-card p           { color: var(--dark-gray); line-height: 1.8; margin: 0; }

/* 모바일 nav 열릴 때 body 스크롤 잠금 */
body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}
body.nav-open .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
body.nav-open .nav {
    touch-action: pan-y;
    overscroll-behavior: contain;
}

/* ===== MOBILE NAV ===== */
.nav-overlay { position: fixed; inset: 0; background: rgba(26,35,64,0.55); z-index: 290; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.nav-overlay.show { opacity: 1; pointer-events: auto; }
.nav-close { display: none; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--light-gray); margin-bottom: 8px; }
.nav-close span { font-weight: 700; font-size: 16px; color: var(--navy); }
.nav-close button { background: none; border: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--navy); cursor: pointer; transition: background 0.15s; }
.nav-close button:hover { background: var(--light-gray); }
.nav-mobile-cta { display: none; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--light-gray); flex-direction: column; gap: 10px; }
#navOpenBtn { display: none; }
.nav-mobile-cta .btn-pill{text-align: center; display: inline-block;}

/* ===== 유틸리티 ===== */
.spec-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.spec-sub { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 10px; letter-spacing: 0.02em; }
.table-scroll { overflow-x: auto; }
.sec-head--flex { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ===== 견적문의 — info-card (상단 연락처 카드) ===== */
.info-card--center { text-align: center; }
.info-card--center h3 { justify-content: center; text-align: center; }
.card-icon { display: block; margin: 0 auto 14px; }
.card-cta { margin-top: 12px; }

/* ===== 견적문의 — 폼 메시지 박스 ===== */
.inquiry-msg { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; }
.inquiry-msg.success { background: #f4fbf6; border: 1px solid #b8dfc2; color: #1f7a35; }
.inquiry-msg.error   { background: #fff3f3; border: 1px solid #f1c0c0; color: #c62828; }

/* ===== 견적문의 — reCAPTCHA 여백 ===== */
.recaptcha-container { margin: 20px 0; }

/* ===== 뉴스 뷰 — 공지 배지 상단 여백 ===== */
.news-view-header .badge-notice { display: inline-block; margin-bottom: 10px; }

/* ===== 뉴스 뷰 — 본문 pre-line ===== */
.news-view-body--pre { white-space: pre-line; }

/* ===== 뉴스 뷰 — 빈 목록 버튼 간격 ===== */
.board-empty .btn-pill { margin-top: 20px; }

/* ===== 뉴스 자료실 — 첨부파일 아이콘 ===== */
.icon-title { vertical-align: -2px; margin-right: 4px; }

/* ===== 이메일 링크 — 부모 색상 상속 ===== */
.link-inherit { color: inherit; }

/* ===== 사용후기 카드 ===== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 48px; }
.review-card { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.review-card__company { font-size: 13px; font-weight: 700; color: var(--navy); }
.review-card__industry { font-size: 12px; color: var(--mid-gray); margin-left: 8px; }
.review-card__product { font-size: 11px; background: var(--primary-pale); color: var(--primary); border-radius: 4px; padding: 3px 8px; }
.review-card__stars { color: #F9A825; font-size: 16px; letter-spacing: 2px; }
.review-card__title { font-size: 15px; font-weight: 700; color: var(--dark-gray); line-height: 1.5; margin: 0; }
.review-card__content { font-size: 14px; color: var(--mid-gray); line-height: 1.8; margin: 0; }
.review-paging { display: flex; justify-content: center; gap: 8px; }
.page-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--light-gray); background: transparent; color: var(--dark-gray); cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; }
.page-btn.active { background: var(--navy); color: #fff; font-weight: 700; }
.page-btn:hover:not(.active) { background: var(--primary-pale); color: var(--primary-dark); }

/* 견적문의 */
.inquiry-inner { max-width: 760px; }
.inquiry-box { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-lg); padding: 48px; }
.inquiry-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 12px; }
.inquiry-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 0; }
.inquiry-form { display: grid; gap: 20px; }
.inquiry-grid { display: grid; gap: 16px; }
.inquiry-grid-2 { grid-template-columns: 1fr 1fr; }
.form-group { margin-bottom: 0;}
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark-gray); margin-bottom: 8px; }
.required { color: var(--primary); }
.form-input,
.form-textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--light-gray); border-radius: var(--radius-sm); font-size: 14px; outline: none; box-sizing: border-box; font-family: inherit; }
.form-textarea { resize: vertical; }
.privacy-note { font-size: 12px; color: var(--mid-gray); line-height: 1.7; padding: 16px; background: var(--light-gray); border-radius: var(--radius-sm); margin: 0; }
.agree-wrap { }
.agree-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dark-gray); }
.inquiry-submit { width: 100%; justify-content: center; }

/* ===== NEWS BOARD (매스컴·자료실) ===== */

/* 검색바 */
.board-search-bar { display: flex; gap: 10px; margin-bottom: 28px; align-items: center; flex-wrap: wrap; }
.board-search-bar select { height: 42px; padding: 0 12px; border: 1px solid var(--light-gray); border-radius: var(--radius-sm); font-size: 14px; color: var(--dark-gray); background: #fff; }
.board-search-bar input[type="text"] { flex: 1; min-width: 160px; max-width: 300px; height: 42px; border: 1px solid var(--light-gray); border-radius: var(--radius-sm); padding: 0 14px; font-size: 14px; color: var(--navy); outline: none; font-family: inherit; }
.board-search-bar input[type="text"]:focus { border-color: var(--primary); }
.btn-pill.sm { padding: 0 16px; height: 38px; font-size: 13px; }

/* 목록 테이블 */
.news-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 32px; border-radius:var(--radius-md) var(--radius-md) 0 0; overflow: hidden;  }
.news-table thead tr { background: var(--navy); color: #fff; }
.news-table th { padding: 13px 16px; font-weight: 600; font-size: 13px; text-align: center; }
.news-table td { padding: 14px 16px; border-bottom: 1px solid var(--light-gray); text-align: center; vertical-align: middle; }
.news-table .th-num,  .news-table .td-num  { width: 72px; }
.news-table .th-date, .news-table .td-date { width: 110px; color: var(--mid-gray); font-size: 13px; }
.news-table .th-view, .news-table .td-view { width: 72px; color: var(--mid-gray); font-size: 13px; }
.news-table .th-file, .news-table .td-file { width: 60px; }
.news-table .th-title { text-align: left; }
.news-table .td-title { text-align: left; }
.news-table .td-title a { color: var(--navy); font-weight: 500; transition: color 0.15s; }
.news-table .td-title a:hover { color: var(--primary); }
.news-table .row-notice td { background: #f4faf5; }
.badge-notice { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.02em; }
.file-icon { color: var(--primary); vertical-align: middle; }

/* 글쓰기 버튼 */
.board-write-btn { margin-left: auto; }

/* 게시판 폼 */
.board-form-wrap { max-width: 900px; margin: 0 auto; }
.board-form-options { display: flex; gap: 24px; margin-bottom: 20px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dark-gray); cursor: pointer; }
.board-form-field { margin-bottom: 16px; }
.board-form-title { width: 100%; height: 50px; border: 1px solid var(--light-gray); border-radius: var(--radius-sm); padding: 0 16px; font-size: 16px; font-family: inherit; color: var(--navy); outline: none; }
.board-form-title:focus { border-color: var(--primary); }
.board-form-editor { width: 100%; min-height: 400px; border: 1px solid var(--light-gray); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; font-family: inherit; color: var(--navy); outline: none; resize: vertical; line-height: 1.7; }
.board-form-editor:focus { border-color: var(--primary); }
.board-form-files { border-top: 1px solid var(--light-gray); padding-top: 20px; margin-bottom: 28px; }
.board-form-files__label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.board-form-file-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.board-form-file-name { flex: 1; height: 42px; border: 1px solid var(--light-gray); border-radius: var(--radius-sm); padding: 0 14px; font-size: 14px; color: var(--dark-gray); background: #f9f9f9; outline: none; cursor: default; }
.board-file-btn { flex-shrink: 0; cursor: pointer; }
.board-form-btns { display: flex; justify-content: flex-end; gap: 10px; padding-top: 20px; border-top: 1px solid var(--light-gray); margin-top: 8px; }

/* 빈 목록 */
.board-empty { text-align: center; padding: 80px 0; color: var(--mid-gray); font-size: 15px; line-height: 2; }
.board-empty-icon { display: block; margin: 0 auto 12px; opacity: .3; }

/* 상세 뷰 */
.news-view { margin: 0 auto; }
.news-view-header { padding: 28px 32px; background: var(--navy); color: #fff; border: 1px solid var(--light-gray); border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom: 2px solid var(--navy); }
.news-view-title { font-size: 22px; font-weight: 700; line-height: 1.5; margin-bottom: 14px; }
.news-view-meta { display: flex; gap: 16px; font-size: 13px; color: var(--mid-gray); }
.news-view-meta span { display: flex; align-items: center; gap: 4px; }
.news-view-meta span a:link{color: var(--mid-gray);}
.news-view-meta span + span::before { content: '|'; margin-right: 16px; opacity: .3; }
.news-view-body { padding: 36px 32px; background: #fff; border: 1px solid var(--light-gray); border-top: none; min-height: 180px; line-height: 1.9; color: var(--dark-gray); font-size: 15px; }
.news-view-files { padding: 20px 32px; background: var(--light-gray); border: 1px solid var(--light-gray); border-top: none; }
.news-view-files h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.news-view-files a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--primary-dark); padding: 7px 14px; background: #fff; border: 1px solid var(--primary); border-radius: var(--radius-sm); margin: 0 8px 8px 0; transition: background 0.15s; white-space: nowrap; }
.news-view-files a:hover { background: var(--primary-pale); }
.news-view-body img{max-width: 100%;}

/* 자료실 파일 아이템 */
.data-files h4 { display: flex; align-items: center; }
.data-file-item { display: flex !important; align-items: center !important; gap: 10px !important; padding: 14px 20px !important; margin: 0 0 8px 0 !important; font-size: 14px !important; font-weight: 500 !important; }
.data-file-item span { flex: 1; }
.data-file-item .dl-arrow { color: var(--primary); flex-shrink: 0; }
.news-view-btns { display: flex; gap: 12px; margin-top: 24px; padding: 0 2px; }

/* ===== INQUIRY MANAGEMENT (문의 관리) ===== */

/* 미확인 배지 (검색바 안) */
.inquiry-unread-badge { display: inline-flex; align-items: center; background: #EA7A1F; color: #fff; font-size: 12px; font-weight: 700; padding: 0 10px; height: 32px; border-radius: 20px; letter-spacing: 0.02em; white-space: nowrap; }

/* 미확인 행 강조 */
.inquiry-table .row-unread td { background: #fffde7; }
.inquiry-table .inquiry-link { color: var(--navy); font-weight: 600; transition: color 0.15s; display: inline-flex; align-items: center; gap: 5px; }
.inquiry-table .inquiry-link:hover { color: var(--primary); }
.inquiry-table .td-product { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 180px; }

/* N 뱃지 */
.badge-new { display: inline-block; background: #EA7A1F; color: #fff; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 3px; line-height: 1.4; vertical-align: middle; }

/* 상태 배지 */
.badge-unread { display: inline-block; background: #EA7A1F; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.badge-read   { display: inline-block; background: var(--mid-gray); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }

/* 상세 뷰 메타 (배지 위치) */
.inquiry-view-meta { margin-bottom: 10px; }

/* 삭제 버튼 */
.btn-pill.danger { background: #EA7A1F; color: #fff; border-color: #EA7A1F; }
.btn-pill.danger:hover { background: #c9651a; border-color: #c9651a; }

/* ===== PRODUCT SPEC SECTION ===== */
.spec-section { }
.spec-block { padding: 52px 0; }
.spec-block:last-child { border-bottom: none; }

/* 테이블 레이블 셀 (bgcolor="#f5f5f5" 대체) */
.cell-label { background: #f0f4f8 !important; font-weight: 600; }

/* 강조 텍스트 (style="color:red" 대체) */
.text-point { color: #e53935 !important; font-weight: 600;}

/* 포장 정보 카드 */
.pack-cards { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.pack-card { flex: 1; min-width: 200px; background: #fff; border: 1px solid #e4eaf2; border-radius: 12px; padding: 22px 28px; display: flex; align-items: center; gap: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.pack-card-label { font-weight: 700; color: var(--primary); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; min-width: 60px; }
.pack-card-value { font-weight: 600; color: var(--navy); }

/* 추천 세척 시스템 플로우 */
.flow-systems { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.flow-system { background: #fff; border: 1px solid #e4eaf2; border-radius: 12px; padding: 22px 28px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.flow-system-head { font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.flow-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-step { background: var(--primary-pale, #e8f5e9); border: 1px solid #c8e6c9; border-radius: 8px; padding: 8px 14px; text-align: center; font-weight: 600; color: var(--navy); line-height: 1.3; }
.flow-step small { display: block; font-weight: 400; color: var(--mid-gray); margin-top: 2px; }
.flow-arrow { color: var(--primary); font-size: .75rem; flex-shrink: 0; opacity: .65; }

/* 주의사항 리스트 */
.caution-list { margin-top: 20px; padding: 0; list-style: none; counter-reset: caution; display: flex; flex-direction: column; gap: 10px; }
.caution-list > li { display: flex; gap: 14px; padding: 18px 22px; background: #fff; border-radius: 12px; border-left: 3px solid var(--primary); line-height: 1.75; color: var(--dark-gray); box-shadow: 0 2px 8px rgba(0,0,0,.04); counter-increment: caution; }
.caution-list > li::before { content: counter(caution); min-width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.caution-note { display: block; margin-top: 6px; color: var(--mid-gray); }


/* =====================================================
   반응형 (Responsive)
   ===================================================== */

/* ── 1100px 이하 (태블릿 · 모바일) ── */
@media (max-width: 1100px) {
    /* Header / Nav */
    .header-inner { height: 68px; }
    .header.scrolled .header-inner { height: 68px; }
    .logo-company { font-size: 12px; }
    #navOpenBtn { display: grid; }
    .header-cta .btn-pill { display: none; }
    .nav { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: #fff; z-index: 300; flex-direction: column; padding: 28px 24px; box-shadow: var(--shadow-xl); transition: right 0.3s cubic-bezier(0.4,0,0.2,1); gap: 0; overflow-y: auto; }
    .nav.open { right: 0; display: flex; }
    .nav-close { display: flex; }
    .nav-item { width: 100%; border-bottom: 1px solid var(--light-gray); }
    .nav-item.open { background: var(--light-gray); }
    .nav-item > a { height: auto; padding: 16px; font-size: 15px; display: flex; justify-content: space-between; }
    .nav-item > a::after { display: none; }
    .nav-item > a:hover { background: transparent !important; }
    .nav-item > a[data-has-dropdown]::before { content: ''; display: inline-block; width: 8px; height: 8px; border-right: 2px solid var(--mid-gray); border-bottom: 2px solid var(--mid-gray); transform: rotate(45deg); margin-left: auto; transition: transform 0.2s; flex-shrink: 0; margin-right: 10px; }
    .nav-item.open > a[data-has-dropdown]::before { transform: rotate(-135deg); }
    .nav-item .dropdown { background: transparent !important; position: static !important; opacity: 1 !important; pointer-events: auto !important; transform: none !important; box-shadow: none !important; border: none !important; border-radius: 0 !important; padding: 8px 16px !important; min-width: 0 !important; display: none !important; transition: none !important; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nav-item .dropdown.single-column { grid-template-columns: 1fr; }
    .nav-item.open .dropdown { display: grid !important; }
    .nav-item > .dropdown a { min-width: 0; padding: 10px 12px; font-size: 13.5px; line-height: 1.35; border-radius: var(--radius-sm); background: var(--primary); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: keep-all; }
    .nav-item > .dropdown a.wide { grid-column: 1 / -1; white-space: normal; overflow: visible; text-overflow: clip; }
    .nav-mobile-cta { display: flex; }
    .header { z-index: 400; }
    .nav-overlay { z-index: 390; }

    /* Typography */
    .hero-content .hero-title { font-size: 40px; }
    .hero-content .hero-desc { font-size: 16px; }
    .section-title { font-size: 30px; }
    .sec-head .sec-title,
    .greeting-head .sec-title { font-size: 30px; }
    .cta-title { font-size: 34px; }
    .sub-hero-title { font-size: 34px; }
    .hero-title { font-size: 38px; }

    /* Section spacing */
    .section { padding: 80px 0; }
    .section-sm { padding: 56px 0; }
    .greeting { padding: 80px 0; }
    .values { padding: 80px 0; }
    .history { padding: 80px 0; }
    .cta-strip { padding: 60px 0; }
    .page-section { padding: 64px 0; }

    /* Hero */
    .hero { height: 560px; }
    .hero-content { max-width: 80%; }

    /* Grids */
    .quick-cards { grid-template-columns: repeat(2, 1fr); }
    .strengths { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { grid-template-columns: 1fr; }
    .cert-banner { grid-template-columns: 1fr 1fr; }
    .greeting-grid { grid-template-columns: 1fr; gap: 32px; }
    .greeting-head { position: static; }
    .greeting-body { grid-template-columns: 1fr; }
    .greeting-photo { height: 260px; max-width: 100%; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .timeline .t-row { grid-template-columns: 1fr; gap: 12px; }
    .cta-strip-inner { grid-template-columns: 1fr; text-align: left; }
    .product-layout { grid-template-columns: 1fr; gap: 32px; }
    .table td:first-child { width: auto; }

    /* Sub */
    .sub-nav { top: 68px; }
    .sub-nav-inner { gap: 0; overflow-x: auto; justify-content: flex-start; }
    .sub-nav a { white-space: nowrap; padding: 14px 16px; font-size: 14px; }
    .sub-hero { height: 240px; }
}

/* ── 768px 이하 ── */
@media (max-width: 768px) {
    /* Typography */
    .section-title { font-size: 26px; }
    .sec-head .sec-title,
    .greeting-head .sec-title { font-size: 26px; }
    .sub-hero-title { font-size: 28px; }
    .cta-strip h3 { font-size: 24px; }
    .t-year { font-size: 28px; }
    .cert-stat .v { font-size: 28px; }
    .cert-stat .v .u { font-size: 14px; }
    .news-view-title { font-size: 18px; }
    .cta-card .tel { font-size: 26px; }

    /* Section spacing */
    .section { padding: 68px 0; }
    .section-sm { padding: 48px 0; }
    .cta-strip { padding: 52px 0; }
    .page-section { padding: 56px 0; }

    /* Hero */

    /* Sub hero */
    .sub-hero { height: 210px; }

    /* Layout */
    .inquiry-box { padding: 32px 24px; }
    .inquiry-grid-2 { grid-template-columns: 1fr; }
    .news-table .th-view, .news-table .td-view { display: none; }
    .news-view-header, .news-view-body, .news-view-files { padding-left: 20px; padding-right: 20px; }
    .board-search-bar input[type="text"] { max-width: 100%; }
    .inquiry-table .td-product { display: none; }
    .spec-block { padding: 36px 0; }
    .pack-card { min-width: 100%; }
    .flow-system { padding: 16px 18px; }
    .caution-list > li { padding: 14px 16px; }
    .t-list li { grid-template-columns: 60px 1fr; gap: 14px; font-size: 15px; }

}

/* ── 640px 이하 ── */
@media (max-width: 640px) {
    /* Base */
    .inner { padding: 0 16px; }
    body { font-size: 15px; }

    /* Typography */
    .hero-content{max-width: 100%;}
    .hero-content .hero-title { font-size: 30px; }
    .hero-content .hero-eyebrow { font-size: 12px; padding: 6px 12px; }
    .hero-content .hero-desc { font-size: 15px; }
    .section-title { font-size: 22px; }
    .sec-head .sec-title,
    .greeting-head .sec-title { font-size: 22px; }
    .sub-hero-title { font-size: 23px; }
    .cta-strip h3 { font-size: 20px; }
    .cta-strip p { font-size: 14px; }
    .t-year { font-size: 24px; }
    .cert-stat .v { font-size: 22px; }
    .cert-stat .v .u { font-size: 12px; }
    .cta-card .tel { font-size: 24px; }
    .pp-name { font-size: 24px; }
    .pp-desc { font-size: 13.5px; }
    .product-name { font-size: 26px; }
    .product-tagline { font-size: 14px; }
    .strength h3 { font-size: 19px; }
    .strength p { font-size: 14px; }
    .value-card h3 { font-size: 19px; }
    .greeting-text .lead { font-size: 17px; }
    .greeting-text p { font-size: 15px; }
    .news-card h3 { font-size: 15px; }
    .section-desc { font-size: 15px; }

    /* Hero */
    .hero-arrow { display: none; }
    .hero-pagination.swiper-pagination{bottom: 60px;}

    /* Section spacing */
    .section { padding: 56px 0; }
    .section-sm { padding: 40px 0; }
    .cta-strip { padding: 44px 0; }
    .page-section { padding: 52px 0; }
    .greeting { padding: 60px 0; }
    .values { padding: 60px 0; }
    .history { padding: 60px 0; }

    /* Sub hero */
    .sub-hero { height: 190px; }
    .sub-hero-sub { font-size: 13px; }

    /* Grids */
    .quick-cards { grid-template-columns: 1fr 1fr; margin-top: -40px; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .news-head{display: block;}
    .news-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .cert-banner { grid-template-columns: 1fr; }
    .hero-actions, .cta-actions { max-width: 320px; }
    .t-list li { grid-template-columns: 50px 1fr; gap: 10px; font-size: 14px; }

    .pp-body{padding: 20px 28px 24px;}
    .quick-cards{gap: 10px;}
    .pp-list{gap: 5px 10px;}

    /* Layout */
    .fab { right: 16px; bottom: 20px; }
    .inquiry-box { padding: 24px 18px; }
    .cta-strip-actions { flex-wrap: wrap; gap: 8px; }
}

/* ── 480px 이하 ── */
@media (max-width: 480px) {
    /* Typography */
    .hero-content .hero-desc { font-size: 14px; }
    .section-title { font-size: 20px; }
    .sec-head .sec-title,
    .greeting-head .sec-title { font-size: 20px; }
    .cta-desc { font-size: 14px; }
    .sub-hero-title { font-size: 19px; }
    .cta-strip h3 { font-size: 18px; }
    .t-year { font-size: 20px; }
    .cert-stat .v { font-size: 20px; }
    .cta-card .tel { font-size: 22px; }
    .pp-name { font-size: 22px; }
    .product-name { font-size: 22px; }
    .greeting-text .lead { font-size: 15px; }
    .qcard h3 { font-size: 17px; }

    /* Hero */

    /* Sub hero */
    .sub-hero { height: 170px; }

    /* Section spacing */
    .section { padding: 44px 0; }
    .section-sm { padding: 32px 0; }
    .page-section { padding: 44px 0; }
    .cta-strip { padding: 36px 0; }
    .greeting { padding: 48px 0; }
    .values { padding: 48px 0; }
    .history { padding: 48px 0; }

    /* Grids */

    /* Layout */
    .news-table .th-date, .news-table .td-date { display: none; }
    .inquiry-box { padding: 18px 14px; }
    .inquiry-title-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cert-banner { padding: 24px 20px; }
}
