/* 湖光山色 - 湖蓝渐变风格：柔和蓝绿+圆角+Noto Serif KR */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f8fafc;
    --bg-alt: #eef5f8;
    --txt: #1e3a5f;
    --txt-mid: #3d5a7c;
    --lake: #0e7490;
    --lake-dark: #0c636d;
    --lake-pale: rgba(14, 116, 144, 0.12);
    --line: #b8d4e0;
    --round: 16px;
    --ease: cubic-bezier(0.35, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--txt);
    line-height: 1.75;
    font-size: 16px;
}

.seg__c { max-width: 1020px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-all { min-height: 100vh; display: flex; flex-direction: column; }

/* Top bar */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: linear-gradient(135deg, var(--lake-dark) 0%, var(--lake) 100%);
    z-index: 100;
    box-shadow: 0 2px 18px rgba(14, 116, 144, 0.25);
}
.top-bar__c {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar__logo {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
}
.top-bar__logo:hover { opacity: 0.92; }
.top-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}
.top-bar__a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.top-bar__a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.top-bar__a--cur { background: rgba(255,255,255,0.28); color: #fff; }

.top-bar__mb {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}
.top-bar__mb span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

main { flex: 1; padding-top: 60px; }

/* Lead - 大图区 */
.lead {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lead__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.lead__g {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(14, 116, 144, 0.45) 0%, rgba(30, 58, 95, 0.55) 100%);
}
.lead__t {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem 1.5rem;
    max-width: 640px;
}
.lead__h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 22px rgba(0,0,0,0.3);
}
.lead__p {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.lead__btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #fff;
    color: var(--lake-dark);
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lead__btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.15); }

/* Seg */
.seg { padding: 4rem 0; }
.seg--alt { background: var(--bg-alt); }
.seg__tit {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.85rem;
    color: var(--txt);
    margin-bottom: 0.5rem;
    text-align: center;
}
.seg__intro {
    text-align: center;
    color: var(--txt-mid);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Tiles - 大圆角卡片 */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.tile-r {
    background: #fff;
    border-radius: var(--round);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tile-r:hover { transform: translateY(-5px); box-shadow: 0 14px 35px rgba(14, 116, 144, 0.12); }
.tile-r__pic {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.tile-r__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.tile-r:hover .tile-r__pic img { transform: scale(1.06); }
.tile-r__txt { padding: 1.5rem; }
.tile-r__txt h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--txt);
}
.tile-r__txt p { color: var(--txt-mid); font-size: 0.95rem; margin-bottom: 1rem; }
.tile-r__link {
    color: var(--lake);
    font-weight: 500;
    text-decoration: none;
}
.tile-r__link:hover { text-decoration: underline; color: var(--lake-dark); }

/* Pill list */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.pill {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    background: var(--lake-pale);
    color: var(--lake-dark);
    border-radius: 24px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.pill:hover { background: var(--lake); color: #fff; }

/* Footer */
.bot {
    background: var(--txt);
    color: rgba(255,255,255,0.88);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}
.bot .seg__c p { margin-bottom: 0.5rem; }
.bot a { color: #67e8f9; text-decoration: none; }
.bot a:hover { text-decoration: underline; }

/* Page banner */
.pb {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pb__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.pb__g {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.5) 0%, rgba(30, 58, 95, 0.5) 100%);
}
.pb__t { position: relative; z-index: 2; text-align: center; padding: 3rem 1.5rem; }
.pb__tit {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.pb__desc { color: rgba(255,255,255,0.92); font-size: 1rem; }

.cont-seg { padding: 3rem 0; }
.cont-seg .seg__c { max-width: 680px; }
.cont-seg h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.4rem;
    margin: 2rem 0 0.7rem;
    color: var(--txt);
}
.cont-seg p { margin-bottom: 1rem; color: var(--txt-mid); }
.cont-seg ul { margin: 1rem 0 1rem 1.5rem; }
.cont-seg li { margin-bottom: 0.5rem; }

.contact-email { color: var(--lake); word-break: break-all; }

[data-animate] { opacity: 0; transform: translateY(18px); }
[data-animate].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .top-bar__nav {
        position: fixed;
        top: 0; right: 0;
        width: 260px;
        height: 100vh;
        background: var(--lake-dark);
        flex-direction: column;
        padding: 4rem 1.5rem 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }
    .top-bar__nav.open { transform: translateX(0); }
    .top-bar__mb { display: flex; }
}
