/* ============================================================
   Dr.Kipper — 통합 스타일시트 (index / board / contact 공유)
   1) 디자인 토큰 & 공통      2) 홈 전용
   3) 공지사항 전용           4) 문의 전용
   ============================================================ */

/* ============================================================
   1) 디자인 토큰 & 공통
   ============================================================ */
:root {
    --brand: #0066cc;
    --brand-dark: #004a99;
    --brand-light: #3a8dff;
    --accent: #00c2a8;
    --accent-soft: #d7f5ef;
    --ink: #0f1c2e;
    --ink-soft: #465569;
    --ink-muted: #7a8699;
    --line: #e6ecf3;
    --bg: #ffffff;
    --bg-soft: #f5f9ff;
    --bg-tint: #eef5ff;
    --radius: 18px;
    --shadow-sm: 0 2px 8px rgba(15, 28, 46, .06);
    --shadow-md: 0 12px 34px rgba(15, 28, 46, .10);
    --shadow-lg: 0 28px 70px rgba(0, 74, 153, .16);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
        system-ui, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { position: relative; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ============ 버튼 ============ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 1rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
    white-space: nowrap; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    color: #fff; box-shadow: 0 10px 26px rgba(0, 102, 204, .34);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 102, 204, .42); }
.btn-ghost {
    background: rgba(255,255,255,.85); color: var(--brand-dark);
    border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); }

/* ============ 헤더 ============ */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255,255,255,.86); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.32rem; letter-spacing: -0.04em; }
.logo .mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,102,204,.34);
}
.logo .mark svg { width: 22px; height: 22px; }
.logo b { color: var(--brand); }
.logo .mark + span span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--ink-soft);
    transition: color .2s, background .2s; font-size: .98rem;
}
.nav-links a:hover { color: var(--brand); background: var(--bg-tint); }
.nav-links a.active { color: var(--brand); background: var(--bg-tint); }
.nav-cta { margin-left: 10px; padding: 11px 22px; font-size: .95rem; }
.nav-cta, .nav-cta.active { color: #fff; background: linear-gradient(135deg, var(--brand-light), var(--brand)); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 11px; background: #fff; cursor: pointer; }

/* ============ 섹션 공통 ============ */
.section { padding: 96px 0; }
.section.tint { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.eyebrow {
    display: inline-block; font-weight: 800; color: var(--brand); font-size: .9rem;
    letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.sec-head { max-width: 40em; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; }
.sec-head p { font-size: 1.1rem; color: var(--ink-soft); margin-top: 16px; }

/* ============ 서브페이지 공통 (공지사항 / 문의) ============ */
.page-hero { padding: 62px 0 46px; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 90% at 88% 0%, rgba(0,194,168,.12), transparent 62%),
        radial-gradient(60% 90% at 4% 0%, rgba(58,141,255,.14), transparent 60%),
        linear-gradient(180deg, var(--bg-soft), #fff);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.2; }
.page-hero h1 .grad { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .sub { font-size: 1.12rem; color: var(--ink-soft); margin-top: 14px; max-width: 46em; }
.page-body { padding: 40px 0 96px; }

/* ============ 폼 컨트롤 공통 ============ */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: #e5484d; margin-left: 3px; }
.field .hint { font-size: .84rem; color: var(--ink-muted); font-weight: 500; margin-top: 6px; }
.control {
    width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, box-shadow .2s; letter-spacing: -0.01em;
}
.control::placeholder { color: #aab4c2; }
.control:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(58,141,255,.14); }
textarea.control { min-height: 150px; resize: vertical; line-height: 1.6; }
select.control { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }

/* ============ 푸터 ============ */
footer { background: var(--ink); color: #b9c4d4; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .logo { color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: .95rem; max-width: 30em; }
.foot-col h5 { color:#fff; font-size:.98rem; font-weight:700; margin-bottom:16px; letter-spacing:-0.02em; }
.foot-col a, .foot-col p { display:block; font-size:.92rem; color:#9aa6b6; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color:#fff; }
.foot-bottom { display:flex; justify-content: space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top: 24px; font-size:.86rem; color:#7d8a9c; }
.foot-bottom .socials { display:flex; gap:10px; }
.foot-bottom .socials a { width:36px; height:36px; border-radius:10px; background: rgba(255,255,255,.06);
    display:grid; place-items:center; color:#b9c4d4; transition: background .2s, color .2s; }
.foot-bottom .socials a:hover { background: var(--brand); color:#fff; }

/* ============ 스크롤 등장 애니메이션 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }

/* ============ 반응형 (공통) ============ */
@media (max-width: 940px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 6px;
        position: absolute; top: 72px; left: 0; right: 0;
        background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
        padding: 16px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    }
    .nav-links.open a { padding: 12px 14px; }
    .nav-links.open .nav-cta { margin-left: 0; text-align: center; justify-content: center; margin-top: 6px; }
    .burger { display: grid; place-items: center; }
}
@media (max-width: 520px) {
    .section { padding: 70px 0; }
    .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity:1; transform:none; }
    html { scroll-behavior: auto; }
}


/* ============================================================
   2) 홈 전용
   ============================================================ */
.hero { padding: 92px 0 100px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 55% at 82% 8%, rgba(0,194,168,.14), transparent 60%),
        radial-gradient(70% 60% at 8% 0%, rgba(58,141,255,.16), transparent 58%),
        linear-gradient(180deg, var(--bg-soft), #fff 78%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; top: -180px; right: -160px;
    width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,204,.10), transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 700;
    color: var(--brand-dark); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 0 rgba(0,194,168,.55); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,194,168,.5); }
    70% { box-shadow: 0 0 0 10px rgba(0,194,168,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,194,168,0); }
}
.hero h1 {
    font-size: clamp(2.35rem, 5vw, 3.6rem); line-height: 1.18; font-weight: 800;
    letter-spacing: -0.045em; margin-bottom: 22px;
}
.hero h1 .grad {
    background: linear-gradient(120deg, var(--brand), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .item .num { font-size: 1.7rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.03em; }
.hero-trust .item .lbl { font-size: .88rem; color: var(--ink-muted); font-weight: 600; }

.hero-visual { position: relative; }
.device-card {
    background: #fff; border-radius: 26px; padding: 24px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); position: relative; z-index: 2;
}
.device-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.device-top .u { display: flex; align-items: center; gap: 11px; }
.device-top .avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--brand-light)); display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 1rem;
}
.device-top .u b { font-size: .98rem; }
.device-top .u span { font-size: .8rem; color: var(--ink-muted); display: block; }
.device-top .live {
    font-size: .74rem; font-weight: 800; color: var(--accent); background: var(--accent-soft);
    padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.device-top .live::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); animation: pulse 2s infinite; }

.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.metric { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.metric .k { font-size: .78rem; color: var(--ink-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.metric .v { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.metric .v small { font-size: .85rem; font-weight: 700; color: var(--ink-muted); }
.metric.good .v { color: var(--accent); }
.metric.warn .v { color: #f0883e; }

.chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; }
.chart .ch-head { display:flex; justify-content: space-between; font-size:.78rem; color: var(--ink-muted); font-weight:600; margin-bottom: 8px; }
.chart svg { width: 100%; height: 74px; }
.chart .line { fill: none; stroke: url(#lg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.4s var(--ease) forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-chip {
    position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-chip small { display:block; font-size:.74rem; color: var(--ink-muted); font-weight:600; }
.chip-1 { top: -22px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.chip-2 { bottom: 34px; right: -30px; animation: floaty 5.6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.brandbar { padding: 26px 0; }
.brandbar .inner {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 22px 30px; border-radius: var(--radius);
    background: linear-gradient(120deg, #f0f7ff, #eafaf6);
    border: 1px solid var(--line); border-left: 5px solid var(--brand);
    box-shadow: var(--shadow-sm);
}
.brandbar .ic {
    flex: none; width: 46px; height: 46px; border-radius: 13px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,102,204,.28);
}
.brandbar p { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 0; }
.brandbar p b { color: var(--brand); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    position: relative; overflow: hidden;
}
.card::after {
    content:""; position:absolute; inset:0 0 auto 0; height:4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ic {
    width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--brand); margin-bottom: 20px;
}
.card:nth-child(2) .ic { background: var(--accent-soft); color: #009683; }
.card:nth-child(3) .ic { background: #fff0e6; color: #f0883e; }
.card h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .99rem; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card ul li { font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; font-weight: 600; }
.card ul li::before { content:""; flex:none; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23009683' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.step { position: relative; padding-top: 8px; }
.step .n {
    counter-increment: st; width: 52px; height: 52px; border-radius: 15px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--brand);
    margin-bottom: 18px; position: relative; z-index: 2;
}
.step .n::before { content: "0" counter(st); }
.step:not(:last-child)::after {
    content:""; position: absolute; top: 26px; left: 60px; right: -10px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step h4 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.03em; }
.step p { font-size: .94rem; color: var(--ink-soft); }

.stats { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 26px;
    padding: 50px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; box-shadow: var(--shadow-lg); }
.stat { text-align: center; }
.stat .big { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height:1; }
.stat .big span { color: #9fe9dc; }
.stat .cap { margin-top: 10px; font-size: .96rem; color: rgba(255,255,255,.82); font-weight: 600; }

.cta-band { text-align: center; padding: 84px 0; }
.cta-card {
    background:
        radial-gradient(60% 100% at 90% 0%, rgba(0,194,168,.28), transparent 60%),
        linear-gradient(120deg, var(--brand-dark), var(--brand));
    color:#fff; border-radius: 30px; padding: 66px 40px; box-shadow: var(--shadow-lg); position: relative; overflow:hidden;
}
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing:-0.04em; }
.cta-card p { font-size: 1.12rem; color: rgba(255,255,255,.85); margin: 16px auto 32px; max-width: 34em; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step:not(:last-child)::after { display:none; }
    .stats { grid-template-columns: 1fr 1fr; padding: 40px 26px; }
}
@media (max-width: 520px) {
    .steps, .stats { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 70px; }
    .float-chip { display: none; }
    .brandbar .inner { padding: 18px 20px; }
    .brandbar p { font-size: 1rem; }
}


/* ============================================================
   3) 공지사항 전용
   ============================================================ */
.board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
    padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); cursor: pointer;
    transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--brand-light); color: var(--brand); }
.tab.active { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(0,102,204,.28); }

.search-box { position: relative; }
.search-box input {
    width: 260px; max-width: 100%; padding: 12px 16px 12px 42px; font-size: .95rem; font-family: inherit;
    border: 1.5px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(58,141,255,.14); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); }

.board-count { font-size: .92rem; color: var(--ink-muted); font-weight: 600; margin-bottom: 12px; }
.board-count b { color: var(--brand); }

.notice-list { border-top: 2px solid var(--ink); }
.notice { border-bottom: 1px solid var(--line); transition: background .2s; }
.notice.pinned { background: linear-gradient(90deg, #f7fbff, #fff); }
.notice-head {
    display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px;
    padding: 20px 18px; cursor: pointer;
}
.notice-head:hover { background: var(--bg-soft); }
.tag {
    flex: none; font-size: .78rem; font-weight: 800; padding: 5px 11px; border-radius: 7px;
    white-space: nowrap; letter-spacing: -0.01em;
}
.tag.공지 { background: var(--bg-tint); color: var(--brand); }
.tag.업데이트 { background: var(--accent-soft); color: #009683; }
.tag.이벤트 { background: #fff0e6; color: #e07b1a; }
.tag.채용 { background: #f0ecff; color: #6b4ce0; }
.tag.언론보도 { background: #eef2f6; color: #4a5a6d; }

.notice-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; min-width: 0; }
.notice-title .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin-badge { flex: none; font-size: .72rem; font-weight: 800; color: #e5484d; background: #fdecec; padding: 3px 8px; border-radius: 6px; }
.new-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #e5484d; color: #fff; font-size: .6rem; font-weight: 800; display: grid; place-items: center; }

.notice-meta { font-size: .88rem; color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
.notice-chevron { color: var(--ink-muted); transition: transform .3s var(--ease); }
.notice.open .notice-chevron { transform: rotate(180deg); color: var(--brand); }

.notice-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.notice.open .notice-body { max-height: 640px; }
.notice-body-inner { padding: 4px 18px 28px; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; border-top: 1px dashed var(--line); margin-top: -1px; }
.notice-body-inner p { margin-bottom: 12px; }
.notice-body-inner strong { color: var(--ink); }
.notice-body-inner .file {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
    font-size: .9rem; font-weight: 700; color: var(--brand);
}

.empty { text-align: center; padding: 70px 20px; color: var(--ink-muted); display: none; }
.empty svg { color: var(--line); margin-bottom: 14px; }
.empty b { display: block; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 6px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination a {
    min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center;
    border-radius: 10px; font-weight: 700; font-size: .95rem; color: var(--ink-soft);
    border: 1.5px solid var(--line); background: #fff; transition: all .2s;
}
.pagination a:hover { border-color: var(--brand-light); color: var(--brand); }
.pagination a.current { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-color: transparent; }
.pagination a.nav-arrow svg { display: block; }

@media (max-width: 640px) {
    .board-toolbar { flex-direction: column; align-items: stretch; }
    .search-box input { width: 100%; }
    .notice-head { grid-template-columns: auto 1fr auto; gap: 10px 12px; padding: 16px 12px; }
    .notice-meta { grid-column: 2 / 4; font-size: .82rem; }
    .notice-title { font-size: .98rem; }
}


/* ============================================================
   4) 문의 전용
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }

.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    padding: 38px; box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.form-card .desc { color: var(--ink-soft); font-size: .98rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chips input { position: absolute; opacity: 0; pointer-events: none; }
.type-chips label {
    display: inline-block; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); cursor: pointer;
    transition: all .2s var(--ease); margin: 0;
}
.type-chips label:hover { border-color: var(--brand-light); color: var(--brand); }
.type-chips input:checked + label {
    background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-color: transparent;
    box-shadow: 0 6px 14px rgba(0,102,204,.26);
}

.consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 24px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent .box {
    flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line);
    background: #fff; display: grid; place-items: center; transition: all .2s; margin-top: 1px;
}
.consent .box svg { opacity: 0; transform: scale(.6); transition: all .2s; }
.consent input:checked + .box { background: var(--brand); border-color: var(--brand); }
.consent input:checked + .box svg { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(58,141,255,.2); }
.consent .t { font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.consent .t a { color: var(--brand); font-weight: 700; text-decoration: underline; }

.submit-btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px; }

.err-msg { color: #e5484d; font-size: .84rem; font-weight: 600; margin-top: 6px; display: none; }
.field.invalid .control { border-color: #e5484d; }
.field.invalid .err-msg { display: block; }

.success { text-align: center; padding: 40px 20px; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.success .ic {
    width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--accent-soft); display: grid; place-items: center;
}
.success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.success p { color: var(--ink-soft); margin-bottom: 22px; }
.success .who { color: var(--brand); font-weight: 800; }

.info-card {
    background: linear-gradient(160deg, var(--brand-dark), var(--brand));
    color: #fff; border-radius: 22px; padding: 34px 30px; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.info-card::before {
    content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
    border-radius: 50%; background: radial-gradient(circle, rgba(0,194,168,.4), transparent 70%);
}
.info-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; position: relative; }
.info-card > p { color: rgba(255,255,255,.82); font-size: .95rem; margin-bottom: 26px; position: relative; }
.info-item { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.info-item .ic {
    flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14);
    display: grid; place-items: center; backdrop-filter: blur(4px);
}
.info-item .k { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 600; }
.info-item .v { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.info-item .v a:hover { text-decoration: underline; }

.map {
    margin-top: 20px; height: 170px; border-radius: 16px; border: 1px solid var(--line);
    background:
        repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,102,204,.05) 22px 23px),
        repeating-linear-gradient(90deg, transparent 0 22px, rgba(0,102,204,.05) 22px 23px),
        var(--bg-soft);
    position: relative; overflow: hidden; display: grid; place-items: center;
}
.map .pin { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: .9rem; }
.map .pin .dot {
    width: 16px; height: 16px; border-radius: 50%; background: var(--brand);
    box-shadow: 0 0 0 6px rgba(0,102,204,.18); position: relative;
}

.faq-section { margin-top: 34px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 1.02rem; }
.faq-q svg { flex: none; color: var(--brand); transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.75; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .info-card { order: -1; }
}
@media (max-width: 560px) {
    .form-card { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}