/* 유나이티 B2B 생산 매칭 플랫폼 */

:root {
    --ink: #111827;
    --ink-2: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f6f5f2;
    --navy: #0f1b2d;
    --navy-2: #172a45;
    --accent: #ff5a1f;
    --accent-dark: #e14710;
    --accent-soft: #fff1ea;
    --kornit: #2563eb;
    --brother: #0f9d76;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); }
.btn-kakao { background: #fee500; color: #191919; margin-top: 16px; }

.eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: 12px;
}
.eyebrow-light { color: #ffb08f; }

/* Top bar */
.top-bar { background: var(--navy); color: #cbd5e1; font-size: 13px; }
.top-bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.top-bar strong { color: #fff; }
.top-bar-contact { white-space: nowrap; }

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s;
}
.main-header.scrolled { box-shadow: 0 4px 20px rgba(15,27,45,.08); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 20px;
}
.logo-text { font-size: 20px; font-weight: 800; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text small { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }

.main-nav { margin-left: auto; }
.nav-menu { display: flex; list-style: none; gap: 28px; }
.nav-link { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav-link:hover { color: var(--accent); }
.nav-cta-mobile { display: none; }

.mobile-menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,90,31,.25), transparent 40%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    padding: 88px 0 96px;
    overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: #ffb08f; }
.hero-title { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.15; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 18px; color: #cbd5e1; max-width: 540px; margin-bottom: 32px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 14px; font-weight: 600;
}
.hero-badges span { background: var(--accent); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; }

.hero-visual { position: relative; }
.wo-card {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
    transform: rotate(-1.5deg);
}
.wo-card-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px dashed var(--line); margin-bottom: 16px; }
.wo-label { font-weight: 800; font-size: 18px; }
.wo-no { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--muted); background: var(--bg-alt); padding: 4px 10px; border-radius: 6px; }
.wo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 16px; }
.wo-grid dt { font-size: 12px; color: var(--muted); }
.wo-grid dd { font-weight: 700; }
.wo-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.wo-sizes span { font-size: 12px; font-weight: 700; background: var(--bg-alt); border-radius: 6px; padding: 4px 8px; }
.wo-match { display: grid; gap: 8px; }
.wo-match-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.wo-match-row i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.wo-match-row.done { color: var(--ink-2); }
.wo-match-row.done i { background: var(--brother); border-color: var(--brother); }
.wo-match-row.active { color: var(--ink); font-weight: 600; background: var(--accent-soft); margin: 0 -10px; padding: 8px 10px; border-radius: 8px; }
.wo-match-row.active i { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(255,90,31,.2); animation: pulse 1.6s infinite; }
.wo-match-row b { color: var(--accent-dark); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,90,31,.05); } }

