:root {
    --red: #dc2626;
    --red-hot: #ef4444;
    --ink: #111827;
    --text: #4b5563;
    --muted: #9ca3af;
    --line: #f3f4f6;
    --line-2: #e5e7eb;
    --bg: #f9fafb;
    --max: 1152px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    font-size: 16px;
    background: #fff;
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: 16px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 80px;
    transition: background .3s, box-shadow .3s;
}
.site-header.is-solid {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
    height: 80px;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: block; height: 44px; }
.logo img { height: 44px; width: auto; }
.logo-color { display: none; }
.is-solid .logo-white, .is-inner .logo-white { display: none; }
.is-solid .logo-color, .is-inner .logo-color { display: block; }

.gnb { display: flex; align-items: center; gap: 8px; }
.mobile-menu-bar { display: none; }
.gnb-list { display: flex; align-items: center; gap: 4px; }
.gnb-item { position: relative; }
.gnb-row { display: flex; align-items: center; }
.gnb-link {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
}
.is-solid .gnb-link, .is-inner .gnb-link { color: #374151; }
.gnb-item.on > .gnb-row .gnb-link,
.gnb-item:hover > .gnb-row .gnb-link { color: var(--red); }
.gnb-acc { display: none; }
.gnb-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 180px;
    padding: 10px 0;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 60;
}
.gnb-item.has-sub:hover .gnb-dropdown,
.gnb-item.has-sub:focus-within .gnb-dropdown { display: block; }
.gnb-dropdown a {
    display: block;
    padding: 11px 18px;
    font-size: 15px;
    color: #374151;
}
.gnb-dropdown a:hover,
.gnb-dropdown a.active {
    background: #fef2f2;
    color: var(--red);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #111;
}
.is-home .site-header:not(.is-solid) .nav-toggle span { background: #fff; }
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 45;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.3), rgba(0,0,0,.5));
}
.hero-copy { position: relative; z-index: 2; padding: 0 20px; max-width: 900px; }
.hero-copy .eyebrow {
    color: #fecaca;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 14px;
}
.hero-copy h1 { margin: 0; font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
.hero-line { width: 48px; height: 2px; background: var(--red-hot); margin: 22px auto; }
.hero-copy .lead { margin: 0 auto 28px; max-width: 660px; font-size: 17px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 46px;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b91c1c; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { background: #fff; color: #374151; border-color: #d1d5db; }
.btn-line:hover { border-color: var(--red); color: var(--red); }
.hero-dots {
    position: absolute;
    z-index: 2;
    left: 0; right: 0; bottom: 28px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hero-dots button {
    width: 8px; height: 8px; border: 0; border-radius: 99px;
    background: rgba(255,255,255,.7); cursor: pointer; padding: 0;
}
.hero-dots button.on { width: 24px; background: var(--red-hot); }

.section { padding: 88px 0; }
.center { text-align: center; }
.eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4em;
    text-transform: uppercase;
}
.section h2 { margin: 0; font-size: 32px; letter-spacing: -0.02em; }
.rule { width: 40px; height: 2px; background: var(--red-hot); margin: 16px auto 0; }
.rule.left { margin-left: 0; }

.card-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.product-card {
    display: block;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .25s;
}
.product-card:hover { border-color: #fecaca; }
.product-card .thumb { height: 200px; overflow: hidden; background: #f3f4f6; }
.product-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.product-card:hover img { transform: scale(1.05); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 { margin: 0; font-size: 17px; font-weight: 600; }
.product-card:hover h3 { color: var(--red); }
.card-body p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.note { margin: 36px auto 0; max-width: 780px; text-align: center; color: var(--text); font-size: 16px; }

.solutions { background: var(--bg); }
.solution { display: flex; background: #fff; }
.solution.reverse { flex-direction: row-reverse; }
.solution-photo, .solution-copy { width: 50%; }
.solution-photo { height: 420px; overflow: hidden; }
.solution-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.solution-copy { display: flex; align-items: center; padding: 48px 56px; }
.solution-copy h3 { margin: 0 0 18px; font-size: 22px; line-height: 1.4; }
.solution-copy p { margin: 0 0 12px; font-size: 16px; color: var(--text); line-height: 1.75; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
    display: block;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.case-card:hover { border-color: #fecaca; }
.case-card .thumb { height: 208px; overflow: hidden; background: #f8f8f8; }
.case-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.case-card:hover img { transform: scale(1.05); }
.case-card .meta { padding: 18px; }
.case-card h3 { margin: 0 0 4px; font-size: 16px; }
.case-card:hover h3 { color: var(--red); }
.case-card p { margin: 0; font-size: 14px; color: var(--muted); }
.badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 8px;
    font-size: 11px;
    color: #3b82f6;
    background: #fff;
}
.search-box { position: relative; max-width: 448px; margin: 0 auto 40px; }
.search-box input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    font-size: 16px;
}
.search-box input:focus { outline: none; border-color: #f87171; }
.search-box svg { position: absolute; right: 12px; top: 13px; width: 18px; height: 18px; color: #9ca3af; }

.contact-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.contact-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.map { height: 300px; border-radius: 10px; overflow: hidden; background: #eee; }
.map iframe { width: 100%; height: 100%; border: 0; }
.info-row { display: flex; gap: 16px; margin-bottom: 10px; font-size: 16px; }
.info-row b { width: 80px; flex: none; }
.info-row b span { color: var(--red); }
.contact-brand { height: 42px; width: auto; margin-bottom: 16px; }

.page-banner {
    position: relative;
    height: 320px;
    margin-top: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.page-banner-dim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.page-banner-copy { position: relative; z-index: 1; padding: 0 16px; }
.page-banner-copy p { margin: 0 0 10px; letter-spacing: .3em; text-transform: uppercase; color: #f87171; font-weight: 300; font-size: 15px; }
.page-banner-copy h1 { margin: 0; font-size: 36px; }
.page-banner-copy h2 { margin: 8px 0 0; font-size: 18px; font-weight: 300; color: #e5e7eb; }

.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav .wrap { display: flex; }
.subnav a { padding: 16px 18px; font-size: 16px; color: #6b7280; }
.subnav a.on { color: var(--red); font-weight: 600; }

.product-subnav {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.product-subnav-scroll {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.product-subnav a {
    flex: none;
    padding: 16px 14px;
    font-size: 15px;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.product-subnav a.on {
    color: var(--red);
    font-weight: 600;
    border-bottom-color: var(--red);
}

.prose { max-width: 820px; margin: 0 auto; color: var(--text); font-size: 16px; }
.prose p { margin: 0 0 22px; }
.strengths { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strength { text-align: center; background: var(--bg); border-radius: 10px; padding: 28px 16px; }
.strength .ico { color: var(--red); margin-bottom: 8px; }
.strength h3 { margin: 0 0 6px; font-size: 16px; }
.strength p { margin: 0; font-size: 14px; color: #6b7280; }

.history-wrap {
    background: #f7f7f7 url("../img/history-bg.png") center / cover no-repeat;
    padding: 72px 0;
}
.history-layout { display: flex; gap: 48px; }
.history-side { width: 180px; flex: none; }
.history-side .eyebrow { letter-spacing: 0; font-size: 15px; }
.history-card { background: rgba(255,255,255,.95); border: 1px solid #e5e7eb; border-radius: 10px; padding: 28px 32px; margin-bottom: 18px; }
.history-card h3 { margin: 0 0 18px; font-size: 22px; }
.event { display: flex; gap: 18px; margin-bottom: 10px; font-size: 16px; }
.event b { width: 48px; flex: none; color: var(--red); }
.event span { position: relative; padding-left: 12px; color: #374151; }
.event span:before { content: "•"; position: absolute; left: 0; color: #f87171; font-weight: 700; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-photo { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.detail-photo img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.detail-title { font-size: 28px; margin: 0 0 14px; }
.detail-desc { font-size: 16px; color: #4b5563; white-space: pre-line; margin: 0; }
.detail-desc.narrow { max-width: 760px; margin-bottom: 24px; }
.detail-h3 { font-size: 19px; margin: 28px 0 12px; }
.detail-block { margin-top: 56px; }
.detail-cta { margin-top: 28px; }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li { position: relative; padding: 7px 0 7px 18px; font-size: 16px; color: #374151; }
.feature-list li:before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.spec-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; vertical-align: top; font-weight: 400; }
.spec-table th { width: 38%; color: #6b7280; border-right: 1px solid #f9fafb; white-space: nowrap; }
.spec-table td { color: #1f2937; }
.spec-table tr.alt { background: #f9fafb; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 8px 14px; border-radius: 99px; background: #fef2f2; color: var(--red); font-size: 14px; font-weight: 500; }
.extra { margin-top: 72px; }

.market-row { display: flex; gap: 32px; align-items: center; margin-bottom: 48px; }
.market-row.reverse { flex-direction: row-reverse; }
.market-row .photo, .market-row .copy { width: 50%; }
.market-row .photo { height: 320px; border-radius: 10px; overflow: hidden; }
.market-row .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.form label { display: block; margin-bottom: 6px; font-size: 16px; color: #374151; }
.form label em { color: var(--red); font-style: normal; }
.form input, .form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    font-size: 16px;
}
.form input:focus, .form textarea:focus { outline: none; border-color: #f87171; }
.form textarea { min-height: 160px; resize: vertical; }
.alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 6px; background: #f0fdf4; color: #166534; font-size: 15px; }
.alert.err { background: #fef2f2; color: #991b1b; }

.download-panel {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.download-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.download-row:last-child { border-bottom: 0; }
.download-icon { flex: none; width: 36px; }
.download-meta { flex: 1; min-width: 0; }
.download-meta strong { display: block; font-size: 17px; margin-bottom: 4px; }
.download-meta span { font-size: 14px; color: #9ca3af; }
.btn-download {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: var(--red);
    font-size: 15px;
    background: #fff;
}
.btn-download:hover { background: #fef2f2; }
.empty-msg { text-align: center; padding: 40px 16px; color: #6b7280; font-size: 16px; }

.back-link { display: inline-flex; align-items: center; gap: 4px; color: #6b7280; font-size: 15px; margin-bottom: 28px; }
.back-link:hover { color: var(--red); }
.case-photos img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 18px; }
.caption { font-size: 14px; color: #6b7280; }
.legal-doc h2 { font-size: 19px; margin: 28px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 15px; color: #374151; }

.pre-footer { background: var(--bg); border-top: 1px solid #f3f4f6; }
.pre-footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.pre-footer img { height: 34px; width: auto; }
.to-top {
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--red); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: #b91c1c; }

.site-footer { background: #fff; border-top: 1px solid #f3f4f6; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer-address, .site-footer p, .site-footer li { font-size: 14px; color: #6b7280; margin: 0 0 4px; }
.site-footer h4 { margin: 0 0 12px; font-size: 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a:hover { color: var(--red); }
.muted { color: var(--muted) !important; }
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.legal { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.legal a { font-size: 13px; color: #9ca3af; }
.legal a.strong { font-weight: 700; color: #6b7280; }
.legal a.admin-link { font-size: 11px; color: #d1d5db; }
.legal a.admin-link:hover { color: #9ca3af; }
.footer-bottom p { font-size: 13px; color: #9ca3af; }

/* Admin */
.admin-body { background: #f3f4f6; min-height: 100vh; margin: 0; font-family: Pretendard, sans-serif; }
.admin-login {
    max-width: 400px;
    margin: 80px auto;
    background: #fff;
    padding: 36px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.admin-login h1 { margin: 0 0 6px; font-size: 24px; }
.admin-sub { margin: 0 0 20px; color: #6b7280; font-size: 14px; }
.admin-back { margin-top: 18px; text-align: center; font-size: 14px; }
.admin-app { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px;
    flex: none;
    background: #111827;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 40;
}
.admin-brand {
    padding: 0 22px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-brand-mark {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    background: var(--red);
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
}
.admin-brand strong { font-size: 18px; }
.admin-side-nav { display: flex; flex-direction: column; padding: 16px 12px; gap: 4px; flex: 1; }
.admin-side-nav a {
    color: #d1d5db;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
}
.admin-side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side-nav a.on { background: rgba(220, 38, 38, .18); color: #fff; border-left: 3px solid var(--red); padding-left: 11px; }
.admin-side-foot {
    padding: 16px 22px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin-side-foot a { color: #9ca3af; font-size: 14px; text-decoration: none; }
.admin-side-foot a:hover { color: #fff; }
.admin-logout { color: #fca5a5 !important; }
.admin-main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-content-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px 0;
}
.admin-content-top h1 { margin: 0; font-size: 26px; }
.admin-menu-btn {
    display: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
}
.admin-overlay { display: none; }
.admin-main { padding: 20px 28px 64px; }
.admin-count { margin: 0 0 12px; color: #6b7280; font-size: 14px; }
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.stat-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
}
.stat-card.muted-card { background: #fff; }
.stat-label { margin: 0 0 8px; color: #6b7280; font-size: 13px; }
.stat-value { margin: 0; font-size: 30px; font-weight: 700; color: #111827; letter-spacing: -0.02em; }
.stat-value.sm { font-size: 24px; }
.stat-link { display: inline-block; margin-top: 10px; color: var(--red); font-size: 14px; text-decoration: none; }
.stat-link:hover { text-decoration: underline; }
.stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    min-height: 180px;
    padding: 8px 0 0;
    overflow-x: auto;
}
.stat-bar-col {
    flex: 1;
    min-width: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.stat-bar-num { font-size: 11px; color: #6b7280; }
.stat-bar-track {
    width: 100%;
    max-width: 28px;
    height: 120px;
    background: #f3f4f6;
    border-radius: 6px 6px 2px 2px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.stat-bar-fill {
    width: 100%;
    min-height: 2px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
    border-radius: 6px 6px 0 0;
}
.stat-bar-label { font-size: 11px; color: #9ca3af; }
.admin-table-wrap { overflow-x: auto; background: #fff; border-radius: 10px; border: 1px solid #e5e7eb; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; text-align: left; vertical-align: top; }
.admin-table th { background: #f9fafb; font-weight: 600; white-space: nowrap; }
.admin-table .content-cell { min-width: 220px; max-width: 360px; }
.admin-table .empty { text-align: center; color: #9ca3af; padding: 32px; }
.btn-mini {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
}
.btn-mini:hover { border-color: var(--red); color: var(--red); }
.admin-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.admin-card h2 { margin: 0 0 16px; font-size: 20px; }
.admin-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.admin-card-head h2 { margin: 0; }
.admin-form { max-width: 560px; }
.admin-actions { display: flex; gap: 10px; }
.admin-ops a,
.admin-ops .btn-link-edit {
    margin-right: 10px;
    color: #2563eb;
    font-size: 14px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.admin-ops .btn-link-edit:hover { text-decoration: underline; }
.col-drag { width: 36px; color: #9ca3af; user-select: none; }
.drag-handle { cursor: grab; display: inline-block; letter-spacing: -2px; font-size: 16px; line-height: 1; }
#downloadList tr.dragging { opacity: 0.55; background: #fef2f2; }
#downloadList tr[data-id] { cursor: grab; }
body.modal-open { overflow: hidden; }
.admin-modal[hidden] { display: none !important; }
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}
.admin-modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.admin-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.admin-modal-head h2 { margin: 0; font-size: 20px; }
.admin-modal-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0 4px;
}
.admin-modal-close:hover { color: #111827; }
.admin-modal .admin-form { max-width: none; }
.admin-modal .muted { margin: 0 0 14px; font-size: 13px; color: #6b7280; }

@media (max-width: 1100px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 8px 0 24px rgba(0,0,0,.2);
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .admin-overlay:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 24, 39, .4);
        z-index: 35;
    }
    .admin-content-top, .admin-main { padding-left: 16px; padding-right: 16px; }
    .stat-grid, .stat-grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .stat-grid, .stat-grid-2 { grid-template-columns: 1fr; }
    .stat-value { font-size: 26px; }
}

@media (max-width: 980px) {
    .card-grid, .case-grid, .strengths, .footer-grid { grid-template-columns: 1fr 1fr; }
    .solution, .solution.reverse, .market-row, .market-row.reverse, .history-layout {
        flex-direction: column;
        display: flex;
    }
    .contact-grid, .split, .detail-grid { display: grid; grid-template-columns: 1fr; }
    .solution-photo, .solution-copy, .market-row .photo, .market-row .copy, .history-side { width: 100%; }
    .solution-photo { height: 260px; }
    .solution-copy { padding: 32px 24px; }
    .hero-copy h1 { font-size: 36px; }
    .page-banner { height: 240px; }
    .product-subnav-scroll { justify-content: flex-start; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav-toggle { display: block; }
    .gnb {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 80;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        padding: 0;
        box-shadow: none;
    }
    .gnb.open { display: flex; }
    .mobile-menu-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #1f2937;
        min-height: 60px;
        padding: 0 16px;
        flex: none;
    }
    .mobile-logo img { height: 34px; width: auto; }
    .nav-close {
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .gnb-list {
        display: block;
        width: 100%;
        flex: 1;
        background: #fff;
    }
    .gnb-item {
        border-bottom: 1px solid #f0f0f0;
    }
    .gnb-row {
        display: flex;
        align-items: center;
        min-height: 56px;
    }
    .gnb-link {
        flex: 1;
        padding: 16px 20px !important;
        color: #374151 !important;
        font-size: 17px;
    }
    .gnb-item.on > .gnb-row .gnb-link { color: var(--red) !important; }
    .gnb-acc {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        border: 0;
        background: transparent;
        color: #9ca3af;
        font-size: 18px;
        cursor: pointer;
        transition: transform .2s;
    }
    .gnb-item.open > .gnb-row .gnb-acc { transform: rotate(180deg); color: var(--red); }
    .gnb-dropdown {
        display: none !important;
        position: static;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 8px;
        background: #fafafa;
    }
    .gnb-item.open > .gnb-dropdown { display: block !important; }
    .gnb-dropdown a {
        padding: 14px 28px;
        font-size: 16px;
    }
    body.nav-open { overflow: hidden; }
    .nav-backdrop.show { display: block; }
    .card-grid, .case-grid, .strengths, .footer-grid { grid-template-columns: 1fr; }
    .wrap, .header-inner { width: min(100% - 32px, var(--max)); }
    .contact-head, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .download-row { flex-wrap: wrap; }
    .btn-download { width: 100%; }
    .hero { min-height: 100vh; }
    .hero-copy h1 { font-size: 32px; }
}
