/* 원진트랜스 — site styles */
:root {
  --navy-900: #0b1f44;
  --navy-800: #102a5c;
  --navy-700: #163a7d;
  --blue-600: #1d4fb3;
  --blue-50: #eef3fc;
  --accent: #f2a900;
  --accent-ink: #1b1400;
  --ink: #15192a;
  --ink-2: #454c63;
  --muted: #6b7288;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 70, .06), 0 8px 24px rgba(16, 32, 70, .06);
  --wrap: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt { margin-top: 40px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: .15s ease;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.06); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-800); text-decoration: none !important; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-600); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 22px; letter-spacing: -1px;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--blue-600);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.brand-text small { font-size: 10.5px; letter-spacing: .18em; color: var(--muted); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .has-mega > a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; border-radius: 8px; text-decoration: none;
}
.site-nav > a:hover, .has-mega > a:hover { background: var(--bg-alt); }
.site-nav a[aria-current="page"] { color: var(--blue-600); }
.nav-tel { margin-left: 10px; background: var(--navy-800); color: #fff !important; }
.nav-tel:hover { background: var(--navy-700) !important; }
.has-mega { position: relative; }
.mega {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px; width: 560px; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.mega a { padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.mega a:hover { background: var(--blue-50); color: var(--blue-600); text-decoration: none; }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 80% 20%, #1c4594 0%, transparent 60%), var(--navy-900); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 88px 20px 96px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-lead { color: #c9d4ec; font-size: 18px; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-plate {
  width: min(380px, 100%); aspect-ratio: 1 / 1.05; border-radius: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #e8eef9 100%);
  display: grid; place-items: center; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-plate img { width: 70%; }
.hero-tag {
  position: absolute; bottom: 18px; left: 0; background: #fff; color: var(--ink); border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.4; border-left: 4px solid var(--accent);
}
.hero-tag small { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.eyebrow.light { color: var(--accent); }

/* stats */
.stats { background: var(--navy-800); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.stats-grid > div:first-child { border-left: 0; }
.stats b { display: block; font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stats span { color: #aebbd8; font-size: 14px; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; }
.link-more { font-weight: 700; white-space: nowrap; }
.lead { font-size: 18px; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }

/* cards */
.grid { display: grid; gap: 20px; }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); text-decoration: none !important; transition: .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd8ea; }
.card-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.card-img, .gallery-main, .thumb { position: relative; overflow: hidden; }
.card-img img, .gallery-main img, .thumb img {
  position: absolute; inset: var(--pad, 14px); width: calc(100% - 2 * var(--pad, 14px)); height: calc(100% - 2 * var(--pad, 14px)); object-fit: contain;
}
.gallery-main { --pad: 20px; }
/* 원본이 작은 사진은 억지로 키우지 않음 (키우면 흐려짐) */
.gallery-main img { object-fit: scale-down; }
.thumb { --pad: 4px; }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { font-size: 17px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.product-card .card-body h3 { font-size: 15.5px; font-weight: 600; margin: 0; }
.count { font-size: 14px; font-weight: 700; color: var(--blue-600); }

/* feature list */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; }
.feature-list b { font-size: 17px; }
.feature-list span { color: var(--ink-2); }

/* partners */
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.partner-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 2px; }
.partner-list strong { font-size: 18px; color: var(--navy-800); }
.partner-list span { font-size: 13px; color: var(--muted); }
.partner-list em { font-style: normal; color: var(--ink-2); font-size: 15px; }
.clients { margin-top: 36px; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.clients h3 { font-size: 16px; }
.clients p { color: var(--ink-2); margin: 0; }
.client-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.client-cloud span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

/* CTA + footer */
.cta-band { background: var(--blue-600); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 20px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: #dbe6ff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--navy-900); color: #b8c3dc; padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; }
.brand-footer, .brand-footer .brand-text strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 40px; }
.footer-info { margin: 0; display: grid; gap: 6px; }
.footer-info div { display: grid; grid-template-columns: 56px 1fr; }
.footer-info dt { color: #7f8db0; }
.footer-info dd { margin: 0; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #7f8db0; }
.fab-tel {
  display: none; position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 24px; place-items: center; z-index: 60;
  box-shadow: 0 8px 20px rgba(0,0,0,.25); text-decoration: none !important;
}

/* page head */
.page-head { background: var(--navy-900); color: #fff; padding: 56px 0 52px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { color: #c9d4ec; margin: 0; }
.page-head .eyebrow { color: var(--accent); }
.page-head.slim { padding: 18px 0; background: var(--bg-alt); color: var(--ink); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: #aebbd8; margin-bottom: 16px; }
.crumbs a { color: inherit; }
.crumbs span { margin: 0 4px; opacity: .6; }
.page-head.slim .crumbs { color: var(--muted); margin: 0; }

/* prose */
.prose { color: var(--ink-2); }
.prose h3 { color: var(--ink); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose b, .prose strong { color: var(--ink); }
.info-list { display: grid; gap: 10px; margin: 0 0 24px; }
.info-list div { display: grid; grid-template-columns: 100px 1fr; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--bg-alt); }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 8px 10px; text-align: center; vertical-align: middle; }
.table-wrap tr:first-child td, .table-wrap th { background: var(--bg-alt); font-weight: 700; color: var(--ink); }
.data-table { min-width: 0 !important; }
.data-table th, .data-table td { text-align: left !important; }
.data-table tbody th { background: #fff !important; color: var(--navy-800); }

/* service */
.service-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.service-card .num { font-size: 13px; font-weight: 800; color: var(--blue-600); }
.service-card .big { font-size: 24px; font-weight: 800; color: var(--navy-800); margin-bottom: 12px; }
.service-card ul { padding-left: 1.1em; color: var(--ink-2); margin: 0; }
.note-box { margin-top: 32px; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.note-box ul { color: var(--ink-2); }

/* contact */
.contact-ways { display: grid; gap: 14px; align-content: start; }
.contact-way { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); text-decoration: none !important; }
a.contact-way:hover { border-color: var(--blue-600); }
.contact-way span { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-way b { font-size: 22px; color: var(--navy-800); }
.contact-way small { color: var(--muted); }
.quote-form { display: grid; gap: 16px; background: var(--bg-alt); padding: 28px; border-radius: var(--radius); }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--blue-600); outline-offset: 0; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* products */
.search-bar input {
  width: 100%; font: inherit; font-size: 17px; padding: 14px 18px 14px 46px; border: 2px solid var(--line); border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b7288' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='7'/%3E%3Cpath d='m14 14 5 5'/%3E%3C/svg%3E") no-repeat 16px center;
}
.search-bar input:focus { outline: none; border-color: var(--blue-600); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 36px; }
.chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 14.5px; text-decoration: none; background: #fff; }
.chips a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chips a[aria-current] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.product-group { margin-bottom: 56px; }
.search-empty { padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }

.product-top { padding-top: 40px; }
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; background: #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; aspect-ratio: 1; cursor: pointer; display: grid; place-items: center; }
.thumb.is-active { border-color: var(--blue-600); }
.product-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.product-summary h1 { font-size: clamp(24px, 3vw, 34px); }
.summary-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.assure { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
.assure li::before { content: "✓"; color: var(--blue-600); font-weight: 800; margin-right: 8px; }
.detail { padding-top: 0; }
.detail-title { border-top: 2px solid var(--ink); padding-top: 24px; font-size: 22px; }
.product-content { max-width: 900px; }
.product-content img { margin: 12px auto; border-radius: 8px; }
.product-content p { margin: 0 0 .7em; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; max-width: 800px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.pager a { max-width: 48%; }

/* responsive */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 8px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav > a, .has-mega > a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { display: grid !important; position: static; transform: none; width: auto; border: 0; box-shadow: none; padding: 4px 0 8px 12px; grid-template-columns: 1fr 1fr; }
  .mega a { font-size: 14.5px; padding: 8px; }
  .nav-tel { margin: 14px 0 0; text-align: center; border-radius: 10px !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 64px; }
  .hero-visual { display: none; }
  .two-col, .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .fab-tel { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 56px 0; }
  .cta-inner { padding-top: 40px; padding-bottom: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 16px; }
  .stats-grid > div:nth-child(-n+2) { border-top: 0; }
  .stats b { font-size: 22px; }
  .hero-lead { font-size: 16px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card .card-body { padding: 12px; }
  .product-card .card-body h3 { font-size: 14.5px; }
  .row2 { grid-template-columns: 1fr; }
  .quote-form { padding: 20px; }
  .brand-text strong { font-size: 19px; }
  .cta-actions .btn, .hero-actions .btn { flex: 1 1 auto; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
}

/* ---------------- 견적문의 게시판 */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.board-cta { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; }
.board-cta .btn { margin: 4px 6px 4px 0; }
.board-write { grid-template-columns: 1.5fr 1fr; }
.consent { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); }
.consent p { margin: 0 0 4px; }
.consent ul { margin: 0 0 10px; padding-left: 1.1em; }
.quote-form .check { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.quote-form .check input { width: 18px; height: 18px; padding: 0; }
.form-error { background: #fdecec; color: #b42318; border-radius: 8px; padding: 10px 14px; margin: 0; font-weight: 600; font-size: 15px; }
.notice-ok { background: #e8f6ee; color: #146c3a; border-radius: 8px; padding: 12px 16px; font-weight: 600; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.board-top p { margin: 0; }
.board-list { border-top: 2px solid var(--ink); }
.board-row {
  display: grid; grid-template-columns: 70px 1fr 90px 110px 90px; gap: 10px; align-items: center;
  padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none !important;
}
a.board-row:hover { background: var(--bg-alt); }
.board-head { font-weight: 700; font-size: 14px; color: var(--muted); background: var(--bg-alt); padding: 10px 8px; }
.board-row .c-no, .board-row .c-name, .board-row .c-date { color: var(--muted); font-size: 14.5px; text-align: center; }
.board-head span { text-align: center; }
.board-head span:nth-child(2) { text-align: left; }
.c-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lock-ico { font-style: normal; font-size: 13px; opacity: .6; }
.c-status { display: inline-block; justify-self: center; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef0f4; color: var(--ink-2); white-space: nowrap; }
.st-new { background: #fff4d6; color: #8a5a00; }
.st-progress { background: var(--blue-50); color: var(--blue-600); }
.st-done { background: #e8f6ee; color: #146c3a; }
.board-empty, .board-loading { padding: 40px 0; text-align: center; color: var(--muted); }
.board-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.board-pages a { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.board-pages a[aria-current] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.board-view { max-width: 860px; }
.pw-gate { max-width: 440px; margin: 0 auto 32px; text-align: center; background: var(--bg-alt); border-radius: var(--radius); padding: 36px 28px; }
.pw-gate .lock { font-size: 36px; margin: 0; }
.pw-row { display: flex; gap: 8px; margin: 16px 0 12px; }
.pw-row input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid #cfd6e4; border-radius: 10px; }
.post { margin-bottom: 32px; }
.post-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.post-head h2 { margin: 10px 0 4px; }
.post-head .c-status { justify-self: auto; }
.post-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 24px; margin: 0 0 20px; font-size: 15px; }
.post-info dt { color: var(--muted); font-size: 13px; }
.post-info dd { margin: 0; font-weight: 600; }
.post-body { white-space: pre-wrap; line-height: 1.8; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.post-reply { margin-top: 24px; background: var(--blue-50); border-radius: var(--radius); padding: 20px 22px; }
.post-reply h3 { margin: 0; color: var(--navy-800); }
.post-reply .post-body { border-color: #d6e2f8; margin-top: 8px; }
.post-reply.empty { background: var(--bg-alt); color: var(--muted); }
.post-reply.empty p { margin: 0; }

/* ---------------- 관리자 */
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.admin-head h1 { font-size: 28px; margin: 0; }
.admin-tabs { margin: 12px 0 20px; }
.admin-tabs b { font-weight: 800; margin-left: 4px; }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.admin-list { display: grid; gap: 8px; max-height: 75vh; overflow-y: auto; padding-right: 4px; }
.admin-item { text-align: left; font: inherit; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; display: grid; gap: 4px; }
.admin-item:hover { border-color: #b9c6e0; }
.admin-item.is-active { border-color: var(--blue-600); box-shadow: 0 0 0 1px var(--blue-600); }
.admin-item .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.admin-item strong { font-size: 15.5px; }
.admin-detail { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 300px; position: sticky; top: calc(var(--header-h) + 16px); }
.admin-detail h2 { font-size: 22px; }
.reply-form { margin-top: 20px; display: grid; gap: 10px; }
.reply-form label { display: grid; gap: 6px; font-weight: 600; }
.reply-form textarea, .reply-form select { font: inherit; padding: 12px 14px; border: 1px solid #cfd6e4; border-radius: 10px; width: 100%; }
.reply-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.reply-actions select { width: auto; }
.btn.danger { color: #b42318; }
.btn.danger:hover { border-color: #b42318; color: #b42318; }

@media (max-width: 960px) {
  .board-write { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-list { max-height: none; }
  .admin-detail { position: static; }
}
@media (max-width: 640px) {
  .board-head { display: none; }
  .board-row { grid-template-columns: 1fr auto; grid-template-areas: "title status" "meta meta"; gap: 4px 10px; padding: 14px 4px; }
  .board-row .c-title { grid-area: title; }
  .board-row .c-status { grid-area: status; }
  .board-row .c-no { display: none; }
  .board-row .c-name, .board-row .c-date { grid-row: 2; text-align: left; font-size: 13.5px; }
  .board-row .c-name { grid-column: 1; }
  .board-row .c-date { grid-column: 1; margin-left: 60px; }
  .board-cta { padding: 22px; }
  .pw-gate { padding: 28px 18px; }
}
.notify-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg-alt); border-radius: 10px; padding: 10px 14px; font-size: 15px; margin: 8px 0 4px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.form-group { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.form-group legend { font-size: 17px; font-weight: 800; color: var(--navy-800); padding: 0 0 12px; margin-bottom: 4px; border-bottom: 1px solid #dfe4ee; width: 100%; }
.form-group + .form-group { margin-top: 12px; }

/* 로고 이미지 */
.brand-logo { display: block; height: 38px; width: auto; }
.brand-footer .brand-logo { height: 34px; margin-bottom: 14px; }
@media (max-width: 640px) { .brand-logo { height: 32px; } }

/* 사진이 없는 제품 자리 */
.no-photo { display: grid; justify-items: center; gap: 10px; width: 100%; color: var(--muted); font-style: normal; }
.no-photo img { position: static !important; width: 46% !important; height: auto !important; opacity: .28; filter: grayscale(1); }
.no-photo em { font-style: normal; font-size: 14px; }

/* 첫 화면 제품 슬라이드 */
.hero-visual { flex-direction: column; align-items: center; gap: 18px; }
.hero-slides { display: grid; width: min(440px, 100%); }
.hero-slide {
  grid-area: 1 / 1; position: relative; display: flex; justify-content: center; color: var(--ink); text-decoration: none !important;
  opacity: 0; transform: translateX(18px); transition: opacity .7s ease, transform .7s ease; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-slide .hero-plate { transition: transform .3s ease; }
.hero-slide:hover .hero-plate, .hero-slide:focus-visible .hero-plate { transform: translateY(-4px); }
.hero-plate img { width: auto; max-width: 76%; max-height: 74%; mix-blend-mode: multiply; /* 사진의 흰 바탕이 판 색에 녹아들게 */ }
.hero-tag b { color: var(--navy-800); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button[aria-current="true"] { width: 28px; background: var(--accent); }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 960px) {
  .hero-visual { display: flex; margin-top: 8px; }
  .hero-slides { width: min(360px, 100%); }
  .hero-plate { width: min(300px, 86%); }
  .hero-tag { font-size: 14px; padding: 10px 14px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; transform: none; } }

/* 협력 제조사 카드 = 해당 회사 홈페이지 링크 */
.partner-list li { padding: 0; }
.partner-list a { display: grid; gap: 2px; padding: 18px 20px; height: 100%; border-radius: inherit; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.partner-list li:hover { border-color: #cfd8ea; box-shadow: var(--shadow); }
.partner-list a:hover strong { color: var(--blue-600); }
.partner-list .ext { font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue-600); margin-top: 6px; }
