/* ==========================================================================
   한국후견신탁협회 KGTA — Design system
   컨셉: 차분하고 신뢰감 있는 전문가 협회. 큰 타이포 · 넉넉한 여백 · 얇은 선 · 라인 아이콘
   메인 컬러: Navy #0B2A42 / Teal #167C8A / Green #4DAF61
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
    --navy: #0B2A42;
    --teal: #167C8A;
    --green: #4DAF61;
    --dark: #081C2C;
    --mint: #E0F7F9;
    --leaf: #E8F5E9;

    --ink: #0B2A42;
    --text: #4B5B6B;
    --muted: #8493A3;
    --line: #E3E9EE;
    --soft: #F5F8F9;

    --grad: linear-gradient(120deg, #167C8A 0%, #4DAF61 100%);
    --grad-deep: linear-gradient(125deg, #0B2A42 0%, #0F4F5E 55%, #167C8A 100%);

    --shadow-sm: 0 1px 2px rgba(11, 42, 66, .05);
    --shadow-md: 0 14px 34px -14px rgba(11, 42, 66, .22);
    --shadow-lg: 0 30px 70px -28px rgba(11, 42, 66, .32);
    --nav-h: 76px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    word-break: keep-all;
    color: var(--text);
    background: #fff;
    letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
section[id], article[id] { scroll-margin-top: 100px; }
::selection { background: rgba(77, 175, 97, .25); }
:focus-visible { outline: 3px solid rgba(22, 124, 138, .35); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- icons (SVG sprite) ---------- */
.icon {
    width: 1.15em; height: 1.15em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    vertical-align: -.18em;
}
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 26px; height: 26px; }

.icon-tile {
    flex: none; width: 48px; height: 48px; border-radius: 14px;
    display: inline-grid; place-items: center;
    background: linear-gradient(135deg, var(--mint), var(--leaf));
    color: var(--teal);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-tile--sm .icon { width: 19px; height: 19px; }

/* ---------- buttons ---------- */
.btn, .btn-gradient, .btn-navy, .btn-light, .btn-white, .btn-danger {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
    font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s, filter .2s;
}
.btn:active, .btn-gradient:active, .btn-navy:active, .btn-light:active, .btn-white:active, .btn-danger:active { transform: translateY(1px); }
.btn-gradient:disabled, .btn-light:disabled, .btn-danger:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }

.btn-gradient { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(22, 124, 138, .6); }
.btn-gradient:hover { filter: brightness(1.06); box-shadow: 0 14px 28px -10px rgba(22, 124, 138, .7); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-light:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--leaf); }
.btn-danger { background: #fff; color: #dc2626; border-color: #fecaca; }
.btn-danger:hover { background: #fef2f2; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); transition: gap .2s, color .2s; }
.link-arrow:hover { gap: 10px; color: var(--green); }

/* ---------- navigation ---------- */
.site-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s;
}
.site-nav.scrolled {
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-color: var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 44px; width: auto; }
.nav-main { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-main { display: flex; } }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px; border-radius: 999px;
    font-size: 15px; font-weight: 600; color: rgba(11, 42, 66, .72); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--navy); background: rgba(11, 42, 66, .05); }
