/* ==========================================================================
   SYUBEA corporate site - design system (teal brand)
   ========================================================================== */

:root {
  --brand: #0E9F8E;
  --brand-600: #0C8A7B;
  --brand-700: #0A7266;
  --brand-800: #085A51;
  --brand-50: #EFFAF7;
  --brand-100: #D8F3EC;
  --ink: #12262E;
  --text: #35474F;
  --muted: #6B7B84;
  --line: #E3EDE9;
  --bg: #FFFFFF;
  --bg-alt: #F5FAF8;
  --bg-dark: #0B2B27;
  --danger: #D9534F;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(11, 43, 39, .06), 0 2px 8px rgba(11, 43, 39, .05);
  --shadow-md: 0 4px 14px rgba(11, 43, 39, .09);
  --shadow-lg: 0 14px 44px rgba(11, 43, 39, .16);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.icon { vertical-align: -0.28em; flex: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.page-narrow { width: min(860px, 92%); margin: 0 auto; }
.center-cta { text-align: center; margin-top: 36px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 11px 24px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease; text-align: center; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--brand); color: var(--brand-600); background: transparent; }
.btn-outline:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-50); transform: translateY(-1px); }
.btn-danger { background: #fdf1f0; color: var(--danger); border-color: #f5c8c5; }
.btn-danger:hover { background: #fbe4e2; color: #b93b38; }
.btn-sm { padding: 7px 15px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 14px 32px; font-size: 16.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-kakao { background: #FEE500; color: #191600; }
.btn-kakao:hover { background: #f5da00; color: #191600; }
.link-btn {
  background: none; border: none; padding: 0; font: inherit; font-size: 13.5px;
  color: var(--brand-600); cursor: pointer; text-decoration: underline;
}
.link-btn:hover { color: var(--brand-700); }
.link-btn.danger { color: var(--danger); }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-list a {
  display: block; padding: 10px 15px; border-radius: 9px;
  color: var(--ink); font-weight: 600; font-size: 15.5px; transition: all .15s;
}
.nav-list a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-list a.active { color: var(--brand-600); }
.nav-side { display: flex; align-items: center; gap: 14px; }
.nav-user, .nav-admin, .nav-login { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-user { color: var(--ink); }
.nav-admin { color: var(--brand-600); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 9px; padding: 10px;
}
.nav-toggle span { display: block; height: 2.4px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: all .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,42,38,.88) 0%, rgba(10,74,66,.66) 45%, rgba(14,159,142,.28) 100%);
}
.hero-inner { position: relative; padding: 108px 0 96px; }
.hero-eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #8FE8DA; margin-bottom: 16px;
}
.hero-title { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero-title .accent { color: #52E0C8; }
.hero-desc { font-size: clamp(15.5px, 1.6vw, 18.5px); color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- stats band ---------- */
.stats-band { background: var(--bg-dark); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px 12px; }
.stat strong { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #52E0C8; line-height: 1.15; }
.stat span { font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 10px;
}
.section-title { font-size: clamp(25px, 3vw, 36px); font-weight: 800; letter-spacing: -0.015em; }
.section-desc { color: var(--muted); font-size: 16.5px; margin: 12px 0 0; }
.block-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 20px; font-weight: 700; margin: 42px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-100);
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-text p { font-size: 16.5px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15.5px; }
.check-list .icon { color: var(--brand); margin-top: 4px; }
.check-list.sm li { padding: 4px 0; font-size: 14.5px; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: all .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.section-alt .card { background: #fff; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); margin-bottom: 16px;
}
.card h3 { font-size: 18.5px; margin-bottom: 4px; }
.card h3 span { color: var(--brand); }
.card-en { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card-title-sm { font-size: 16.5px; line-height: 1.4; }
.card-desc { font-size: 14.5px; color: var(--muted); }
.card-tall { display: flex; flex-direction: column; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 14px 0 0; }
.chip-list li {
  font-size: 12.8px; font-weight: 600; color: var(--brand-700);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 4px 11px; border-radius: 99px;
}

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-thumb { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-thumb img { transform: scale(1.045); }
.product-body { padding: 18px 20px 22px; }
.product-en { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 5px; }
.product-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.product-body p { font-size: 13.8px; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-800), var(--brand-600)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(21px, 2.6vw, 29px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(720px 300px at 85% -40%, rgba(82,224,200,.28), transparent),
    linear-gradient(115deg, var(--bg-dark) 0%, var(--brand-800) 70%, var(--brand-600) 100%);
  color: #fff; padding: 68px 0 60px;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 12px; }
.page-hero .eyebrow { color: #8FE8DA; }
.page-hero-desc { color: rgba(255,255,255,.85); font-size: 16.5px; max-width: 640px; margin: 0; }

.page-head { margin-bottom: 30px; }
.page-head h1 { font-size: 28px; font-weight: 800; }
.page-head .eyebrow { margin-bottom: 6px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 84px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--brand-100), var(--brand));
}
.timeline-item { display: grid; grid-template-columns: 64px 1fr; gap: 44px; padding: 20px 0; position: relative; }
.timeline-year {
  font-weight: 800; font-size: 20px; color: var(--brand-700); text-align: right;
  padding-top: 2px; letter-spacing: -0.01em;
}
.timeline-body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.timeline-body::before {
  content: ""; position: absolute; left: -35px; top: 26px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand);
}
.timeline-body h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-body ul { list-style: none; margin: 0; padding: 0; }
.timeline-body li { padding: 3px 0 3px 18px; position: relative; color: var(--text); font-size: 15px; }
.timeline-body li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ---------- business rows ---------- */
.biz-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.biz-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.biz-text h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; margin-bottom: 12px; }
.biz-desc { font-size: 16px; color: var(--text); margin-bottom: 16px; }

/* ---------- company identity / approach / flow ---------- */
.identity-block { max-width: 860px; }
.identity-text {
  font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; color: var(--ink);
  line-height: 1.55; letter-spacing: -0.01em; margin-bottom: 18px;
}
.identity-why { font-size: 16px; color: var(--muted); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.approach-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start;
}
.approach-no { font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1; padding-top: 3px; }
.approach-card p { margin: 0; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.flow-strip {
  border: 2px solid var(--brand-100); border-radius: var(--radius); background: var(--brand-50);
  padding: 26px 30px;
}
.flow-steps { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.flow-steps span {
  font-size: 17px; font-weight: 800; color: var(--brand-800);
  background: #fff; border: 1.5px solid var(--brand-100); border-radius: 99px; padding: 8px 22px;
}
.flow-steps .icon { color: var(--brand); }
.flow-strip .muted { margin: 0; font-size: 14.5px; }
.vision-text { max-width: 760px; font-size: 18px; line-height: 1.85; color: var(--text); margin: 0; }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.partner-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: all .2s;
}
a.partner-card { display: block; color: inherit; text-decoration: none; }
a.partner-card:hover { color: inherit; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.partner-visit {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
  font-size: 13px; font-weight: 700; color: var(--brand-600);
}
a.partner-card:hover .partner-visit { color: var(--brand-700); text-decoration: underline; }
.partner-logo {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 20px;
  display: grid; place-items: center; font-size: 30px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-800));
}
.partner-logo-img {
  height: 84px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
}
.partner-logo-img img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner-card h3 { font-size: 19px; margin-bottom: 2px; }
.partner-en { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.partner-desc { font-size: 14.5px; color: var(--muted); margin: 0; }
.partner-note { text-align: center; max-width: 620px; }
.partner-note .btn { margin-top: 18px; }

/* ---------- board ---------- */
.board-search { display: flex; gap: 8px; }
.board-search input {
  width: 230px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; font-size: 14px;
}
.board-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.board-foot { display: flex; justify-content: flex-end; margin: 18px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: 14.8px; }
.table th {
  text-align: left; padding: 13px 16px; background: var(--bg-alt);
  color: var(--muted); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #FBFEFD; }
.board-table .col-no { width: 76px; color: var(--muted); }
.board-table .col-meta { width: 110px; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.board-table .col-title a { color: var(--ink); font-weight: 600; }
.board-table .col-title a:hover { color: var(--brand-600); }
.row-pinned { background: #F4FBF9; }
.pin-mark {
  display: inline-block; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px;
}
.file-mark { color: var(--brand-600); margin-left: 5px; }
.ccount { color: var(--brand-600); font-size: 12.5px; margin-left: 4px; font-weight: 700; }
.empty-note { text-align: center; color: var(--muted); padding: 34px 10px !important; }

.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 10px; flex-wrap: wrap; }
.pager a, .pager-cur {
  min-width: 38px; height: 38px; display: inline-grid; place-items: center;
  padding: 0 10px; border-radius: 9px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); color: var(--text); background: #fff;
}
.pager a:hover { border-color: var(--brand); color: var(--brand-600); }
.pager-cur { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- post view ---------- */
.board-path { font-size: 14px; margin-bottom: 12px; }
.board-path a { color: var(--muted); }
.board-path a:hover { color: var(--brand-600); }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 34px 38px; margin-bottom: 26px;
}
.post-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.post-title.sm { font-size: 18px; }
.post-meta { display: flex; gap: 16px; color: var(--muted); font-size: 13.5px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.post-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.md-body { font-size: 15.5px; line-height: 1.8; color: var(--text); }
.md-body h3, .md-body h4, .md-body h5 { margin: 1.2em 0 .5em; }
.md-body h3 { font-size: 19px; } .md-body h4 { font-size: 17px; } .md-body h5 { font-size: 15.5px; }
.md-body ul { padding-left: 22px; }
.md-body code { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13.5px; }
.md-body pre { background: #0E2723; color: #D7F5EE; border-radius: 10px; padding: 16px 18px; overflow-x: auto; }
.md-body pre code { background: none; border: none; color: inherit; }
.md-body a { text-decoration: underline; }
.md-body img {
  max-width: 100%; height: auto; border-radius: 10px;
  border: 1px solid var(--line); margin: 14px 0; box-shadow: var(--shadow-sm);
}
.post-files { margin-top: 22px; padding: 16px 18px; background: var(--bg-alt); border-radius: 10px; }
.post-files h4 { font-size: 14.5px; margin-bottom: 8px; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 14px; flex-wrap: wrap; }
.file-list .icon { color: var(--brand-600); }

/* ---------- comments ---------- */
.comments { margin-top: 8px; }
.comments h3 { font-size: 18px; margin-bottom: 14px; }
.comment { border: 1px solid var(--line); border-radius: 11px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 14px; }
.comment-body { margin: 0; font-size: 14.5px; }
.comment-form { margin-top: 16px; }
.comment-form textarea { margin-bottom: 10px; }
.inline-form { display: inline; }

/* ---------- forms ---------- */
.post-form label, .auth-card label, .contact-form-col label {
  display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 16px;
}
.post-form input[type="text"], .post-form input[type="email"], .post-form input[type="tel"], .post-form input[type="search"],
.post-form textarea, .post-form select,
.auth-card input, .contact-form-col input, .contact-form-col textarea, .contact-form-col select {
  display: block; width: 100%; margin-top: 7px;
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.post-form textarea, .auth-card textarea, .contact-form-col textarea { resize: vertical; min-height: 90px; }
.post-form input:focus, .post-form textarea:focus, .post-form select:focus,
.auth-card input:focus, .contact-form-col input:focus, .contact-form-col textarea:focus, .contact-form-col select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3.5px var(--brand-50);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.form-error {
  background: #fdf1f0; color: #b93b38; border: 1px solid #f5c8c5;
  padding: 11px 15px; border-radius: 10px; font-size: 14.5px; margin-bottom: 16px;
}
.notice-ok {
  background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-100);
  padding: 13px 16px; border-radius: 10px; font-size: 14.5px; margin-bottom: 16px;
}
.form-note { font-size: 13.5px; color: var(--muted); background: var(--bg-alt); border-radius: 9px; padding: 10px 13px; }
.form-note.small { font-size: 12.5px; padding: 8px 11px; }
.req { color: var(--danger); }
.check-label { display: flex !important; align-items: center; gap: 8px; font-weight: 600; }
.check-label input { width: auto; }

/* ---------- auth ---------- */
.auth-wrap { display: grid; place-items: center; padding: 76px 0 96px; }
.auth-card {
  width: min(460px, 92%); background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 40px 38px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.auth-links { text-align: center; font-size: 14px; color: var(--muted); margin: 20px 0 0; }

/* ---------- support page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.contact-card h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.contact-card .icon { color: var(--brand); }
.contact-line { margin: 0 0 6px; font-size: 15px; }
.map-frame { border-radius: 11px; overflow: hidden; border: 1px solid var(--line); margin-top: 14px; }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }
.service-guide details { border-top: 1px solid var(--line); padding: 10px 0; }
.service-guide details:first-of-type { margin-top: 10px; }
.service-guide summary {
  cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--brand-800);
  padding: 4px 0; user-select: none;
}
.service-guide details ul { margin: 8px 0 4px; padding-left: 18px; }
.service-guide details li { font-size: 13.5px; color: var(--text); padding: 3px 0; }
.service-guide details[open] summary { margin-bottom: 2px; }
.answer-box {
  background: #fff; border: 2px solid var(--brand-100); border-radius: var(--radius);
  padding: 26px 28px; margin: 20px 0; box-shadow: var(--shadow-sm);
}
.answer-box h4 { font-size: 15.5px; color: var(--brand-700); margin-bottom: 12px; }
.answer-inner { border-top: 1px dashed var(--line); margin-top: 18px; padding-top: 18px; }
.answer-inner h4 { font-size: 14.5px; color: var(--brand-700); }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 2.5px 10px; border-radius: 99px;
}
.badge-ok { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.badge-wait { background: #FFF7E8; color: #9A6A0B; border: 1px solid #F3E3BC; }

/* ---------- admin ---------- */
.admin-wrap { padding: 46px 0 80px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 12px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); transition: all .18s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.stat-card strong { display: block; font-size: 32px; font-weight: 800; color: var(--brand-700); line-height: 1.1; }
.stat-card span { font-size: 13.5px; color: var(--muted); }
.tab-row { display: flex; gap: 8px; margin-bottom: 18px; }
.tab { padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); background: #fff; }
.tab:hover { border-color: var(--brand); color: var(--brand-600); }
.tab.cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.admin-actions { white-space: nowrap; }
.admin-actions .inline-form { margin-right: 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr 1.3fr; gap: 32px; padding: 52px 0 34px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 13.5px; color: var(--muted); }
.footer-col h4 { font-size: 14px; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--brand-600); }
.footer-info p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .biz-row { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px 5% 22px; gap: 8px; display: none;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 99;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { padding: 12px 14px; }
  .nav-side { flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-inner { gap: 10px; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 72px 0 64px; }
  .about-grid, .biz-row, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .partner-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 12px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; padding-left: 34px; }
  .timeline-year { text-align: left; font-size: 17px; }
  .timeline-body::before { left: -29px; }
  .cta-inner { justify-content: center; text-align: center; }
  .page-head .board-search { margin-top: 14px; }
  .post { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .grid-4, .product-grid, .stats-grid, .stat-cards, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .board-search { width: 100%; }
  .board-search input { flex: 1; width: auto; }
  .hero-actions .btn { width: 100%; }
  .identity-text { font-size: 20px; }
}