.hero-chip {
    position: absolute;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
.chip-1 { top: -14px; right: 18px; }
.chip-2 { bottom: -14px; left: 18px; background: #fff; color: var(--navy); }

/* Key points */
.points { background: #fff; border-bottom: 1px solid var(--line); }
.points-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.point { padding: 36px 28px; border-right: 1px solid var(--line); }
.point:last-child { border-right: 0; }
.point-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 16px;
}
.point h3 { font-size: 18px; margin-bottom: 6px; }
.point p { color: var(--muted); font-size: 15px; }

/* MOQ band */
.moq-band { background: var(--accent); color: #fff; padding: 44px 0; }
.moq-inner { display: flex; align-items: center; gap: 40px; }
.moq-number { font-size: 84px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.moq-number small { font-size: 28px; }
.moq-text { flex: 1; }
.moq-text h2 { font-size: 26px; margin-bottom: 8px; }
.moq-text p { opacity: .92; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 56px; counter-reset: flow; }
.flow-step {
    position: relative;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -13px; top: 50%;
    width: 10px; height: 10px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
}
.flow-step.highlight { border-color: var(--accent); background: var(--accent-soft); }
.flow-no { font-size: 13px; font-weight: 900; color: var(--accent); }
.flow-step h3 { font-size: 18px; margin: 6px 0 8px; }
.flow-step p { font-size: 14px; color: var(--muted); }

/* Hub diagram */
.hub {
    display: grid;
    grid-template-columns: 1fr auto 1.1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 40px;
    border-radius: 20px;
    background: var(--navy);
    color: #fff;
}
.hub-col { display: grid; gap: 10px; }
.hub-node { padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; text-align: center; }
.hub-node.client { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.hub-node.kornit { background: rgba(37,99,235,.22); border: 1px solid rgba(96,165,250,.55); }
.hub-node.brother { background: rgba(15,157,118,.22); border: 1px solid rgba(52,211,153,.55); }
.hub-arrow { font-size: 13px; font-weight: 700; color: #ffb08f; display: flex; align-items: center; gap: 8px; }
.hub-arrow::after { content: '→'; font-size: 22px; color: var(--accent); }
.hub-center {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255,90,31,.18), 0 0 0 16px rgba(255,90,31,.08);
}
.hub-center strong { display: block; font-size: 26px; font-weight: 900; letter-spacing: .06em; }
.hub-center span { font-size: 14px; opacity: .92; }

/* Machines */
.machines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.machine {
    background: #fff;
    border-radius: 18px;
    padding: 36px;
    border-top: 6px solid var(--kornit);
    box-shadow: var(--shadow);
}
.machine.brother { border-top-color: var(--brother); }
.machine-tag { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: #fff; background: var(--kornit); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.machine.brother .machine-tag { background: var(--brother); }
.machine h3 { font-size: 24px; margin-bottom: 4px; }
.machine-lead { color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.machine ul { list-style: none; display: grid; gap: 10px; }
.machine li { padding-left: 24px; position: relative; }
.machine li::before { content: '✓'; position: absolute; left: 0; color: var(--kornit); font-weight: 900; }
.machine.brother li::before { color: var(--brother); }
.machines-note { text-align: center; margin-top: 24px; color: var(--muted); font-size: 14px; }

/* Work order */
.wo-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.wo-intro .section-title, .wo-intro .section-sub { text-align: left; }
.wo-intro .section-sub { margin-bottom: 24px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { padding-left: 32px; position: relative; font-weight: 600; }
.check-list li::before {
    content: '✓';
    position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    display: grid; place-items: center;
}

.wo-builder {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.wo-builder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.wo-builder-head h3 { font-size: 20px; }
.wo-builder-head span { font-size: 13px; color: var(--muted); }
.wo-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.wo-fields label, .wo-size-inputs > p { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.wo-fields select { margin-top: 6px; }
.size-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 6px; }
.size-row label { display: grid; gap: 4px; text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); }
.size-row input { text-align: center; padding: 10px 4px; }
.wo-result { margin: 20px 0; padding: 18px; background: var(--bg-alt); border-radius: 12px; }
.wo-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.wo-total strong { font-size: 28px; font-weight: 900; }
.wo-status { font-size: 14px; display: grid; gap: 8px; }
.wo-status .warn { color: #b91c1c; font-weight: 700; }
.wo-status .line { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.wo-status .dot { width: 10px; height: 10px; border-radius: 50%; }
.wo-status .dot.k { background: var(--kornit); }
.wo-status .dot.b { background: var(--brother); }
.wo-status .muted { color: var(--muted); font-size: 12px; }

/* Forms (shared) */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
textarea { resize: vertical; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: #eceae4; display: grid; place-items: center; }
.product-thumb svg { width: 52%; fill: var(--garment); stroke: rgba(0,0,0,.12); stroke-width: 1.2; filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); }
.product-moq { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.product-body { padding: 20px 22px 24px; }
.product-body h3 { font-size: 18px; margin-bottom: 4px; }
.product-body p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.product-link { color: var(--accent); font-weight: 700; font-size: 14px; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client { padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--accent); }
.client h3 { font-size: 17px; margin-bottom: 8px; }
.client p { font-size: 14px; color: var(--muted); }

/* Partner band */
.partner-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 88px 0; }
.partner-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 56px; align-items: center; }
.partner-inner h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; margin-bottom: 14px; }
.partner-inner > div > p:last-child { color: #cbd5e1; }
.partner-benefits { list-style: none; display: grid; gap: 12px; }
.partner-benefits li { padding: 16px 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #cbd5e1; font-size: 14px; }
.partner-benefits strong { display: block; color: #fff; font-size: 16px; }
.partner-inner .btn { grid-column: 1 / -1; justify-self: start; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { padding: 20px 24px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* Quote */
.quote-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.quote-info .section-title, .quote-info .section-sub { text-align: left; }
.quote-contact { margin-top: 28px; display: grid; gap: 14px; }
.quote-contact div { display: flex; flex-direction: column; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.quote-contact span { font-size: 13px; color: var(--muted); }
.quote-contact strong { font-size: 17px; }
.quote-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.quote-form { background: #fff; padding: 36px; border-radius: 20px; box-shadow: var(--shadow); }
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--bg-alt); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.type-toggle input { position: absolute; opacity: 0; }
.type-toggle span { display: block; text-align: center; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; transition: .2s; }
.type-toggle input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.type-toggle input:focus-visible + span { outline: 2px solid var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group[hidden] { display: none; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.form-group label b { color: var(--accent); }
.field-hint { font-size: 12px; color: var(--muted); }
.field-hint.error { color: #b91c1c; font-weight: 700; }
input.invalid { border-color: #dc2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.agree input { margin-top: 4px; accent-color: var(--accent); }
.form-alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.form-alert.success { background: #ecfdf5; color: #047857; }
.form-alert.error { background: #fef2f2; color: #b91c1c; }

/* Footer */
.main-footer { background: #0b1320; color: #94a3b8; padding: 64px 0 28px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.logo-footer { margin-bottom: 16px; color: #fff; }
.main-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-phone { font-size: 22px; font-weight: 800; color: #fff; }
.footer-links { list-style: none; display: grid; gap: 6px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: grid; gap: 4px; font-size: 13px; }

.floating-cta {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 90;
    display: flex; align-items: center; gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(255,90,31,.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: .25s;
}
.floating-cta span { background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.floating-cta.show { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 배경 영상 · 메뉴 · 하위 페이지 ---------- */

.hero { position: relative; }
.hero-video { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-video iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;
    min-height: 100%; min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0;
}
.hero.has-video::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(15,27,45,.92) 0%, rgba(15,27,45,.75) 50%, rgba(15,27,45,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; }

.nav-link.current { color: var(--accent); }
.has-sub { position: relative; }
.has-sub > .nav-link::after { content: '▾'; font-size: 11px; margin-left: 4px; }
.sub-menu {
    list-style: none;
    position: absolute; top: 100%; left: 50%;
    min-width: 160px;
    margin-top: 14px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transform: translate(-50%, 6px);
    opacity: 0; visibility: hidden;
    transition: .2s;
}
.sub-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu .nav-link { display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.sub-menu .nav-link:hover { background: var(--bg-alt); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.text-link { color: var(--accent); font-weight: 700; font-size: 15px; display: inline-block; margin-top: 8px; }
.center-action { text-align: center; margin-top: 40px; }

.about-preview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-preview .section-title, .about-preview .section-sub { text-align: left; }

/* 서비스 카드 */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-thumb { aspect-ratio: 16 / 10; background: #eceae4; }
.service-body { padding: 22px 24px 26px; }
.service-body h3 { font-size: 20px; margin-bottom: 6px; }
.service-body p { color: var(--muted); font-size: 15px; }

/* 썸네일 공통 */
.service-thumb img, .work-thumb img, .service-detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-illust { width: 100%; height: 100%; display: grid; place-items: center; background: #eceae4; }
.thumb-illust svg { width: 46%; max-height: 80%; fill: var(--garment); stroke: rgba(0,0,0,.18); stroke-width: 1.2; filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); }

/* 제작 사례 */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.work-thumb { position: relative; aspect-ratio: 4 / 3; background: #eceae4; }
.work-cat { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.work-body { padding: 18px 20px 22px; }
.work-body h3 { font-size: 17px; margin-bottom: 6px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.work-meta span + span::before { content: '·'; margin-right: 12px; }
.work-desc { font-size: 14px; color: var(--ink-2); }

.hub { margin-bottom: 32px; }

/* 하위 페이지 */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 64px; }
.page-hero .eyebrow { color: #ffb08f; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.25; margin-bottom: 10px; }
.page-hero p:last-child { color: #cbd5e1; font-size: 17px; }

.sub-tabs { border-bottom: 1px solid var(--line); background: #fff; }
.sub-tabs .container { display: flex; gap: 4px; overflow-x: auto; }
.sub-tabs a { padding: 16px 18px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.sub-tabs a:hover { color: var(--ink); }
.sub-tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

.prose p { font-size: 17px; color: var(--ink-2); margin-bottom: 18px; line-height: 1.8; }
.about-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-image { width: 100%; border-radius: 16px; margin-bottom: 20px; }
.side-box { background: var(--bg-alt); border-radius: 16px; padding: 28px; }
.side-box h2 { font-size: 18px; margin-bottom: 16px; }

.service-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.service-detail-thumb { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #eceae4; }
.service-detail .check-list { margin: 8px 0 24px; }
.service-moq { padding: 14px 18px; background: var(--accent-soft); border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
.service-moq strong { color: var(--accent-dark); }

.list-count { margin-bottom: 20px; color: var(--muted); }
.list-count strong { color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

.preparing { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 24px; }
.preparing-icon { font-size: 48px; margin-bottom: 12px; }
.preparing h2 { font-size: 28px; margin-bottom: 16px; }
.preparing p { color: var(--muted); margin-bottom: 8px; }
.preparing .btn { margin-top: 20px; }

@media (max-width: 900px) {
    .about-preview, .about-page, .service-detail { grid-template-columns: 1fr; gap: 32px; }
    .services, .portfolio { grid-template-columns: 1fr 1fr; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; margin: 0; min-width: 0; }
    .sub-menu::before { display: none; }
    .sub-menu .nav-link { font-size: 15px; padding: 10px 0; border-radius: 0; }
    .has-sub > .nav-link::after { content: ''; }
    .service-detail-thumb { max-width: 420px; }
}
@media (max-width: 600px) {
    .services, .portfolio { grid-template-columns: 1fr; }
    .page-hero { padding: 52px 0 44px; }
}

/* 생산 분야 */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.field-card { padding: 32px 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff; border-top: 5px solid var(--accent); }
.field-no { font-size: 13px; font-weight: 900; color: var(--accent); }
.field-card h3 { font-size: 22px; margin: 6px 0 10px; }
.field-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.field-card ul { list-style: none; display: grid; gap: 6px; }
.field-card li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.field-card li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .fields { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 1080px) {
    .nav-menu { gap: 18px; }
    .nav-link { font-size: 14px; }
    .flow { grid-template-columns: repeat(3, 1fr); }
    .flow-step::after { display: none; }
    .clients { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .top-bar-contact { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; margin-left: auto; position: relative; z-index: 2; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: #fff;
        box-shadow: -10px 0 30px rgba(0,0,0,.12);
        padding: 96px 28px 28px;
        transform: translateX(100%);
        transition: transform .3s, visibility .3s;
        visibility: hidden;
        z-index: 1;
        overflow-y: auto;
    }
    .main-nav.active { transform: none; visibility: visible; }
    .nav-menu { flex-direction: column; gap: 4px; }
    .nav-link { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
    .nav-cta-mobile { display: block; margin-top: 16px; }
    .nav-cta-mobile .nav-link { background: var(--accent); color: #fff; text-align: center; border-radius: 10px; border: 0; }

    .hero { padding: 56px 0 72px; }
    .hero-inner, .wo-section, .quote-wrap, .partner-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 480px; }
    .points-grid { grid-template-columns: 1fr 1fr; }
    .point:nth-child(2) { border-right: 0; }
    .point:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .moq-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .machines, .products { grid-template-columns: 1fr 1fr; }
    .hub { grid-template-columns: 1fr; padding: 28px; }
    .hub-arrow { justify-content: center; }
    .hub-arrow::after { content: '↓'; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .top-bar { font-size: 12px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 40px; }
    .hero-sub { font-size: 16px; }
    .hero-actions .btn { flex: 1; }
    .wo-card { padding: 20px; transform: none; }
    .points-grid, .machines, .products, .clients, .flow, .form-grid, .wo-fields { grid-template-columns: 1fr; }
    .point { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 4px; }
    .point:last-child { border-bottom: 0; }
    .moq-number { font-size: 64px; }
    .moq-text h2 { font-size: 21px; }
    .machine { padding: 28px 24px; }
    .size-row { gap: 6px; }
    .quote-form { padding: 24px 18px; }
    .footer-top { grid-template-columns: 1fr; }
    .floating-cta { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .wo-match-row.active i { animation: none; }
}