.nav-link.active { color: var(--teal); background: rgba(22, 124, 138, .09); }
.nav-item .chev { transition: transform .2s; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.nav-sub {
    position: absolute; top: 100%; left: 50%; padding-top: 14px; transform: translate(-50%, 6px);
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub-panel {
    min-width: 248px; padding: 8px; border-radius: 20px; background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.nav-sub-link { display: block; padding: 12px 16px; border-radius: 12px; transition: background .15s; }
.nav-sub-link strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.nav-sub-link span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.nav-sub-link:hover { background: var(--soft); }
.nav-sub-link:hover strong { color: var(--teal); }

.menu-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); }
.menu-btn:hover { background: rgba(11, 42, 66, .06); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-menu {
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); padding: 8px 24px 28px;
    max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
}
.mobile-label { padding: 18px 4px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.mobile-link { display: block; padding: 13px 4px; font-size: 16px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-link.active { color: var(--teal); }

/* ---------- typography ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.h-display {
    margin: 24px 0; font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; line-height: 1.14;
    letter-spacing: -.045em; color: var(--ink);
}
.h-section { margin-top: 14px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.28; letter-spacing: -.035em; color: var(--ink); }
.text-grad { padding-bottom: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.8; font-weight: 500; color: var(--text); }
.prose p { font-size: 17px; line-height: 1.9; font-weight: 500; color: var(--text); }
.prose p + p { margin-top: 20px; }

.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; }
.section-head .lead { margin-top: 20px; }
@media (max-width: 767px) { .section { padding: 72px 0; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; padding: 136px 0 88px; min-height: min(100svh, 900px); background: #fff; }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(55% 60% at 88% 12%, rgba(224, 247, 249, .95), transparent 70%),
        radial-gradient(45% 55% at 6% 96%, rgba(232, 245, 233, .95), transparent 70%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(11, 42, 66, .08) 1px, transparent 1px); background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; font-size: 14px; font-weight: 600; color: var(--navy); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green); }
.hero-visual { width: 100%; max-width: 540px; margin: 0 auto; }
.hero-visual figcaption { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.chip { animation: floaty 6s ease-in-out infinite; }
.chip:nth-of-type(2) { animation-delay: -1.5s; }
.chip:nth-of-type(3) { animation-delay: -3s; }
.chip:nth-of-type(4) { animation-delay: -4.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .8); border: 1px solid rgba(22, 124, 138, .2);
    font-size: 13px; font-weight: 700; color: var(--navy); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(77, 175, 97, .22); }

/* ---------- home blocks ---------- */
.about-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 88px; align-items: start; } }
.quote {
    padding-left: 26px; border-left: 3px solid var(--teal);
    font-size: clamp(20px, 2.1vw, 25px); font-weight: 700; line-height: 1.6; letter-spacing: -.025em; color: var(--ink);
}
.quote cite { display: block; margin-top: 18px; font-size: 13.5px; font-weight: 600; font-style: normal; color: var(--muted); }
.pillars { margin-top: 44px; }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-no { padding-top: 4px; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--teal); }
.pillar h3 { font-size: 18px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.pillar p { margin-top: 6px; font-size: 15px; line-height: 1.7; }

.stats { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.stat-num {
    font-size: clamp(46px, 5vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.045em;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num small { margin-left: 2px; font-size: .5em; font-weight: 700; letter-spacing: -.02em; }
.stat-label { margin-top: 22px; font-size: 16px; font-weight: 800; color: var(--ink); }
.stat-note { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.reasons { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 768px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reason { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .6); border: 1px dashed rgba(22, 124, 138, .28); }
.reason p { font-size: 14.5px; line-height: 1.6; font-weight: 500; }
.reason strong { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 800; color: var(--ink); }

.biz-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .biz-grid { grid-template-columns: 4fr 7fr; gap: 88px; align-items: start; } }
.biz-list { display: grid; }
@media (min-width: 640px) { .biz-list { grid-template-columns: 1fr 1fr; column-gap: 36px; } }
.biz-link { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); transition: padding .2s; }
.biz-link:hover { padding-left: 6px; }
.biz-link .t { font-size: 15.5px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.biz-link:hover .t { color: var(--teal); }
.biz-link .no { margin-left: auto; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #B7C3CE; }

.news-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; gap: 14px; min-height: 210px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(22, 124, 138, .3); }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.news-card h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; font-weight: 800; line-height: 1.5; letter-spacing: -.025em; color: var(--ink); }
.news-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--teal); }
.news-empty { grid-column: 1 / -1; padding: 52px 24px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 20px; font-weight: 600; color: var(--muted); }

.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 6vw, 72px); border-radius: 32px; background: var(--grad-deep); color: #fff; }
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.cta::before { width: 400px; height: 400px; right: -90px; top: -140px; background: rgba(77, 175, 97, .22); }
.cta::after { width: 240px; height: 240px; right: 150px; bottom: -150px; background: rgba(255, 255, 255, .07); }
.cta h2 { max-width: 640px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.32; letter-spacing: -.035em; }
.cta p { max-width: 560px; margin-top: 16px; line-height: 1.75; font-weight: 500; color: rgba(255, 255, 255, .86); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.cta-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.cta-mail:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- sub pages ---------- */
.sub-hero { position: relative; overflow: hidden; padding: 128px 0 44px; background: linear-gradient(180deg, #F0F9FA 0%, #fff 100%); }
.sub-hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 175, 97, .16), transparent 65%); }
.sub-hero .wrap { position: relative; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumb a:hover { color: var(--teal); }
.crumb b { font-weight: 700; color: var(--ink); }
.crumb .sep { opacity: .5; }
.page-title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; color: var(--ink); }
.page-desc { max-width: 640px; margin-top: 16px; font-size: 17px; line-height: 1.75; font-weight: 500; }

.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 6px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.subnav a:hover { color: var(--ink); background: var(--soft); }
.subnav a.active { background: var(--navy); color: #fff; }

.page-section { padding: 72px 0 104px; background: #fff; }
@media (max-width: 767px) { .page-section { padding: 48px 0 72px; } }

.greeting-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .greeting-grid { grid-template-columns: 320px 1fr; gap: 88px; } }
.portrait-wrap { width: 100%; max-width: 280px; margin: 0 auto; }
@media (min-width: 1024px) { .portrait-wrap { position: sticky; top: 160px; max-width: none; } }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--muted); }
.signature strong { font-size: 24px; font-weight: 800; letter-spacing: .2em; color: var(--ink); }

.def-row { display: grid; gap: 14px; padding: 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .def-row { grid-template-columns: 200px 1fr; gap: 48px; } }
.def-row h3 { font-size: 20px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.check-list { display: grid; gap: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 17.5px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.check-dot { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.check-dot .icon { width: 14px; height: 14px; stroke-width: 3; }

.year-row { display: grid; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .year-row { grid-template-columns: 180px 1fr; gap: 48px; } }
.year { font-size: clamp(34px, 4vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.year.muted { color: #C9D5DC; }
.timeline { display: grid; gap: 34px; padding-left: 32px; border-left: 2px solid rgba(22, 124, 138, .2); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -41px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); }
.t-month { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--teal); }
.t-title { margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.t-desc { margin-top: 4px; font-size: 15px; }

.org-chart { padding: 56px 24px; overflow-x: auto; background: var(--soft); border: 1px solid var(--line); border-radius: 28px; }
.org-node {
    position: relative; z-index: 1; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 152px; padding: 16px 24px; border-radius: 16px; text-align: center; font-size: 16px; font-weight: 800; letter-spacing: -.02em;
}
.org-node small { margin-top: 4px; font-size: 12px; font-weight: 600; opacity: .78; }
.org-node--navy { background: var(--navy); color: #fff; }
.org-node--teal { background: var(--teal); color: #fff; }
.org-node--grad { background: var(--grad); color: #fff; padding: 18px 40px; }
.org-node--line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.org-node--tint { background: linear-gradient(135deg, var(--mint), var(--leaf)); color: var(--ink); border: 1px solid rgba(22, 124, 138, .14); width: 100%; }
.org-v { width: 2px; height: 32px; margin: 0 auto; background: rgba(22, 124, 138, .3); }
.org-branch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 760px; }
.org-branch::before { content: ""; position: absolute; top: 0; left: 16.66%; right: 16.66%; height: 2px; background: rgba(22, 124, 138, .3); }
.org-branch > div { display: flex; flex-direction: column; align-items: center; padding: 0 10px; }
.role-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }
.role-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.role-card .label { display: block; margin-top: 24px; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--teal); }
.role-card h3 { margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.role-card p { margin-top: 12px; font-size: 15px; line-height: 1.75; }

.biz-item { display: grid; gap: 22px; padding: 38px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .biz-item { grid-template-columns: 200px 1fr; gap: 48px; } }
.biz-item:last-child { border-bottom: 1px solid var(--line); }
.biz-head { display: flex; align-items: center; gap: 18px; }
.biz-no { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #C5DDE1; }
.biz-item h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.biz-item p { max-width: 640px; margin-top: 10px; font-size: 16px; line-height: 1.8; }

/* ---------- boards / forms ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.post-card { display: block; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(22, 124, 138, .3); }
.post-card-title { font-size: 19px; font-weight: 800; line-height: 1.45; letter-spacing: -.025em; color: var(--ink); transition: color .2s; }
.post-card:hover .post-card-title { color: var(--teal); }
.post-card-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }

.badge, .badge-green, .badge-muted { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge { background: rgba(22, 124, 138, .1); color: var(--teal); }
.badge-green { background: rgba(77, 175, 97, .13); color: #2F8A45; }
.badge-muted { background: var(--soft); color: var(--muted); }
.lock { display: inline-flex; margin-right: 6px; color: var(--muted); }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .2s, gap .2s; }
.back-link:hover { gap: 11px; color: var(--teal); }

.form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.form-input {
    width: 100%; min-height: 48px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
    font-size: 15.5px; font-weight: 500; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea.form-input { padding: 14px 16px; }
.form-input::placeholder { color: #A6B3BF; }
.form-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22, 124, 138, .12); }

.pager-btn { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background .2s, color .2s; }
.pager-btn:hover { background: #fff; color: var(--teal); }
.pager-btn.current { background: var(--navy); color: #fff; }

.info-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.info-card h4 { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--teal); }
.info-card p, .info-card a { display: block; margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--ink); }
.info-card a:hover { color: var(--teal); }
.gate-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), var(--leaf)); color: var(--teal); }
.gate-icon .icon { width: 28px; height: 28px; }
.post-body { overflow-wrap: anywhere; }
.post-body a { font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer { padding: 72px 0 32px; background: var(--dark); color: #fff; }
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(120deg, #4DAF61, #3FB8C8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand .en { margin-top: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.footer-brand p { max-width: 340px; margin-top: 20px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .55); }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.footer-mail:hover { color: #fff; }
.footer-col h4 { margin-bottom: 20px; font-size: 14px; font-weight: 700; color: #fff; }
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .55); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.report { display: flex; flex-direction: column; gap: 20px; margin-top: 56px; padding: 26px 28px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .03); }
@media (min-width: 768px) { .report { flex-direction: row; align-items: center; justify-content: space-between; } }
.report h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.report h4 .icon { color: #4DAF61; }
.report p { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.report-links { display: flex; flex-wrap: wrap; gap: 10px; }
.report-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.report-links a:hover { background: #fff; color: var(--dark); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .35); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a, .footer-bottom button { transition: color .2s; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }

/* ---------- motion ---------- */
[data-view]:not([hidden]) { animation: view-in .35s ease; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; }
}
.footer-addr { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.footer-addr + .footer-mail { margin-top: 10px; }

/* ---------- admin mode ---------- */
body:not(.is-admin) [data-admin-only] { display: none !important; }
.admin-bar {
    position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translateX(-50%);
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px;
    background: var(--navy); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg);
}
.admin-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(77, 175, 97, .3); }
.admin-bar button { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; }
.admin-bar button:hover { background: rgba(255, 255, 255, .22); }

/* ---------- 1:1 inquiry ---------- */
.inq-tabs { display: flex; gap: 6px; margin-bottom: 28px; padding: 6px; width: fit-content; max-width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.inq-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.inq-tab:hover { color: var(--ink); }
.inq-tab.active { background: var(--navy); color: #fff; }
.inq-item summary { display: flex; align-items: center; gap: 12px; padding: 20px 24px; cursor: pointer; list-style: none; }
.inq-item summary::-webkit-details-marker { display: none; }
.inq-item-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 800; color: var(--ink); }
.inq-item time { font-size: 13px; font-weight: 600; color: var(--muted); }
.inq-item .chev { color: var(--muted); transition: transform .2s; }
.inq-item[open] .chev { transform: rotate(180deg); }
.inq-answer { padding: 28px 32px; border-top: 1px solid var(--line); background: linear-gradient(135deg, rgba(224, 247, 249, .6), rgba(232, 245, 233, .6)); }
.inq-answer--waiting { background: var(--soft); font-weight: 600; color: var(--muted); }
@media (max-width: 767px) { .inq-item summary { flex-wrap: wrap; } .inq-item-title { flex-basis: 100%; order: 3; white-space: normal; } }

/* ---------- media images ---------- */
.post-card--thumb { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.post-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--soft); }
@media (max-width: 640px) { .post-card--thumb { grid-template-columns: 1fr; gap: 16px; } }
.post-figure { border-bottom: 1px solid var(--line); background: var(--soft); }
.post-figure img { display: block; width: 100%; max-height: 560px; object-fit: contain; margin: 0 auto; }
.post-figure figcaption { padding: 10px 32px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.news-card--img { padding-top: 0; overflow: hidden; }
.news-img { width: calc(100% + 56px); max-width: none; margin: 0 -28px 4px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.post-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- map ---------- */
.map-card { margin-top: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 640px) { .map-card iframe { height: 260px; } }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.map-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); transition: border-color .2s, background .2s; }
.map-link:hover { border-color: var(--ink); }
.map-link b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.map-link--naver b { background: #03C75A; color: #fff; }
.map-link--kakao b { background: #FEE500; color: #191919; }
